Refactor pointer cursor
This commit is contained in:
@@ -72,6 +72,14 @@
|
||||
outline: 0px none transparent;
|
||||
}
|
||||
|
||||
[title]:not(a):not(.clickable) {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.clickable {
|
||||
cursor: pointer;
|
||||
}
|
||||
|
||||
textarea:focus, input:focus {
|
||||
outline: 1px solid #CCC;
|
||||
}
|
||||
@@ -92,7 +100,7 @@ a.button {
|
||||
}
|
||||
|
||||
button, a.button {
|
||||
cursor: pointer;
|
||||
@extend .clickable;
|
||||
font-weight: bold;
|
||||
color: #000;
|
||||
background: #eee;
|
||||
|
||||
@@ -31,7 +31,7 @@ $stroke-width-axis : 2;
|
||||
}
|
||||
|
||||
.leaflet-control.spot-control, .leaflet-control.heightgraph .heightgraph-toggle {
|
||||
cursor: pointer;
|
||||
@extend .clickable;
|
||||
width: 44px;
|
||||
height: 44px;
|
||||
text-align: center;
|
||||
|
||||
@@ -201,12 +201,8 @@
|
||||
.lb-details {
|
||||
float: none;
|
||||
|
||||
.lb-caption-line {
|
||||
cursor: default;
|
||||
|
||||
&:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
.lb-caption-line:first-child {
|
||||
margin-top: 0;
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
@@ -338,7 +338,6 @@ $legend-color: $post-color;
|
||||
|
||||
i {
|
||||
transition: color 0.3s;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
}
|
||||
@@ -487,7 +486,6 @@ $legend-color: $post-color;
|
||||
|
||||
span {
|
||||
display: inline-block;
|
||||
cursor: default;
|
||||
font-size: 0.8em;
|
||||
padding: $elem-spacing 0px;
|
||||
|
||||
@@ -579,7 +577,6 @@ $legend-color: $post-color;
|
||||
position: absolute;
|
||||
top: $block-spacing;
|
||||
right: $block-spacing;
|
||||
cursor: pointer;
|
||||
|
||||
.fa {
|
||||
font-size: 1.3em;
|
||||
@@ -603,7 +600,6 @@ $legend-color: $post-color;
|
||||
.staticmap {
|
||||
width: 100%;
|
||||
border-radius: $block-radius;
|
||||
cursor: pointer;
|
||||
}
|
||||
}
|
||||
|
||||
@@ -722,7 +718,6 @@ $legend-color: $post-color;
|
||||
font-size: 0.8em;
|
||||
margin: 0;
|
||||
color: $subtitle-color;
|
||||
cursor: default;
|
||||
transform: translateX(calc(-0.5 * (12px + 0.5em))); //icon width + margin right
|
||||
|
||||
span {
|
||||
@@ -784,7 +779,7 @@ $legend-color: $post-color;
|
||||
label {
|
||||
margin-bottom: .3em;
|
||||
display: block;
|
||||
cursor: pointer;
|
||||
@extend .clickable;
|
||||
|
||||
& > div {
|
||||
@include no-text-overflow();
|
||||
|
||||
File diff suppressed because one or more lines are too long
File diff suppressed because one or more lines are too long
Reference in New Issue
Block a user