You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_virtual-background.scss 4.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231
  1. .virtual-background-dialog {
  2. margin-left: -10px;
  3. position: relative;
  4. max-height: 300px;
  5. color: white;
  6. display: inline-grid;
  7. grid-template-columns: auto auto auto auto auto;
  8. column-gap: 9px;
  9. cursor: pointer;
  10. .desktop-share:hover,
  11. .thumbnail:hover,
  12. .blur:hover,
  13. .slight-blur:hover,
  14. .virtual-background-none:hover {
  15. opacity: 0.5;
  16. border: 2px solid #99bbf3;
  17. @media (min-width: 432px) and (min-width: 432px) and (max-width: 632px) {
  18. height: 60px;
  19. width: 60px;
  20. }
  21. @media (max-width: 432px) {
  22. height: 60px;
  23. width: 60px;
  24. }
  25. }
  26. .background-option {
  27. margin-top: 8px;
  28. border-radius: 6px;
  29. height: 60px;
  30. width: 107px;
  31. text-align: center;
  32. justify-content: center;
  33. font-weight: bold;
  34. box-sizing: border-box;
  35. display: flex;
  36. align-items: center;
  37. }
  38. .thumbnail {
  39. object-fit: cover;
  40. }
  41. .thumbnail:hover ~ .delete-image-icon {
  42. display: block;
  43. }
  44. .thumbnail-selected {
  45. object-fit: cover;
  46. border: 2px solid #246fe5;
  47. }
  48. .blur {
  49. box-shadow: inset 0 0 12px #000000;
  50. background: #7e8287;
  51. padding: 0 10px;
  52. }
  53. .blur-selected {
  54. box-shadow: inset 0 0 12px #000000;
  55. background: #7e8287;
  56. border: 2px solid #246fe5;
  57. padding: 0 10px;
  58. }
  59. .slight-blur {
  60. box-shadow: inset 0 0 12px #000000;
  61. background: #a4a4a4;
  62. padding: 0 10px;
  63. }
  64. .slight-blur-selected {
  65. box-shadow: inset 0 0 12px #000000;
  66. background: #a4a4a4;
  67. border: 2px solid #246fe5;
  68. padding: 0 10px;
  69. }
  70. .virtual-background-none {
  71. background: #525252;
  72. padding: 0 10px;
  73. }
  74. .none-selected {
  75. background: #525252;
  76. border: 2px solid #246fe5;
  77. padding: 0 10px;
  78. }
  79. .desktop-share {
  80. background: #525252;
  81. }
  82. .desktop-share-selected {
  83. background: #525252;
  84. border: 2px solid #246fe5;
  85. padding: 0 10px;
  86. }
  87. @media (min-width: 432px) and (max-width: 632px) {
  88. font-size: 1.5vw;
  89. .desktop-share,
  90. .virtual-background-none,
  91. .thumbnail,
  92. .blur,
  93. .slight-blur {
  94. height: 60px;
  95. width: 60px;
  96. }
  97. .desktop-share-selected,
  98. .thumbnail-selected,
  99. .none-selected,
  100. .blur-selected,
  101. .slight-blur-selected {
  102. height: 60px;
  103. width: 60px;
  104. }
  105. }
  106. @media (max-width: 432px) {
  107. grid-template-columns: auto auto auto;
  108. font-size: 1.5vw;
  109. .desktop-share,
  110. .virtual-background-none,
  111. .thumbnail,
  112. .blur,
  113. .slight-blur {
  114. height: 60px;
  115. width: 60px;
  116. }
  117. .desktop-share-selected,
  118. .thumbnail-selected,
  119. .none-selected,
  120. .blur-selected,
  121. .slight-blur-selected {
  122. height: 60px;
  123. width: 60px;
  124. }
  125. }
  126. @media (max-width: 320px) {
  127. grid-template-columns: auto auto auto;
  128. font-size: 1.5vw;
  129. }
  130. }
  131. .modal-dialog-form .virtual-background-loading {
  132. overflow: hidden;
  133. position: fixed;
  134. left: 50%;
  135. margin-top: 10px;
  136. transform: translateX(-50%);
  137. }
  138. .modal-dialog-form .video-preview {
  139. height: 250px;
  140. }
  141. .file-upload-btn {
  142. display: none;
  143. }
  144. .file-upload-label {
  145. font-size: 14px;
  146. font-weight: 600;
  147. line-height: 20px;
  148. margin-left: -10px;
  149. margin-top: 16px;
  150. margin-bottom: 8px;
  151. color: #669aec;
  152. display: inline-flex;
  153. cursor: pointer;
  154. }
  155. .delete-image-icon {
  156. background: #3d3d3d;
  157. position: absolute;
  158. display: none;
  159. left: 96;
  160. bottom: 51;
  161. @media (min-width: 432px) and (max-width: 632px) {
  162. left: 51px;
  163. }
  164. }
  165. .delete-image-icon:hover {
  166. display: block;
  167. }
  168. .thumbnail-container {
  169. position: relative;
  170. &:focus-within {
  171. .thumbnail ~ .delete-image-icon {
  172. display: block;
  173. }
  174. }
  175. }
  176. .add-background {
  177. margin-right: 8px;
  178. }
  179. .apply-background-btn {
  180. margin-top: 16px;
  181. float: right;
  182. }
  183. .video-background-preview-entry {
  184. margin-left: -10px;
  185. height: 250px;
  186. width: 570px;
  187. margin-bottom: 8px;
  188. z-index: 2;
  189. @media (min-width: 432px) and (max-width: 632px) {
  190. max-width: 336;
  191. }
  192. @media (max-width: 432px) {
  193. max-width: 336;
  194. }
  195. }
  196. .virtual-background-preview-video {
  197. margin-left: -10;
  198. border-radius: 6px;
  199. height: 100%;
  200. object-fit: cover;
  201. width: 100%;
  202. }
  203. .video-preview-loader {
  204. border-radius: 6px;
  205. background-color: transparent;
  206. height: 250px;
  207. margin-bottom: 8px;
  208. width: 572px;
  209. position: fixed;
  210. z-index: 2;
  211. @media (min-width: 432px) and (max-width: 632px) {
  212. width: 340px;
  213. }
  214. }
  215. .video-preview-loader svg {
  216. position: absolute;
  217. top: 40%;
  218. left: 45%;
  219. }