mirror of
https://github.com/mozilla/gecko-dev.git
synced 2025-02-26 04:09:50 +00:00
Bug 1637285 - Draw high contrast progress bar top border only. r=mhowell
This allows the bar to be any width. Differential Revision: https://phabricator.services.mozilla.com/D74983
This commit is contained in:
parent
4c230a0307
commit
3481c5bae9
@ -40,7 +40,8 @@ body.high-contrast #progress_background {
|
||||
|
||||
/* In high contrast mode, fill the entire progress bar with its border. */
|
||||
body.high-contrast #progress_bar {
|
||||
border: 12px solid;
|
||||
/* This border should be the height of progress_background. */
|
||||
border-top: 24px solid;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,8 @@ body.high-contrast #progress_background {
|
||||
|
||||
/* In high contrast mode, fill the entire progress bar with its border. */
|
||||
body.high-contrast #progress_bar {
|
||||
border: 12px solid;
|
||||
/* This border should be the height of progress_background. */
|
||||
border-top: 24px solid;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
@ -75,7 +75,8 @@ body.high-contrast #progress_background {
|
||||
|
||||
/* In high contrast mode, fill the entire progress bar with its border. */
|
||||
body.high-contrast #progress_bar {
|
||||
border: 10px solid;
|
||||
/* This border should be the height of progress_background. */
|
||||
border-top: 20px solid;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
@ -39,7 +39,8 @@ body.high-contrast #progress_background {
|
||||
|
||||
/* In high contrast mode, fill the entire progress bar with its border. */
|
||||
body.high-contrast #progress_bar {
|
||||
border: 12px solid;
|
||||
/* This border should be the height of progress_background. */
|
||||
border-top: 24px solid;
|
||||
box-sizing: border-box;
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user