Merge branch 'develop' into develop-settings

This commit is contained in:
Torkel Ödegaard 2017-12-02 15:45:10 +01:00
commit f7babd392b
4 changed files with 47 additions and 46 deletions

View File

@ -1,10 +1,12 @@
<div class="navbar">
<a class="navbar-page-btn" ng-click="ctrl.showSearch()">
<i class="gicon gicon-dashboard"></i>
{{ctrl.dashboard.title}}
<i class="fa fa-caret-down"></i>
</a>
<div>
<a class="navbar-page-btn" ng-click="ctrl.showSearch()">
<i class="gicon gicon-dashboard"></i>
{{ctrl.dashboard.title}}
<i class="fa fa-caret-down"></i>
</a>
</div>
<ul class="nav dash-playlist-actions" ng-if="ctrl.playlistSrv.isPlaying">
<li>

View File

@ -1,54 +1,52 @@
.dashnav-back-to-dashboard {
.navbar-buttons--zoom {
display: none;
}
.navbar-page-btn {
max-width: 200px;
}
.gf-timepicker-nav-btn {
max-width: 120px;
}
.navbar-buttons--actions {
display: none;
}
// Media queries
// ---------------------
@include media-breakpoint-down(lg) {
@include media-breakpoint-up(sm) {
.navbar-page-btn {
max-width: 290px;
max-width: 250px;
}
.gf-timepicker-nav-btn {
max-width: 200px;
}
}
@include media-breakpoint-up(md) {
.navbar-buttons--actions {
display: flex;
}
.navbar-page-btn {
max-width: 325px;
}
.gf-timepicker-nav-btn {
max-width: 240px;
}
}
@include media-breakpoint-down(md) {
@include media-breakpoint-up(lg) {
.navbar-buttons--zoom {
display: none;
display: flex;
}
}
@include media-breakpoint-down(sm) {
body {
padding: 0;
}
.page-dashboard .navbar-page-btn {
max-width: 200px;
.navbar-page-btn {
max-width: none;
}
.gf-timepicker-nav-btn {
max-width: 120px;
}
.navbar-buttons--actions {
display: none;
}
}
@include media-breakpoint-down(xs) {
.page-dashboard .navbar-page-btn {
max-width: 250px;
}
}
// form styles
@include media-breakpoint-up(md) {
.page-dashboard .navbar-page-btn {
max-width: 280px;
}
.gf-timepicker-nav-btn {
max-width: 120px;
max-width: none;
}
}

View File

@ -2,12 +2,13 @@
.navbar {
position: relative;
padding-left: $side-menu-width;
box-shadow: $navbarShadow;
// box-shadow: $navbarShadow;
z-index: $zindex-navbar-fixed;
background: $navbarBackground;
// background: $navbarBackground;
height: $navbarHeight;
padding-right: $spacer;
display: flex;
flex-grow: 1;
}
.sidemenu-open {
@ -77,7 +78,7 @@
display: inline-block;
font-weight: $btn-font-weight;
padding: 5px 10px;
padding: 8px 11px;
line-height: 16px;
color: $text-muted;
border: 1px solid #151515;
@ -93,7 +94,7 @@
}
&--add-panel {
padding: 2px 8px;
padding: 5px 10px;
.gicon {
font-size: 22px;
@ -101,7 +102,7 @@
}
&--tight {
padding: 6px 4px;
padding: 9px 4px;
.fa {
font-size: 14px;

View File

@ -27,7 +27,7 @@
}
.add-panel__items {
padding: 3px 0;
padding: 3px 8px;
display: flex;
flex-direction: row;
flex-wrap: wrap;
@ -41,7 +41,7 @@
background: $card-background;
box-shadow: $card-shadow;
border: $panel-border;
border-radius: 3px;
padding: $spacer/3 $spacer;
width: 31%;
height: 60px;