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
1ad0c767
Commit
1ad0c767
authored
Mar 11, 2019
by
ijin08
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
removed -margin, replaced with new general variables
parent
d55f1897
Hide whitespace changes
Inline
Side-by-side
Showing
8 changed files
with
18 additions
and
24 deletions
+18
-24
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
+10
-14
No files found.
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
View file @
1ad0c767
...
...
@@ -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: 20 * 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 @
1ad0c767
...
...
@@ -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
:
20
*
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 @
1ad0c767
...
...
@@ -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 @
1ad0c767
...
...
@@ -7,7 +7,7 @@
&
__spinner
{
font-size
:
32px
;
margin-bottom
:
$
panel-margin
;
margin-bottom
:
$
space-s
;
}
&
__text
{
...
...
public/sass/components/_panel_editor.scss
View file @
1ad0c767
...
...
@@ -21,7 +21,7 @@
}
.panel-editor-container__editor
{
margin-top
:
$
panel-margin
*
2
;
margin-top
:
$
space-l
;
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-s
$dashboard-padding
;
}
.panel-editor-container__panel
{
...
...
public/sass/components/_panel_logs.scss
View file @
1ad0c767
...
...
@@ -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-m
0
$space-s
;
border
:
$panel-border
;
flex-direction
:
column
;
}
...
...
public/sass/components/_submenu.scss
View file @
1ad0c767
...
...
@@ -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-s
0
;
}
.annotation-disabled
,
...
...
public/sass/pages/_explore.scss
View file @
1ad0c767
...
...
@@ -73,7 +73,7 @@
min-height
:
55px
;
line-height
:
55px
;
justify-content
:
space-between
;
margin-left
:
$
panel-margin
*
3
;
margin-left
:
$
space-xl
;
}
.explore-toolbar-header
{
...
...
@@ -197,7 +197,7 @@
}
.explore-panel
{
margin-top
:
$
panel-margin
;
margin-top
:
$
space-s
;
}
.explore-panel__body
{
...
...
@@ -216,24 +216,20 @@
.explore-panel__header-label
{
font-weight
:
500
;
margin-right
:
$
panel-margin
;
margin-right
:
$
space-s
;
font-size
:
$font-size-h6
;
box-shadow
:
$text-shadow-faint
;
}
.explore-panel__header-buttons
{
margin-right
:
$
panel-margin
;
margin-right
:
$
space-s
;
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-s
auto
;
padding
:
10px
0
;
border-radius
:
$border-radius
;
text-align
:
center
;
...
...
@@ -241,7 +237,7 @@
.disclaimer-icon
{
color
:
$yellow
;
margin-right
:
$
panel-margin
/
2
;
margin-right
:
$
space-xs
;
}
.show-all-time-series
{
...
...
@@ -268,7 +264,7 @@
position
:
relative
;
overflow
:
hidden
;
background
:
none
;
margin
:
$
panel-margin
/
2
;
margin
:
$
space-xs
;
}
.explore-panel__loader--active
:after
{
...
...
@@ -411,7 +407,7 @@
.ReactTable
.-pagination
{
border-top
:
none
;
box-shadow
:
none
;
margin-top
:
$
panel-margin
;
margin-top
:
$
space-s
;
}
.ReactTable
.-pagination
.-btn
{
color
:
$blue
;
...
...
@@ -452,7 +448,7 @@
// TODO Experimental
.cheat-sheet-item
{
margin
:
2
*
$panel-margin
0
;
margin
:
$space-l
0
;
width
:
50%
;
}
...
...
@@ -461,6 +457,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