1
0
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:
Toby Zerner
2015-05-27 16:18:21 +09:30
parent 86603a1399
commit cb0a47d5a1
2 changed files with 36 additions and 1 deletions

View File

@@ -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;
}