2020-03-30 14:17:18 +00:00
|
|
|
.video-preview {
|
2020-04-07 07:14:23 +00:00
|
|
|
background: none;
|
2020-03-30 14:44:45 +00:00
|
|
|
max-height: 290px;
|
2020-04-16 10:47:10 +00:00
|
|
|
|
|
|
|
&-container {
|
|
|
|
overflow: auto;
|
|
|
|
padding: 16px;
|
|
|
|
}
|
2020-03-30 14:44:45 +00:00
|
|
|
|
2020-03-30 14:17:18 +00:00
|
|
|
&-entry {
|
|
|
|
cursor: pointer;
|
|
|
|
height: 135px;
|
|
|
|
margin-bottom: 16px;
|
|
|
|
position: relative;
|
|
|
|
width: 240px;
|
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
|
|
|
border: 3px solid #31B76A;
|
|
|
|
cursor: default;
|
|
|
|
height: 129px;
|
|
|
|
width: 234px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-video {
|
|
|
|
height: 100%;
|
|
|
|
object-fit: cover;
|
|
|
|
width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-overlay {
|
|
|
|
background: rgba(42, 58, 75, 0.6);
|
|
|
|
height: 100%;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
z-index: 1;
|
|
|
|
}
|
|
|
|
|
|
|
|
&-error {
|
|
|
|
align-items: center;
|
|
|
|
display: flex;
|
|
|
|
height: 100%;
|
|
|
|
justify-content: center;
|
|
|
|
position: absolute;
|
|
|
|
width: 100%;
|
|
|
|
}
|
2020-03-30 14:44:45 +00:00
|
|
|
|
|
|
|
&-label {
|
|
|
|
color: #fff;
|
|
|
|
font-size: 13px;
|
|
|
|
line-height: 20px;
|
|
|
|
overflow: hidden;
|
|
|
|
padding: 8px;
|
|
|
|
position: absolute;
|
|
|
|
text-align: center;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: 220px;
|
|
|
|
z-index: 2;
|
|
|
|
}
|
|
|
|
|
|
|
|
// Override @atlaskit/InlineDialog container which is made with styled components
|
|
|
|
& > div > div:nth-child(2) > div > div {
|
|
|
|
outline: none;
|
2020-04-16 10:47:10 +00:00
|
|
|
padding: 0;
|
2020-03-30 14:44:45 +00:00
|
|
|
}
|
2020-03-30 14:17:18 +00:00
|
|
|
}
|