feat(sidemenu): pinned state

This commit is contained in:
Torkel Ödegaard 2016-01-29 15:36:41 -05:00
parent 32989f4cca
commit 5f2aba6c5b
5 changed files with 25 additions and 5 deletions

View File

@ -5,6 +5,7 @@
<span class="top-nav-logo-background">
<img class="logo-icon" src="img/grafana_icon.svg"></img>
</span>
<i class="icon-gf icon-gf-grafana_wordmark"></i>
<i class="fa fa-caret-down"></i>
</a>
</div>

View File

@ -1,3 +0,0 @@
///<reference path="../headers/common.d.ts" />
var angular_1 = require('angular');
exports["default"] = angular_1["default"].module('grafana.core', ['ngRoute']);

View File

@ -1,5 +1,5 @@
<topnav title="Data sources" icon="fa fa-fw fa-database" subnav="false">
</topnav>
<navbar title="Data sources" icon="fa fa-fw fa-database" subnav="false">
</navbar>
<div class="page-container">
<div class="page-wide">

View File

@ -65,6 +65,12 @@
width: 30px;
height: 30px;
}
.icon-gf-grafana_wordmark {
position: relative;
top: 3px;
padding-left: 5px;
display: none;
}
}
.top-nav-dashboards-btn {

View File

@ -29,6 +29,7 @@
.sidemenu-pinned {
.sidemenu-wrapper {
min-height: 100%;
top: 50px;
}
.main-view-container {
padding-left: 210px;
@ -36,6 +37,21 @@
.page-container {
padding-left: 210px;
}
.top-nav-menu-btn {
a {
padding-right: 52px;
padding-left: 24px;
}
.icon-gf-grafana_wordmark {
display: inline-block;
}
.fa {
display: none;
}
}
.sidemenu-org {
box-shadow: none;
}
}
.sidemenu {