[TASK] Mobile optimization
This commit is contained in:
parent
953ce30e1e
commit
2b98e4dbc9
@ -1,3 +1,6 @@
|
|||||||
rules:
|
rules:
|
||||||
no-color-literals: 0
|
no-color-literals: 0
|
||||||
single-line-per-selector: 0
|
single-line-per-selector: 0
|
||||||
|
# Allow for new prefixes like -webkit-tap-highlight-color or antialiasing
|
||||||
|
# Can maybe be enabled again with sass-lint 1.8 https://github.com/sasstools/sass-lint/pull/709
|
||||||
|
no-vendor-prefixes: 0
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
body {
|
body {
|
||||||
|
-webkit-tap-highlight-color: transparent;
|
||||||
background: $color-white;
|
background: $color-white;
|
||||||
color: $color-black;
|
color: $color-black;
|
||||||
font-family: $font-family;
|
font-family: $font-family;
|
||||||
|
@ -1,11 +1,19 @@
|
|||||||
.leaflet-control-layers {
|
.leaflet-control-layers {
|
||||||
background: none;
|
&.leaflet-control {
|
||||||
|
background: transparent;
|
||||||
|
border: 0;
|
||||||
border-radius: 0;
|
border-radius: 0;
|
||||||
box-shadow: none;
|
box-shadow: none;
|
||||||
|
margin: 0;
|
||||||
|
opacity: .7;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-control-layers-toggle {
|
.leaflet-control-container {
|
||||||
|
.leaflet-control-layers-toggle {
|
||||||
background: none;
|
background: none;
|
||||||
|
height: auto;
|
||||||
|
width: auto;
|
||||||
|
|
||||||
&::before {
|
&::before {
|
||||||
color: $color-primary;
|
color: $color-primary;
|
||||||
@ -17,6 +25,7 @@
|
|||||||
speak: none;
|
speak: none;
|
||||||
text-rendering: auto;
|
text-rendering: auto;
|
||||||
}
|
}
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.leaflet-control-layers-expanded {
|
.leaflet-control-layers-expanded {
|
||||||
|
@ -15,7 +15,8 @@
|
|||||||
margin-left: $buttondistance;
|
margin-left: $buttondistance;
|
||||||
}
|
}
|
||||||
@media screen and (max-width: $minscreenwidth) {
|
@media screen and (max-width: $minscreenwidth) {
|
||||||
right: 0;
|
right: -1rem;
|
||||||
|
top: 0;
|
||||||
transform: scale(.8);
|
transform: scale(.8);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -10,13 +10,13 @@
|
|||||||
font-family: $font-family-secondary;
|
font-family: $font-family-secondary;
|
||||||
list-style: none;
|
list-style: none;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 1em 0 0;
|
padding: 0;
|
||||||
|
|
||||||
li {
|
li {
|
||||||
color: rgba($color-black, .5);
|
color: rgba($color-black, .5);
|
||||||
cursor: pointer;
|
cursor: pointer;
|
||||||
flex: 1 1 auto;
|
flex: 1 1 auto;
|
||||||
padding: .5em .5em 1em;
|
padding: 1.3em .5em 1em;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
text-transform: uppercase;
|
text-transform: uppercase;
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user