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
5e4b0266
Commit
5e4b0266
authored
Feb 03, 2015
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Css work applying new styles for topmenu dashboard button and logo/menu icon
parent
9d5979c0
Show whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
68 additions
and
107 deletions
+68
-107
src/app/partials/dashboard_topnav.html
+8
-3
src/css/less/console.less
+0
-69
src/css/less/grafana.less
+0
-5
src/css/less/navbar.less
+50
-23
src/css/less/sidemenu.less
+10
-3
src/css/less/variables.dark.less
+0
-4
No files found.
src/app/partials/dashboard_topnav.html
View file @
5e4b0266
...
@@ -5,13 +5,18 @@
...
@@ -5,13 +5,18 @@
<div
class=
"top-nav"
>
<div
class=
"top-nav"
>
<a
class=
"pointer top-nav-menu-btn"
ng-if=
"!grafana.sidemenu"
ng-click=
"toggleSideMenu()"
>
<a
class=
"pointer top-nav-menu-btn"
ng-if=
"!grafana.sidemenu"
ng-click=
"toggleSideMenu()"
>
<img
class=
"logo-icon"
src=
"img/fav32.png"
></img>
<img
class=
"logo-icon"
src=
"img/fav32.png"
></img>
<i
class=
"fa fa-
angle-right
"
></i>
<i
class=
"fa fa-
bars
"
></i>
</a>
</a>
<a
class=
"top-nav-dashboards-btn pointer"
ng-click=
"openSearch()"
>
<div
class=
"top-nav-dashboards-btn"
>
<a
class=
"pointer"
ng-click=
"openSearch()"
>
<i
class=
"fa fa-th-large"
></i>
<i
class=
"fa fa-th-large"
></i>
<i
class=
"fa fa-angle
-down"
></i>
<i
class=
"fa fa-caret
-down"
></i>
</a>
</a>
</div>
<span
class=
"fa fa-angle-right top-nav-breadcrumb-icon"
>
</span>
<a
ng-click=
"asd()"
class=
"top-nav-title pointer"
>
<a
ng-click=
"asd()"
class=
"top-nav-title pointer"
>
{{dashboard.title}}
{{dashboard.title}}
...
...
src/css/less/console.less
deleted
100644 → 0
View file @
9d5979c0
.grafana-console {
position: fixed;
width: 100%;
bottom: 0px;
height: 300px;
background: @grafanaPanelBackground;
border-top: 1px solid @fullEditBorder;
}
.grafana-console-header {
padding: 2px 5px;
}
.grafana-console-item {
.icon-caret-right {
font-size: 14px;
color: @blue;
}
margin: 2px 0;
display: table-row;
}
.grafana-console-body {
overflow-y: auto;
display: table;
width: 100%;
}
.gfc-col {
display: table-cell;
padding: 2px 4px;
white-space: nowrap;
overflow: hidden;
vertical-align: middle;
}
.grafana-console-method {
text-align: center;
}
.grafana-console-error {
.grafana-console-method {
color: red;
}
}
.grafana-console-field2 {
width: 90%;
}
.grafana-console-time:before {
content: '(';
color: rgb(106, 253, 81);
}
.grafana-console-time:after {
content: ')';
color: rgb(106, 253, 81);
}
.grafana-console-time {
color: rgb(162, 196, 253);
}
.grafana-console-elapsed {
text-align: right;
color: rgb(162, 196, 253);
}
src/css/less/grafana.less
View file @
5e4b0266
@import "p_pro.less";
@import "p_pro.less";
@import "submenu.less";
@import "submenu.less";
@import "graph.less";
@import "graph.less";
@import "console.less";
@import "bootstrap-tagsinput.less";
@import "bootstrap-tagsinput.less";
@import "tables_lists.less";
@import "tables_lists.less";
@import "search.less";
@import "search.less";
...
@@ -48,10 +47,6 @@
...
@@ -48,10 +47,6 @@
}
}
}
}
.logo-icon {
width: 24px;
}
.row-button {
.row-button {
width: 24px;
width: 24px;
}
}
...
...
src/css/less/navbar.less
View file @
5e4b0266
...
@@ -11,47 +11,74 @@
...
@@ -11,47 +11,74 @@
float: left;
float: left;
}
}
.fa.top-nav-breadcrumb-icon {
margin: 17px 21px 8px 0px;
float: left;
font-size: 160%;
color: @textColor;
}
.top-nav-menu-btn {
.top-nav-menu-btn {
border-radius: 50%;
background: black;
display: block;
display: block;
float: left;
float: left;
padding: 11px 9px 11px 14px;
padding: 4px;
background: @grafanaTargetBackground;
margin: 7px 6px 3px 9px;
border: 1px solid rgb(55, 54, 54);
.fa {
i {
display: none;
font-size: 160%;
}
color: darken(@gray, 15%);
img {
padding: 0px 0px 0px 0px;
width: 30px;
}
&:hover {
.fa {
display: block;
width: 30px;
height: 30px;
color: @textColor;
opacity: .7;
position: relative;
position: relative;
left: 6px;
top: 4px;
top: 4px;
font-size: 150%;
}
img {
display: none;
}
}
&:hover {
background: lighten(@grafanaTargetBackground, 3%);
}
}
}
}
.top-nav-dashboards-btn {
.top-nav-dashboards-btn {
display: block;
display: block;
float: left;
float: left;
padding: 15px 7px 9px 14px;
margin: 10px 8px 5px 14px;
border-radius: 3px;
font-size: 1.4em;
font-size: 1.4em;
font-weight: bold;
font-weight: bold;
color: #a2a2a2;
color: #a2a2a2;
margin: 0 18px 0 0;
border: 1px solid #555;
border: 1px solid rgb(55, 54, 54);
border-left: none;
a {
background: @grafanaTargetBackground;
display: inline-block;
.fa-th-large {
background: @grafanaTargetFuncBackground;
font-size: 123%;
padding: 5px 4px 5px 13px;
}
border: 1px solid #000;
.fa-angle-down {
border-radius: 3px;
position: relative;
color: #a2a2a2;
top: 4px;
}
&:hover {
&:hover {
background: lighten(@grafanaTargetBackground, 3%)
;
background: @grafanaTargetFuncHightlight
;
.fa {
.fa {
color: @textColor;
color: @linkColorHover
}
}
}
}
.fa-caret-down {
font-size: 60%;
position: relative;
top: 4px;
}
}
}
}
...
...
src/css/less/sidemenu.less
View file @
5e4b0266
...
@@ -55,11 +55,18 @@
...
@@ -55,11 +55,18 @@
.sidemenu-top-btn {
.sidemenu-top-btn {
display: block;
display: block;
padding: 14px 0px 10px 27px;
padding: 8px 0 4px 22px;
background: @grafanaTargetBackground;
background-color: @navbarBackground;
border: 1px solid rgb(55, 54, 54);
border-right: 3px solid black;
img {
border-radius: 50%;
background: black;
width: 30px;
padding: 4px;
}
i {
i {
padding-right: 5px;
padding-right: 5px;
padding-top: 5px;
font-size: 170%;
font-size: 170%;
color: @gray;
color: @gray;
}
}
...
...
src/css/less/variables.dark.less
View file @
5e4b0266
...
@@ -13,7 +13,6 @@
...
@@ -13,7 +13,6 @@
@grayLighter: #BBBFC2;
@grayLighter: #BBBFC2;
@white: #fff;
@white: #fff;
// Accent colors
// Accent colors
// -------------------------
// -------------------------
@blue: #33B5E5;
@blue: #33B5E5;
...
@@ -30,9 +29,6 @@
...
@@ -30,9 +29,6 @@
// -------------------------
// -------------------------
@grafanaPanelBackground: @grayDarker;
@grafanaPanelBackground: @grayDarker;
// Tabs
@fullEditBorder: #555;
// Graphite Target Editor
// Graphite Target Editor
@grafanaTargetBorder: @black;
@grafanaTargetBorder: @black;
@grafanaTargetBackground: @grayDark;
@grafanaTargetBackground: @grayDark;
...
...
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