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:
Adam Gashlin 2020-05-12 22:38:40 +00:00
parent 4c230a0307
commit 3481c5bae9
4 changed files with 8 additions and 4 deletions

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}

View File

@ -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;
}