grafana/public/sass/components/_navbar.scss

114 lines
1.8 KiB
SCSS
Raw Normal View History

2016-02-15 08:27:41 -06:00
.navbar {
position: relative;
2017-08-25 03:19:08 -05:00
padding-left: $side-menu-width;
2017-12-02 08:35:59 -06:00
// box-shadow: $navbarShadow;
z-index: $zindex-navbar-fixed;
2017-12-02 08:35:59 -06:00
// background: $navbarBackground;
2017-12-01 08:56:08 -06:00
height: $navbarHeight;
padding-right: $spacer;
2017-10-14 14:17:16 -05:00
display: flex;
2017-12-02 08:35:59 -06:00
flex-grow: 1;
2016-02-15 08:27:41 -06:00
}
2017-08-17 07:00:41 -05:00
.sidemenu-open {
2017-08-17 07:59:10 -05:00
.navbar {
2017-10-25 05:37:34 -05:00
padding-left: 15px;
2017-08-17 07:00:41 -05:00
}
}
.navbar-page-btn {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
display: block;
margin: 0;
color: darken($link-color, 5%);
font-size: $font-size-lg;
padding: 1rem 1rem 0.75rem 1rem;
min-height: $navbarHeight;
.fa-caret-down {
font-size: 60%;
padding-left: 0.2rem;
2016-02-15 08:27:41 -06:00
}
2017-06-08 06:56:51 -05:00
&--search {
padding: 1rem 1.5rem 0.75rem 1.5rem;
}
2017-10-25 05:37:34 -05:00
.gicon {
position: relative;
top: -1px;
font-size: 19px;
line-height: 8px;
opacity: 0.75;
margin-right: 8px;
}
2016-02-15 08:27:41 -06:00
}
.navbar-page-btn-wrapper {
display: inline-block;
position: relative;
}
.navbar-section-wrapper {
position: relative;
float: left;
}
2017-08-17 11:50:46 -05:00
.navbar-mini-btn-wrapper {
padding: 15px;
}
2017-12-01 08:56:08 -06:00
.navbar-buttons {
height: $navbarHeight;
display: flex;
align-items: center;
justify-content: flex-end;
margin-right: $spacer;
}
2017-12-01 08:58:12 -06:00
.navbar__spacer {
flex-grow: 1;
}
2017-12-01 08:56:08 -06:00
.navbar-button {
@include buttonBackground($btn-inverse-bg, $btn-inverse-bg-hl, $btn-inverse-text-color, $btn-inverse-text-shadow);
2017-12-01 08:56:08 -06:00
display: inline-block;
font-weight: $btn-font-weight;
2017-12-02 08:35:59 -06:00
padding: 8px 11px;
2017-12-01 08:56:08 -06:00
line-height: 16px;
color: $text-muted;
border: 1px solid $navbar-button-border;
margin-right: 3px;
white-space: nowrap;
2017-12-01 08:56:08 -06:00
.gicon {
font-size: 16px;
}
.fa {
font-size: 16px;
}
&--add-panel {
2017-12-02 08:35:59 -06:00
padding: 5px 10px;
2017-12-01 08:58:12 -06:00
2017-12-01 08:56:08 -06:00
.gicon {
font-size: 22px;
}
}
&--tight {
2017-12-02 08:35:59 -06:00
padding: 9px 4px;
2017-12-01 08:58:12 -06:00
2017-12-01 08:56:08 -06:00
.fa {
font-size: 14px;
position: relative;
top: 2px;
}
}
}