2019-10-25 20:53:39 +00:00
|
|
|
@import 'mediawiki.mixins.less';
|
|
|
|
@import '../echo.variables.less';
|
2016-06-20 20:00:37 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-toggleReadCircleButtonWidget {
|
|
|
|
&-circle {
|
|
|
|
border-radius: 50%;
|
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;
|
2016-10-03 20:21:54 +00:00
|
|
|
.box-sizing( border-box );
|
2016-06-20 20:00:37 +00:00
|
|
|
|
|
|
|
// Mark as read
|
2016-06-27 15:16:54 +00:00
|
|
|
background-color: #36c;
|
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;
|
2016-10-25 04:18:08 +00:00
|
|
|
border: 1px solid @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;
|
|
|
|
}
|
|
|
|
|
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
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|