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
cd40362d
Commit
cd40362d
authored
Feb 11, 2016
by
Trent White
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
sidenav tweaks, creating a content channel for the main content on non-dashboard pages
parent
ff913333
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
25 additions
and
22 deletions
+25
-22
public/app/features/datasources/partials/edit.html
+3
-3
public/less/gfbox.less
+5
-2
public/less/grafana.less
+2
-1
public/less/navbar.less
+1
-1
public/less/normform.less
+2
-2
public/less/sidemenu.less
+7
-7
public/less/variables.dark.less
+5
-6
No files found.
public/app/features/datasources/partials/edit.html
View file @
cd40362d
...
@@ -64,9 +64,9 @@
...
@@ -64,9 +64,9 @@
</div>
</div>
<div
class=
""
style=
"margin-top: 35px"
>
<div
class=
""
style=
"margin-top: 35px"
>
<button
type=
"submit"
class=
"btn btn-
large btn-
success"
ng-show=
"isNew"
ng-click=
"saveChanges()"
>
Add
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"isNew"
ng-click=
"saveChanges()"
>
Add
</button>
<button
type=
"submit"
class=
"btn btn-
large btn-
success"
ng-show=
"!isNew"
ng-click=
"saveChanges()"
>
Save
</button>
<button
type=
"submit"
class=
"btn btn-success"
ng-show=
"!isNew"
ng-click=
"saveChanges()"
>
Save
</button>
<button
type=
"submit"
class=
"btn btn-
large btn-
inverse"
ng-show=
"!isNew"
ng-click=
"saveChanges(true)"
>
<button
type=
"submit"
class=
"btn btn-inverse"
ng-show=
"!isNew"
ng-click=
"saveChanges(true)"
>
Test Connection
Test Connection
</button>
</button>
<a
class=
"btnText"
href=
"datasources"
>
Cancel
</a>
<a
class=
"btnText"
href=
"datasources"
>
Cancel
</a>
...
...
public/less/gfbox.less
View file @
cd40362d
...
@@ -71,7 +71,10 @@
...
@@ -71,7 +71,10 @@
.page-container {
.page-container {
background-color: @pageBackground;
background-color: @pageBackground;
position: relative;
position: relative;
padding: 25px 60px 60px 88px;
padding: 25px 56px;
min-height: 900px;
max-width: 1060px;
margin-left: 0;
}
}
...
@@ -90,7 +93,7 @@
...
@@ -90,7 +93,7 @@
flex-wrap: wrap-reverse;
flex-wrap: wrap-reverse;
}
}
.page-wide {
.page-wide {
max-width: 10
0
0px;
max-width: 10
6
0px;
}
}
.page-wide-margined {
.page-wide-margined {
...
...
public/less/grafana.less
View file @
cd40362d
...
@@ -29,7 +29,8 @@
...
@@ -29,7 +29,8 @@
@import "filter-table.less";
@import "filter-table.less";
@import "simple-box.less";
@import "simple-box.less";
@import "dropdown.less";
@import "dropdown.less";
@import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic|PT+Sans+Caption:400,700);
// @import url(https://fonts.googleapis.com/css?family=PT+Sans:400,700,400italic,700italic|PT+Sans+Caption:400,700);
@import url(https://fonts.googleapis.com/css?family=Open+Sans:400,300,400italic,600,700);
.row-control-inner {
.row-control-inner {
padding:0px;
padding:0px;
...
...
public/less/navbar.less
View file @
cd40362d
...
@@ -81,7 +81,7 @@
...
@@ -81,7 +81,7 @@
overflow: hidden;
overflow: hidden;
white-space: nowrap;
white-space: nowrap;
display: block;
display: block;
padding: 16px 17px 1
5
px 13px;
padding: 16px 17px 1
6
px 13px;
}
}
.fa-th-large {
.fa-th-large {
...
...
public/less/normform.less
View file @
cd40362d
...
@@ -157,7 +157,7 @@ input[type=text].norm-form-clear-input {
...
@@ -157,7 +157,7 @@ input[type=text].norm-form-clear-input {
padding: 8px 6px;
padding: 8px 6px;
height: 100%;
height: 100%;
box-sizing: border-box;
box-sizing: border-box;
font-size: 1
6
px;
font-size: 1
5
px;
&.last {
&.last {
border-right: none;
border-right: none;
}
}
...
@@ -181,7 +181,7 @@ select.norm-form-input {
...
@@ -181,7 +181,7 @@ select.norm-form-input {
border-radius: 0;
border-radius: 0;
height: 36px;
height: 36px;
padding: 9px 3px;
padding: 9px 3px;
font-size: 1
6
px;
font-size: 1
5
px;
&.last {
&.last {
border-right: none;
border-right: none;
}
}
...
...
public/less/sidemenu.less
View file @
cd40362d
...
@@ -6,13 +6,13 @@
...
@@ -6,13 +6,13 @@
position: absolute;
position: absolute;
top: 52px;
top: 52px;
left: 0;
left: 0;
width: 2
0
0px;
width: 2
2
0px;
background-color: @
sideMenu
Background;
background-color: @
body
Background;
border: @sideMenuBorder;
border: @sideMenuBorder;
z-index: 101;
z-index: 101;
transform: translate3d(0, -100%, 0);
transform: translate3d(0, -100%, 0);
visibility: hidden;
visibility: hidden;
box-shadow: @sideMenuShadow;
//
box-shadow: @sideMenuShadow;
a:focus {
a:focus {
text-decoration: none;
text-decoration: none;
...
@@ -35,13 +35,13 @@
...
@@ -35,13 +35,13 @@
padding-left: 210px;
padding-left: 210px;
}
}
.page-container {
.page-container {
margin-left: 19
0
px;
margin-left: 19
5
px;
padding-left:
55
px;
padding-left:
77
px;
}
}
.top-nav-menu-btn {
.top-nav-menu-btn {
a {
a {
background-color: @sideMenuBackground;
background-color: @sideMenuBackground;
padding-right:
46
px;
padding-right:
67
px;
padding-left: 24px;
padding-left: 24px;
}
}
.icon-gf-grafana_wordmark {
.icon-gf-grafana_wordmark {
...
@@ -207,7 +207,7 @@
...
@@ -207,7 +207,7 @@
.sidemenu-org .fa-caret-right {
.sidemenu-org .fa-caret-right {
position: absolute;
position: absolute;
top: 50%;
top: 50%;
right:
4
px;
right:
25
px;
font-size: 80%;
font-size: 80%;
color: @linkColor;
color: @linkColor;
}
}
...
...
public/less/variables.dark.less
View file @
cd40362d
...
@@ -34,7 +34,7 @@
...
@@ -34,7 +34,7 @@
// grafana Variables
// grafana Variables
// -------------------------
// -------------------------
@grafanaPanelBackground: @grayDarker;
@grafanaPanelBackground: @grayDarker;
@grafanaPanelBorder:
solid 1px @grayDark;
@grafanaPanelBorder: solid 1px @grayDark;
@grafanaTriggerBorder: solid 1px #555;
@grafanaTriggerBorder: solid 1px #555;
// Graphite Target Editor
// Graphite Target Editor
...
@@ -54,9 +54,8 @@
...
@@ -54,9 +54,8 @@
// Scaffolding
// Scaffolding
// -------------------------
// -------------------------
//
@bodyBackground: rgb(20,20,20);
@bodyBackground: rgb(20,20,20);
@pageBackground: @grayDarker;
@pageBackground: @grayDarker;
@bodyBackground: @pageBackground;
@textColor: @grayLighter;
@textColor: @grayLighter;
// Links
// Links
...
@@ -68,11 +67,11 @@
...
@@ -68,11 +67,11 @@
// Typography
// Typography
// -------------------------
// -------------------------
@sansFontFamily: "
PT
Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
@sansFontFamily: "
Open
Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
@serifFontFamily: Georgia, "Times New Roman", Times, serif;
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
@monoFontFamily: Menlo, Monaco, Consolas, "Courier New", monospace;
@baseFontSize: 1
4
px;
@baseFontSize: 1
3
px;
@baseFontWeight: 400;
@baseFontWeight: 400;
@baseFontFamily: @sansFontFamily;
@baseFontFamily: @sansFontFamily;
@baseLineHeight: 20px;
@baseLineHeight: 20px;
...
@@ -80,7 +79,7 @@
...
@@ -80,7 +79,7 @@
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
@headingsFontFamily: inherit; // empty to use BS default, @baseFontFamily
@headingsFontWeight: 200; // instead of browser default, bold
@headingsFontWeight: 200; // instead of browser default, bold
@headingsFontStyle:
italic
;
@headingsFontStyle:
normal
;
@headingsColor: darken(@white,11%); // empty to use BS default, @textColor
@headingsColor: darken(@white,11%); // empty to use BS default, @textColor
@inputText: @black;
@inputText: @black;
...
...
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