Bug 1578052 - Add the focus outline of the TP switch in protections panel. r=nhnt11

We add the focus outline of the TP switch according to different
platforms.

Differential Revision: https://phabricator.services.mozilla.com/D45984

--HG--
extra : moz-landing-system : lando
This commit is contained in:
Tim Huang 2019-09-17 20:05:29 +00:00
parent 806d4691d5
commit 9fe7574570
3 changed files with 9 additions and 0 deletions

View File

@ -24,3 +24,7 @@
#protections-popup toolbarbutton:not([disabled="true"]):hover:active {
color: inherit;
}
.protections-popup-tp-switch:-moz-focusring {
outline: 1px dotted;
}

View File

@ -14,6 +14,7 @@
}
.tracking-protection-button:-moz-focusring,
.protections-popup-tp-switch:-moz-focusring,
#identity-popup-securityView-body > button:-moz-focusring {
box-shadow: var(--focus-ring-box-shadow);
}

View File

@ -7,3 +7,7 @@
.tracking-protection-button > .button-box > .button-icon {
margin-inline-end: 5px;
}
.protections-popup-tp-switch:-moz-focusring {
outline: 1px dotted;
}