maputnik/src/styles/_toolbar.scss

80 lines
1.2 KiB
SCSS
Raw Normal View History

2017-01-11 09:35:48 +01:00
// TOOLBAR
.maputnik-toolbar {
position: fixed;
height: $toolbar-height;
width: 100%;
z-index: 100;
left: 0;
top: $toolbar-offset;
2017-01-11 09:35:48 +01:00
background-color: $color-black;
}
.maputnik-toolbar-logo {
flex: 0 0 170px;
2017-01-11 09:35:48 +01:00
width: 180px;
text-align: left;
background-color: $color-black;
padding: $margin-2;
height: $toolbar-height;
h1 {
2017-01-12 11:23:06 +01:00
display: inline;
2017-01-11 09:35:48 +01:00
}
img {
width: 30px;
padding-right: $margin-2;
vertical-align: top;
2017-01-11 09:35:48 +01:00
}
}
.maputnik-toolbar-link {
vertical-align: top;
height: $toolbar-height;
display: inline-block;
padding: $margin-3;
font-size: $font-size-5;
cursor: pointer;
color: $color-white;
text-decoration: none;
2018-01-31 22:22:12 +01:00
line-height: 20px;
2017-01-12 11:23:06 +01:00
h1 {
position: relative;
}
2017-01-11 09:35:48 +01:00
&:hover {
background-color: $color-midgray;
}
}
.maputnik-toolbar-version {
position: absolute;
font-size: 10px;
2018-01-31 22:36:47 +01:00
bottom: -2px;
margin-left: 4px;
}
2017-01-11 09:35:48 +01:00
.maputnik-toolbar-action {
@extend .maputnik-toolbar-link;
}
2017-01-11 14:03:48 +01:00
.maputnik-icon-text {
padding-left: $margin-1;
}
.maputnik-icon-action {
display: inline;
margin-left: $margin-1;
}
.maputnik-toolbar__inner {
display: flex;
}
.maputnik-toolbar__actions {
white-space: nowrap;
flex: 1;
overflow-y: auto;
}