2020-03-30 14:17:18 +00:00
|
|
|
.video-preview {
|
2020-04-07 07:14:23 +00:00
|
|
|
background: none;
|
2021-02-23 11:09:22 +00:00
|
|
|
display: inline-block;
|
2020-04-16 10:47:10 +00:00
|
|
|
|
|
|
|
&-container {
|
2022-03-01 10:16:44 +00:00
|
|
|
max-height: 344px;
|
2021-02-23 11:09:22 +00:00
|
|
|
background: $menuBG;
|
2021-03-11 12:59:49 +00:00
|
|
|
border-radius: 3px;
|
2020-04-16 10:47:10 +00:00
|
|
|
overflow: auto;
|
2021-02-23 11:09:22 +00:00
|
|
|
padding: 8px;
|
2022-10-25 13:11:55 +00:00
|
|
|
margin-bottom: 8px;
|
2020-04-16 10:47:10 +00:00
|
|
|
}
|
2020-03-30 14:44:45 +00:00
|
|
|
|
2020-03-30 14:17:18 +00:00
|
|
|
&-entry {
|
|
|
|
cursor: pointer;
|
2021-02-23 11:09:22 +00:00
|
|
|
height: 168px;
|
|
|
|
margin-bottom: 8px;
|
2020-03-30 14:17:18 +00:00
|
|
|
position: relative;
|
2021-02-23 11:09:22 +00:00
|
|
|
width: 284px;
|
2020-03-30 14:17:18 +00:00
|
|
|
|
|
|
|
&:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
&--selected {
|
|
|
|
border: 3px solid #31B76A;
|
2021-02-23 11:09:22 +00:00
|
|
|
border-radius: 3px;
|
2020-03-30 14:17:18 +00:00
|
|
|
cursor: default;
|
2021-02-23 11:09:22 +00:00
|
|
|
height: 162px;
|
|
|
|
width: 278px;
|
2020-03-30 14:17:18 +00:00
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
&-video {
|
2021-02-23 11:09:22 +00:00
|
|
|
border-radius: 3px;
|
2020-03-30 14:17:18 +00:00
|
|
|
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 {
|
2021-02-23 11:09:22 +00:00
|
|
|
bottom: 8px;
|
2020-03-30 14:44:45 +00:00
|
|
|
color: #fff;
|
|
|
|
position: absolute;
|
2021-02-23 11:09:22 +00:00
|
|
|
width: 100%;
|
2020-03-30 14:44:45 +00:00
|
|
|
z-index: 2;
|
2021-02-23 11:09:22 +00:00
|
|
|
|
2021-03-11 09:25:49 +00:00
|
|
|
&-container {
|
|
|
|
margin: 0 16px;
|
|
|
|
}
|
|
|
|
|
2021-02-23 11:09:22 +00:00
|
|
|
&-text {
|
|
|
|
background-color: #131519;
|
|
|
|
border-radius: 3px;
|
2021-03-11 09:25:49 +00:00
|
|
|
padding: 2px 8px;
|
2021-02-23 11:09:22 +00:00
|
|
|
font-size: 13px;
|
|
|
|
line-height: 20px;
|
2021-03-11 09:25:49 +00:00
|
|
|
margin: 0 auto;
|
|
|
|
max-width: calc(100% - 16px);
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
width: fit-content;
|
|
|
|
white-space: nowrap;
|
2021-02-23 11:09:22 +00:00
|
|
|
}
|
2020-03-30 14:44:45 +00:00
|
|
|
}
|
2021-06-10 12:48:44 +00:00
|
|
|
// Override @atlaskit/InlineDialog container which is made with styled components
|
|
|
|
& > div:nth-child(2) {
|
|
|
|
padding: 0;
|
|
|
|
}
|
2020-03-30 14:17:18 +00:00
|
|
|
}
|