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
6ae6a5d3
Commit
6ae6a5d3
authored
Dec 07, 2016
by
Matt Toback
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Polished some styles, updated issue 6466
parent
2f354ed9
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
22 additions
and
8 deletions
+22
-8
public/app/plugins/panel/gettingstarted/module.html
+2
-2
public/sass/components/_panel_gettingstarted.scss
+20
-6
No files found.
public/app/plugins/panel/gettingstarted/module.html
View file @
6ae6a5d3
...
...
@@ -8,8 +8,8 @@
</h6>
<ul
class=
"progress-tracker"
>
<li
class=
"progress-step"
ng-repeat=
"step in ctrl.steps"
ng-class=
"step.cssClass"
>
<
span
class=
"progress-marker"
><i
class=
"{{step.icon}}"
></i></span
>
<
span
class=
"progress-text"
>
{{step.title}}
</span
>
<
a
class=
"progress-marker"
ng-href=
"{{step.href}}"
><i
class=
"{{step.icon}}"
></i></a
>
<
a
class=
"progress-text"
ng-href=
"{{step.href}}"
>
{{step.title}}
</a
>
<a
class=
"btn progress-step-cta"
ng-href=
"{{step.href}}"
>
{{step.cta}}
</a>
</li>
</ul>
...
...
public/sass/components/_panel_gettingstarted.scss
View file @
6ae6a5d3
...
...
@@ -4,13 +4,14 @@ $progress-color-dark: $panel-bg !default;
$progress-color
:
$panel-bg
!
default
;
$progress-color-light
:
$panel-bg
!
default
;
$progress-color-grey-light
:
$body-bg
!
default
;
$progress-color-shadow
:
$panel-border
!
default
;
$progress-color-grey
:
$iconContainerBackground
!
default
;
$progress-color-grey-dark
:
$iconContainerBackground
!
default
;
// Sizing
$marker-size
:
60px
!
default
;
$marker-size-half
:
(
$marker-size
/
2
);
$path-height
:
4
px
!
default
;
$path-height
:
2
px
!
default
;
$path-position
:
$marker-size-half
-
(
$path-height
/
2
);
...
...
@@ -62,9 +63,16 @@ $path-position: $marker-size-half - ($path-height / 2);
right
:
-
$marker-size-half
;
width
:
100%
;
height
:
$path-height
;
border-top
:
2px
solid
$progress-color-grey-light
;
border-bottom
:
$progress-color-shadow
;
background
:
$progress-color-grey-light
;
}
&
:first-child
{
&
:
:
after
{
left
:
50%
;
}
}
&
:last-child
{
&
:
:
after
{
right
:
50%
;
...
...
@@ -105,10 +113,12 @@ $path-position: $marker-size-half - ($path-height / 2);
}
.progress-text
{
text-decoration
:
line-through
;
&
:hover
{
color
:
$text-color-weak
;
}
}
&
:
:
after
{
background
:
$progress-color-grey
;
background
:
$progress-color-grey
-light
;
}
}
}
...
...
@@ -136,6 +146,9 @@ $path-position: $marker-size-half - ($path-height / 2);
color
:
$text-color-weak
;
font-size
:
35px
;
vertical-align
:
sub
;
&
:hover
{
color
:
$link-hover-color
;
}
}
// Progress text
...
...
@@ -143,6 +156,10 @@ $path-position: $marker-size-half - ($path-height / 2);
display
:
block
;
overflow
:
hidden
;
text-overflow
:
ellipsis
;
color
:
$text-muted
;
&
:hover
{
color
:
$link-hover-color
;
}
}
.progress-marker
{
...
...
@@ -151,6 +168,3 @@ $path-position: $marker-size-half - ($path-height / 2);
font-size
:
35px
;
vertical-align
:
sub
;
}
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