1
0
mirror of https://github.com/flarum/core.git synced 2025-07-31 13:40:20 +02:00

Mark notification as read without visiting discussion (#1874)

This commit is contained in:
David Sevilla Martín
2019-09-09 17:36:06 -04:00
committed by Franz Liedke
parent 2b624c935d
commit 24964b94bf
2 changed files with 37 additions and 0 deletions

View File

@@ -87,6 +87,10 @@
&:hover {
text-decoration: none;
background: @control-bg;
.Notification-action {
display: block;
}
}
.Avatar {
.Avatar--size(24px);
@@ -98,6 +102,27 @@
font-weight: bold;
text-transform: uppercase;
}
.Notification-action {
float: right;
display: none;
margin-top: -7px;
margin-right: -10px;
line-height: inherit;
padding: 5px 0;
& when (@config-colored-header = true) {
.Button--color(@control-color, @control-bg);
&:hover {
color: @link-color;
}
}
.icon {
font-size: 12px;
}
}
}
.Notification-icon {
float: left;