Commit 02dc3c06 by Torkel Ödegaard

Merge branch 'develop' of github.com:grafana/grafana into develop

parents bb7b5527 8817cc9a
......@@ -85,16 +85,12 @@
</div>
</div>
<div ng-if="editor.index == 2">
<div ng-if="editor.index == 1">
<dash-links-editor></dash-links-editor>
</div>
<div ng-if="editor.index == 3">
<div ng-if="editor.index == 2">
<gf-time-picker-settings dashboard="dashboard"></gf-time-picker-settings>
</div>
<div ng-if="editor.index == 4">
<acl-settings dashboard="dashboard"></acl-settings>
</div>
</div>
......@@ -9,7 +9,7 @@
Create User Group
</a>
</div>
<div class="gf-form pull-right width-15 gf-form-group">
<div class="gf-form width-15 gf-form-group">
<span style="position: relative;">
<input type="text" class="gf-form-input" placeholder="Find User Group by name" tabindex="1" give-focus="true"
ng-model="ctrl.query" ng-model-options="{ debounce: 500 }" spellcheck='false' ng-change="ctrl.get()" />
......@@ -19,15 +19,17 @@
<table class="filter-table form-inline" ng-show="ctrl.userGroups.length > 0">
<thead>
<tr>
<th>Id</th>
<th>Name</th>
<th>Members</th>
<th></th>
</tr>
</thead>
<tbody>
<tr ng-repeat="userGroup in ctrl.userGroups">
<td>{{userGroup.id}}</td>
<td>{{userGroup.name}}</td>
<td>
<a href="org/user-groups/edit/{{userGroup.id}}">{{userGroup.name}}</a>
</td>
<td>#Count</td>
<td class="text-right">
<a href="org/user-groups/edit/{{userGroup.id}}" class="btn btn-inverse btn-small">
<i class="fa fa-edit"></i>
......
......@@ -3,9 +3,8 @@
<div class="scroll-canvas scroll-canvas--dashboard">
<div gemini-scrollbar>
<div dash-editor-view class="dash-edit-view"></div>
<div class="dashboard-container">
<div dash-editor-view class="dash-edit-view"></div>
<div class="clearfix"></div>
<dashboard-submenu ng-if="dashboard.meta.submenuEnabled" dashboard="dashboard"></dashboard-submenu>
......
......@@ -62,7 +62,8 @@ $text-shadow-faint: 1px 1px 4px rgb(45, 45, 45);
// gradients
$brand-gradient: linear-gradient(to right, rgba(255,213,0,0.7) 0%, rgba(255,68,0,0.7) 99%, rgba(255,68,0,0.7) 100%);
$page-gradient: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%);
$page-gradient: linear-gradient(180deg, rgb(36, 36, 36) 40px, rgba(178, 31, 31, 0.03) 100px, rgba(253, 187, 45, 0.03));
$dashboard-gradient: linear-gradient(180deg, #242424 10px, rgba(15, 15, 15, 1) 100px, rgb(10, 10, 10));
// Links
// -------------------------
......
......@@ -69,6 +69,7 @@ $text-shadow-faint: none;
// gradients
$brand-gradient: linear-gradient(to right, rgba(255,213,0,1.0) 0%, rgba(255,68,0,1.0) 99%, rgba(255,68,0,1.0) 100%);
$page-gradient: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%);
$dashboard-gradient: linear-gradient(60deg, transparent 70%, darken($page-bg, 4%) 98%);
// Links
// -------------------------
......
......@@ -4,13 +4,14 @@
overflow: visible;
position: relative;
margin-left: $side-menu-width;
box-shadow: 0 0 20px black;
z-index: 1;
}
.navbar-inner {
min-height: $navbarHeight;
padding-right: $spacer;
background-color: $navbarBackground;
border-bottom: $navbarBorder;
@include clearfix();
}
......
......@@ -5,7 +5,8 @@
flex-direction: column;
width: $side-menu-width;
background: $navbarBackground;
z-index: 1;
z-index: 10;
box-shadow: 0 0 20px black;
a:focus {
text-decoration: none;
......@@ -17,6 +18,9 @@
background: $side-menu-bg;
position: initial;
height: auto;
box-shadow: 0 0 20px black;
position: relative;
z-index: 1;
}
.sidemenu__top,
.sidemenu__bottom {
......
.tabbed-view {
background-color: $page-bg;
background-image: $page-gradient;
margin: (-$panel-margin*2) (-$panel-margin);
margin-bottom: $spacer*2;
background-color: $panel-bg;
padding: $spacer*3;
margin-bottom: $dashboard-padding;
&.tabbed-view--panel-edit {
padding: 0;
......
......@@ -48,6 +48,10 @@
}
}
.navbar {
box-shadow: none;
}
.navbar-page-btn {
border-color: transparent;
background: transparent;
......
......@@ -11,9 +11,7 @@
.main-view {
position: relative;
flex-grow: 1;
$gradient-opacity: 0.03;
background: linear-gradient(135deg, rgba(26, 42, 108, $gradient-opacity), rgba(178, 31, 31, $gradient-opacity), rgba(253, 187, 45, $gradient-opacity)); //Matt experiement
background: $page-gradient;
}
.page-container {
......
.dashboard-container {
padding: $dashboard-padding;
background: $dashboard-gradient;
width: 100%;
min-height: 100%;
}
.template-variable {
color: $variable;
}
div.flot-text {
color: $text-color !important;
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment