| 1 |
@import 'mediawiki.skin.variables.less'; |
| 2 |
@import 'mediawiki.mixins.less'; |
| 3 |
@import '../echo.variables.less'; |
| 4 |
|
| 5 |
.mw-echo-ui-notificationBadgeButtonPopupWidget { |
| 6 |
position: relative; |
| 7 |
|
| 8 |
&-popup { |
| 9 |
> .oo-ui-popupWidget-popup { |
| 10 |
> .oo-ui-popupWidget-head { |
| 11 |
box-sizing: border-box; |
| 12 |
height: 3.1428571em; // = 44px as result of 44 / 16 (font-size browser) / 0.875 (OOUI WikimediaUI theme font-size) |
| 13 |
border-bottom: @border-width-base @border-style-base @border-color-subtle; |
| 14 |
margin: 0; |
| 15 |
|
| 16 |
> .oo-ui-iconWidget { |
| 17 |
float: left; |
| 18 |
height: 100%; |
| 19 |
margin: 0 0 0 1.1428571em; // = 16px as result of 16 / 16 / 0.875 |
| 20 |
opacity: @opacity-mid; |
| 21 |
} |
| 22 |
|
| 23 |
> .oo-ui-labelElement-label { |
| 24 |
margin: 0 0 0 0.4761905em; // = 8px as result of ≈0.5714286 / 1.2 (element's font-size) |
| 25 |
font-size: 1.2em; |
| 26 |
font-weight: bold; |
| 27 |
line-height: 2.5595238em; // = 43px as result of 43 (44 - 1 because of the border-box) / 16 / 0.875 / 1.2 (element's font-size) |
| 28 |
} |
| 29 |
|
| 30 |
.mw-echo-ui-notificationsWidget-markAllReadButton { |
| 31 |
margin-top: 0.4285714em; // = 6px as result of 6 / 16 / 0.875 |
| 32 |
margin-right: 0.5714286em; // = 8px as result of 8 / 16 / 0.875 |
| 33 |
} |
| 34 |
} |
| 35 |
|
| 36 |
> .oo-ui-popupWidget-footer { |
| 37 |
width: 100%; |
| 38 |
margin: 0; // Override OOUI's popup footer margins (T171302) |
| 39 |
border-top: @border-width-base @border-style-base @border-color-subtle; |
| 40 |
|
| 41 |
> .oo-ui-buttonGroupWidget { |
| 42 |
display: block; |
| 43 |
} |
| 44 |
|
| 45 |
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons { |
| 46 |
display: flex; |
| 47 |
padding-bottom: 0; |
| 48 |
|
| 49 |
.oo-ui-buttonElement { |
| 50 |
flex: 1; |
| 51 |
|
| 52 |
&:last-child { |
| 53 |
border-left: @border-width-base @border-style-base @border-color-subtle; |
| 54 |
} |
| 55 |
|
| 56 |
> .oo-ui-buttonElement-button { |
| 57 |
display: block; |
| 58 |
line-height: 3.1428571em; |
| 59 |
margin: 0; |
| 60 |
border: 0; |
| 61 |
padding: 0 0.5em; |
| 62 |
|
| 63 |
// Compensate for hidden borders |
| 64 |
&:focus { |
| 65 |
box-shadow: @box-shadow-inset-medium @box-shadow-color-progressive--focus; |
| 66 |
} |
| 67 |
} |
| 68 |
} |
| 69 |
} |
| 70 |
} |
| 71 |
} |
| 72 |
} |
| 73 |
} |