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
3e6c15a8
Commit
3e6c15a8
authored
Mar 12, 2019
by
ijin08
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch '8px-system-margins' of github.com:grafana/grafana into 8px-system-margins2
parents
fae2f545
a4186974
Show whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
28 additions
and
28 deletions
+28
-28
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
+3
-3
public/app/features/dashboard/components/AddPanelWidget/_AddPanelWidget.scss
+4
-4
public/sass/_variables.generated.scss
+3
-3
public/sass/components/_add_data_source.scss
+2
-2
public/sass/components/_cards.scss
+11
-11
public/sass/components/_dashboard_settings.scss
+3
-3
public/sass/components/_sidemenu.scss
+2
-2
No files found.
packages/grafana-ui/src/themes/_variables.scss.tmpl.ts
View file @
3e6c15a8
...
...
@@ -18,9 +18,9 @@ $enable-hover-media-query: false !default;
// variables. Mostly focused on spacing.
$space-xs:
${
theme
.
spacing
.
xs
}
!default;
$space-s:
${
theme
.
spacing
.
s
}
!default;
$space-m:
${
theme
.
spacing
.
m
}
!default;
$space-l:
${
theme
.
spacing
.
l
}
!default;
$space-s
m
:
${
theme
.
spacing
.
s
}
!default;
$space-m
d
:
${
theme
.
spacing
.
m
}
!default;
$space-l
g
:
${
theme
.
spacing
.
l
}
!default;
$space-xl:
${
theme
.
spacing
.
xl
}
!default;
$spacer:
${
theme
.
spacing
.
d
}
!default;
$spacer-x: $spacer !default;
...
...
public/app/features/dashboard/components/AddPanelWidget/_AddPanelWidget.scss
View file @
3e6c15a8
...
...
@@ -20,7 +20,7 @@
.gicon
{
font-size
:
30px
;
margin-right
:
$space-m
;
margin-right
:
$space-m
d
;
}
&
:hover
{
...
...
@@ -36,12 +36,12 @@
}
.add-panel-widget__link
{
margin
:
0
$space-s
;
margin
:
0
$space-s
m
;
width
:
154px
;
}
.add-panel-widget__icon
{
margin-bottom
:
$space-s
;
margin-bottom
:
$space-s
m
;
.gicon
{
color
:
white
;
...
...
@@ -62,7 +62,7 @@
.add-panel-widget__create
{
display
:
inherit
;
margin-bottom
:
$space-l
;
margin-bottom
:
$space-l
g
;
// this is to have the big button appear centered
margin-top
:
55px
;
}
...
...
public/sass/_variables.generated.scss
View file @
3e6c15a8
...
...
@@ -21,9 +21,9 @@ $enable-hover-media-query: false !default;
// variables. Mostly focused on spacing.
$space-xs
:
4px
!
default
;
$space-s
:
8px
!
default
;
$space-m
:
16px
!
default
;
$space-l
:
24px
!
default
;
$space-s
m
:
8px
!
default
;
$space-m
d
:
16px
!
default
;
$space-l
g
:
24px
!
default
;
$space-xl
:
32px
!
default
;
$spacer
:
14px
!
default
;
$spacer-x
:
$spacer
!
default
;
...
...
public/sass/components/_add_data_source.scss
View file @
3e6c15a8
...
...
@@ -7,7 +7,7 @@
.add-data-source-search
{
display
:
flex
;
justify-content
:
center
;
margin-bottom
:
$space-l
;
margin-bottom
:
$space-l
g
;
}
.add-data-source-grid
{
...
...
@@ -41,6 +41,6 @@
}
.add-data-source-grid-item-logo
{
margin
:
0
$space-m
;
margin
:
0
$space-m
d
;
width
:
55px
;
}
public/sass/components/_cards.scss
View file @
3e6c15a8
.layout-selector
{
@include
clearfix
();
margin-left
:
$space-m
;
margin-left
:
$space-m
d
;
text-align
:
right
;
button
{
...
...
@@ -9,7 +9,7 @@
color
:
$text-color-weak
;
box-shadow
:
$card-shadow
;
border
:
none
;
padding
:
$space-s
;
padding
:
$space-s
m
;
line-height
:
1
;
font-size
:
130%
;
float
:
right
;
...
...
@@ -50,7 +50,7 @@
height
:
100%
;
background
:
$card-background
;
box-shadow
:
$card-shadow
;
padding
:
$space-m
;
padding
:
$space-m
d
;
border-radius
:
4px
;
&
:hover
{
...
...
@@ -58,7 +58,7 @@
}
.label-tag
{
margin-left
:
$space-s
;
margin-left
:
$space-s
m
;
font-size
:
11px
;
padding
:
2px
6px
;
}
...
...
@@ -81,7 +81,7 @@
}
.card-item-header
{
margin-bottom
:
$space-m
;
margin-bottom
:
$space-m
d
;
}
.card-item-type
{
...
...
@@ -103,7 +103,7 @@
}
.card-item-label
{
margin-left
:
$space-s
;
margin-left
:
$space-s
m
;
}
.card-item-sub-name
{
...
...
@@ -116,7 +116,7 @@
.card-item-sub-name--header
{
color
:
$text-color-weak
;
text-transform
:
uppercase
;
margin-bottom
:
$space-m
;
margin-bottom
:
$space-m
d
;
font-size
:
$font-size-sm
;
font-weight
:
bold
;
}
...
...
@@ -129,7 +129,7 @@
.card-item-notice
{
font-size
:
$font-size-sm
;
display
:
inline-block
;
margin-left
:
$space-m
;
margin-left
:
$space-m
d
;
}
.card-item-header-action
{
...
...
@@ -138,7 +138,7 @@
.card-item-wrapper
{
width
:
100%
;
padding
:
0
$space-m
$space-m
0
;
padding
:
0
$space-m
d
$space-md
0
;
}
.card-item-wrapper--clickable
{
...
...
@@ -146,7 +146,7 @@
}
.card-item-figure
{
margin
:
0
$space-m
$space-m
0
;
margin
:
0
$space-m
d
$space-md
0
;
height
:
6rem
;
img
{
...
...
@@ -205,7 +205,7 @@
}
.card-item-figure
{
margin
:
0
$space-m
0
0
;
margin
:
0
$space-m
d
0
0
;
img
{
width
:
48px
;
}
...
...
public/sass/components/_dashboard_settings.scss
View file @
3e6c15a8
...
...
@@ -41,7 +41,7 @@
font-size
:
$font-size-h3
;
padding-right
:
60px
;
white-space
:
nowrap
;
margin-bottom
:
$space-m
;
margin-bottom
:
$space-m
d
;
i
{
font-size
:
25px
;
...
...
@@ -92,10 +92,10 @@
margin
:
40px
$space-xl
0
0
;
button
{
margin-bottom
:
$space-s
;
margin-bottom
:
$space-s
m
;
}
}
.dashboard-settings__json-save-button
{
margin-top
:
$space-m
;
margin-top
:
$space-m
d
;
}
public/sass/components/_sidemenu.scss
View file @
3e6c15a8
...
...
@@ -285,8 +285,8 @@ li.sidemenu-org-switcher {
position
:
unset
;
width
:
100%
;
float
:
none
;
margin-top
:
$space-s
;
margin-bottom
:
$space-s
;
margin-top
:
$space-s
m
;
margin-bottom
:
$space-s
m
;
>
li
>
a
{
padding-left
:
15px
;
...
...
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