2019-03-13 13:18:58 +00:00
|
|
|
@import '_variables';
|
|
|
|
@import '_mixins';
|
|
|
|
@import '_miniature';
|
|
|
|
|
|
|
|
.video {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
background-color: var(--mainBackgroundColor);
|
|
|
|
padding: 10px;
|
|
|
|
border-bottom: 1px solid $separator-border-color;
|
|
|
|
|
|
|
|
&:hover {
|
|
|
|
background-color: rgba(0, 0, 0, 0.05);
|
|
|
|
|
|
|
|
.more {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&.playing {
|
|
|
|
background-color: rgba(0, 0, 0, 0.02);
|
|
|
|
}
|
|
|
|
|
|
|
|
a {
|
|
|
|
@include disable-default-a-behaviour;
|
|
|
|
|
|
|
|
min-width: 0;
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
cursor: pointer;
|
|
|
|
flex-grow: 1;
|
|
|
|
|
|
|
|
.position {
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
margin-right: 10px;
|
|
|
|
color: $grey-foreground-color;
|
2019-03-14 13:05:36 +00:00
|
|
|
min-width: 25px;
|
2019-03-13 13:18:58 +00:00
|
|
|
|
|
|
|
my-global-icon {
|
|
|
|
@include apply-svg-color($grey-foreground-color);
|
|
|
|
|
|
|
|
width: 17px;
|
|
|
|
position: relative;
|
|
|
|
left: -2px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
my-video-thumbnail {
|
|
|
|
@include thumbnail-size-component(130px, 72px);
|
|
|
|
|
|
|
|
display: flex; // Avoids an issue with line-height that adds space below the element
|
|
|
|
margin-right: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
min-width: 0;
|
|
|
|
|
|
|
|
a {
|
|
|
|
color: var(--mainForegroundColor);
|
2019-03-14 13:05:36 +00:00
|
|
|
width: auto;
|
2019-03-13 13:18:58 +00:00
|
|
|
|
|
|
|
&:hover {
|
|
|
|
text-decoration: underline !important;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-name {
|
|
|
|
font-size: 18px;
|
|
|
|
font-weight: $font-semibold;
|
|
|
|
|
|
|
|
@include ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.video-info-account, .video-info-timestamp {
|
|
|
|
color: $grey-foreground-color;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.more {
|
|
|
|
justify-self: flex-end;
|
|
|
|
margin-left: auto;
|
|
|
|
cursor: pointer;
|
|
|
|
display: none;
|
|
|
|
|
|
|
|
&.show {
|
|
|
|
display: block;
|
|
|
|
}
|
|
|
|
|
|
|
|
.icon-more {
|
|
|
|
@include apply-svg-color($grey-foreground-color);
|
|
|
|
|
|
|
|
display: flex;
|
|
|
|
|
|
|
|
&::after {
|
|
|
|
border: none;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.dropdown-item {
|
|
|
|
@include dropdown-with-icon-item;
|
|
|
|
}
|
|
|
|
|
|
|
|
.timestamp-options {
|
|
|
|
padding-top: 0;
|
|
|
|
padding-left: 35px;
|
|
|
|
margin-bottom: 15px;
|
|
|
|
|
|
|
|
> div {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
}
|
|
|
|
|
|
|
|
input {
|
|
|
|
@include peertube-button;
|
|
|
|
@include orange-button;
|
|
|
|
|
|
|
|
margin-top: 10px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|