mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-14 11:16:16 +00:00
415b7b9851
Some LESS parsers will get confused with the lack of file extension. It's better to be explicit and in alignment with recent change in core I379334d7729e587a2a00. It was already weirdly mixed in this repo with some imports featuring extension and some not. Change-Id: Ib208607c850fa2492b13cd3d449c04ebc2c21a01
40 lines
880 B
Plaintext
40 lines
880 B
Plaintext
@import 'mediawiki.mixins.less';
|
|
@import '../echo.variables.less';
|
|
|
|
.mw-echo-ui-toggleReadCircleButtonWidget {
|
|
&-circle {
|
|
border-radius: 50%;
|
|
min-width: 10px;
|
|
width: @bundle-group-padding;
|
|
min-height: 10px;
|
|
height: @bundle-group-padding;
|
|
margin: @bundle-group-padding;
|
|
.box-sizing( border-box );
|
|
|
|
// 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;
|
|
}
|
|
|
|
&:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle {
|
|
// Mark as read
|
|
background-color: #447ff5;
|
|
|
|
// Mark as unread
|
|
&-unread {
|
|
background-color: #c8ccd1;
|
|
}
|
|
}
|
|
}
|