mirror of
https://gerrit.wikimedia.org/r/mediawiki/extensions/Echo
synced 2024-11-28 17:50:39 +00:00
a37e764d3d
The alignment of the buttons was done haphazadly before, using padding. This should be done better; we should calculate the buttons width to be 50% of the width of the popup. Since the popup accepts a width config, we know what its value is, and can calculate the proper width. The width was added to the variables.less file for continued use. * Added popupWidth config variable to the badge widget * Added OO.ui.ButtonGroupWidget to place the buttons in for consistency and styling * Added calculated width styles to both footer buttons * Added corrections for MonoBook Change-Id: Iad2c947da06241e9303cf1f35574177a0f602bbb
18 lines
338 B
Plaintext
18 lines
338 B
Plaintext
.mw-echo-ui-notificationBadgeButtonPopupWidget {
|
|
text-transform: none;
|
|
font-weight: normal;
|
|
// Badge
|
|
> .oo-ui-buttonElement-button:hover {
|
|
.oo-ui-labelElement-label {
|
|
color: black !important;
|
|
}
|
|
}
|
|
|
|
// Footer
|
|
.oo-ui-popupWidget-footer {
|
|
// Override text-align that monobook uses for #p-personal li
|
|
text-align: left;
|
|
}
|
|
|
|
}
|