Skip to content

Commit c3f482b

Browse files
committed
TMS-1164: Minor fixes
1 parent fe62a1c commit c3f482b

File tree

3 files changed

+42
-42
lines changed

3 files changed

+42
-42
lines changed

assets/styles/ui-components/_button.scss

Lines changed: 35 additions & 23 deletions
Original file line numberDiff line numberDiff line change
@@ -46,40 +46,52 @@ $button-secondary-border-color: $button-primary-border-color;
4646
}
4747

4848
&.is-primary {
49-
background-color: $primary !important;
50-
color: $primary-invert !important;
51-
border-color: $primary-invert !important;
52-
53-
&.is-outlined {
54-
&:hover,
55-
&:focus {
56-
border-color: $primary-invert !important;
49+
&,
50+
&:active,
51+
&.is-active {
52+
background-color: $primary !important;
53+
color: $primary-invert !important;
54+
border-color: $primary-invert !important;
55+
56+
&.is-outlined {
57+
&:hover,
58+
&:focus {
59+
border-color: $primary-invert !important;
60+
}
5761
}
58-
}
5962

60-
.icon {
61-
fill: $primary-invert !important;
63+
.icon {
64+
fill: $primary-invert !important;
65+
}
6266
}
6367
}
6468

6569
&.is-primary.is-inverted,
6670
&.is-primary-invert {
67-
border-color: $primary !important;
68-
background-color: $primary-invert !important;
69-
color: $primary !important;
70-
71-
.icon {
72-
fill: currentColor !important;
73-
color: inherit;
71+
&,
72+
&:active,
73+
&.is-active {
74+
border-color: $primary !important;
75+
background-color: $primary-invert !important;
76+
color: $primary !important;
77+
78+
.icon {
79+
fill: currentColor !important;
80+
color: inherit;
81+
}
7482
}
7583
}
7684

7785
&.is-secondary {
78-
background-color: $primary-invert !important;
79-
color: $primary !important;
80-
81-
.icon {
82-
fill: currentColor !important;
86+
&,
87+
&:active,
88+
&.is-active {
89+
background-color: $primary-invert !important;
90+
color: $primary !important;
91+
92+
.icon {
93+
fill: currentColor !important;
94+
}
8395
}
8496
}
8597

assets/styles/ui-components/_modal.scss

Lines changed: 7 additions & 10 deletions
Original file line numberDiff line numberDiff line change
@@ -14,11 +14,11 @@
1414
}
1515
}
1616
&:hover{
17-
background-color: $black !important;
18-
color: $white !important;
17+
background-color: $white !important;
18+
color: $black !important;
1919
outline: 0;
2020
.icon {
21-
fill: $white !important;
21+
fill: $black !important;
2222
}
2323
}
2424
}
@@ -32,15 +32,12 @@
3232
}
3333

3434
.slick-arrow {
35+
background-color: $white;
36+
3537
.icon {
36-
fill: $white !important; // sass-lint:disable-line no-important
37-
}
38-
&:hover {
39-
background-color: $white;
40-
.icon {
41-
fill: $black !important; // sass-lint:disable-line no-important
42-
}
38+
fill: $black !important; // sass-lint:disable-line no-important
4339
}
40+
4441
&:focus {
4542
outline: .2rem dotted $white !important;
4643
outline-offset: 0.25rem !important;

assets/styles/ui-components/header/_language-nav.scss

Lines changed: 0 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -5,15 +5,6 @@
55
border: 1px solid $primary-invert;
66
}
77

8-
.dropdown {
9-
&.is-active {
10-
.button {
11-
color: $primary !important;
12-
background-color: $primary-invert !important;
13-
}
14-
}
15-
}
16-
178
.dropdown-trigger {
189
.button {
1910
padding: .25rem 1.25rem !important;

0 commit comments

Comments
 (0)