2017-01-11 09:35:48 +01:00
|
|
|
// LAYER LIST
|
2017-01-11 15:48:15 +01:00
|
|
|
.maputnik-add-layer {
|
2017-01-11 09:35:48 +01:00
|
|
|
}
|
2017-01-11 11:35:33 +01:00
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
.maputnik-layer-list {
|
|
|
|
&-header{
|
|
|
|
padding: $margin-2;
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: $font-size-5;
|
2017-01-11 16:32:31 +01:00
|
|
|
color: $color-white;
|
2017-01-11 15:48:15 +01:00
|
|
|
display: flex;
|
2017-01-11 16:20:10 +01:00
|
|
|
display: -ms-flexbox;
|
|
|
|
@include vendor-prefix(flex-direction, row)
|
2017-01-11 09:35:48 +01:00
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
> * {
|
|
|
|
vertical-align: middle;
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2017-01-11 09:35:48 +01:00
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
&-container {
|
|
|
|
padding: 0;
|
|
|
|
margin: 0;
|
|
|
|
padding-bottom: $margin-5;
|
|
|
|
}
|
2017-01-11 09:35:48 +01:00
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
&-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;
|
2017-01-11 16:20:10 +01:00
|
|
|
display: -ms-flexbox;
|
|
|
|
@include vendor-prefix(flex-direction, row)
|
2017-01-11 15:48:15 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
&-icon-action svg {
|
|
|
|
fill: $color-black;
|
|
|
|
}
|
|
|
|
|
|
|
|
.maputnik-layer-list-item:hover, .maputnik-layer-list-item-selected {
|
|
|
|
background-color: lighten($color-black, 2);
|
|
|
|
|
|
|
|
.maputnik-layer-list-icon-action svg {
|
|
|
|
fill: darken($color-lowgray, 0.5);
|
|
|
|
&:hover {
|
|
|
|
fill: $color-white;
|
|
|
|
}
|
2017-01-11 09:35:48 +01:00
|
|
|
}
|
|
|
|
}
|
2017-01-11 11:35:33 +01:00
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
&-item-selected {
|
|
|
|
color: $color-white;
|
|
|
|
}
|
2017-01-11 11:35:33 +01:00
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
&-item-id {
|
|
|
|
width: 115px;
|
|
|
|
white-space: nowrap;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
2017-01-11 09:35:48 +01:00
|
|
|
}
|
|
|
|
|
2017-01-11 15:48:15 +01:00
|
|
|
|
2017-01-11 09:35:48 +01:00
|
|
|
// FILTER EDITOR
|
|
|
|
.maputnik-layer-editor-group {
|
|
|
|
font-weight: bold;
|
|
|
|
font-size: $font-size-5;
|
2017-01-11 11:35:33 +01:00
|
|
|
background-color: lighten($color-black, 2);
|
2017-01-11 16:32:31 +01:00
|
|
|
color: $color-white;
|
2017-01-11 09:35:48 +01:00
|
|
|
cursor: pointer;
|
|
|
|
user-select: none;
|
|
|
|
padding: $margin-2;
|
|
|
|
display: flex;
|
2017-01-11 16:20:10 +01:00
|
|
|
display: -ms-flexbox;
|
|
|
|
@include vendor-prefix(flex-direction, row)
|
2017-01-11 09:35:48 +01:00
|
|
|
line-height: 20px;
|
2017-01-11 11:35:33 +01:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: $color-gray;
|
|
|
|
}
|
2017-01-11 09:35:48 +01:00
|
|
|
}
|