mediawiki-extensions-Echo/modules/nojs/mw.echo.special.less
Stephane Bisson 52525249e6 Adjust styling for "Mark group as read"
Bug: T134204
Change-Id: Ia0486fa400be7e96ffc4e1ad47f952c17f40042c
2016-05-26 13:30:49 -07:00

140 lines
2.4 KiB
Plaintext

/* Echo specific CSS */
@import '../echo.variables';
/* 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 {
border-bottom: 1px solid #C9C9C9;
margin: 20px 0 5px 0;
color: #686868;
display: inline-block;
width: 100%;
padding-bottom: 0.5em;
}
.mw-echo-date-section-text {
text-transform: uppercase;
font-size: 1.1em;
font-weight: 800;
}
.mw-echo-special-container {
max-width: 600px;
}
.mw-echo-special-notifications {
list-style: none none;
padding: 0;
margin: 0;
width: 100%;
}
.mw-echo-special-navbar-top {
margin-bottom: 10px;
}
.mw-echo-special-navbar-bottom {
margin-top: 20px;
padding-top: 10px;
border-top: solid 1px #C9C9C9;
}
.mw-echo-notification {
padding: 30px 40px 15px 10px;
.mw-echo-markAsReadButton {
display: none;
}
}
.mw-echo-markAsReadSectionButton {
float: right;
// HACK: temporary workaround for T136024
line-height: normal;
.oo-ui-buttonElement-button {
.oo-ui-labelElement-label {
font-weight: normal;
}
}
}
.mw-echo-special-container {
.mw-echo-notification {
background-color: #F1F1F1;
&:hover {
/* Fallback for IE<=8 */
background-color: #F6F6F6;
background-color: rgba(0, 0, 0, 0.035);
}
&-unread {
color: #252525;
background-color: transparent;
padding-right: 0;
.mw-echo-title {
font-weight: bold;
}
.mw-echo-markAsReadButton {
float: right;
display: inline-block;
margin-left: 1em;
opacity: 0.5;
&:hover {
opacity: 1;
}
}
}
}
}