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
29e68ba1
Commit
29e68ba1
authored
Mar 21, 2019
by
ijin08
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
brought back dashboard-padding and panel-padding variables, made dashboard-padding more specific
parent
6471f6fe
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
12 additions
and
4 deletions
+12
-4
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
+4
-0
public/sass/_variables.generated.scss
+4
-0
public/sass/pages/_dashboard.scss
+2
-2
public/sass/pages/_explore.scss
+2
-2
No files found.
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
View file @
29e68ba1
...
...
@@ -195,6 +195,10 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
// sidemenu
$side-menu-width: 60px;
// dashboard
$dashboard-padding: $space-md $space-md 0 $space-md;
$panel-padding: 0 $space-md $space-sm $space-md;
// tabs
$tabs-padding: 10px 15px 9px;
...
...
public/sass/_variables.generated.scss
View file @
29e68ba1
...
...
@@ -198,6 +198,10 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
// sidemenu
$side-menu-width
:
60px
;
// dashboard
$dashboard-padding
:
$space-md
$space-md
0
$space-md
;
$panel-padding
:
0
$space-md
$space-sm
$space-md
;
// tabs
$tabs-padding
:
10px
15px
9px
;
...
...
public/sass/pages/_dashboard.scss
View file @
29e68ba1
.dashboard-container
{
padding
:
$
space-md
$space-md
0
$space-md
;
padding
:
$
dashboard-padding
;
width
:
100%
;
height
:
100%
;
box-sizing
:
border-box
;
...
...
@@ -78,7 +78,7 @@ div.flot-text {
}
.panel-content
{
padding
:
0
$space-md
$space-sm
$space-md
;
padding
:
$panel-padding
;
height
:
calc
(
100%
-
27px
);
position
:
relative
;
...
...
public/sass/pages/_explore.scss
View file @
29e68ba1
...
...
@@ -156,7 +156,7 @@
}
.explore-container
{
padding
:
$
space-md
;
padding
:
$
dashboard-padding
;
}
.explore-wrapper
{
...
...
@@ -172,7 +172,7 @@
}
.explore-panel__body
{
padding
:
0
$space-md
$space-sm
$space-md
;
padding
:
$panel-padding
;
}
.explore-panel__header
{
...
...
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