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
e81cb9c9
Commit
e81cb9c9
authored
Aug 14, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: testing fixed sidemenu and breadcrumbs
parent
097fa743
Show whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
73 additions
and
59 deletions
+73
-59
public/app/core/components/navbar/navbar.html
+3
-3
public/app/features/plugins/partials/ds_edit.html
+3
-1
public/app/features/plugins/partials/ds_list.html
+3
-1
public/sass/_variables.dark.scss
+1
-1
public/sass/_variables.scss
+1
-1
public/sass/base/_reboot.scss
+2
-0
public/sass/components/_gf-form.scss
+1
-0
public/sass/components/_navbar.scss
+1
-7
public/sass/layout/_page.scss
+23
-10
public/views/index.html
+35
-35
No files found.
public/app/core/components/navbar/navbar.html
View file @
e81cb9c9
<div
class=
"page-nav
container
"
>
<div
class=
"page-nav"
>
<div
class=
"container"
>
<div
class=
"page-breadcrumb"
>
<div
class=
"page-breadcrumb__item dropdown"
ng-repeat=
"item in ctrl.model.items"
>
<a
class=
"pointer"
ng-href=
"{{::item.url}}"
data-toggle=
"dropdown"
ng-if=
"::item.items"
>
...
...
@@ -20,7 +20,7 @@
</ul>
</div>
</div>
</div>
</div>
<dashboard-search></dashboard-search>
public/app/features/plugins/partials/ds_edit.html
View file @
e81cb9c9
<navbar
model=
"ctrl.navModel"
></navbar>
<div
class=
"page-container"
>
<div
class=
"scroll-canvas"
>
<div
class=
"page-container"
>
<div
class=
"page-header"
>
<h1>
<i
class=
"icon-gf icon-gf-datasources"
></i>
...
...
@@ -89,5 +90,6 @@
<dashboard-import-list
plugin=
"ctrl.datasourceMeta"
datasource=
"ctrl.current"
></dashboard-import-list>
</div>
</div>
</div>
public/app/features/plugins/partials/ds_list.html
View file @
e81cb9c9
<navbar
model=
"ctrl.navModel"
></navbar>
<div
class=
"page-container"
>
<div
class=
"scroll-canvas"
>
<div
class=
"page-container"
>
<div
class=
"page-header"
>
<h1>
<i
class=
"icon-gf icon-gf-datasources"
></i>
...
...
@@ -48,4 +49,5 @@
<div
ng-if=
"ctrl.datasources.length === 0"
>
<em>
No data sources defined
</em>
</div>
</div>
</div>
public/sass/_variables.dark.scss
View file @
e81cb9c9
...
...
@@ -162,7 +162,7 @@ $btn-drag-image: '../img/grab_dark.svg';
// Forms
// -------------------------
$input-bg
:
$
dark-4
;
$input-bg
:
$
black
;
$input-bg-disabled
:
$dark-3
;
$input-color
:
$gray-4
;
...
...
public/sass/_variables.scss
View file @
e81cb9c9
...
...
@@ -65,7 +65,7 @@ $container-max-widths: (
sm
:
576px
,
md
:
720px
,
lg
:
940px
,
xl
:
1
14
0px
xl
:
1
08
0px
)
!
default
;
// Grid columns
...
...
public/sass/base/_reboot.scss
View file @
e81cb9c9
...
...
@@ -79,6 +79,8 @@ body {
// By default, `<body>` has no `background-color` so we set one as a best practice.
background-color
:
$body-bg
;
height
:
100%
;
width
:
100%
;
position
:
absolute
;
}
// Suppress the focus outline on elements that cannot be accessed via keyboard.
...
...
public/sass/components/_gf-form.scss
View file @
e81cb9c9
...
...
@@ -53,6 +53,7 @@ $gf-form-margin: 0.25rem;
padding
:
$input-padding-y
$input-padding-x
;
margin-right
:
$gf-form-margin
;
flex-shrink
:
0
;
font-weight
:
$font-weight-semi-bold
;
background-color
:
$input-label-bg
;
display
:
block
;
...
...
public/sass/components/_navbar.scss
View file @
e81cb9c9
...
...
@@ -57,9 +57,7 @@
.navbar-brand-btn
{
display
:
block
;
position
:
relative
;
float
:
left
;
margin
:
0
;
margin-bottom
:
3rem
;
background-color
:
$side-menu-bg
;
padding
:
0
.4rem
1
.0rem
0
.4rem
1rem
;
min-height
:
$navbarHeight
;
...
...
@@ -68,10 +66,6 @@
font-size
:
70%
;
}
.fa-chevron-left
{
display
:
none
;
}
&
:hover
{
background
:
$navbarButtonBackgroundHighlight
;
}
...
...
public/sass/layout/_page.scss
View file @
e81cb9c9
.grafana-app
{
height
:
100%
;
display
:
flex
;
align-items
:
stretch
;
position
:
absolute
;
width
:
100%
;
height
:
100%
;
top
:
0
;
left
:
0
;
}
.main-view
{
position
:
relative
;
flex-grow
:
1
;
background
:
linear-gradient
(
180deg
,
#282020
0
,
#1e0f05
);
background
:
inear-gradient
(
180deg
,
#1b1d25
0
,
#210d0d
);
}
.page-container
{
@extend
.container
;
padding
:
$spacer
$spacer
$spacer
$spacer
*
3
;
}
padding
:
$spacer
;
min-height
:
calc
(
100%
-
54px
);
padding-bottom
:
$spacer
*
5
;
.scroll-canvas
{
position
:
absolute
;
width
:
100%
;
height
:
calc
(
100%
-
54px
);
overflow
:
scroll
;
}
.page-header-inner
{
...
...
@@ -96,15 +104,20 @@
margin-bottom
:
$spacer
*
2
;
}
$breadcrumb-hover-hl
:
#111
;
$page-nav-bg
:
black
;
// .page-nav {
// background: $page-nav-bg;
// }
.page-breadcrumb
{
display
:
flex
;
margin-bottom
:
$spacer
;
padding
:
0
$spacer
;
}
$breadcrumb-hover-hl
:
#111
;
.page-breadcrumb__item
{
background
:
black
;
background
:
$page-nav-bg
;
>
a
{
color
:
$text-color-weak
;
...
...
@@ -124,7 +137,7 @@ $breadcrumb-hover-hl: #111;
border-right-width
:
0
;
border-left-width
:
41px
;
z-index
:
2
;
border-left-color
:
black
;
border-left-color
:
$page-nav-bg
;
}
}
...
...
public/views/index.html
View file @
e81cb9c9
...
...
@@ -40,41 +40,41 @@
<div
class=
"main-view"
>
<div
ng-view
></div>
<
footer
class=
"footer"
>
<div
class=
"row text-center"
>
<ul
>
<li
>
<a
href=
"http://docs.grafana.org"
target=
"_blank"
>
<i
class=
"fa fa-file-code-o"
></i
>
Docs
</a
>
</li
>
<li
>
<a
href=
"https://grafana.com/services/support"
target=
"_blank"
>
<i
class=
"fa fa-support"
></i
>
Support Plans
</a
>
</li
>
<li
>
<a
href=
"https://community.grafana.com/"
target=
"_blank"
>
<i
class=
"fa fa-comments-o"
></i
>
Community
</a
>
</li
>
<li
>
<a
href=
"https://grafana.com"
target=
"_blank"
>
Grafana
</a
>
<span>
v[[.BuildVersion]] (commit: [[.BuildCommit]])
</span
>
</li
>
[[if .NewGrafanaVersionExists]]
<li
>
<a
href=
"https://grafana.com/get"
target=
"_blank"
bs-tooltip=
"'[[.NewGrafanaVersion]]'"
>
New version available!
</a
>
</li
>
[[end]]
</ul
>
</div
>
<
/footer
>
<
!-- <footer class="footer"> --
>
<!-- <div class="row text-center"> --
>
<!-- <ul> --
>
<!-- <li> --
>
<!-- <a href="http://docs.grafana.org" target="_blank"> --
>
<!-- <i class="fa fa-file-code-o"></i> --
>
<!-- Docs -->
<!-- </a> --
>
<!-- </li> --
>
<!-- <li> --
>
<!-- <a href="https://grafana.com/services/support" target="_blank"> --
>
<!-- <i class="fa fa-support"></i> --
>
<!-- Support Plans -->
<!-- </a> --
>
<!-- </li> --
>
<!-- <li> --
>
<!-- <a href="https://community.grafana.com/" target="_blank"> --
>
<!-- <i class="fa fa-comments-o"></i> --
>
<!-- Community -->
<!-- </a> --
>
<!-- </li> --
>
<!-- <li> --
>
<!-- <a href="https://grafana.com" target="_blank">Grafana</a> --
>
<!-- <span>v[[.BuildVersion]] (commit: [[.BuildCommit]])</span> --
>
<!-- </li> --
>
<!-- [[if .NewGrafanaVersionExists]] -->
<!-- <li> --
>
<!-- <a href="https://grafana.com/get" target="_blank" bs-tooltip="'[[.NewGrafanaVersion]]'"> --
>
<!-- New version available! -->
<!-- </a> --
>
<!-- </li> --
>
<!-- [[end]] -->
<!-- </ul> --
>
<!-- </div> --
>
<
!-- </footer> --
>
</div>
</grafana-app>
...
...
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