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
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-popupWidget {
|
2015-08-13 00:54:16 +00:00
|
|
|
// #p-personal li has a font-size of 0.75em, but we want the
|
|
|
|
// font size here to be exactly 0.875em, so we must override
|
|
|
|
// the parent em sizing by dividing.
|
|
|
|
font-size: 0.875em / 0.75em;
|
2015-09-17 00:05:52 +00:00
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-popupWidget-popup {
|
|
|
|
> .oo-ui-popupWidget-head {
|
|
|
|
height: 3.5em;
|
2016-10-05 00:11:41 +00:00
|
|
|
border-bottom: 1px solid #ddd;
|
2015-08-13 00:54:16 +00:00
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-iconWidget {
|
2016-07-14 12:28:08 +00:00
|
|
|
/* ( 3.5 - 1.875 ) / 2 = 0.8125 */
|
|
|
|
margin: 0.8125em 0 0.8125em 1em;
|
2015-10-16 23:18:25 +00:00
|
|
|
float: left;
|
2016-01-18 22:19:04 +00:00
|
|
|
opacity: @opacity-mid;
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
> .oo-ui-labelElement-label {
|
|
|
|
font-size: 1.2em;
|
|
|
|
padding: 0.3em;
|
|
|
|
margin-left: 0;
|
|
|
|
font-weight: bold;
|
|
|
|
}
|
|
|
|
|
|
|
|
.mw-echo-ui-notificationsWidget-markAllReadButton {
|
2017-06-27 21:46:19 +00:00
|
|
|
margin-right: 1em;
|
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;
|
|
|
|
&: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 {
|
2016-10-05 00:11:41 +00:00
|
|
|
border-top: 1px solid #ddd;
|
2016-01-18 22:32:36 +00:00
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
> .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;
|
|
|
|
font-weight: bold;
|
|
|
|
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 {
|
2016-10-05 00:11:41 +00:00
|
|
|
border-left: 1px solid #ddd;
|
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;
|
|
|
|
line-height: 2.6em;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 0.5em;
|
2016-01-18 22:32:36 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|