Skip to content

Commit 3d013ec

Browse files
committed
Fixes for high-contrast mode
Fixes AB#662, AB#941
1 parent e6def01 commit 3d013ec

3 files changed

Lines changed: 18 additions & 0 deletions

File tree

src/@batch-flask/ui/buttons/button.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -160,3 +160,9 @@ bl-button {
160160
}
161161
}
162162
}
163+
164+
@media (forced-colors: active) {
165+
bl-button {
166+
border: 1px solid currentColor;
167+
}
168+
}
Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -1,3 +1,9 @@
11
bl-clickable {
22
cursor: pointer;
33
}
4+
5+
@media (forced-colors: active) {
6+
bl-clickable {
7+
border: 1px solid currentColor;
8+
}
9+
}

src/app/styles/vendor/material-theme.scss

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -189,3 +189,9 @@ mat-button-toggle-group {
189189
.cdk-high-contrast-active .mat-drawer.mat-drawer-end {
190190
border-left: none;
191191
}
192+
193+
@media (forced-colors: active) {
194+
mat-dialog-container {
195+
border: 1px solid currentColor;
196+
}
197+
}

0 commit comments

Comments
 (0)