Simplify styling of notification bundles

Bug: T258714
Change-Id: Ia73fe2d2a96c070dacd8d9744242148ab4eca390
This commit is contained in:
Ed Sanders 2020-07-23 15:47:06 +01:00
parent 769d6579f9
commit e91e0c410b

View file

@ -20,7 +20,7 @@
&-content {
// The icon is 30px
margin-left: 30px;
padding-bottom: 1em;
padding-bottom: 0.5em;
// 0.8em from ItemWidget, plus 0.8em
padding-left: 1.6em;
padding-right: 0.8em;
@ -37,25 +37,11 @@
}
}
&-separator {
display: block;
position: absolute;
bottom: 0.4em;
width: 100%;
border-bottom: 1px solid #eaecf0;
.mw-echo-ui-crossWikiNotificationItemWidget-expanded &,
.mw-echo-ui-bundleNotificationItemWidget-expanded & {
display: none;
}
}
&-group {
cursor: default;
padding: @bundle-group-padding;
background-color: #f8f9fa;
.box-shadow( inset 0 -2px 0 0 rgba( 0, 0, 0, 0.05 ), inset 0 2px 0 0 rgba( 0, 0, 0, 0.05 ); );
margin-bottom: 0.4em;
.box-shadow( inset 0 2px 0 0 rgba( 0, 0, 0, 0.05 ); );
}
.mw-echo-ui-subGroupListWidget-header {