mirror of
https://github.com/flarum/framework.git
synced 2025-02-03 06:30:45 +08:00
1f7afb3e4a
Related to #500.
50 lines
857 B
Plaintext
50 lines
857 B
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.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;
|
|
|
|
.new & {
|
|
background: @header-color;
|
|
}
|
|
}
|