2021-07-20 04:19:06 +08:00
|
|
|
@import "/imports/ui/components/video-preview/styles";
|
|
|
|
|
2021-09-01 07:17:28 +08:00
|
|
|
:root {
|
|
|
|
--thumbnail-btn-md: 48px;
|
|
|
|
--thumbnail-img-md: 47px;
|
|
|
|
--thumbnail-img-top: 0.063rem;
|
|
|
|
--thumbnail-img-left: 0.188rem;
|
|
|
|
}
|
|
|
|
|
2021-08-31 03:56:29 +08:00
|
|
|
.thumbnail {
|
|
|
|
position: absolute;
|
|
|
|
cursor: pointer;
|
2021-09-01 07:17:28 +08:00
|
|
|
width: var(--thumbnail-img-md);
|
|
|
|
height: var(--thumbnail-img-md);
|
|
|
|
top: var(--thumbnail-img-top);
|
|
|
|
left: var(--thumbnail-img-left);
|
2021-08-31 03:56:29 +08:00
|
|
|
}
|
|
|
|
|
2021-07-20 04:19:06 +08:00
|
|
|
.virtualBackgroundRowDropdown {
|
2021-08-20 08:21:34 +08:00
|
|
|
button {
|
|
|
|
border: var(--border-size-small) solid var(--user-thumbnail-border);
|
|
|
|
margin: 0 0.15em;
|
|
|
|
}
|
2021-07-20 04:19:06 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.virtualBackgroundRowThumbnail {
|
|
|
|
@extend .virtualBackgroundRowDropdown;
|
|
|
|
margin-top: 0.4rem;
|
|
|
|
}
|
2021-08-19 01:24:19 +08:00
|
|
|
|
2021-08-30 08:45:31 +08:00
|
|
|
.virtualBackgroundItem {
|
|
|
|
outline: none;
|
|
|
|
display: flex;
|
|
|
|
position: relative;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
2021-09-01 07:17:28 +08:00
|
|
|
border-radius: var(--border-size-large);
|
2021-08-30 08:45:31 +08:00
|
|
|
cursor: pointer;
|
2021-09-01 07:17:28 +08:00
|
|
|
height: var(--thumbnail-btn-md);
|
|
|
|
width: var(--thumbnail-btn-md);
|
2021-08-31 05:21:41 +08:00
|
|
|
z-index: 1;
|
|
|
|
background-color: transparent;
|
2021-08-30 08:45:31 +08:00
|
|
|
}
|
|
|
|
|
2021-09-01 07:17:28 +08:00
|
|
|
.virtualBackgroundItem + img {
|
|
|
|
border-radius: var(--border-size-large);
|
|
|
|
}
|
|
|
|
|
|
|
|
.disabled,
|
|
|
|
.disabled + img {
|
|
|
|
filter: grayscale(1);
|
|
|
|
}
|
|
|
|
|
|
|
|
.virtualBackgroundItem:focus{
|
|
|
|
color: var(--btn-default-color);
|
|
|
|
background-color: transparent;
|
|
|
|
background-clip: padding-box;
|
|
|
|
box-shadow: 0 0 0 var(--border-size) var(--btn-primary-border);
|
|
|
|
}
|
|
|
|
|
2021-08-20 08:21:34 +08:00
|
|
|
.bgWrapper {
|
|
|
|
display: flex;
|
2021-09-01 07:17:28 +08:00
|
|
|
justify-content: flex-start;
|
2021-08-30 08:45:31 +08:00
|
|
|
overflow-x: auto;
|
2021-09-01 07:17:28 +08:00
|
|
|
margin: var(--border-size-large);
|
|
|
|
padding: var(--border-size-large);
|
2021-08-30 08:45:31 +08:00
|
|
|
}
|
|
|
|
|
|
|
|
.bgNone,
|
|
|
|
.bgImage {
|
2021-09-01 07:17:28 +08:00
|
|
|
border-radius: var(--border-size-large);
|
|
|
|
height: var(--thumbnail-btn-md);
|
|
|
|
width: var(--thumbnail-btn-md);
|
2021-08-30 08:45:31 +08:00
|
|
|
}
|