Skip to content

Commit 9a37917

Browse files
committed
Use contrast colors for selected items in sidebar
1 parent 521a0b4 commit 9a37917

3 files changed

Lines changed: 20 additions & 4 deletions

File tree

desktop/src/app/components/account/browse/account-list/account-list.scss

Lines changed: 8 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -11,6 +11,10 @@ bl-account-list {
1111
.fa-star.favorite {
1212
text-shadow: -1px 0 $main-background, 0 1px $main-background, 1px 0 $main-background, 0 -1px $main-background;
1313
}
14+
15+
.auto-storage.error {
16+
color: $danger-contrast-color;
17+
}
1418
}
1519

1620
.fa-star {
@@ -42,11 +46,11 @@ bl-account-list {
4246

4347
.auto-storage {
4448
margin-right: 7px;
49+
}
4550

46-
&.error {
47-
color: $danger-color;
48-
font-weight: bold;
49-
}
51+
.auto-storage.error {
52+
color: $danger-color;
53+
font-weight: bold;
5054
}
5155
}
5256
}

desktop/src/app/components/job/base/job-state/job-state.scss

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -18,6 +18,10 @@ bl-job-state {
1818

1919
.fa-play-circle {
2020
color: $primary-color;
21+
22+
[aria-selected=true] & {
23+
color: $primary-contrast-color;
24+
}
2125
}
2226

2327
.fa-trash {

desktop/src/app/components/pool/base/pool-nodes-preview.scss

Lines changed: 8 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,9 +13,17 @@ bl-pool-nodes-preview {
1313
&.resize-error {
1414
color: $danger-color;
1515
font-weight: bold;
16+
17+
[aria-selected=true] & {
18+
color: $danger-contrast-color;
19+
}
1620
}
1721

1822
.fa {
1923
margin-right: 2px;
2024
}
25+
26+
[aria-selected=true] & {
27+
color: $primary-contrast-color;
28+
}
2129
}

0 commit comments

Comments
 (0)