mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-12-18 02:40:50 +00:00
fe766f04ea
Also remove 'mediawiki.mixins' includes where unused. Bug: T306488 Change-Id: Ia9a5a1ce1e47c1de2c2197885237f9355f9cc4f2
46 lines
1 KiB
Plaintext
46 lines
1 KiB
Plaintext
@import '../echo.variables.less';
|
|
|
|
.mw-echo-ui-toggleReadCircleButtonWidget {
|
|
&-circle {
|
|
border-radius: 50%;
|
|
box-sizing: border-box;
|
|
min-width: 10px;
|
|
width: @bundle-group-padding;
|
|
min-height: 10px;
|
|
height: @bundle-group-padding;
|
|
margin: @bundle-group-padding;
|
|
|
|
// Mark as read
|
|
background-color: #36c;
|
|
border: 0;
|
|
|
|
// Mark as unread
|
|
&-unread {
|
|
background-color: #eaecf0;
|
|
border: 1px solid @grey-light;
|
|
}
|
|
}
|
|
|
|
// 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;
|
|
// Remove padding for dummy icon
|
|
padding-left: 0;
|
|
}
|
|
|
|
&.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon {
|
|
// Hide dummy icon
|
|
display: none;
|
|
}
|
|
|
|
&:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle {
|
|
// Mark as read
|
|
background-color: #447ff5;
|
|
|
|
// Mark as unread
|
|
&-unread {
|
|
background-color: #c8ccd1;
|
|
}
|
|
}
|
|
}
|