Skip to content

Commit ac6c796

Browse files
committed
feat: make progress bars less dominant for dark theme
1 parent 85c02bf commit ac6c796

File tree

1 file changed

+10
-19
lines changed

1 file changed

+10
-19
lines changed
Lines changed: 10 additions & 19 deletions
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,3 @@
1-
$this-inner-padding-left-right: 6px;
21
progress-bar {
32
position: absolute !important;
43
width: 0;
@@ -10,12 +9,16 @@ progress-bar {
109
background-color: #bbbbbb;
1110
z-index: 2;
1211

12+
@include dark-theme {
13+
background-color: #999999;
14+
}
15+
1316
&:before,
1417
&:after {
1518
content: '';
1619
position: absolute;
1720
bottom: 50%;
18-
right: -2px;
21+
right: -1px;
1922
transform: translateY(50%);
2023
background: inherit;
2124
width: 2px;
@@ -25,26 +28,14 @@ progress-bar {
2528

2629
&:before {
2730
right: auto;
28-
left: -2px;
31+
left: -1px;
2932
}
3033

31-
.task.is-current & {
32-
background-color: $green;
33-
34-
@include dark-theme {
35-
//background-color: $dark-green;
36-
}
34+
.task.is-done & {
35+
opacity: 0.6;
3736
}
3837

39-
md-progress-linear {
40-
top: 1px;
41-
42-
width: auto;
43-
}
44-
45-
md-progress-linear.md-default-theme .md-container,
46-
md-progress-linear .md-container {
47-
background: none;
38+
.task.is-current & {
39+
background-color: $green;
4840
}
49-
5041
}

0 commit comments

Comments
 (0)