Commit Graph

8 Commits

Author SHA1 Message Date
Volker E
d5285655fd styles: Replace 'mediawiki.ui/variables' call with skin variables
- Replacing 'mediawiki.ui/variables.less' `@import`
  with new Codex design tokens as external library. We're using the
  legacy values as UniversalLanguageSelector has been a desktop first
  extension and those values are also used by Vector skin.
  The values replaced are anyways only touching colors, borders or
  transitions which are the same in normal and legacy.
  These will be replaced by skin-aware 'mediawiki.skin.variables.less'
  standard with dependency of UniversalLanguageSelector upped
  to MW 1.42.0.
- Replacing several static values with new Codex design token featuring
  skin variables, in categories `background-color`, `color`,
  `border-*`, `box-shadow`, `opacity` and `transition`.

Note, that this change should result in same rendering of the
extension, only properties that already have an equal token are
replaced.

Bug: T332541
Co-Authored-by: Volker E. <volker.e@wikimedia.org>
Change-Id: Ic563fa84bf8e76fd62f14487924d7d6fd5c1a065
2023-05-04 04:44:44 +00:00
Wandji69
7a69478642 style: Replace deprecated prefixed mixins with unprefixed CSS property
Bug: T308351
Change-Id: I80615dcee5dd97fe267cb901fa0b4d5018a7ea88
2023-01-26 10:37:20 +00:00
Jan Drewniak
7805386fcb Lower .uls-menu z-index for Vector skin
To avoid overlapping with the Vector sticky header, the z-index
should be lowered so that the sticky header is always
above it.

Bug: T295794
Change-Id: I9d3f45d56204bedc98d1994ed984b43f01c29fd5
2021-11-24 17:13:06 +00:00
Santhosh Thottingal
4f40e08f9c Remove deprecated .box-shadow mixin
Replace with unprefixed box-shadow

Bug: T286692
Change-Id: Icb448cb092c214b0c467864201a2469076134a4c
2021-07-15 06:52:46 +00:00
Volker E
78b30ddae7 Decrease opacity and add :hover transition
Follow-up to https://github.com/wikimedia/jquery.uls/pull/335.

Change-Id: I83f2e8b0fd23a6a989b16009d2c138383320067f
2019-06-12 05:16:51 +00:00
Volker E
2685cfaea0 Use WCAG level AA conforming WikimediaUI color
Applying WCAG level AA conforming WikimediaUI color `#54595d`
instead of library out-of-box one.

Change-Id: I6cbce473f1235bb29dac95e8129445e8bf0a8c20
2017-10-09 19:52:10 -07:00
Volker E
9333db6328 Align box shadow and colors to WikimediaUI Style Guide
Aligning `box-shadow` and `color` values to WikimediaUI Style Guide
defaults.

Bug: T175295
Change-Id: If5f75e57081112c4ce60b04a1061aeae48c25353
2017-09-20 00:33:11 -07:00
Volker E
31a8422a0c Follow core base font-size in Vector
Following core base font-size of `0.875em` in Vector to align with
other elements on the page.

Bug: T175295
Change-Id: Id9c8652820641d6fa1c6b1dd06247967ba649f25
2017-09-07 18:48:01 -07:00