mediawiki-extensions-Echo/modules/ooui/styles/mw.echo.ui.NotificationGroupItemWidget.less

41 lines
1 KiB
Plaintext
Raw Normal View History

@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: ~"calc(30px + 1.5em)"; // 30px+1em from ItemWidget, plus 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;
}
}