Bug 1662143 - Fix for Windows High Contrast Mode buttons and indicators r=pdahiya

Differential Revision: https://phabricator.services.mozilla.com/D92822
This commit is contained in:
emcminn 2020-10-13 20:40:36 +00:00
Родитель 1810afabc7
Коммит f06d74c1a8
2 изменённых файлов: 7 добавлений и 1 удалений

Просмотреть файл

@ -478,7 +478,8 @@ body {
color: var(--welcome-button-text-color);
fill: currentColor;
position: relative;
z-index: 1; }
z-index: 1;
border: 1px solid transparent; }
.multistageContainer button.primary:focus {
background: var(--welcome-button-background-hover-color);
box-shadow: 0 0 0 4px var(--welcome-button-box-shadow-color); }
@ -528,6 +529,7 @@ body {
margin-inline-start: 4px;
background: var(--grey-subtitle-1);
border-radius: 5px;
border: 1px solid transparent;
opacity: 0.25; }
.multistageContainer .steps .indicator.current {
opacity: 1; }

Просмотреть файл

@ -569,6 +569,8 @@ body {
fill: currentColor;
position: relative;
z-index: 1;
// This transparent border will show up in Windows High Contrast Mode to improve accessibility.
border: 1px solid transparent;
&:focus {
background: var(--welcome-button-background-hover-color);
@ -642,6 +644,8 @@ body {
margin-inline-start: 4px;
background: var(--grey-subtitle-1);
border-radius: 5px;
// This transparent border will show up in Windows High Contrast Mode to improve accessibility.
border: 1px solid transparent;
opacity: 0.25;
&.current {