2022-07-21 03:31:19 +00:00
|
|
|
/**
|
|
|
|
* This file is a LESS import match for "mediawiki.skin.variables.less"
|
2023-03-08 01:41:14 +00:00
|
|
|
* when legacy Vector (useskin=vector) is the active skin.
|
2022-07-21 03:31:19 +00:00
|
|
|
*/
|
|
|
|
|
|
|
|
@import 'mediawiki.skin.defaults.less';
|
|
|
|
|
2023-02-06 18:05:32 +00:00
|
|
|
// Use the legacy version (for a 14px base font size) of the wikimedia-ui theme
|
2024-04-22 18:32:16 +00:00
|
|
|
@import 'mediawiki.skin.codex-design-tokens/theme-wikimedia-ui.less';
|
2023-02-06 18:05:32 +00:00
|
|
|
|
|
|
|
// Overrides for Codex variables:
|
|
|
|
|
|
|
|
// Opacity
|
|
|
|
@opacity-medium: 0.67; // Codex: 0.65
|
|
|
|
@opacity-low: 0.33; // Codex: 0.30
|
|
|
|
@opacity-icon-base: 1; // Codex: 0.87
|
|
|
|
@opacity-icon-base--hover: 0.8; // = `#333` on `background-color: #fff`. Codex: 0.74
|
|
|
|
|
|
|
|
// Fonts
|
2023-10-10 20:00:22 +00:00
|
|
|
// Assumes 16px as the default browser font-size.
|
|
|
|
@font-size-base: unit( 14 / 16, em ); // Equals `0.875em`.
|
|
|
|
|
2023-02-06 18:05:32 +00:00
|
|
|
// Body content uses the user setting in browser / the system default sans-serif font:
|
|
|
|
// Arial on Windows, Roboto on Android.
|
|
|
|
// FIXME: Use WikimediaUI Base's OS specific default sans-serif fonts.
|
|
|
|
@font-family-sans: sans-serif; // Codex: 'Helvetica Neue', 'Helvetica', 'Liberation Sans', 'Arial', sans-serif;
|
|
|
|
|
|
|
|
// Overrides for non-Codex variables:
|
|
|
|
|
2022-07-21 20:07:15 +00:00
|
|
|
// Set pre July 2022 colors for links (T213778).
|
2022-07-21 03:31:19 +00:00
|
|
|
@color-link: #0645ad;
|
|
|
|
@color-link--visited: #0b0080;
|
2022-08-24 14:31:26 +00:00
|
|
|
@color-link--active: #faa700;
|
2022-08-22 11:32:19 +00:00
|
|
|
@color-link-new: #ba0000;
|
|
|
|
@color-link-new--visited: #a55858;
|
2022-08-24 14:31:26 +00:00
|
|
|
|
|
|
|
// Note these colors are different from Vector 2022 for historic reasons:
|
|
|
|
@color-link-external: #36b;
|
|
|
|
@color-link-external--visited: #636;
|
|
|
|
@color-link-external--active: #b63;
|