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 {
|
2015-09-04 12:20:33 +08:00
|
|
|
margin-left: 7px;
|
2015-07-17 13:17:49 +08:00
|
|
|
}
|
|
|
|
}
|
|
|
|
@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();
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2015-09-04 10:45:11 +08:00
|
|
|
.NotificationsDropdown .Dropdown-toggle.unread .Button-icon {
|
|
|
|
color: @header-color;
|
|
|
|
}
|
|
|
|
.NotificationsDropdown-unread {
|
|
|
|
position: absolute;
|
|
|
|
top: 1px;
|
2015-09-04 12:20:33 +08:00
|
|
|
left: 17px;
|
2015-09-04 10:45:11 +08:00
|
|
|
background: @header-color;
|
|
|
|
color: @header-bg;
|
|
|
|
font-size: 11px;
|
2015-07-17 13:17:49 +08:00
|
|
|
font-weight: bold;
|
2015-09-15 11:24:49 +08:00
|
|
|
padding: 2px 4px 3px;
|
2015-09-04 10:45:11 +08:00
|
|
|
line-height: 1em;
|
|
|
|
border-radius: 10px;
|
|
|
|
border: 1px solid @header-bg;
|
2015-09-15 11:24:49 +08:00
|
|
|
min-width: 18px;
|
|
|
|
height: 18px;
|
2015-07-17 13:17:49 +08:00
|
|
|
}
|