Merge "Make ellipsis + ellipsis gradient cover ascender/descender glyphs"

This commit is contained in:
jenkins-bot 2014-11-17 13:52:29 +00:00 committed by Gerrit Code Review
commit 18ba5c1a76

View file

@ -1,3 +1,4 @@
@import "mediawiki.mixins";
@import "../mmv.mixins";
.mw-mmv-ttf-container {
@ -41,6 +42,7 @@
background-repeat: no-repeat;
/* @embed */
background-image: url(img/ellipsis_lightgray.svg);
.box-shadow( -4px 6px 0 0 white);
// Hovering over .mw-mmv-ttf-ellipsis-container will make the ellipsis more visible to attract
// attention to it. Since it has to be set on a parent element which is not under control of
@ -63,8 +65,7 @@
display: block;
content: '';
height: 1.2em; // 1em would not cover high glyphs
margin-top: -0.1em; // center
height: 1.6em; // 1em would not cover high glyphs
width: @fade-length;
margin-left: -@fade-length;