framework/less/forum/NotificationsDropdown.less

64 lines
1.1 KiB
Plaintext

.NotificationsDropdown {
.Dropdown-menu {
padding: 0;
overflow: hidden;
.NotificationList-content {
max-height: 70vh;
overflow: auto;
padding-bottom: 10px;
}
}
& .Dropdown-toggle .Button-label {
margin-left: 7px;
}
}
@media @tablet-up {
.NotificationsDropdown {
.Dropdown-menu {
width: 425px;
}
.Dropdown-toggle {
.Button--icon();
}
}
}
.NotificationsDropdown .Dropdown-toggle .Button-icon {
& when (@config-colored-header = true) {
color: mix(@header-bg, @header-color);
}
}
.NotificationsDropdown .Dropdown-toggle.new .Button-icon {
color: @header-color;
}
.NotificationsDropdown-unread {
position: absolute;
top: 1px;
left: 17px;
background: @control-color;
color: @header-bg;
font-size: 11px;
font-weight: bold;
padding: 2px 4px 3px;
line-height: 1em;
border-radius: 10px;
border: 1px solid @header-bg;
min-width: 18px;
height: 18px;
text-align: center;
& when (@config-colored-header = true) {
background: mix(@header-bg, @header-color);
}
@media @phone {
left: 20px;
}
.new & {
background: @header-color;
}
}