mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-20 20:02:40 +00:00
1ea305b03b
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
11 lines
456 B
Plaintext
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
|
|
}
|