1
0
mirror of https://github.com/flarum/core.git synced 2025-08-11 19:04:29 +02:00

Make Dropdown and NotificationsDropdown components more extensible

This commit is contained in:
Toby Zerner
2015-09-04 12:15:11 +09:30
parent 7269385786
commit 70815b024a
4 changed files with 79 additions and 51 deletions

View File

@@ -24,21 +24,19 @@
}
}
.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;
vertical-align: 0;
& when (@config-colored-header = true) {
background: #fff;
}
.NotificationsDropdown .Dropdown-toggle.unread .Button-icon {
color: @header-color;
}
.NotificationsDropdown-unread {
position: absolute;
top: 1px;
right: 1px;
background: @header-color;
color: @header-bg;
font-size: 11px;
font-weight: bold;
padding: 2px 5px 3px;
line-height: 1em;
border-radius: 10px;
border: 1px solid @header-bg;
}