Skip to content

Commit 70c8a2f

Browse files
author
Daniel Jacinto
authored
[A11y Bug] Make TFM badges asset and compatible different for high contrast. (#9098)
1 parent b7ac172 commit 70c8a2f

2 files changed

Lines changed: 22 additions & 0 deletions

File tree

src/Bootstrap/dist/css/bootstrap-theme.css

Lines changed: 10 additions & 0 deletions
Some generated files are not rendered by default. Learn more about customizing how changed files appear on GitHub.

src/Bootstrap/less/theme/common-supported-frameworks.less

Lines changed: 12 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -90,4 +90,16 @@
9090
p.frameworktableinfo-text {
9191
.frameworktableinfo-text;
9292
margin-top: 10px;
93+
}
94+
95+
@media (-ms-high-contrast: active), (forced-colors: active) {
96+
.framework-badge-asset {
97+
font-weight: bold;
98+
border: 2px solid @badge-dark;
99+
padding: 0px 8px;
100+
}
101+
102+
.frameworktableinfo-asset-icon {
103+
border: 2px solid @badge-dark;
104+
}
93105
}

0 commit comments

Comments
 (0)