mediawiki-extensions-Echo/modules/special/ext.echo.special.less
jdlrobson 430628ccc1 Hygiene: Port all Echo css to less.
No changes.
Makes styling code more readable.

Change-Id: Ie45f2cd3671bee5b88ba92ca2946d6e77cd59508
2014-08-04 11:43:27 -07:00

95 lines
1.6 KiB
Plaintext

/* Echo specific CSS */
#mw-echo-more {
display: block;
text-align: center;
font-size: 13px;
max-width: 600px;
}
/* Custom header styling for Vector and Monobook skins */
.skin-vector #firstHeading,
.skin-monobook #firstHeading {
max-width: 600px;
}
/* Special styles to use if we're converting subtitle links into header icons */
#firstHeading {
.mw-echo-special-header-link {
display: block;
height: 19px;
width: 19px;
}
#mw-echo-pref-link {
float: right;
margin: 5px 3px;
/* @embed */
background-image: url(Preferences.png);
background-repeat: no-repeat;
background-position: 0 0;
filter: alpha(opacity=50);
opacity: 0.5;
&:hover {
filter: alpha(opacity=100);
opacity: 1.0;
}
}
#mw-echo-moreinfo-link {
display: inline-block;
margin: 0 3px;
/* @embed */
background-image: url(Help.png);
background-repeat: no-repeat;
background-position: 0 0;
filter: alpha(opacity=50);
opacity: 0.5;
&:hover {
filter: alpha(opacity=100);
opacity: 1.0;
}
}
}
.mw-echo-date-section {
font-weight: 800;
font-size: 1.1em;
text-transform: uppercase;
border-bottom: 1px solid #C9C9C9;
margin: 30px 0 5px 50px;
color: #686868;
max-width: 550px;
}
ul#mw-echo-special-container {
list-style: none none;
padding: 0;
margin: 30px 0 0 0;
max-width: 600px;
}
.mw-echo-notification {
padding: 15px 35px 10px 0;
}
#mw-echo-special-container {
.mw-echo-notification {
background-color: transparent;
&:hover {
/* Fallback for IE<=8 */
background-color: #F6F6F6;
background-color: rgba(0, 0, 0, 0.035);
}
&.mw-echo-unread {
.mw-echo-title {
font-weight: bold;
}
}
}
}