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
13720759
Commit
13720759
authored
Feb 20, 2016
by
Matt Toback
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #4089 from grafana/matt-weekend-ui
Matt weekend ui
parents
bf4a00b6
a2731da9
Show whitespace changes
Inline
Side-by-side
Showing
5 changed files
with
33 additions
and
5 deletions
+33
-5
public/sass/_grafana.scss
+1
-0
public/sass/_variables.dark.scss
+1
-0
public/sass/_variables.light.scss
+1
-0
public/sass/components/_sidemenu.scss
+5
-5
public/sass/mixins/_animations.scss
+25
-0
No files found.
public/sass/_grafana.scss
View file @
13720759
// MIXINS
@import
"mixins/mixins"
;
@import
"mixins/animations"
;
@import
"mixins/buttons"
;
@import
"mixins/breakpoints"
;
@import
"mixins/grid"
;
...
...
public/sass/_variables.dark.scss
View file @
13720759
...
...
@@ -207,6 +207,7 @@ $navbarButtonBackgroundHighlight: lighten($navbarBackground, 5%);
// -------------------------
$side-menu-bg
:
$body-bg
;
$side-menu-item-hover-bg
:
$dark-4
;
$side-menu-opacity
:
0
.97
;
// Pagination
// -------------------------
...
...
public/sass/_variables.light.scss
View file @
13720759
...
...
@@ -162,6 +162,7 @@ $input-label-bg: $gray-5;
// -------------------------
$side-menu-bg
:
$body-bg
;
$side-menu-item-hover-bg
:
$gray-6
;
$side-menu-opacity
:
0
.97
;
// search
$search-shadow
:
0
5px
30px
0
lighten
(
$gray-2
,
30%
);
...
...
public/sass/components/_sidemenu.scss
View file @
13720759
...
...
@@ -7,7 +7,7 @@
top
:
52px
;
left
:
0
;
width
:
$side-menu-width
;
background-color
:
$side-menu-bg
;
background-color
:
rgba
(
$side-menu-bg
,
$side-menu-opacity
)
;
z-index
:
101
;
transform
:
translate3d
(
0
,
-100%
,
0
);
visibility
:
hidden
;
...
...
@@ -65,15 +65,15 @@
opacity
:
0
;
top
:
0px
;
left
:
$side-menu-width
;
background-color
:
$side-menu-bg
;
animation
:
dropdown-anim
100ms
ease-in-out
150ms
forwards
;
background-color
:
rgba
(
$side-menu-bg
,
$side-menu-opacity
)
;
@include
animation
(
'dropdown-anim 100ms ease-in-out 100ms forwards'
)
;
z-index
:
-9999
;
}
}
}
}
@
keyframes
dropdown-anim
{
@
include
keyframes
(
dropdown-anim
)
{
0
%
{
display
:
none
;
opacity
:
0
;
...
...
@@ -85,7 +85,7 @@
}
100
%
{
opacity
:
1
;
transform
:
translate3d
(
0
,
0
,
0
)
transform
:
translate3d
(
0
,
0
,
0
)
;
}
}
...
...
public/sass/mixins/_animations.scss
0 → 100644
View file @
13720759
@mixin
keyframes
(
$animation-name
)
{
@-webkit-keyframes
#{
$animation-name
}
{
@content
;
}
@-moz-keyframes
#{
$animation-name
}
{
@content
;
}
@-ms-keyframes
#{
$animation-name
}
{
@content
;
}
@-o-keyframes
#{
$animation-name
}
{
@content
;
}
@keyframes
#{
$animation-name
}
{
@content
;
}
}
@mixin
animation
(
$str
)
{
-webkit-animation
:
#{
$str
}
;
-moz-animation
:
#{
$str
}
;
-ms-animation
:
#{
$str
}
;
-o-animation
:
#{
$str
}
;
animation
:
#{
$str
}
;
}
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