mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-12-13 08:38:55 +00:00
8419e548a4
Bug: T363776 Change-Id: Iab9a7ffc7dd707c453522fab25c4bb6061645616
18 lines
526 B
Plaintext
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% );
|
|
}
|