2016-10-03 20:21:54 +00:00
|
|
|
@import 'mediawiki.mixins';
|
2016-05-31 22:32:16 +00:00
|
|
|
@import '../echo.variables';
|
|
|
|
|
|
|
|
.mw-echo-ui-pageNotificationsOptionWidget {
|
2016-10-25 04:18:08 +00:00
|
|
|
clear: both;
|
2016-05-31 22:32:16 +00:00
|
|
|
width: 100%;
|
2016-10-03 20:21:54 +00:00
|
|
|
.box-sizing( border-box );
|
2016-05-31 22:32:16 +00:00
|
|
|
|
2016-10-04 21:37:45 +00:00
|
|
|
&.oo-ui-optionWidget {
|
2016-10-04 23:08:14 +00:00
|
|
|
.transition( ~'background-color 100ms, color 100ms' );
|
|
|
|
|
2016-10-04 21:37:45 +00:00
|
|
|
&-highlighted {
|
|
|
|
background-color: #eaecf0;
|
2016-10-25 04:18:08 +00:00
|
|
|
color: @color-base-active;
|
2016-10-04 21:37:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-selected {
|
2016-10-25 04:18:08 +00:00
|
|
|
background-color: @background-color-primary;
|
|
|
|
color: @color-primary;
|
2016-10-04 21:37:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-selected&-highlighted,
|
|
|
|
&-pressed&-highlighted {
|
|
|
|
background-color: rgba( 41, 98, 204, 0.1 );
|
2016-10-25 04:18:08 +00:00
|
|
|
color: @color-primary;
|
2016-10-04 21:37:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2016-05-31 22:32:16 +00:00
|
|
|
&-icon {
|
|
|
|
float: left;
|
|
|
|
.oo-ui-iconElement-icon {
|
|
|
|
display: inline-block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-title {
|
|
|
|
padding: 0.2em 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-count {
|
2016-10-25 04:18:08 +00:00
|
|
|
background-color: #eaecf0;
|
|
|
|
color: @grey-medium;
|
2016-05-31 22:32:16 +00:00
|
|
|
float: right;
|
|
|
|
padding: 0.2em 0.5em;
|
|
|
|
margin-left: 0.5em;
|
|
|
|
border-radius: 2px;
|
|
|
|
|
|
|
|
.oo-ui-optionWidget-selected & {
|
2016-10-25 04:18:08 +00:00
|
|
|
background: none; // `background-color: transparent` would be the goto value, but IE 8-9 introduces a bug
|
|
|
|
color: @color-primary;
|
2016-05-31 22:32:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|