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
ac1648c9
Commit
ac1648c9
authored
Feb 18, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(): minor tweaks
parent
65f9cc98
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
10 additions
and
16 deletions
+10
-16
public/sass/_variables.scss
+2
-0
public/sass/components/_sidemenu.scss
+5
-9
public/sass/layout/_page.scss
+3
-7
No files found.
public/sass/_variables.scss
View file @
ac1648c9
...
@@ -220,3 +220,5 @@ $btn-padding-y-lg: .75rem !default;
...
@@ -220,3 +220,5 @@ $btn-padding-y-lg: .75rem !default;
$btn-border-radius
:
1px
;
$btn-border-radius
:
1px
;
// sidemenu
$side-menu-width
:
15rem
;
public/sass/components/_sidemenu.scss
View file @
ac1648c9
$sideMenuWidth
:
220px
;
.sidemenu-canvas
{
.sidemenu-canvas
{
position
:
relative
;
position
:
relative
;
}
}
...
@@ -8,7 +6,7 @@ $sideMenuWidth: 220px;
...
@@ -8,7 +6,7 @@ $sideMenuWidth: 220px;
position
:
absolute
;
position
:
absolute
;
top
:
52px
;
top
:
52px
;
left
:
0
;
left
:
0
;
width
:
$side
MenuW
idth
;
width
:
$side
-menu-w
idth
;
background-color
:
$body-bg
;
background-color
:
$body-bg
;
z-index
:
101
;
z-index
:
101
;
transform
:
translate3d
(
0
,
-100%
,
0
);
transform
:
translate3d
(
0
,
-100%
,
0
);
...
@@ -32,17 +30,15 @@ $sideMenuWidth: 220px;
...
@@ -32,17 +30,15 @@ $sideMenuWidth: 220px;
min-height
:
calc
(
100%
-
54px
);
min-height
:
calc
(
100%
-
54px
);
}
}
.dashboard-container
{
.dashboard-container
{
padding-left
:
$side
MenuW
idth
;
padding-left
:
$side
-menu-w
idth
;
}
}
.page-container
{
.page-container
{
margin-left
:
195px
;
margin-left
:
$side-menu-width
;
padding-left
:
77px
;
}
}
.top-nav-menu-btn
{
.top-nav-menu-btn
{
a
{
a
{
background-color
:
$page-bg
;
background-color
:
$page-bg
;
padding-right
:
67px
;
width
:
$side-menu-width
;
padding-left
:
22px
;
}
}
.icon-gf-grafana_wordmark
{
.icon-gf-grafana_wordmark
{
display
:
inline-block
;
display
:
inline-block
;
...
@@ -71,7 +67,7 @@ $sideMenuWidth: 220px;
...
@@ -71,7 +67,7 @@ $sideMenuWidth: 220px;
.dropdown-menu
{
.dropdown-menu
{
display
:
block
;
display
:
block
;
top
:
0px
;
top
:
0px
;
left
:
$side
MenuW
idth
;
left
:
$side
-menu-w
idth
;
background-color
:
$body-bg
;
background-color
:
$body-bg
;
}
}
}
}
...
...
public/sass/layout/_page.scss
View file @
ac1648c9
...
@@ -4,15 +4,11 @@
...
@@ -4,15 +4,11 @@
}
}
.dashboard-container
{
.dashboard-container
{
padding
:
5px
5px
;
padding
:
$spacer
/
2
;
width
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
}
}
.main-view
{
.main-view
{
// background-image: url(/img/grafana_pattern.png);
// background-position: 100% -550px;
// background-repeat: no-repeat;
height
:
100%
;
height
:
100%
;
}
}
...
@@ -33,7 +29,7 @@
...
@@ -33,7 +29,7 @@
}
}
.page-header
{
.page-header
{
padding
:
$spacer
0
;
padding
:
$spacer
0
$spacer
/
2
0
;
display
:
flex
;
display
:
flex
;
justify-content
:
flex-end
;
justify-content
:
flex-end
;
...
@@ -59,7 +55,7 @@
...
@@ -59,7 +55,7 @@
.page-heading
{
.page-heading
{
font-size
:
1
.25rem
;
font-size
:
1
.25rem
;
margin-top
:
0
;
margin-top
:
0
;
margin-bottom
:
$spacer
*
0
.
6
;
margin-bottom
:
$spacer
*
0
.
7
;
}
}
.admin-page
{
.admin-page
{
...
...
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