97 lines
2.0 KiB
SCSS
97 lines
2.0 KiB
SCSS
// THIS FILE IS AUTOGENERATED, DO NOT MODIFY!
|
|
//
|
|
// To change the contents of this file,
|
|
// edit `_sass/pivoine/_menu.pre.scss`
|
|
// and run `npm run build:css`.
|
|
//
|
|
// During development you can run `npm run watch:css`
|
|
// to continuosly rebuild this file.
|
|
|
|
// Copyright (c) 2017 Florian Klampfer <https://qwtel.com/>
|
|
//
|
|
// This program is free software: you can redistribute it and/or modify
|
|
// it under the terms of the GNU General Public License as published by
|
|
// the Free Software Foundation, either version 3 of the License, or
|
|
// (at your option) any later version.
|
|
//
|
|
// This program is distributed in the hope that it will be useful,
|
|
// but WITHOUT ANY WARRANTY; without even the implied warranty of
|
|
// MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
|
|
// GNU General Public License for more details.
|
|
//
|
|
// You should have received a copy of the GNU General Public License
|
|
// along with this program. If not, see <http://www.gnu.org/licenses/>.
|
|
|
|
$navbar-height: 5rem;
|
|
|
|
|
|
.fixed-common {
|
|
position: fixed;
|
|
left: 0;
|
|
width: 100%;
|
|
z-index: 2;
|
|
}
|
|
|
|
.fixed-top {
|
|
@extend .fixed-common;
|
|
top: 0;
|
|
}
|
|
|
|
.fixed-bottom {
|
|
@extend .fixed-common;
|
|
bottom: 0;
|
|
}
|
|
|
|
|
|
.navbar {
|
|
@extend .color-transition;
|
|
> .content {
|
|
|
|
position: relative;
|
|
padding-top: 0;
|
|
padding-bottom: 0;
|
|
min-height: 0;
|
|
max-height: $navbar-height;
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
}
|
|
|
|
|
|
.nav-btn-bar {
|
|
@extend .color-transition;
|
|
margin: 0 -1rem;
|
|
background-color: white; // IE11
|
|
background-color: var(--body-bg);
|
|
height: $navbar-height;
|
|
display: flex;
|
|
align-items: center;
|
|
position: relative;
|
|
|
|
> :first-child, > :last-child {
|
|
border: none;
|
|
}
|
|
}
|
|
|
|
.nav-btn {
|
|
@extend .color-transition;
|
|
background: none;
|
|
border: none;
|
|
text-decoration: none;
|
|
display: flex;
|
|
align-items: center;
|
|
justify-content: center;
|
|
width: 3.25rem;
|
|
height: $navbar-height;
|
|
color: var(--menu-text);
|
|
border-right: 1px solid var(--border-color);
|
|
border-left: 1px solid var(--border-color);
|
|
margin-left: -1px;
|
|
}
|
|
|
|
|
|
|