framework/less/forum/NotificationsDropdown.less

45 lines
789 B
Plaintext
Raw Normal View History

.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;
}
.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;
color: @body-bg;
font-size: 13px;
2015-07-24 11:45:03 +08:00
vertical-align: 0;
& when (@config-colored-header = true) {
background: #fff;
}
}