| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
@import '../echo.variables.less'; |
| 3 |
|
| 4 |
.mw-echo-ui-toggleReadCircleButtonWidget { |
| 5 |
&-circle { |
| 6 |
border-radius: @border-radius-circle; |
| 7 |
box-sizing: border-box; |
| 8 |
min-width: 10px; |
| 9 |
width: @bundle-group-padding; |
| 10 |
min-height: 10px; |
| 11 |
height: @bundle-group-padding; |
| 12 |
margin: @bundle-group-padding; |
| 13 |
|
| 14 |
// Mark as read |
| 15 |
background-color: @background-color-progressive; |
| 16 |
border: 0; |
| 17 |
|
| 18 |
// Mark as unread |
| 19 |
&-unread { |
| 20 |
background-color: #eaecf0; |
| 21 |
border: @border-width-base @border-style-base @grey-light; |
| 22 |
} |
| 23 |
} |
| 24 |
|
| 25 |
// Override OOUI specific rule for frameless buttons that adds a ~2.5em padding-top |
| 26 |
&.oo-ui-widget.oo-ui-widget-enabled.oo-ui-buttonElement.oo-ui-buttonElement-frameless > .oo-ui-buttonElement-button { |
| 27 |
padding-top: 0; |
| 28 |
// Remove padding for dummy icon |
| 29 |
padding-left: 0; |
| 30 |
} |
| 31 |
|
| 32 |
&.oo-ui-buttonElement-frameless.oo-ui-iconElement > .oo-ui-buttonElement-button > .oo-ui-iconElement-icon { |
| 33 |
// Hide dummy icon |
| 34 |
display: none; |
| 35 |
} |
| 36 |
|
| 37 |
&:hover .mw-echo-ui-toggleReadCircleButtonWidget-circle { |
| 38 |
// Mark as read |
| 39 |
background-color: #447ff5; |
| 40 |
|
| 41 |
// Mark as unread |
| 42 |
&-unread { |
| 43 |
background-color: #c8ccd1; |
| 44 |
} |
| 45 |
} |
| 46 |
} |