Skip to content

Commit 6ae6a5d

Browse files
committed
Polished some styles, updated issue 6466
1 parent 2f354ed commit 6ae6a5d

File tree

2 files changed

+22
-8
lines changed

2 files changed

+22
-8
lines changed

public/app/plugins/panel/gettingstarted/module.html

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -8,8 +8,8 @@ <h6 class="dashlist-section-header">
88
</h6>
99
<ul class="progress-tracker">
1010
<li class="progress-step" ng-repeat="step in ctrl.steps" ng-class="step.cssClass">
11-
<span class="progress-marker"><i class="{{step.icon}}"></i></span>
12-
<span class="progress-text">{{step.title}}</span>
11+
<a class="progress-marker" ng-href="{{step.href}}"><i class="{{step.icon}}"></i></a>
12+
<a class="progress-text" ng-href="{{step.href}}">{{step.title}}</a>
1313
<a class="btn progress-step-cta" ng-href="{{step.href}}">{{step.cta}}</a>
1414
</li>
1515
</ul>

public/sass/components/_panel_gettingstarted.scss

Lines changed: 20 additions & 6 deletions
Original file line numberDiff line numberDiff line change
@@ -4,13 +4,14 @@ $progress-color-dark: $panel-bg !default;
44
$progress-color: $panel-bg !default;
55
$progress-color-light: $panel-bg !default;
66
$progress-color-grey-light: $body-bg !default;
7+
$progress-color-shadow: $panel-border !default;
78
$progress-color-grey: $iconContainerBackground !default;
89
$progress-color-grey-dark: $iconContainerBackground !default;
910

1011
// Sizing
1112
$marker-size: 60px !default;
1213
$marker-size-half: ($marker-size / 2);
13-
$path-height: 4px !default;
14+
$path-height: 2px !default;
1415
$path-position: $marker-size-half - ($path-height / 2);
1516

1617

@@ -62,9 +63,16 @@ $path-position: $marker-size-half - ($path-height / 2);
6263
right: - $marker-size-half;
6364
width: 100%;
6465
height: $path-height;
66+
border-top: 2px solid $progress-color-grey-light;
67+
border-bottom: $progress-color-shadow;
6568
background: $progress-color-grey-light;
6669
}
6770

71+
&:first-child {
72+
&::after {
73+
left: 50%;
74+
}
75+
}
6876
&:last-child {
6977
&::after {
7078
right: 50%;
@@ -105,10 +113,12 @@ $path-position: $marker-size-half - ($path-height / 2);
105113
}
106114
.progress-text {
107115
text-decoration: line-through;
116+
&:hover {
117+
color: $text-color-weak;
118+
}
108119
}
109-
110120
&::after {
111-
background: $progress-color-grey;
121+
background: $progress-color-grey-light;
112122
}
113123
}
114124
}
@@ -136,13 +146,20 @@ $path-position: $marker-size-half - ($path-height / 2);
136146
color: $text-color-weak;
137147
font-size: 35px;
138148
vertical-align: sub;
149+
&:hover {
150+
color: $link-hover-color;
151+
}
139152
}
140153

141154
// Progress text
142155
.progress-text {
143156
display: block;
144157
overflow: hidden;
145158
text-overflow: ellipsis;
159+
color: $text-muted;
160+
&:hover {
161+
color: $link-hover-color;
162+
}
146163
}
147164

148165
.progress-marker {
@@ -151,6 +168,3 @@ $path-position: $marker-size-half - ($path-height / 2);
151168
font-size: 35px;
152169
vertical-align: sub;
153170
}
154-
155-
156-

0 commit comments

Comments
 (0)