mediawiki-extensions-Echo/modules/nojs/mw.echo.special.less
Moriel Schottlender dbefd3b6f0 Specify firstHeading rule for .mw-special-Notifications only
The rule to make the firstHeading limited in height should only
apply to the design of the Special:Notifications page, and not
everywhere on MW.

Bug: T111628
Change-Id: I6636ed7f4ad0ccc7bbf83ace51dda62d09e09a5c
2015-09-06 22:05:34 -07:00

95 lines
1.7 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 */
.mw-special-Notifications.skin-vector #firstHeading,
.mw-special-Notifications.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(../icons/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(../icons/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;
}
}
}
}