mediawiki-skins-MinervaNeue/skinStyles/ext.echo.styles.special/SpecialNotificationsOverlay.less
jdlrobson 7280d255c0 Dev: Prep for storybook
* 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
2019-08-21 12:20:26 -07:00

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;
}
}