mirror of
https://github.com/flarum/framework.git
synced 2025-05-22 22:59:57 +08:00
Fix notifications appearance on dark header
This commit is contained in:
@ -17,10 +17,22 @@
|
||||
margin: 0;
|
||||
color: @muted-color;
|
||||
}
|
||||
.Button {
|
||||
float: right;
|
||||
margin-top: -11px;
|
||||
margin-right: -11px;
|
||||
}
|
||||
.Button {
|
||||
float: right;
|
||||
margin-top: -11px;
|
||||
margin-right: -11px;
|
||||
|
||||
// The NotificationList may be displayed inside of the drawer as a
|
||||
// dropdown menu – but the drawer may have .light-contents() applied to
|
||||
// it. In this case we will need to reset the button's styles back to
|
||||
// normal.
|
||||
& when (@config-colored-header = true) {
|
||||
.Button--color(@control-color, @control-bg);
|
||||
|
||||
&:hover {
|
||||
color: @link-color;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
|
@ -34,6 +34,10 @@
|
||||
font-weight: bold;
|
||||
margin: -2px 0;
|
||||
background: @primary-color;
|
||||
color: #fff;
|
||||
color: @body-bg;
|
||||
font-size: 13px;
|
||||
|
||||
& when (@config-colored-header = true) {
|
||||
background: #fff;
|
||||
}
|
||||
}
|
||||
|
Reference in New Issue
Block a user