mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-13 17:57:21 +00:00
9429e78e61
Also add border-box to prevent the circle from appearing to grow when a border appears. Bug: T126214 Change-Id: Id5e89ff87759c4ae44851d5ad3061230a0e59ff0
32 lines
561 B
Plaintext
32 lines
561 B
Plaintext
@import '../echo.variables';
|
|
|
|
.mw-echo-ui-toggleReadCircleButtonWidget {
|
|
&-circle {
|
|
border-radius: 50%;
|
|
width: @bundle-group-padding;
|
|
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: #eee;
|
|
border: 1px solid #bbb;
|
|
}
|
|
}
|
|
|
|
&:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle {
|
|
// Mark as read
|
|
background-color: #99b2e5;
|
|
|
|
// Mark as unread
|
|
&-unread {
|
|
background-color: #ddd;
|
|
}
|
|
}
|
|
}
|