2017-10-08 16:50:09 +00:00
|
|
|
@import 'mediawiki.mixins';
|
2016-04-10 13:31:02 +00:00
|
|
|
@import '../echo.variables';
|
2015-12-22 23:16:32 +00:00
|
|
|
|
2016-06-07 20:08:16 +00:00
|
|
|
.mw-echo-ui-crossWikiNotificationItemWidget,
|
|
|
|
.mw-echo-ui-bundleNotificationItemWidget {
|
2016-01-18 23:50:40 +00:00
|
|
|
// Remove the padding that ItemWidget puts in
|
2015-10-16 23:18:25 +00:00
|
|
|
padding-left: 0;
|
|
|
|
padding-right: 0;
|
|
|
|
padding-bottom: 0;
|
|
|
|
|
2016-06-20 20:00:37 +00:00
|
|
|
// This is an abbreviation for the pieces that make up
|
|
|
|
// the face of the cross-wiki notification item
|
|
|
|
// without the inner group items
|
2016-06-07 20:08:16 +00:00
|
|
|
.mw-echo-ui-notificationItemWidget {
|
2016-10-11 17:39:58 +00:00
|
|
|
// Compensate for the 1em of left/right padding and 0.5em of bottom padding that we removed
|
2015-10-16 23:18:25 +00:00
|
|
|
&-icon {
|
2016-10-11 17:39:58 +00:00
|
|
|
margin-left: 1em;
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-content {
|
2016-05-22 10:29:42 +00:00
|
|
|
// The icon is 30px
|
|
|
|
margin-left: 30px;
|
2016-05-31 01:08:25 +00:00
|
|
|
|
|
|
|
padding-bottom: 1em;
|
2016-05-22 10:29:42 +00:00
|
|
|
// 0.8em from ItemWidget, plus 0.8em
|
|
|
|
padding-left: 1.6em;
|
2016-01-13 03:36:47 +00:00
|
|
|
padding-right: 0.8em;
|
2016-06-20 20:00:37 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-notificationItemWidget-markAsReadButton {
|
|
|
|
margin-right: -0.8em;
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
2016-06-29 09:22:10 +00:00
|
|
|
|
|
|
|
&-icon,
|
|
|
|
&-content {
|
|
|
|
// There's no link but there is a click action, so change the cursor to indicate that (T138913)
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-separator {
|
|
|
|
display: block;
|
|
|
|
position: absolute;
|
|
|
|
bottom: 0.4em;
|
|
|
|
width: 100%;
|
2016-10-25 04:18:08 +00:00
|
|
|
border-bottom: 1px solid #eaecf0;
|
2016-09-01 18:34:31 +00:00
|
|
|
|
2016-09-07 23:44:03 +00:00
|
|
|
.mw-echo-ui-crossWikiNotificationItemWidget-expanded &,
|
|
|
|
.mw-echo-ui-bundleNotificationItemWidget-expanded & {
|
2016-09-01 18:34:31 +00:00
|
|
|
display: none;
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|
|
|
|
|
|
|
|
&-group {
|
|
|
|
cursor: default;
|
2017-11-09 19:43:05 +00:00
|
|
|
padding: @bundle-group-padding;
|
2016-10-25 04:18:08 +00:00
|
|
|
background-color: #f8f9fa;
|
2017-10-08 16:50:09 +00:00
|
|
|
.box-shadow( inset 0 -2px 0 0 rgba( 0, 0, 0, 0.05 ), inset 0 2px 0 0 rgba( 0, 0, 0, 0.05 ); );
|
2015-10-16 23:18:25 +00:00
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
2016-05-19 20:55:21 +00:00
|
|
|
|
|
|
|
.mw-echo-ui-subGroupListWidget-header {
|
|
|
|
margin-bottom: @bundle-group-padding;
|
|
|
|
|
|
|
|
&-row-title {
|
|
|
|
// Override OOUI's line height for labels
|
|
|
|
line-height: 1em !important;
|
|
|
|
font-weight: bold;
|
2016-10-25 04:18:08 +00:00
|
|
|
color: @grey-medium;
|
2016-05-19 20:55:21 +00:00
|
|
|
}
|
|
|
|
}
|
2015-10-16 23:18:25 +00:00
|
|
|
}
|