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
9c2809a1
Commit
9c2809a1
authored
Mar 20, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(): button style tweaks, align with grafana.net styles more
parent
73e5c70d
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
10 additions
and
10 deletions
+10
-10
public/sass/_variables.dark.scss
+5
-5
public/sass/_variables.scss
+1
-1
public/sass/components/_buttons.scss
+3
-2
public/sass/mixins/_mixins.scss
+1
-2
No files found.
public/sass/_variables.dark.scss
View file @
9c2809a1
...
@@ -126,22 +126,22 @@ $btn-primary-bg-hl: lighten($brand-primary, 8%);
...
@@ -126,22 +126,22 @@ $btn-primary-bg-hl: lighten($brand-primary, 8%);
$btn-secondary-bg
:
$blue-dark
;
$btn-secondary-bg
:
$blue-dark
;
$btn-secondary-bg-hl
:
lighten
(
$blue-dark
,
3%
);
$btn-secondary-bg-hl
:
lighten
(
$blue-dark
,
3%
);
$btn-success-bg-hl
:
darken
(
$green
,
3%
);
$btn-success-bg
:
lighten
(
$green
,
3%
);
$btn-success-bg
:
lighten
(
$green
,
3%
);
$btn-success-bg-hl
:
darken
(
$green
,
3%
);
$btn-warning-bg
:
$brand-warning
;
$btn-warning-bg
:
$brand-warning
;
$btn-warning-bg-hl
:
lighten
(
$brand-warning
,
8%
);
$btn-warning-bg-hl
:
lighten
(
$brand-warning
,
8%
);
$btn-danger-bg
:
lighten
(
$red
,
3%
)
;
$btn-danger-bg
:
$red
;
$btn-danger-bg-hl
:
darken
(
$red
,
3
%
);
$btn-danger-bg-hl
:
lighten
(
$red
,
5
%
);
$btn-inverse-bg
:
$dark-3
;
$btn-inverse-bg
:
$dark-3
;
$btn-inverse-bg-hl
:
lighten
(
$dark-3
,
1
%
);
$btn-inverse-bg-hl
:
lighten
(
$dark-3
,
4
%
);
$btn-inverse-text-color
:
$link-color
;
$btn-inverse-text-color
:
$link-color
;
$btn-link-color
:
$gray-3
;
$btn-link-color
:
$gray-3
;
$iconContainerBackground
:
$black
;
$iconContainerBackground
:
$black
;
// Forms
// Forms
// -------------------------
// -------------------------
...
...
public/sass/_variables.scss
View file @
9c2809a1
...
@@ -216,7 +216,7 @@ $btn-padding-y-sm: .25rem !default;
...
@@ -216,7 +216,7 @@ $btn-padding-y-sm: .25rem !default;
$btn-padding-x-lg
:
1
.5rem
!
default
;
$btn-padding-x-lg
:
1
.5rem
!
default
;
$btn-padding-y-lg
:
.75rem
!
default
;
$btn-padding-y-lg
:
.75rem
!
default
;
$btn-border-radius
:
3
px
;
$btn-border-radius
:
2
px
;
// sidemenu
// sidemenu
$side-menu-width
:
14rem
;
$side-menu-width
:
14rem
;
...
...
public/sass/components/_buttons.scss
View file @
9c2809a1
...
@@ -95,8 +95,9 @@
...
@@ -95,8 +95,9 @@
// Inverse appears as dark gray
// Inverse appears as dark gray
.btn-inverse
{
.btn-inverse
{
@include
buttonBackground
(
$btn-inverse-bg
,
$btn-inverse-bg-hl
,
$btn-inverse-text-color
);
@include
buttonBackground
(
$btn-inverse-bg
,
$btn-inverse-bg-hl
,
$btn-inverse-text-color
);
box-shadow
:
none
;
//background: $card-background;
border
:
1px
solid
$tight-form-func-highlight-bg
;
box-shadow
:
$card-shadow
;
//border: 1px solid $tight-form-func-highlight-bg;
}
}
.btn-outline-primary
{
.btn-outline-primary
{
...
...
public/sass/mixins/_mixins.scss
View file @
9c2809a1
...
@@ -282,8 +282,7 @@
...
@@ -282,8 +282,7 @@
color
:
$text-color
;
color
:
$text-color
;
text-shadow
:
$textShadow
;
text-shadow
:
$textShadow
;
@include
gradient-vertical
(
$primaryColor
,
$secondaryColor
);
@include
gradient-vertical
(
$primaryColor
,
$secondaryColor
);
border-color
:
$secondaryColor
$secondaryColor
darken
(
$secondaryColor
,
15%
);
border-color
:
$primaryColor
;
border-color
:
rgba
(
0
,
0
,
0
,.
1
)
rgba
(
0
,
0
,
0
,.
1
)
fadein
(
rgba
(
0
,
0
,
0
,.
1
)
,
15%
);
}
}
// Gradients
// Gradients
...
...
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