mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-11-27 17:00:37 +00:00
Fix horizontal gradient for RTL page previews
Changes: - added @noflip to every .mw-popups-extract:after declaration Bug: T160614 Change-Id: I45ccb0c64e110ab0fc24e0e4eca31393cbef36d2
This commit is contained in:
parent
a9ff797f84
commit
e40e7a666b
|
@ -136,18 +136,26 @@
|
|||
&[dir='ltr']:after {
|
||||
/* @noflip */
|
||||
right: 0;
|
||||
/* @noflip */
|
||||
background-image: -webkit-linear-gradient( to right, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
/* @noflip */
|
||||
background-image: -moz-linear-gradient( to right, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
/* @noflip */
|
||||
background-image: -o-linear-gradient( to right, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
/* @noflip */
|
||||
background-image: linear-gradient( to right, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
}
|
||||
|
||||
&[dir='rtl']:after {
|
||||
/* @noflip */
|
||||
left: 0;
|
||||
/* @noflip */
|
||||
background-image: -webkit-linear-gradient( to left, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
/* @noflip */
|
||||
background-image: -moz-linear-gradient( to left, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
/* @noflip */
|
||||
background-image: -o-linear-gradient( to left, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
/* @noflip */
|
||||
background-image: linear-gradient( to left, rgba( 255, 255, 255, 0 ), rgba( 255, 255, 255, 1 ) 50% );
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue