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
8aa73401
Commit
8aa73401
authored
Aug 14, 2017
by
Torkel Ödegaard
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
ux: new breadcrumb progress
parent
8d6a1cdb
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
52 additions
and
15 deletions
+52
-15
public/app/features/plugins/ds_list_ctrl.ts
+1
-2
public/sass/layout/_page.scss
+51
-13
No files found.
public/app/features/plugins/ds_list_ctrl.ts
View file @
8aa73401
...
@@ -15,8 +15,7 @@ export class DataSourcesCtrl {
...
@@ -15,8 +15,7 @@ export class DataSourcesCtrl {
private
$http
,
private
$http
,
private
backendSrv
,
private
backendSrv
,
private
datasourceSrv
,
private
datasourceSrv
,
private
navModelSrv
private
navModelSrv
)
{
)
{
this
.
navModel
=
this
.
navModelSrv
.
getDatasourceNav
(
0
);
this
.
navModel
=
this
.
navModelSrv
.
getDatasourceNav
(
0
);
...
...
public/sass/layout/_page.scss
View file @
8aa73401
...
@@ -101,34 +101,71 @@
...
@@ -101,34 +101,71 @@
margin-bottom
:
$spacer
;
margin-bottom
:
$spacer
;
}
}
$breadcrumb-hover-hl
:
#111
;
.page-breadcrumb__item
{
.page-breadcrumb__item
{
background
:
black
;
>
a
{
>
a
{
color
:
$text-color-weak
;
color
:
$text-color-weak
;
display
:
block
;
display
:
block
;
padding
:
0
.6rem
3rem
0
.6rem
1
rem
;;
padding
:
0
.6rem
1rem
0
.6rem
3
rem
;;
}
position
:
relative
;
&
:hover
a
{
&
:
:
after
{
.page-breadcrumb__caret
{
content
:
''
;
opacity
:
1
;
position
:
absolute
;
top
:
-53px
;
left
:
100%
;
content
:
''
;
height
:
0
;
width
:
0
;
border
:
46px
solid
transparent
;
border-right-width
:
0
;
border-left-width
:
41px
;
z-index
:
2
;
border-left-color
:
black
;
}
}
}
}
background
:
black
;
&
:first-child
{
a
{
padding-left
:
1rem
;
}
}
&
:
:
after
{
&
:
:
after
{
content
:
""
;
content
:
''
;
position
:
absolute
;
position
:
absolute
;
top
:
0
;
top
:
-53px
;
left
:
100%
;
left
:
100%
;
content
:
''
;
content
:
''
;
height
:
0
;
height
:
0
;
width
:
0
;
width
:
0
;
border
:
24
px
solid
transparent
;
border
:
46
px
solid
transparent
;
border-right-width
:
0
;
border-right-width
:
0
;
border-left-width
:
20px
;
border-left-width
:
41px
;
z-index
:
1
;
transform
:
translateX
(
4px
);
transform
:
translateX
(
4px
);
border-left-color
:
#ffffff
;
border-left-color
:
#282020
;
margin
:
0
;
}
&
:hover
{
background
:
$breadcrumb-hover-hl
;
.page-breadcrumb__caret
{
opacity
:
1
;
}
>
a
{
color
:
$text-color
;
&
:
:
after
{
border-left-color
:
$breadcrumb-hover-hl
;
color
:
$text-color
;
}
}
}
}
}
}
...
@@ -138,7 +175,8 @@
...
@@ -138,7 +175,8 @@
display
:
block
;
display
:
block
;
width
:
16px
;
width
:
16px
;
height
:
16px
;
height
:
16px
;
right
:
20px
;
right
:
-9px
;
top
:
14px
;
top
:
12px
;
z-index
:
3
;
}
}
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