Merge "[less] Normalize focus styles in Blink based browsers"

This commit is contained in:
jenkins-bot 2020-06-15 22:44:28 +00:00 committed by Gerrit Code Review
commit a2864cb5ef
2 changed files with 10 additions and 0 deletions

View file

@ -4,9 +4,17 @@
*
*/
@import '../../../variables.less';
html,
body {
height: 100%;
margin: 0;
padding: 0;
}
// Support Blink based browsers.
// They use `outline` for focus styles, we're only amending the color here, see T245887.
:focus {
outline-color: @outline-color-base--focus;
}

View file

@ -48,6 +48,8 @@
@background-color-frameless--hover: rgba( 0, 24, 73, 7/255 ); // equivalent to @wmui-color-base90 on white
@color-primary: #36c; // wikimedia-ui-base.less
@outline-color-base--focus: @color-primary;
@font-size-base: unit( 14 / @font-size-browser, em ); // Equals `0.875em`.
@font-size-reset: @font-size-root;
@font-size-heading-1: 1.8em;