Add the sidebar ULS cog icon and $wgULSPosition variable

Change-Id: I6acf1e21316a41ab8fcb4fd65e065be68693430f
This commit is contained in:
Amir E. Aharoni
2013-04-18 16:54:06 +03:00
committed by Pau Giner
parent c92afdb20d
commit f4f332a459
8 changed files with 127 additions and 6 deletions

View File

@@ -1,7 +1,29 @@
/*
* The trigger can be placed in the personal toolbar near the username
* or near the interlanguage links.
*/
#pt-uls a.uls-trigger {
padding-left: 30px;
}
#p-lang .uls-trigger {
/* @embed */
background: transparent url('../images/cog-sprite.png') right top no-repeat;
background-image: -webkit-linear-gradient(transparent, transparent), url('../images/cog-sprite.svg');
background-image: -moz-linear-gradient(transparent, transparent), url('../images/cog-sprite.svg');
background-image: linear-gradient(transparent, transparent), url('../images/cog-sprite.svg');
background-size: 14px auto;
border-radius: 0 0 5px 5px;
height: 14px;
float: right;
cursor: pointer;
}
#p-lang .uls-trigger:hover {
background-position: right -18px;
}
/* Opera for some inexplicable reason confuses right and left padding with */
/* RTL text direction here (bug 45142). x:-o-prefocus won't match anything, */
/* but will make other browsers ignore this rule. */