mirror of
https://github.com/flarum/framework.git
synced 2024-11-25 04:44:23 +08:00
100 lines
1.7 KiB
Plaintext
100 lines
1.7 KiB
Plaintext
.Scrubber {
|
|
& a {
|
|
margin-left: -1px;
|
|
color: @muted-color;
|
|
|
|
& .fa {
|
|
font-size: 14px;
|
|
margin-right: 2px;
|
|
}
|
|
&:hover, &:focus {
|
|
text-decoration: none;
|
|
color: @link-color;
|
|
}
|
|
}
|
|
}
|
|
.Scrubber-scrollbar {
|
|
margin: 8px 0 8px 3px;
|
|
height: 300px;
|
|
min-height: 50px; // JavaScript sets a max-height
|
|
position: relative;
|
|
cursor: pointer;
|
|
.user-select(none);
|
|
}
|
|
.Scrubber-before, .Scrubber-after {
|
|
border-left: 1px solid @control-bg;
|
|
}
|
|
.Scrubber-unread {
|
|
position: absolute;
|
|
border-left: 1px solid lighten(@muted-color, 10%);
|
|
width: 100%;
|
|
background-image: linear-gradient(to right, @control-bg, fade(@control-bg, 0) 10px, fade(@control-bg, 0));
|
|
display: flex;
|
|
align-items: center;
|
|
color: @muted-color;
|
|
text-transform: uppercase;
|
|
font-size: 11px;
|
|
font-weight: bold;
|
|
padding-left: 13px;
|
|
overflow: hidden;
|
|
}
|
|
.Scrubber-handle {
|
|
position: relative;
|
|
z-index: 1;
|
|
background: transparent;
|
|
width: 100%;
|
|
padding: 5px 0;
|
|
cursor: move;
|
|
}
|
|
.Scrubber-bar {
|
|
height: 100%;
|
|
width: 5px;
|
|
background: @primary-color;
|
|
border-radius: 4px;
|
|
float: left;
|
|
margin-left: -2px;
|
|
transition: background 0.2s;
|
|
|
|
.disabled & {
|
|
background: @control-bg;
|
|
}
|
|
}
|
|
.Scrubber-info {
|
|
margin-top: -1.5em;
|
|
position: absolute;
|
|
top: 50%;
|
|
width: 100%;
|
|
left: 15px;
|
|
|
|
& strong {
|
|
display: block;
|
|
}
|
|
}
|
|
.Scrubber-description {
|
|
color: @muted-color;
|
|
}
|
|
|
|
@media @phone {
|
|
.PostStreamScrubber {
|
|
.Dropdown-toggle {
|
|
font-size: 14px;
|
|
}
|
|
.Dropdown-menu {
|
|
padding: 30px;
|
|
font-size: 13px;
|
|
}
|
|
}
|
|
.Scrubber-scrollbar {
|
|
height: 40vh !important;
|
|
max-height: none !important;
|
|
}
|
|
}
|
|
|
|
@media @tablet-up {
|
|
.PostStreamScrubber {
|
|
margin: 30px 0 0 0;
|
|
|
|
.Dropdown--expanded();
|
|
}
|
|
}
|