2023-04-03 19:44:38 +00:00
|
|
|
@import 'mediawiki.skin.variables.less';
|
2019-10-25 20:53:39 +00:00
|
|
|
@import '../echo.variables.less';
|
2016-06-20 20:00:37 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-toggleReadCircleButtonWidget {
|
|
|
|
&-circle {
|
2023-04-03 19:44:38 +00:00
|
|
|
border-radius: @border-radius-circle;
|
2022-04-20 04:59:30 +00:00
|
|
|
box-sizing: border-box;
|
2016-10-03 18:55:17 +00:00
|
|
|
min-width: 10px;
|
2016-06-20 20:00:37 +00:00
|
|
|
width: @bundle-group-padding;
|
2016-10-03 18:55:17 +00:00
|
|
|
min-height: 10px;
|
2016-06-20 20:00:37 +00:00
|
|
|
height: @bundle-group-padding;
|
|
|
|
margin: @bundle-group-padding;
|
|
|
|
|
|
|
|
// Mark as read
|
2023-04-03 19:44:38 +00:00
|
|
|
background-color: @background-color-progressive;
|
2016-06-20 20:00:37 +00:00
|
|
|
border: 0;
|
|
|
|
|
|
|
|
// Mark as unread
|
|
|
|
&-unread {
|
2016-07-01 19:55:02 +00:00
|
|
|
background-color: #eaecf0;
|
2023-04-03 19:44:38 +00:00
|
|
|
border: @border-width-base @border-style-base @grey-light;
|
2016-06-20 20:00:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2017-08-21 18:21:39 +00:00
|
|
|
// Override OOUI specific rule for frameless buttons that adds a ~2.5em padding-top
|
|
|
|
&.oo-ui-widget.oo-ui-widget-enabled.oo-ui-buttonElement.oo-ui-buttonElement-frameless > .oo-ui-buttonElement-button {
|
|
|
|
padding-top: 0;
|
2020-07-23 14:24:03 +00:00
|
|
|
// Remove padding for dummy icon
|
|
|
|
padding-left: 0;
|
2017-08-21 18:21:39 +00:00
|
|
|
}
|
|
|
|
|
2020-07-24 18:36:24 +00:00
|
|
|
&.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
|
|
|
|
// Hide dummy icon
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
2016-06-20 20:00:37 +00:00
|
|
|
&:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle {
|
|
|
|
// Mark as read
|
2016-10-03 18:55:17 +00:00
|
|
|
background-color: #447ff5;
|
2016-06-20 20:00:37 +00:00
|
|
|
|
|
|
|
// Mark as unread
|
|
|
|
&-unread {
|
2016-07-01 19:55:02 +00:00
|
|
|
background-color: #c8ccd1;
|
2016-06-20 20:00:37 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|