mirror of
https://github.com/maputnik/editor.git
synced 2026-01-05 21:10:02 +00:00
Style open modal
This commit is contained in:
74
src/styles/_layer.scss
Normal file
74
src/styles/_layer.scss
Normal file
@@ -0,0 +1,74 @@
|
||||
|
||||
// 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%;
|
||||
}
|
||||
Reference in New Issue
Block a user