Merge "[less] Normalize focus styles in Blink based browsers"
This commit is contained in:
commit
a2864cb5ef
|
@ -4,9 +4,17 @@
|
||||||
*
|
*
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
@import '../../../variables.less';
|
||||||
|
|
||||||
html,
|
html,
|
||||||
body {
|
body {
|
||||||
height: 100%;
|
height: 100%;
|
||||||
margin: 0;
|
margin: 0;
|
||||||
padding: 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;
|
||||||
|
}
|
||||||
|
|
|
@ -48,6 +48,8 @@
|
||||||
@background-color-frameless--hover: rgba( 0, 24, 73, 7/255 ); // equivalent to @wmui-color-base90 on white
|
@background-color-frameless--hover: rgba( 0, 24, 73, 7/255 ); // equivalent to @wmui-color-base90 on white
|
||||||
@color-primary: #36c; // wikimedia-ui-base.less
|
@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-base: unit( 14 / @font-size-browser, em ); // Equals `0.875em`.
|
||||||
@font-size-reset: @font-size-root;
|
@font-size-reset: @font-size-root;
|
||||||
@font-size-heading-1: 1.8em;
|
@font-size-heading-1: 1.8em;
|
||||||
|
|
Loading…
Reference in New Issue