mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Apply whitespace code conventions in LESS files
https://www.mediawiki.org/wiki/CC/LESS Change-Id: Ic8df9629b76499c57114a5e399b4266dd0523002
This commit is contained in:
parent
64fdebe496
commit
84be066a29
|
@ -1,4 +1,4 @@
|
||||||
.mwe-popups-translate ( @x, @y ) {
|
.mwe-popups-translate(@x, @y) {
|
||||||
-webkit-transform: translate(@x, @y);
|
-webkit-transform: translate(@x, @y);
|
||||||
-moz-transform: translate(@x, @y);
|
-moz-transform: translate(@x, @y);
|
||||||
-ms-transform: translate(@x, @y);
|
-ms-transform: translate(@x, @y);
|
||||||
|
@ -6,7 +6,7 @@
|
||||||
transform: translate(@x, @y);
|
transform: translate(@x, @y);
|
||||||
}
|
}
|
||||||
|
|
||||||
.mwe-popups-animation ( ... ) {
|
.mwe-popups-animation(...) {
|
||||||
-webkit-animation: @arguments;
|
-webkit-animation: @arguments;
|
||||||
-moz-animation: @arguments;
|
-moz-animation: @arguments;
|
||||||
-o-animation: @arguments;
|
-o-animation: @arguments;
|
||||||
|
@ -45,7 +45,7 @@
|
||||||
.mwe-popups-fade-out-frames;
|
.mwe-popups-fade-out-frames;
|
||||||
}
|
}
|
||||||
|
|
||||||
.mwe-popups-fade-in-frames () {
|
.mwe-popups-fade-in-frames() {
|
||||||
0% {
|
0% {
|
||||||
opacity: 0;
|
opacity: 0;
|
||||||
.mwe-popups-translate(0, 20px);
|
.mwe-popups-translate(0, 20px);
|
||||||
|
@ -57,7 +57,7 @@
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mwe-popups-fade-out-frames () {
|
.mwe-popups-fade-out-frames() {
|
||||||
0% {
|
0% {
|
||||||
opacity: 1;
|
opacity: 1;
|
||||||
.mwe-popups-translate(0, 0);
|
.mwe-popups-translate(0, 0);
|
||||||
|
|
|
@ -2,7 +2,7 @@
|
||||||
* https://en.wikipedia.org/wiki/User:Yair_rand/NavPopupsRestyled.js
|
* https://en.wikipedia.org/wiki/User:Yair_rand/NavPopupsRestyled.js
|
||||||
*/
|
*/
|
||||||
|
|
||||||
.mwe-popups-border-triangle ( @size, @left, @color ) {
|
.mwe-popups-border-triangle(@size, @left, @color) {
|
||||||
content: '';
|
content: '';
|
||||||
position: absolute;
|
position: absolute;
|
||||||
border: @size solid transparent;
|
border: @size solid transparent;
|
||||||
|
@ -148,22 +148,22 @@
|
||||||
&.mwe-popups-image-tri {
|
&.mwe-popups-image-tri {
|
||||||
&:before {
|
&:before {
|
||||||
z-index: 90;
|
z-index: 90;
|
||||||
.mwe-popups-border-triangle( 9px, 9px, #bbb);
|
.mwe-popups-border-triangle(9px, 9px, #bbb);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
.mwe-popups-border-triangle( 8px, 10px, #fff);
|
.mwe-popups-border-triangle(8px, 10px, #fff);
|
||||||
z-index: 91;
|
z-index: 91;
|
||||||
}
|
}
|
||||||
|
|
||||||
&.flipped {
|
&.flipped {
|
||||||
&:before {
|
&:before {
|
||||||
z-index: 90;
|
z-index: 90;
|
||||||
.mwe-popups-border-triangle( 9px, 273px, #bbb);
|
.mwe-popups-border-triangle(9px, 273px, #bbb);
|
||||||
}
|
}
|
||||||
|
|
||||||
&:after {
|
&:after {
|
||||||
.mwe-popups-border-triangle( 8px, 273px, #fff);
|
.mwe-popups-border-triangle(8px, 273px, #fff);
|
||||||
z-index: 91;
|
z-index: 91;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
@ -186,7 +186,7 @@
|
||||||
|
|
||||||
&:before {
|
&:before {
|
||||||
z-index: 90;
|
z-index: 90;
|
||||||
.mwe-popups-border-triangle( 9px, 420px, #bbb);
|
.mwe-popups-border-triangle(9px, 420px, #bbb);
|
||||||
}
|
}
|
||||||
|
|
||||||
> a > svg {
|
> a > svg {
|
||||||
|
|
Loading…
Reference in a new issue