Add white fill in triangle for hovercards with images

Bug: 62945
Change-Id: I1b3ec90a8cd482c100ee8b2abd5ee69f3890a576
This commit is contained in:
Prateek Saxena 2014-03-22 06:44:09 +05:30 committed by Amire80
parent a5b57a40e4
commit 511b6f251f

View file

@ -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 {