mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Popups
synced 2024-09-23 10:21:11 +00:00
Add white fill in triangle for hovercards with images
Bug: 62945 Change-Id: I1b3ec90a8cd482c100ee8b2abd5ee69f3890a576
This commit is contained in:
parent
a5b57a40e4
commit
511b6f251f
|
@ -151,11 +151,21 @@
|
||||||
.mwe-popups-border-triangle( 9px, 9px, #bbb);
|
.mwe-popups-border-triangle( 9px, 9px, #bbb);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
&:after {
|
||||||
|
.mwe-popups-border-triangle( 8px, 10px, #fff);
|
||||||
|
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 {
|
||||||
|
.mwe-popups-border-triangle( 8px, 273px, #fff);
|
||||||
|
z-index: 91;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
.mwe-popups-extract {
|
.mwe-popups-extract {
|
||||||
|
|
Loading…
Reference in a new issue