2015-07-17 13:17:49 +08:00
|
|
|
.NotificationsDropdown {
|
|
|
|
.Dropdown-menu {
|
|
|
|
padding: 0;
|
|
|
|
overflow: hidden;
|
|
|
|
|
|
|
|
.NotificationList-content {
|
|
|
|
max-height: 70vh;
|
|
|
|
overflow: auto;
|
|
|
|
padding-bottom: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
& .Dropdown-toggle .Button-label {
|
|
|
|
margin-left: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
@media @tablet-up {
|
|
|
|
.NotificationsDropdown {
|
|
|
|
.Dropdown-menu {
|
2015-08-21 08:30:09 +08:00
|
|
|
width: 425px;
|
2015-07-17 13:17:49 +08:00
|
|
|
}
|
|
|
|
.Dropdown-toggle {
|
|
|
|
.Button--icon();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.NotificationsDropdown-button.unread .Button-icon {
|
|
|
|
display: inline-block;
|
|
|
|
border-radius: 12px;
|
|
|
|
height: 24px;
|
|
|
|
width: 24px;
|
|
|
|
text-align: center;
|
|
|
|
padding: 2px 0;
|
|
|
|
font-weight: bold;
|
|
|
|
margin: -2px 0;
|
|
|
|
background: @primary-color;
|
2015-07-18 08:37:22 +08:00
|
|
|
color: @body-bg;
|
2015-07-17 13:17:49 +08:00
|
|
|
font-size: 13px;
|
2015-07-24 11:45:03 +08:00
|
|
|
vertical-align: 0;
|
2015-07-18 08:37:22 +08:00
|
|
|
|
|
|
|
& when (@config-colored-header = true) {
|
|
|
|
background: #fff;
|
|
|
|
}
|
2015-07-17 13:17:49 +08:00
|
|
|
}
|