mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-07 11:25:22 +01:00
170 lines
2.9 KiB
SCSS
170 lines
2.9 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, 2);
|
|
|
|
.maputnik-icon-action svg {
|
|
fill: $color-midgray;
|
|
&:hover {
|
|
fill: $color-lowgray;
|
|
}
|
|
}
|
|
}
|
|
|
|
.maputnik-layer-list-item-selected {
|
|
color: $color-white;
|
|
}
|
|
|
|
.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: lighten($color-black, 2);
|
|
|
|
color: $color-lowgray;
|
|
cursor: pointer;
|
|
user-select: none;
|
|
padding: $margin-2;
|
|
display: flex;
|
|
flex-direction: row;
|
|
line-height: 20px;
|
|
|
|
&:hover {
|
|
background-color: $color-gray;
|
|
}
|
|
}
|
|
|
|
.maputnik-filter-editor-wrapper {
|
|
padding: $margin-3;
|
|
}
|
|
|
|
.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%;
|
|
}
|
|
|
|
.maputnik-make-zoom-function {
|
|
background-color: transparent;
|
|
display: inline-block;
|
|
padding-bottom: 0px;
|
|
padding-top: 0px;
|
|
|
|
&:hover {
|
|
background-color: transparent;
|
|
svg {
|
|
fill: $color-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.maputnik-filter-editor-compound-select {
|
|
margin-bottom: $margin-2;
|
|
}
|
|
|
|
.maputnik-filter-editor-unsupported {
|
|
color: $color-midgray;
|
|
}
|
|
|
|
.maputnik-filter-editor {
|
|
@extend .clearfix;
|
|
}
|
|
|
|
.maputnik-add-filter {
|
|
display: inline-block;
|
|
float: right;
|
|
margin-top: $margin-2;
|
|
}
|
|
.maputnik-delete-filter {
|
|
background-color: transparent;
|
|
&:hover {
|
|
background-color: transparent;
|
|
svg {
|
|
fill: $color-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
.maputnik-filter-editor-block-action {
|
|
margin-top: $margin-2;
|
|
margin-bottom: $margin-2;
|
|
}
|
|
.maputnik-filter-editor-block-action {
|
|
display: inline-block;
|
|
width: 8%;
|
|
margin-right: 1.5%;
|
|
}
|
|
|
|
.maputnik-filter-editor-block-content {
|
|
display: inline-block;
|
|
width: 90.5%;
|
|
}
|
|
|
|
.maputnik-filter-editor-property {
|
|
display: inline-block;
|
|
width: 25%;
|
|
}
|
|
|
|
.maputnik-filter-editor-operator {
|
|
display: inline-block;
|
|
width: 17%;
|
|
.maputnik-select {
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
.maputnik-filter-editor-args {
|
|
display: inline-block;
|
|
width: 54%;
|
|
|
|
.maputnik-string, .maputnik-number {
|
|
width: 100%;
|
|
}
|
|
}
|