mirror of
https://gerrit.wikimedia.org/r/mediawiki/skins/MinervaNeue
synced 2024-11-25 06:36:32 +00:00
7280d255c0
* Remove ambiguity in imports - say the file extension 'less' for all instances of variables and mixins. * Separate toast styles from drawer styles so they can be imported separately * associate header-action selector with its parent (.overlay-header) not parent's parent (.overlay) so it can be imported and rendered without the Overlay. Change-Id: Ib7e19a440ba095d6424d35305fb41d643ca9764c
73 lines
1.5 KiB
Plaintext
73 lines
1.5 KiB
Plaintext
@import '../../minerva.less/minerva.variables.less';
|
|
|
|
.mw-echo-ui-notificationsInboxWidget {
|
|
&-cell {
|
|
&-placeholder {
|
|
display: table-cell;
|
|
width: 100%;
|
|
}
|
|
}
|
|
|
|
&-sidebar {
|
|
// echo notificationsInboxWidget cell
|
|
// in the desktop version is hidden
|
|
// in the mobile version.
|
|
&.mw-echo-ui-notificationsInboxWidget-cell {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&-main {
|
|
&-toolbar {
|
|
&-top {
|
|
display: table;
|
|
|
|
.row {
|
|
display: table-row;
|
|
}
|
|
}
|
|
|
|
&-affixed {
|
|
position: fixed;
|
|
z-index: @z-indexOverOverlay;
|
|
top: 0;
|
|
background-color: @skinContentBgColor;
|
|
padding-top: 0.5em;
|
|
padding-bottom: 0.5em;
|
|
box-shadow: 0 2px 0 0 rgba( 0, 0, 0, 0.1 );
|
|
}
|
|
|
|
&-readState {
|
|
// echo notificationsInboxWidget cell for readState
|
|
// in the desktop version is hidden
|
|
// in the mobile version.
|
|
&.mw-echo-ui-notificationsInboxWidget-cell {
|
|
display: none;
|
|
}
|
|
}
|
|
|
|
&-settings,
|
|
&-pagination {
|
|
// display for echo notificationsInboxWidget cell pagination
|
|
// is changed from display: inline-block in the desktop version to
|
|
// display: table-cell in the mobile version.
|
|
&.mw-echo-ui-notificationsInboxWidget-cell {
|
|
display: table-cell;
|
|
}
|
|
}
|
|
|
|
&-nav-filter {
|
|
&.mw-echo-ui-notificationsInboxWidget-cell {
|
|
display: table-cell;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
// height for echo notificationsInboxWidget
|
|
// is changed from 8em in the desktop version to
|
|
// 4em in the mobile version.
|
|
& &-toolbarWrapper {
|
|
height: 4em;
|
|
}
|
|
}
|