jiti-meet/css/modals/virtual-background/_virtual-background.scss

191 lines
4.0 KiB
SCSS

.virtual-background-dialog {
margin-left:-10px;
position: relative;
max-height: 300px;
color: white;
display: inline-grid;
grid-template-columns: auto auto auto auto auto;
column-gap: 9px;
cursor: pointer;
.desktop-share:hover, .thumbnail:hover, .blur:hover, .slight-blur:hover, .virtual-background-none:hover{
opacity: .5;
border: 2px solid #99bbf3;
@media (min-width: 432px) and (min-width: 432px) and (max-width: 632px) {
height: 56px;
width: 56px;
}
@media (max-width: 432px){
height: 56px;
width: 56px;
}
}
.background-option {
margin-top: 8px;
border-radius: 6px;
height: 60px;
width: 107px;
text-align: center;
justify-content: center;
font-weight: bold;
box-sizing: border-box;
display: flex;
align-items: center;
}
.thumbnail {
object-fit: cover;
}
.thumbnail:hover ~ .delete-image-icon {
display: block;
}
.thumbnail-selected {
object-fit: cover;
border: 2px solid #246FE5;
}
.blur{
box-shadow: inset 0 0 12px #000000;
background: #7E8287;
padding: 0 10px;
}
.blur-selected {
box-shadow: inset 0 0 12px #000000;
background: #7E8287;
border: 2px solid #246FE5;
padding: 0 10px;
}
.slight-blur{
box-shadow: inset 0 0 12px #000000;
background: #A4A4A4;
padding: 0 10px;
}
.slight-blur-selected{
box-shadow: inset 0 0 12px #000000;
background: #A4A4A4;
border: 2px solid #246FE5;
padding: 0 10px;
}
.virtual-background-none {
background: #525252;
padding: 0 10px;
}
.none-selected {
background: #525252;
border: 2px solid #246FE5;
padding: 0 10px;
}
.desktop-share{
background: #525252;
}
.desktop-share-selected{
background: #525252;
border: 2px solid #246FE5;
padding: 0 10px;
}
@media (min-width: 432px) and (max-width: 632px) {
font-size: 1.5vw;
}
@media (max-width: 432px){
font-size: 1.5vw;
}
}
.modal-dialog-form .virtual-background-loading {
overflow: hidden;
position: fixed;
left: 50%;
margin-top: 10px;
transform: translateX(-50%);
}
.modal-dialog-form .video-preview {
height: 250px;
}
.file-upload-btn {
display: none;
}
.file-upload-label{
font-size: 14px;
font-weight: 600;
line-height: 20px;
margin-left: -10px;
margin-top: 16px;
margin-bottom: 8px;
color: #669AEC;
display: inline-flex;
cursor: pointer;
}
.delete-image-icon {
background: #3d3d3d;
position: absolute;
display: none;
left: 96;
bottom: 51;
@media (min-width: 432px) and (max-width: 632px) {
left: 51px
}
}
.delete-image-icon:hover {
display: block;
}
.thumbnail-container {
position: relative;
&:focus-within {
.thumbnail ~ .delete-image-icon{
display: block;
}
}
}
.add-background{
margin-right: 8px;
}
.apply-background-btn{
margin-top: 16px;
float: right;
}
.video-background-preview-entry{
margin-left: -10px;
height: 250px;
width: 570px;
margin-bottom: 8px;
z-index: 2;
@media (min-width: 432px) and (max-width: 632px) {
max-width: 336;
}
@media (max-width: 432px){
max-width: 336;
}
}
.virtual-background-preview-video{
margin-left: -10;
border-radius: 6px;
height: 100%;
object-fit: cover;
width: 100%;
}
.video-preview-loader{
border-radius: 6px;
background-color: transparent;
height: 250px;
margin-bottom: 8px;
width: 572px;
position: fixed;
z-index: 2;
@media (min-width: 432px) and (max-width: 632px) {
width: 340px;
}
}
.video-preview-loader svg{
position: absolute;
top: 40%;
left: 45%;
}