mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/MultimediaViewer
synced 2024-11-24 08:13:38 +00:00
3a61a45a53
Change-Id: I1b6de87b8a1b48220104af42a4e43d81a289438c
29 lines
855 B
Plaintext
29 lines
855 B
Plaintext
.unselectable() {
|
|
-webkit-user-select: none;
|
|
-moz-user-select: -moz-none;
|
|
-ms-user-select: none;
|
|
user-select: none;
|
|
}
|
|
|
|
// from https://stackoverflow.com/a/12178019/323407
|
|
.fade-out-vertical( @backgroundColor: white ) {
|
|
@invisible: fadeout( @backgroundColor, 100% );
|
|
background-image: linear-gradient( to bottom, @invisible 0%, @backgroundColor 100% ); // W3C
|
|
}
|
|
|
|
.fade-out-horizontal( @backgroundColor: white ) {
|
|
@invisible: fadeout( @backgroundColor, 100% );
|
|
background-image: linear-gradient( to right, @invisible 0%, @backgroundColor 100% ); // W3C
|
|
}
|
|
|
|
.rotate( @degrees: 45deg ) {
|
|
transform: rotate( @degrees );
|
|
}
|
|
|
|
.grayscale() {
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
-webkit-filter: grayscale( 100% );
|
|
/* stylelint-disable-next-line plugin/no-unsupported-browser-features */
|
|
filter: grayscale( 100% );
|
|
}
|