2016-10-03 20:21:54 +00:00
|
|
|
@import 'mediawiki.mixins';
|
2016-04-10 13:31:02 +00:00
|
|
|
@import '../echo.variables';
|
2015-08-13 00:54:16 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-notificationBadgeButtonPopupWidget {
|
2015-09-17 00:05:52 +00:00
|
|
|
position: relative;
|
2015-08-13 00:54:16 +00:00
|
|
|
|
2017-12-20 23:44:27 +00:00
|
|
|
&-popup {
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-popupWidget-popup {
|
|
|
|
> .oo-ui-popupWidget-head {
|
2018-03-26 09:10:06 +00:00
|
|
|
.box-sizing( border-box );
|
|
|
|
height: 3.1428571em; // = 44px as result of 44 / 16 (font-size browser) / 0.875 (OOUI WikimediaUI theme font-size)
|
2017-10-08 17:26:43 +00:00
|
|
|
border-bottom: 1px solid #c8ccd1;
|
2015-08-13 00:54:16 +00:00
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-iconWidget {
|
|
|
|
float: left;
|
2018-03-26 09:10:06 +00:00
|
|
|
height: 100%;
|
|
|
|
margin: 0 0 0 1.1428571em; // = 16px as result of 16 / 16 / 0.875
|
2016-01-18 22:19:04 +00:00
|
|
|
opacity: @opacity-mid;
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> .oo-ui-labelElement-label {
|
2018-03-26 09:10:06 +00:00
|
|
|
margin: 0 0 0 0.4761905em; // = 8px as result of ≈0.5714286 / 1.2 (element's font-size)
|
2015-10-16 23:18:25 +00:00
|
|
|
font-size: 1.2em;
|
|
|
|
font-weight: bold;
|
2018-03-26 09:10:06 +00:00
|
|
|
line-height: 2.6190476em; // = 44px as result of ≈3.1428571 / 1.2 (element's font-size)
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
.mw-echo-ui-notificationsWidget-markAllReadButton {
|
2018-03-26 09:10:06 +00:00
|
|
|
margin-top: 0.4285714em; // = 6px as result of 6 / 16 / 0.875
|
|
|
|
margin-right: 0.5714286em; // = 8px as result of 8 / 16 / 0.875
|
|
|
|
|
|
|
|
.oo-ui-buttonElement-button {
|
|
|
|
padding-right: 0;
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-popupWidget-body {
|
|
|
|
// Work around scrollbar rendering bug in Chrome
|
2016-03-16 22:40:27 +00:00
|
|
|
overflow-y: visible;
|
2017-03-08 01:20:43 +00:00
|
|
|
// ...but make sure we don't actually overflow in the Y direction,
|
|
|
|
// to avoid breaking ClippableElement
|
|
|
|
overflow-x: auto;
|
2016-05-31 01:08:25 +00:00
|
|
|
|
|
|
|
> .mw-echo-ui-notificationsListWidget > .mw-echo-ui-notificationItemWidget {
|
|
|
|
// The popup body itself has a border. We need to override the notification
|
|
|
|
// item widget styles so that the edge borders of the items are not duplicated
|
|
|
|
border-left: 0;
|
|
|
|
border-right: 0;
|
2018-03-26 09:10:06 +00:00
|
|
|
|
2016-05-31 01:08:25 +00:00
|
|
|
&:last-child {
|
|
|
|
border-bottom: 0;
|
|
|
|
}
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
2016-01-18 22:32:36 +00:00
|
|
|
|
|
|
|
> .oo-ui-popupWidget-footer {
|
|
|
|
width: 100%;
|
2018-03-26 09:10:06 +00:00
|
|
|
margin: 0; // Override OOUI's popup footer margins (T171302)
|
|
|
|
border-top: 1px solid #c8ccd1;
|
2017-07-21 20:04:51 +00:00
|
|
|
|
2016-01-18 22:32:36 +00:00
|
|
|
> .oo-ui-buttonGroupWidget {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
2016-06-21 19:24:20 +00:00
|
|
|
.mw-echo-ui-notificationBadgeButtonPopupWidget-footer-buttons {
|
|
|
|
display: table-row;
|
|
|
|
|
|
|
|
.oo-ui-buttonElement {
|
|
|
|
display: table-cell;
|
|
|
|
white-space: normal;
|
|
|
|
width: @notification-popup-width / 2;
|
2016-10-03 20:21:54 +00:00
|
|
|
.box-sizing( border-box );
|
2016-06-21 19:24:20 +00:00
|
|
|
|
|
|
|
&:last-child {
|
2017-10-08 17:26:43 +00:00
|
|
|
border-left: 1px solid #c8ccd1;
|
2016-06-21 19:24:20 +00:00
|
|
|
}
|
2016-01-18 22:32:36 +00:00
|
|
|
|
2016-06-21 19:24:20 +00:00
|
|
|
> .oo-ui-buttonElement-button {
|
|
|
|
display: block;
|
2018-03-26 09:10:06 +00:00
|
|
|
line-height: 3.1428571em;
|
2016-06-21 19:24:20 +00:00
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
2018-03-26 09:10:06 +00:00
|
|
|
padding: 0 0.5em;
|
2016-01-18 22:32:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|