2023-04-03 19:44:38 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2019-10-25 20:53:39 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
@import '../echo.variables.less';
|
2016-05-31 22:32:16 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-pageNotificationsOptionWidget {
|
2016-10-25 04:18:08 +00:00
|
|
|
clear: both;
|
2022-04-20 04:59:30 +00:00
|
|
|
box-sizing: border-box;
|
2016-05-31 22:32:16 +00:00
|
|
|
width: 100%;
|
|
|
|
|
2016-10-04 21:37:45 +00:00
|
|
|
&.oo-ui-optionWidget {
|
2023-02-02 22:26:12 +00:00
|
|
|
transition: background-color 100ms, color 100ms;
|
2016-10-04 23:08:14 +00:00
|
|
|
|
2016-10-04 21:37:45 +00:00
|
|
|
&-highlighted {
|
|
|
|
background-color: #eaecf0;
|
2023-04-03 19:44:38 +00:00
|
|
|
color: @color-emphasized;
|
2016-10-04 21:37:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-selected {
|
2023-04-03 19:44:38 +00:00
|
|
|
background-color: @background-color-progressive-subtle;
|
|
|
|
color: @color-progressive;
|
2016-10-04 21:37:45 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-selected&-highlighted,
|
|
|
|
&-pressed&-highlighted {
|
|
|
|
background-color: rgba( 41, 98, 204, 0.1 );
|
2023-04-03 19:44:38 +00:00
|
|
|
color: @color-progressive;
|
2016-10-04 21:37:45 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-01-12 00:03:08 +00:00
|
|
|
&-row {
|
2024-06-07 20:43:35 +00:00
|
|
|
display: flex;
|
2018-01-12 00:03:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-cell {
|
|
|
|
display: table-cell;
|
|
|
|
vertical-align: middle;
|
|
|
|
}
|
|
|
|
|
2017-10-18 18:56:27 +00:00
|
|
|
&.oo-ui-iconElement &-icon {
|
2024-06-07 20:43:35 +00:00
|
|
|
min-width: 1em;
|
2018-01-12 00:03:08 +00:00
|
|
|
|
2016-05-31 22:32:16 +00:00
|
|
|
.oo-ui-iconElement-icon {
|
2018-01-12 00:03:08 +00:00
|
|
|
position: relative;
|
2016-05-31 22:32:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-title {
|
2024-06-07 20:43:35 +00:00
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
flex: 1;
|
2018-01-12 00:03:08 +00:00
|
|
|
line-height: 1em;
|
2024-06-07 20:43:35 +00:00
|
|
|
min-width: 0;
|
|
|
|
padding: 0;
|
2018-01-12 00:03:08 +00:00
|
|
|
|
|
|
|
&-label {
|
2024-06-07 20:43:35 +00:00
|
|
|
display: block;
|
2020-04-18 02:16:01 +00:00
|
|
|
// Truncate text with ellipsis.
|
|
|
|
.text-overflow( @visible: false );
|
2018-01-12 00:03:08 +00:00
|
|
|
}
|
2016-05-31 22:32:16 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-count {
|
2024-06-07 20:43:35 +00:00
|
|
|
min-width: 1em;
|
2018-01-12 00:03:08 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-label-count {
|
2016-10-25 04:18:08 +00:00
|
|
|
background-color: #eaecf0;
|
2023-04-03 19:44:38 +00:00
|
|
|
color: @color-subtle;
|
2016-05-31 22:32:16 +00:00
|
|
|
padding: 0.2em 0.5em;
|
|
|
|
margin-left: 0.5em;
|
2020-04-16 01:09:48 +00:00
|
|
|
border-radius: @border-radius-base;
|
2018-01-12 00:03:08 +00:00
|
|
|
white-space: nowrap;
|
2016-05-31 22:32:16 +00:00
|
|
|
|
|
|
|
.oo-ui-optionWidget-selected & {
|
2022-09-16 02:19:56 +00:00
|
|
|
background-color: transparent;
|
2023-04-03 19:44:38 +00:00
|
|
|
color: @color-progressive;
|
2016-05-31 22:32:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|