mirror of
https://github.com/a-nyx/maputnik-with-pmtiles.git
synced 2025-01-07 13:15:23 +01:00
126 lines
1.9 KiB
SCSS
126 lines
1.9 KiB
SCSS
// MAP
|
|
.maputnik-map {
|
|
position: fixed !important;
|
|
top: 40px;
|
|
right: 0px;
|
|
bottom: 0px;
|
|
height: 100%;
|
|
width: 75%;
|
|
}
|
|
|
|
// DOC LABEL
|
|
.maputnik-doc {
|
|
&-target {
|
|
cursor: help;
|
|
}
|
|
|
|
&-wrapper{
|
|
display: inline-block;
|
|
box-sizing: border-box;
|
|
font-size: $font-size-6;
|
|
line-height: 2;
|
|
user-select: none;
|
|
position: relative;
|
|
vertical-align: top;
|
|
}
|
|
|
|
&-popup {
|
|
display: none;
|
|
color: $color-lowgray;
|
|
background-color: $color-gray;
|
|
padding: $margin-2;
|
|
font-size: 10px;
|
|
position: absolute;
|
|
top: 20px;
|
|
left: 0px;
|
|
width: 120px;
|
|
z-index: 3;
|
|
}
|
|
}
|
|
|
|
.maputnik-doc-target:hover .maputnik-doc-popup {
|
|
display: block;
|
|
}
|
|
|
|
// BUTTON
|
|
|
|
.maputnik-button {
|
|
cursor: pointer;
|
|
background-color: $color-midgray;
|
|
color: $color-lowgray;
|
|
font-size: $font-size-6;
|
|
padding: $margin-2;
|
|
user-select: none;
|
|
border-radius: 2px;
|
|
box-sizing: border-box;
|
|
|
|
&:hover {
|
|
background-color: lighten($color-midgray, 6);
|
|
color: $color-white;
|
|
}
|
|
}
|
|
|
|
.maputnik-big-button {
|
|
margin-top: $margin-3;
|
|
display: inline-block;
|
|
padding: $margin-3;
|
|
font-size: $font-size-5;
|
|
}
|
|
|
|
.maputnik-icon-button {
|
|
background-color: transparent;
|
|
&:hover {
|
|
background-color: transparent;
|
|
label, svg {
|
|
cursor: pointer;
|
|
}
|
|
svg {
|
|
fill: $color-white;
|
|
}
|
|
}
|
|
}
|
|
|
|
// INPUT BLOCK
|
|
.maputnik-input-block {
|
|
margin: $margin-3;
|
|
|
|
&-label {
|
|
color: $color-lowgray;
|
|
display: inline-block;
|
|
user-select: none;
|
|
width: 50%;
|
|
vertical-align: top;
|
|
}
|
|
|
|
&-content {
|
|
display: inline-block;
|
|
width: 50%;
|
|
}
|
|
}
|
|
|
|
.maputnik-action-block {
|
|
.maputnik-input-block-label {
|
|
display: inline-block;
|
|
width: 43%;
|
|
}
|
|
.maputnik-input-block-action {
|
|
vertical-align: top;
|
|
display: inline-block;
|
|
width: 7%;
|
|
}
|
|
}
|
|
|
|
// SPACE HELPER
|
|
.maputnik-space {
|
|
flex-grow: 1;
|
|
}
|
|
|
|
// MESSAGE PANEL
|
|
.maputnik-message-panel {
|
|
padding: $margin-2;
|
|
|
|
&-error {
|
|
color: $color-red;
|
|
}
|
|
}
|
|
|