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
50920b14
Commit
50920b14
authored
Feb 07, 2016
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux(forms): minor upgrade to new form design
parent
42b1c8c8
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
20 additions
and
60 deletions
+20
-60
public/less/bootswatch.dark.less
+1
-4
public/less/filter-table.less
+1
-1
public/less/gfbox.less
+1
-0
public/less/normform.less
+10
-44
public/less/variables.dark.less
+3
-5
public/less/variables.light.less
+4
-6
No files found.
public/less/bootswatch.dark.less
View file @
50920b14
...
...
@@ -31,10 +31,7 @@ html {
body {
height: 100%;
//#gradient > .vertical (@bodyBackground, #252A30);
//background: @bodyBackground;
background: @nonDashBodyBackground;
// url('../img/cubes.png') repeat right top;
background: @bodyBackground;
}
.page-header {
...
...
public/less/filter-table.less
View file @
50920b14
...
...
@@ -19,7 +19,7 @@
.filter-table tr {
background: @grafanaListBackground;
border-bottom: 2px solid @
nonDashBody
Background;
border-bottom: 2px solid @
page
Background;
}
.filter-table th {
...
...
public/less/gfbox.less
View file @
50920b14
...
...
@@ -69,6 +69,7 @@
}
.page-container {
background-color: @pageBackground;
position: relative;
padding: 20px 20px 60px 81px;
}
...
...
public/less/normform.less
View file @
50920b14
.norm-form {
border-top: 3px solid @
nonDashBody
Background;
border-left: 3px solid @
nonDashBody
Background;
border-right: 3px solid @
nonDashBody
Background;
border-top: 3px solid @
page
Background;
border-left: 3px solid @
page
Background;
border-right: 3px solid @
page
Background;
background: transparent;
&.last {
border-bottom: 1px solid @
nonDashBody
Background;
border-bottom: 1px solid @
page
Background;
}
&.borderless {
...
...
@@ -21,7 +21,7 @@
}
.norm-form-container-no-item-borders {
border: 1px solid @
nonDashBody
Background;
border: 1px solid @
page
Background;
border-bottom: none;
.norm-form, .norm-form-item, [type=text].norm-form-input, [type=text].norm-form-clear-input {
...
...
@@ -44,7 +44,7 @@
}
.norm-form-container {
border-bottom: 1px solid @
nonDashBody
Background;
border-bottom: 1px solid @
page
Background;
}
.norm-form-btn {
...
...
@@ -74,7 +74,7 @@
padding: 8px 7px;
display: inline-block;
font-weight: normal;
border-right: 3px solid @
nonDashBody
Background;
border-right: 3px solid @
page
Background;
color: @grayLighter;
display: inline-block;
.small;
...
...
@@ -139,7 +139,7 @@ input[type=text].norm-form-clear-input {
background: transparent;
color: @grafanaTargetColor;
border-radius: 0;
border-right: 2px solid @
nonDashBody
Background;
border-right: 2px solid @
page
Background;
}
[type=text],
...
...
@@ -148,7 +148,7 @@ input[type=text].norm-form-clear-input {
[type=password] {
&.norm-form-input {
border: none;
border-right:
2px solid @nonDashBody
Background;
border-right:
3px solid @page
Background;
margin: 0px;
border-radius: 0;
padding: 8px 6px;
...
...
@@ -172,7 +172,7 @@ input[type=checkbox].norm-form-checkbox {
select.norm-form-input {
border: none;
border-right:
1px solid @grafanaTargetSegmentBorder
;
border-right:
3px solid @pageBackground
;
margin: 0px;
border-radius: 0;
height: 36px;
...
...
@@ -182,25 +182,6 @@ select.norm-form-input {
}
}
.norm-form-func-controls {
display: none;
text-align: center;
.fa-arrow-left {
float: left;
position: relative;
top: 2px;
}
.fa-arrow-right {
float: right;
position: relative;
top: 2px;
}
.fa-remove {
margin-left: 10px;
}
}
.norm-form-radio {
input[type=radio] {
margin: 0;
...
...
@@ -209,21 +190,6 @@ select.norm-form-input {
display: inline;
}
}
.norm-form-section {
margin-bottom: 20px;
margin-right: 40px;
vertical-align: top;
display: inline-block;
.norm-form {
margin-left: 20px;
}
}
.norm-form-align {
padding-left: 66px;
}
.norm-form-item-large { width: 115px; }
.norm-form-item-xlarge { width: 150px; }
.norm-form-item-xxlarge { width: 200px; }
...
...
public/less/variables.dark.less
View file @
50920b14
...
...
@@ -52,9 +52,9 @@
// Scaffolding
// -------------------------
@bodyBackground:
rgb(22,22,22
);
@
nonDashBodyBackground:
@grayDarker;
@textColor:
@grayLighter;
@bodyBackground:
rgb(20,20,20
);
@
pageBackground:
@grayDarker;
@textColor: @grayLighter;
// Links
// -------------------------
...
...
@@ -105,8 +105,6 @@
@grafanaListHighlight: #333;
@grafanaListMainLinkColor: @textColor;
@pageContainerBorderColor: @grayDark;
// Scrollbars
@scrollbarBackground: #3a3a3a;
@scrollbarBackground2: #3a3a3a;
...
...
public/less/variables.light.less
View file @
50920b14
...
...
@@ -10,7 +10,7 @@
// Grays
// -------------------------
@black: #000;
@grayDarker: lighten(#000, 1
3
.5%); // #222
@grayDarker: lighten(#000, 1
1
.5%); // #222
@grayDark: lighten(#000, 20%); // #333
@gray: lighten(#000, 33.5%); // #555
@grayLight: lighten(#000, 60%); // #999
...
...
@@ -65,9 +65,9 @@
// Scaffolding
// -------------------------
@bodyBackground:
#EFEFEF;
@
nonDashBodyBackground: @grayLight
er;
@textColor:
@gray;
@bodyBackground: #EFEFEF;
@
pageBackground: @grayDark
er;
@textColor: @gray;
// Links
// -------------------------
...
...
@@ -117,8 +117,6 @@
@grafanaListHighlightContrast: #ddd;
@grafanaListMainLinkColor: @textColor;
@pageContainerBorderColor: darken(@grafanaTargetBackground, 5%);
// Tables
// -------------------------
...
...
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