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
4c6f2d6d
Unverified
Commit
4c6f2d6d
authored
Mar 12, 2019
by
Torkel Ödegaard
Committed by
GitHub
Mar 12, 2019
Browse files
Options
Browse Files
Download
Plain Diff
Merge pull request #15912 from grafana/8px-system-margins2
Removed variable $panel-margin
parents
90cacf71
c2f5c12e
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
22 additions
and
23 deletions
+22
-23
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
+1
-2
public/sass/_variables.generated.scss
+1
-2
public/sass/components/_alerts.scss
+1
-1
public/sass/components/_page_loader.scss
+1
-1
public/sass/components/_panel_editor.scss
+2
-2
public/sass/components/_panel_logs.scss
+1
-1
public/sass/components/_submenu.scss
+1
-1
public/sass/pages/_explore.scss
+14
-13
No files found.
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
View file @
4c6f2d6d
...
...
@@ -212,8 +212,7 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
$side-menu-width: 60px;
// dashboard
$panel-margin: 10px;
$dashboard-padding: $panel-margin * 2;
$dashboard-padding: 10px * 2;
$panel-horizontal-padding: 10;
$panel-vertical-padding: 5;
$panel-padding: 0px $panel-horizontal-padding + 0px $panel-vertical-padding + 0px $panel-horizontal-padding + 0px;
...
...
public/sass/_variables.generated.scss
View file @
4c6f2d6d
...
...
@@ -215,8 +215,7 @@ $btn-semi-transparent: rgba(0, 0, 0, 0.2) !default;
$side-menu-width
:
60px
;
// dashboard
$panel-margin
:
10px
;
$dashboard-padding
:
$panel-margin
*
2
;
$dashboard-padding
:
10px
*
2
;
$panel-horizontal-padding
:
10
;
$panel-vertical-padding
:
5
;
$panel-padding
:
0px
$panel-horizontal-padding
+
0px
$panel-vertical-padding
+
0px
$panel-horizontal-padding
+
0px
;
...
...
public/sass/components/_alerts.scss
View file @
4c6f2d6d
...
...
@@ -7,7 +7,7 @@
.alert
{
padding
:
15px
20px
;
margin-bottom
:
$
panel-margin
/
2
;
margin-bottom
:
$
space-xs
;
text-shadow
:
0
2px
0
rgba
(
255
,
255
,
255
,
0
.5
);
background
:
$alert-error-bg
;
position
:
relative
;
...
...
public/sass/components/_page_loader.scss
View file @
4c6f2d6d
...
...
@@ -7,7 +7,7 @@
&
__spinner
{
font-size
:
32px
;
margin-bottom
:
$
panel-margin
;
margin-bottom
:
$
space-sm
;
}
&
__text
{
...
...
public/sass/components/_panel_editor.scss
View file @
4c6f2d6d
...
...
@@ -21,7 +21,7 @@
}
.panel-editor-container__editor
{
margin-top
:
$
panel-margin
*
2
;
margin-top
:
$
space-lg
;
display
:
flex
;
flex-direction
:
row
;
flex
:
1
1
0
;
...
...
@@ -80,7 +80,7 @@
}
.submenu-controls
{
padding
:
0
$dashboard-padding
$
panel-margin
$dashboard-padding
;
padding
:
0
$dashboard-padding
$
space-sm
$dashboard-padding
;
}
.panel-editor-container__panel
{
...
...
public/sass/components/_panel_logs.scss
View file @
4c6f2d6d
...
...
@@ -6,7 +6,7 @@ $column-horizontal-spacing: 10px;
padding
:
$panel-padding
;
padding-top
:
10px
;
border-radius
:
$border-radius
;
margin
:
2
*
$panel-margin
0
$panel-margin
;
margin
:
$space-md
0
$space-sm
;
border
:
$panel-border
;
flex-direction
:
column
;
}
...
...
public/sass/components/_submenu.scss
View file @
4c6f2d6d
...
...
@@ -4,7 +4,7 @@
flex-wrap
:
wrap
;
align-content
:
flex-start
;
align-items
:
flex-start
;
padding
:
0
0
$
panel-margin
0
;
padding
:
0
0
$
space-sm
0
;
}
.annotation-disabled
,
...
...
public/sass/pages/_explore.scss
View file @
4c6f2d6d
...
...
@@ -66,6 +66,11 @@
min-height
:
55px
;
line-height
:
55px
;
justify-content
:
space-between
;
margin-left
:
$space-xl
;
}
.explore-toolbar-header
{
justify-content
:
space-between
;
align-items
:
center
;
}
...
...
@@ -163,7 +168,7 @@
}
.explore-panel
{
margin-top
:
$
panel-margin
;
margin-top
:
$
space-sm
;
}
.explore-panel__body
{
...
...
@@ -182,24 +187,20 @@
.explore-panel__header-label
{
font-weight
:
500
;
margin-right
:
$
panel-margin
;
margin-right
:
$
space-sm
;
font-size
:
$font-size-h6
;
box-shadow
:
$text-shadow-faint
;
}
.explore-panel__header-buttons
{
margin-right
:
$
panel-margin
;
margin-right
:
$
space-sm
;
font-size
:
$font-size-lg
;
line-height
:
$font-size-h6
;
}
.result-options
{
margin
:
2
*
$panel-margin
0
;
}
.time-series-disclaimer
{
width
:
300px
;
margin
:
$
panel-margin
auto
;
margin
:
$
space-sm
auto
;
padding
:
10px
0
;
border-radius
:
$border-radius
;
text-align
:
center
;
...
...
@@ -207,7 +208,7 @@
.disclaimer-icon
{
color
:
$yellow
;
margin-right
:
$
panel-margin
/
2
;
margin-right
:
$
space-xs
;
}
.show-all-time-series
{
...
...
@@ -234,7 +235,7 @@
position
:
relative
;
overflow
:
hidden
;
background
:
none
;
margin
:
$
panel-margin
/
2
;
margin
:
$
space-xs
;
}
.explore-panel__loader--active
:after
{
...
...
@@ -377,7 +378,7 @@
.ReactTable
.-pagination
{
border-top
:
none
;
box-shadow
:
none
;
margin-top
:
$
panel-margin
;
margin-top
:
$
space-sm
;
}
.ReactTable
.-pagination
.-btn
{
color
:
$blue
;
...
...
@@ -418,7 +419,7 @@
// TODO Experimental
.cheat-sheet-item
{
margin
:
2
*
$panel-margin
0
;
margin
:
$space-lg
0
;
width
:
50%
;
}
...
...
@@ -427,6 +428,6 @@
}
.cheat-sheet-item__expression
{
margin
:
$
panel-margin
/
2
0
;
margin
:
$
space-xs
0
;
cursor
:
pointer
;
}
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