bigbluebutton-Github/bigbluebutton-html5/imports/ui/components/video-preview/virtual-background/styles.scss

75 lines
1.5 KiB
SCSS
Raw Normal View History

@import "/imports/ui/components/video-preview/styles";
: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;
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
}
.virtualBackgroundRowDropdown {
button {
border: var(--border-size-small) solid var(--user-thumbnail-border);
margin: 0 0.15em;
}
}
.virtualBackgroundRowThumbnail {
@extend .virtualBackgroundRowDropdown;
margin-top: 0.4rem;
}
.virtualBackgroundItem {
outline: none;
display: flex;
position: relative;
justify-content: center;
align-items: center;
border-radius: var(--border-size-large);
cursor: pointer;
height: var(--thumbnail-btn-md);
width: var(--thumbnail-btn-md);
2021-08-31 05:21:41 +08:00
z-index: 1;
background-color: transparent;
}
.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);
}
.bgWrapper {
display: flex;
justify-content: flex-start;
overflow-x: auto;
margin: var(--border-size-large);
padding: var(--border-size-large);
}
.bgNone,
.bgImage {
border-radius: var(--border-size-large);
height: var(--thumbnail-btn-md);
width: var(--thumbnail-btn-md);
}