mediawiki-extensions-Echo/modules/ooui/styles/mw.echo.ui.NotificationGroupItemWidget.less
Moriel Schottlender 3472070b2b Organize items in bundles with CSS table layout
This will make the "flat" positioning of the bundle items a lot
more consistent and organized.

Bug: T121933
Bug: T123762
Change-Id: I472fcc89e540f1a886168069c547c6dc7e5ce613
2016-01-18 16:59:29 -08:00

41 lines
1 KiB
Plaintext

@import '../../echo.variables';
.mw-echo-ui-notificationGroupItemWidget {
// Remove the padding that ItemWidget puts in
padding-left: 0;
padding-right: 0;
padding-bottom: 0;
> .mw-echo-ui-notificationItemWidget {
// Compensate for the 0.5em of left padding we removed
&-icon {
margin-left: 0.5em;
}
&-content {
margin-bottom: 0.5em;
padding-right: 0.5em;
padding-left: 4em; // 3.5em from ItemWidget + 0.5em
}
}
&-separator {
display: block;
position: absolute;
bottom: 0.4em;
width: 100%;
border-bottom: 1px #eeeeee solid;
}
&-group {
cursor: default;
padding: @bundle-group-padding;
background-color: #f8f8f8;
-webkit-box-shadow: inset 0px -2px 0px 0px rgba(0,0,0,0.05), inset 0px 2px 0px 0px rgba(0,0,0,0.05);
-moz-box-shadow: inset 0px -2px 0px 0px rgba(0,0,0,0.05), inset 0px 2px 0px 0px rgba(0,0,0,0.05);
box-shadow: inset 0px -2px 0px 0px rgba(0,0,0,0.05), inset 0px 2px 0px 0px rgba(0,0,0,0.05);
border-bottom: 1px #dddddd solid;
margin-bottom: 0.4em;
}
}