2015-08-13 00:54:16 +00:00
|
|
|
@import '../../echo.variables';
|
|
|
|
|
|
|
|
.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
|
|
|
|
|
|
|
// Align the popup with the center of the button
|
2015-09-29 22:55:30 +00:00
|
|
|
/* @noflip */
|
2015-09-17 00:05:52 +00:00
|
|
|
left: 1em;
|
2015-08-13 00:54:16 +00:00
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-popupWidget-popup {
|
|
|
|
> .oo-ui-popupWidget-head {
|
|
|
|
height: 3.5em;
|
|
|
|
border-bottom: 1px solid #dddddd;
|
2015-08-13 00:54:16 +00:00
|
|
|
|
2015-10-16 23:18:25 +00:00
|
|
|
> .oo-ui-iconWidget {
|
|
|
|
margin: 0.7em 0 1em 1em;
|
|
|
|
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 {
|
|
|
|
margin: 1.25em 1em;
|
|
|
|
}
|
|
|
|
}
|
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;
|
|
|
|
// Work around OO.ui.FloatableElement bug (T130153)
|
|
|
|
overflow-x: auto;
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
2016-01-18 22:32:36 +00:00
|
|
|
|
|
|
|
> .oo-ui-popupWidget-footer {
|
|
|
|
border-top: 1px solid #DDDDDD;
|
|
|
|
width: 100%;
|
|
|
|
|
|
|
|
> .oo-ui-buttonGroupWidget {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.oo-ui-buttonElement {
|
|
|
|
display: table-cell;
|
|
|
|
white-space: normal;
|
|
|
|
font-weight: bold;
|
|
|
|
width: @notification-popup-width / 2;
|
|
|
|
box-sizing: border-box;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
border-left: 1px solid #DDDDDD;
|
|
|
|
}
|
|
|
|
|
|
|
|
> .oo-ui-buttonElement-button {
|
|
|
|
display: block;
|
|
|
|
line-height: 2.6em;
|
|
|
|
margin: 0;
|
|
|
|
border: 0;
|
|
|
|
padding: 0.5em;
|
|
|
|
|
|
|
|
.oo-ui-iconElement-icon {
|
|
|
|
// HACK: these are absolutely positioned in OOUI, and our line-height: 4em;
|
|
|
|
// rule breaks that.
|
|
|
|
// FIXME: We should really use a different widget here
|
|
|
|
position: static;
|
|
|
|
opacity: @opacity-mid;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
|
2015-08-13 00:54:16 +00:00
|
|
|
}
|