mirror of
https://github.com/flarum/framework.git
synced 2025-01-07 19:13:37 +08:00
54 lines
897 B
Plaintext
54 lines
897 B
Plaintext
.NotificationsDropdown {
|
|
.Dropdown-menu {
|
|
padding: 0;
|
|
overflow: hidden;
|
|
|
|
.NotificationList-content {
|
|
max-height: 70vh;
|
|
overflow: auto;
|
|
}
|
|
}
|
|
& .Dropdown-toggle .Button-label {
|
|
margin-left: 7px;
|
|
}
|
|
}
|
|
@media @tablet-up {
|
|
.NotificationsDropdown {
|
|
.Dropdown-menu {
|
|
width: 425px;
|
|
}
|
|
.Dropdown-toggle {
|
|
.Button--icon();
|
|
}
|
|
}
|
|
}
|
|
|
|
.NotificationsDropdown .Dropdown-toggle.new .Button-icon {
|
|
color: @header-color;
|
|
}
|
|
|
|
.NotificationsDropdown-unread {
|
|
position: absolute;
|
|
top: 1px;
|
|
left: 17px;
|
|
background: @header-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;
|
|
|
|
@media @phone {
|
|
left: 20px;
|
|
}
|
|
|
|
.new & {
|
|
background: @header-color;
|
|
}
|
|
}
|