mediawiki-extensions-Multim.../resources/mmv/mmv.mixins.less
Simon Legner 8419e548a4 Use Codex colors to fix dark mode
Bug: T363776
Change-Id: Iab9a7ffc7dd707c453522fab25c4bb6061645616
2024-05-04 12:04:25 +03:00

18 lines
526 B
Plaintext

// from https://stackoverflow.com/a/12178019/323407
.fade-out-vertical( @backgroundColor: white ) {
background-image: linear-gradient( to bottom, @background-color-transparent 0%, @backgroundColor 100% ); // W3C
}
.fade-out-horizontal( @backgroundColor: white ) {
background-image: linear-gradient( to right, @background-color-transparent 0%, @backgroundColor 100% ); // W3C
}
.rotate( @degrees: 45deg ) {
transform: rotate( @degrees );
}
.grayscale() {
-webkit-filter: grayscale( 100% );
filter: grayscale( 100% );
}