Skip to content

Commit 42cea82

Browse files
committed
SF-3642 Fix the button text color for the report a problem button
1 parent 197f24b commit 42cea82

File tree

1 file changed

+16
-11
lines changed

1 file changed

+16
-11
lines changed

src/SIL.XForge.Scripture/ClientApp/src/app/shared/notice/notice.component.scss

Lines changed: 16 additions & 11 deletions
Original file line numberDiff line numberDiff line change
@@ -133,17 +133,22 @@ $colors: (
133133
}
134134

135135
// Style buttons inside notices
136-
::ng-deep .mat-mdc-button-base {
137-
flex-shrink: 0;
138-
// set the button theme vars to our specific colors
139-
--mdc-filled-button-container-color: var(--notice-color-button-bg);
140-
--mdc-filled-button-label-text-color: var(--notice-color-button-text);
141-
// icon buttons
142-
color: var(--notice-color-text);
143-
144-
&:hover {
145-
background-color: var(--notice-color-button-hover-bg) !important;
146-
color: var(--notice-color-button-hover-text) !important;
136+
::ng-deep {
137+
.mat-mdc-button-base {
138+
flex-shrink: 0;
139+
// set the button theme vars to our specific colors
140+
--mdc-filled-button-container-color: var(--notice-color-button-bg);
141+
--mdc-filled-button-label-text-color: var(--notice-color-button-text);
142+
143+
&:hover {
144+
background-color: var(--notice-color-button-hover-bg) !important;
145+
color: var(--notice-color-button-hover-text) !important;
146+
}
147+
}
148+
149+
.mat-mdc-icon-button {
150+
// use the correct icon button color from the theme
151+
color: var(--notice-color-text);
147152
}
148153
}
149154
}

0 commit comments

Comments
 (0)