mirror of
https://github.com/flarum/framework.git
synced 2025-03-02 19:16:25 +08:00

* refactor: Avatar classes refactor * refactor: Badge classes refactor * chore: Remove commented dead code * chore: Remove SignUpModal dead CSS code Flarum seem to have had some kind of user display in the sign up modal on successful sign up, which no longer exists. https://github.com/flarum/core/blob/v0.1.0-beta/js/forum/src/components/SignUpModal.js#L111 * chore: Deprecate unneeded vendor mixins * chore: Normalize property values format Co-authored-by: David Wheatley <hi@davwheat.dev> * chore: Remove @-webkit-keyframes * chore: Combine animation properties * chore: Avoid `all` for transition * chore: translate3d is no longer necessary for hardware acceleration * fix: Lost cursor pointer to normalize update * chore: Use CSS variables for more things * chore: Remove unecessary overspecification Co-authored-by: David Wheatley <hi@davwheat.dev>
53 lines
879 B
Plaintext
53 lines
879 B
Plaintext
.NotificationsDropdown {
|
|
.Dropdown-menu {
|
|
padding: 0;
|
|
|
|
.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: 2px;
|
|
left: 18px;
|
|
background: @header-control-color;
|
|
color: @header-bg;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
padding: 2px 4px 3px;
|
|
line-height: 1em;
|
|
border-radius: 10px;
|
|
box-shadow: 0 0 0 1px @header-bg;
|
|
min-width: 16px;
|
|
height: 16px;
|
|
text-align: center;
|
|
|
|
@media @phone {
|
|
left: 20px;
|
|
}
|
|
|
|
.new & {
|
|
background: @header-color;
|
|
}
|
|
}
|