mirror of
https://github.com/flarum/core.git
synced 2025-07-25 10:41:24 +02:00
Add unread indicator to scrubber. closes #94
This commit is contained in:
@@ -509,8 +509,23 @@
|
||||
.scrubber-before, .scrubber-after {
|
||||
border-left: 1px solid @fl-body-secondary-color;
|
||||
}
|
||||
.scrubber-unread {
|
||||
position: absolute;
|
||||
border-left: 1px solid lighten(@fl-body-muted-color, 10%);
|
||||
width: 100%;
|
||||
background-image: linear-gradient(to right, @fl-body-secondary-color, fade(@fl-body-secondary-color, 0) 10px, fade(@fl-body-secondary-color, 0));
|
||||
display: flex;
|
||||
align-items: center;
|
||||
color: @fl-body-muted-color;
|
||||
text-transform: uppercase;
|
||||
font-size: 11px;
|
||||
font-weight: bold;
|
||||
padding-left: 13px;
|
||||
}
|
||||
.scrubber-slider {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
background: @fl-body-bg;
|
||||
width: 100%;
|
||||
padding: 5px 0;
|
||||
}
|
||||
@@ -522,6 +537,7 @@
|
||||
float: left;
|
||||
margin-left: -2px;
|
||||
transition: background 0.2s;
|
||||
|
||||
.disabled & {
|
||||
background: @fl-body-secondary-color;
|
||||
}
|
||||
@@ -533,6 +549,7 @@
|
||||
top: 50%;
|
||||
width: 100%;
|
||||
left: 15px;
|
||||
|
||||
& strong {
|
||||
display: block;
|
||||
}
|
||||
|
Reference in New Issue
Block a user