mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-07 12:05:25 +01:00
75 lines
1.4 KiB
SCSS
75 lines
1.4 KiB
SCSS
|
|
||
|
// LAYER LIST
|
||
|
.maputnik-layer-list-container {
|
||
|
padding: 0;
|
||
|
margin: 0;
|
||
|
padding-bottom: $margin-5;
|
||
|
}
|
||
|
.maputnik-layer-list-item {
|
||
|
font-weight: 400;
|
||
|
color: $color-lowgray;
|
||
|
font-size: $font-size-6;
|
||
|
border-width: 0px 0px 1px;
|
||
|
border-style: solid;
|
||
|
border-color: lighten($color-black, 0.1);
|
||
|
user-select: none;
|
||
|
list-style: none;
|
||
|
z-index: 2000;
|
||
|
cursor: pointer;
|
||
|
position: relative;
|
||
|
padding: 5px 10px;
|
||
|
background-color: $color-black;
|
||
|
line-height: 1.3;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
}
|
||
|
|
||
|
.maputnik-icon-action svg {
|
||
|
fill: $color-black;
|
||
|
}
|
||
|
|
||
|
.maputnik-layer-list-item:hover, .maputnik-layer-list-item-selected {
|
||
|
background-color: lighten($color-black, 0.8);
|
||
|
|
||
|
.maputnik-icon-action svg {
|
||
|
fill: $color-midgray;
|
||
|
&:hover {
|
||
|
fill: $color-lowgray;
|
||
|
}
|
||
|
}
|
||
|
}
|
||
|
.maputnik-layer-list-item-id {
|
||
|
width: 115px;
|
||
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
|
}
|
||
|
|
||
|
// FILTER EDITOR
|
||
|
.maputnik-layer-editor-group {
|
||
|
font-weight: bold;
|
||
|
font-size: $font-size-5;
|
||
|
background-color: darken($color-gray, 1.5);
|
||
|
color: $color-lowgray;
|
||
|
cursor: pointer;
|
||
|
user-select: none;
|
||
|
padding: $margin-2;
|
||
|
display: flex;
|
||
|
flex-direction: row;
|
||
|
line-height: 20px;
|
||
|
}
|
||
|
.maputnik-filter-editor-property {
|
||
|
display: inline-block;
|
||
|
width: '22%';
|
||
|
}
|
||
|
.maputnik-filter-editor-operator {
|
||
|
display: inline-block;
|
||
|
width: 19%;
|
||
|
margin-left: 2%;
|
||
|
}
|
||
|
.maputnik-filter-editor-args {
|
||
|
display: inline-block;
|
||
|
width: 54%;
|
||
|
margin-left: 2%;
|
||
|
}
|