Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
N
nexpie-grafana-theme
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Registry
Registry
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
Kornkitt Poolsup
nexpie-grafana-theme
Commits
8817cc9a
Commit
8817cc9a
authored
Aug 17, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: color tweaks
parent
e79dbc7c
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
22 additions
and
20 deletions
+22
-20
public/app/features/dashboard/partials/settings.html
+2
-6
public/app/partials/dashboard.html
+1
-2
public/sass/_variables.dark.scss
+2
-1
public/sass/_variables.light.scss
+1
-0
public/sass/components/_navbar.scss
+2
-1
public/sass/components/_sidemenu.scss
+5
-1
public/sass/components/_tabbed_view.scss
+2
-4
public/sass/components/_view_states.scss
+4
-0
public/sass/layout/_page.scss
+1
-3
public/sass/pages/_dashboard.scss
+2
-2
No files found.
public/app/features/dashboard/partials/settings.html
View file @
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>
public/app/partials/dashboard.html
View file @
8817cc9a
...
...
@@ -3,9 +3,8 @@
<div
class=
"scroll-canvas scroll-canvas--dashboard"
>
<div
gemini-scrollbar
>
<div
class=
"dashboard-container"
>
<div
dash-editor-view
class=
"dash-edit-view"
></div>
<div
class=
"clearfix"
></div
>
<div
class=
"dashboard-container"
>
<dashboard-submenu
ng-if=
"dashboard.meta.submenuEnabled"
dashboard=
"dashboard"
></dashboard-submenu>
...
...
public/sass/_variables.dark.scss
View file @
8817cc9a
...
...
@@ -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
// -------------------------
...
...
public/sass/_variables.light.scss
View file @
8817cc9a
...
...
@@ -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
// -------------------------
...
...
public/sass/components/_navbar.scss
View file @
8817cc9a
...
...
@@ -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
();
}
...
...
public/sass/components/_sidemenu.scss
View file @
8817cc9a
...
...
@@ -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
{
...
...
public/sass/components/_tabbed_view.scss
View file @
8817cc9a
.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
;
...
...
public/sass/components/_view_states.scss
View file @
8817cc9a
...
...
@@ -48,6 +48,10 @@
}
}
.navbar
{
box-shadow
:
none
;
}
.navbar-page-btn
{
border-color
:
transparent
;
background
:
transparent
;
...
...
public/sass/layout/_page.scss
View file @
8817cc9a
...
...
@@ -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
{
...
...
public/sass/pages/_dashboard.scss
View file @
8817cc9a
.dashboard-container
{
padding
:
$dashboard-padding
;
background
:
$dashboard-gradient
;
width
:
100%
;
min-height
:
100%
;
}
.template-variable
{
color
:
$variable
;
}
div
.flot-text
{
color
:
$text-color
!
important
;
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment