mirror of
https://github.com/grafana/grafana.git
synced 2025-01-24 15:27:01 -06:00
ux: color tweaks
This commit is contained in:
parent
e79dbc7cec
commit
8817cc9aaf
@ -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>
|
||||
|
@ -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 {
|
||||
|
@ -1,9 +1,7 @@
|
||||
.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 {
|
||||
|
@ -1,14 +1,14 @@
|
||||
.dashboard-container {
|
||||
padding: $dashboard-padding;
|
||||
background: $dashboard-gradient;
|
||||
width: 100%;
|
||||
min-height: 100%;
|
||||
}
|
||||
|
||||
.template-variable {
|
||||
color: $variable;
|
||||
}
|
||||
|
||||
|
||||
|
||||
div.flot-text {
|
||||
color: $text-color !important;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user