mediawiki-extensions-Multim.../resources/mmv/mmv.mixins.less
Taavi Väänänen 1ea305b03b Fix dark mode issues with an extended 'Permission details' box
Fixes the shadows and borders that come with an extended 'Permission
details' box to use Codex tokens that support dark mode. To test this
out, view any image from Commons with a VRT permissions template (for
example [[File:Gordon_Highlander_steam_locomotive.jpg]]).

Bug: T369531
Change-Id: Ie2873b2ef2836c5b7ac2ded860dc2404f293f119
2024-07-08 16:16:15 +00:00

11 lines
456 B
Plaintext

@import 'mediawiki.skin.variables.less';
// from https://stackoverflow.com/a/12178019/323407
.fade-out-vertical( @backgroundColor: @background-color-base ) {
background-image: linear-gradient( to bottom, @background-color-transparent 0%, @backgroundColor 100% ); // W3C
}
.fade-out-horizontal( @backgroundColor: @background-color-base ) {
background-image: linear-gradient( to right, @background-color-transparent 0%, @backgroundColor 100% ); // W3C
}