jiti-meet/css/_video-preview.scss

76 lines
1.5 KiB
SCSS
Raw Normal View History

.video-preview {
background: none;
2021-02-23 11:09:22 +00:00
display: inline-block;
2020-04-16 10:47:10 +00:00
&-container {
max-height: 456px;
2020-04-16 10:47:10 +00:00
overflow: auto;
margin-bottom: 4px;
position: relative;
right: auto;
2020-04-16 10:47:10 +00:00
}
&-entry {
cursor: pointer;
height: 138px;
width: 244px;
position: relative;
margin: 0 7px 4px;
border-radius: 6px;
box-sizing: border-box;
overflow: hidden;
&:last-child {
margin-bottom: 0;
}
&--selected {
border: 2px solid #4687ED;
}
}
&-video {
height: 100%;
object-fit: cover;
width: 100%;
}
&-error {
align-items: center;
display: flex;
height: 100%;
justify-content: center;
position: absolute;
width: 100%;
}
&-label {
position: absolute;
bottom: 0;
left: 0;
right: 0;
max-width: 100%;
padding: 8px;
z-index: 2;
2021-02-23 11:09:22 +00:00
&-text {
background-color: rgba(0, 0, 0, 0.7);
border-radius: 4px;
padding: 4px 8px;
color: #fff;
font-size: 12px;
line-height: 16px;
font-weight: 600;
max-width: calc(100% - 16px);
overflow: hidden;
text-overflow: ellipsis;
width: fit-content;
white-space: nowrap;
2021-02-23 11:09:22 +00:00
}
}
&-checkbox-container {
padding: 10px 14px;
}
}