mirror of
https://github.com/mozilla/gecko-dev.git
synced 2024-11-23 21:01:08 +00:00
Bug 1636445 - Skip applying profile refresh button styles in high-contrast. r=agashlin
Differential Revision: https://phabricator.services.mozilla.com/D74417
This commit is contained in:
parent
846382dc54
commit
2caf2e9712
@ -61,11 +61,14 @@ body {
|
||||
#refreshButton {
|
||||
padding: 8px 70px;
|
||||
font-size: 16px;
|
||||
border: none;
|
||||
background: #005ccc;
|
||||
color: white;
|
||||
}
|
||||
|
||||
body.normal-contrast #refreshButton {
|
||||
border: none;
|
||||
}
|
||||
|
||||
/* No footer for this layout. */
|
||||
#footer {
|
||||
visibility: hidden;
|
||||
|
@ -4,7 +4,9 @@
|
||||
|
||||
window.attachEvent("onload", function() {
|
||||
if (parseInt(external.getIsHighContrast())) {
|
||||
document.body.className = "high-contrast";
|
||||
document.body.className += " high-contrast";
|
||||
} else {
|
||||
document.body.className += " normal-contrast";
|
||||
}
|
||||
|
||||
document.body.style.fontFamily = external.getFontName() + ", sans-serif";
|
||||
|
Loading…
Reference in New Issue
Block a user