mirror of
https://github.com/maputnik/editor.git
synced 2026-07-30 09:47:28 +00:00
Merge pull request #93 from albertov/toolbar-offset
Configurable toolbar top offset.
This commit is contained in:
@@ -1,10 +1,10 @@
|
|||||||
// MAP
|
// MAP
|
||||||
.maputnik-map {
|
.maputnik-map {
|
||||||
position: fixed !important;
|
position: fixed !important;
|
||||||
top: 40px;
|
top: $toolbar-height + $toolbar-offset;
|
||||||
right: 0;
|
right: 0;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: calc(100% - $toolbar-height);
|
height: calc(100% - #{$toolbar-height + $toolbar-offset});
|
||||||
width: 75%;
|
width: 75%;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -17,8 +17,8 @@
|
|||||||
&-list {
|
&-list {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: calc(100% - $toolbar-height);
|
height: calc(100% - #{$toolbar-height + $toolbar-offset});
|
||||||
top: 40px;
|
top: $toolbar-height + $toolbar-offset;
|
||||||
left: 0;
|
left: 0;
|
||||||
z-index: 3;
|
z-index: 3;
|
||||||
width: 200px;
|
width: 200px;
|
||||||
@@ -29,8 +29,8 @@
|
|||||||
&-drawer {
|
&-drawer {
|
||||||
position: fixed;
|
position: fixed;
|
||||||
bottom: 0;
|
bottom: 0;
|
||||||
height: calc(100% - $toolbar-height);
|
height: calc(100% - #{$toolbar-height + $toolbar-offset});
|
||||||
top: 40px;
|
top: $toolbar-height + $toolbar-offset;
|
||||||
left: 200px;
|
left: 200px;
|
||||||
z-index: 1;
|
z-index: 1;
|
||||||
width: 350px;
|
width: 350px;
|
||||||
|
|||||||
@@ -5,7 +5,7 @@
|
|||||||
width: 100%;
|
width: 100%;
|
||||||
z-index: 100;
|
z-index: 100;
|
||||||
left: 0;
|
left: 0;
|
||||||
top: 0;
|
top: $toolbar-offset;
|
||||||
background-color: $color-black;
|
background-color: $color-black;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
@@ -18,6 +18,7 @@ $font-size-6: 12px;
|
|||||||
$font-family: Roboto, sans-serif;
|
$font-family: Roboto, sans-serif;
|
||||||
|
|
||||||
$toolbar-height: 40px;
|
$toolbar-height: 40px;
|
||||||
|
$toolbar-offset: 0;
|
||||||
|
|
||||||
@import 'mixins';
|
@import 'mixins';
|
||||||
@import 'reset';
|
@import 'reset';
|
||||||
|
|||||||
Reference in New Issue
Block a user