mediawiki-extensions-Echo/modules/styles/mw.echo.ui.PageNotificationsOptionWidget.less
Moriel Schottlender eadaac1c84 Dim the title of current wiki if it has 0 notifications
Bug: T139646
Change-Id: I827cb43d5badd0a13666226691450a73ddcc85ea
2016-07-15 11:42:47 -07:00

40 lines
618 B
Plaintext

@import '../echo.variables';
.mw-echo-ui-pageNotificationsOptionWidget {
width: 100%;
box-sizing: border-box;
clear: both;
&-icon {
float: left;
.oo-ui-iconElement-icon {
display: inline-block;
}
}
&-empty {
.mw-echo-ui-pageNotificationsOptionWidget-count,
.mw-echo-ui-pageNotificationsOptionWidget-title-label {
color: @grey-light;
}
}
&-title {
padding: 0.2em 0;
}
&-count {
float: right;
padding: 0.2em 0.5em;
margin-left: 0.5em;
background-color: #eee;
border-radius: 2px;
color: @grey-medium;
.oo-ui-optionWidget-selected & {
background-color: #bbb;
}
}
}