mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/Vector.git
synced 2024-11-24 07:43:47 +00:00
Merge "[less] Normalize focus styles in Blink based browsers"
This commit is contained in:
commit
a2864cb5ef
|
@ -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;
|
||||
}
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in a new issue