您最多选择25个主题 主题必须以字母或数字开头,可以包含连字符 (-),并且长度不得超过35个字符

_premeeting-screens.scss 5.6KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281
  1. /**
  2. * Shared style for full screen local track based dialogs/modals.
  3. */
  4. .premeeting-screen,
  5. .preview-overlay {
  6. position: absolute;
  7. left: 0;
  8. right: 0;
  9. top: 0;
  10. bottom: 0;
  11. }
  12. .premeeting-screen {
  13. align-items: stretch;
  14. background: radial-gradient(50% 50% at 50% 50%, #5D95C7 0%, #376288 100%), #FFFFFF;
  15. display: flex;
  16. flex-direction: column;
  17. font-size: 1.3em;
  18. z-index: $toolbarZ + 1;
  19. .action-btn {
  20. border-radius: 3px;
  21. color: #fff;
  22. cursor: pointer;
  23. display: inline-block;
  24. font-size: 15px;
  25. line-height: 24px;
  26. margin-top: 16px;
  27. padding: 7px 16px;
  28. position: relative;
  29. text-align: center;
  30. width: 286px;
  31. &.primary {
  32. background: #0376DA;
  33. border: 1px solid #0376DA;
  34. }
  35. &.secondary {
  36. background: transparent;
  37. border: 1px solid #5E6D7A;
  38. }
  39. &.text {
  40. width: auto;
  41. font-size: 13px;
  42. margin: 0;
  43. padding: 0;
  44. }
  45. &.disabled {
  46. background: #5E6D7A;
  47. border: 1px solid #5E6D7A;
  48. color: #AFB6BC;
  49. cursor: initial;
  50. .icon {
  51. & > svg {
  52. fill: #AFB6BC;
  53. }
  54. }
  55. .options {
  56. border-left: 1px solid #AFB6BC;
  57. }
  58. }
  59. .options {
  60. align-items: center;
  61. border-left: 1px solid #fff;
  62. display: flex;
  63. height: 100%;
  64. justify-content: center;
  65. position: absolute;
  66. right: 0;
  67. top: 0;
  68. width: 40px;
  69. }
  70. }
  71. .preview-overlay {
  72. background-image: linear-gradient(transparent, black);
  73. z-index: $toolbarZ + 1;
  74. }
  75. .content {
  76. align-items: center;
  77. display: flex;
  78. flex: 1;
  79. flex-direction: column;
  80. justify-content: flex-end;
  81. z-index: $toolbarZ + 2;
  82. .title {
  83. color: #fff;
  84. font-size: 24px;
  85. line-height: 32px;
  86. margin-bottom: 16px;
  87. }
  88. .copy-meeting {
  89. align-items: center;
  90. cursor: pointer;
  91. color: #fff;
  92. display: flex;
  93. flex-direction: row;
  94. font-size: 15px;
  95. font-weight: 300;
  96. justify-content: center;
  97. line-height: 24px;
  98. margin-bottom: 16px;
  99. .url {
  100. display: flex;
  101. padding: 8px 10px;
  102. &:hover {
  103. background: #1C2025;
  104. border-radius: 4px;
  105. }
  106. &.done {
  107. background: #31B76A;
  108. }
  109. .jitsi-icon {
  110. margin-left: 10px;
  111. }
  112. }
  113. .copy-meeting-text {
  114. width: 266px;
  115. white-space: nowrap;
  116. overflow: hidden;
  117. text-overflow: ellipsis;
  118. }
  119. &:hover {
  120. align-self: stretch;
  121. }
  122. textarea {
  123. border-width: 0;
  124. height: 0;
  125. opacity: 0;
  126. padding: 0;
  127. width: 0;
  128. }
  129. }
  130. input.field {
  131. background-color: transparent;
  132. border: 1px solid transparent;
  133. color: white;
  134. outline-width: 0;
  135. padding: 8px 0;
  136. text-align: center;
  137. width: 100%;
  138. &.focused {
  139. border-bottom: 1px solid white;
  140. }
  141. &.error::placeholder {
  142. color: $defaultWarningColor;
  143. }
  144. }
  145. }
  146. .media-btn-container {
  147. display: flex;
  148. justify-content: center;
  149. margin: 32px 0;
  150. width: 100%;
  151. &> div {
  152. margin: 0 12px;
  153. }
  154. .settings-button-small-icon {
  155. right: -8px;
  156. &--hovered {
  157. right: -10px;
  158. }
  159. }
  160. }
  161. }
  162. #preview {
  163. height: 100%;
  164. position: absolute;
  165. width: 100%;
  166. &.no-video {
  167. background: radial-gradient(50% 50% at 50% 50%, #5B6F80 0%, #365067 100%), #FFFFFF;
  168. text-align: center;
  169. }
  170. .preview-avatar-container {
  171. width: 100%;
  172. height: 80%;
  173. display: flex;
  174. align-items: center;
  175. justify-content: center;
  176. }
  177. .avatar {
  178. background: #A4B8D1;
  179. }
  180. video {
  181. height: 100%;
  182. object-fit: cover;
  183. position: absolute;
  184. width: 100%;
  185. }
  186. }
  187. @mixin flex-centered() {
  188. align-items: center;
  189. display: flex;
  190. justify-content: center;
  191. }
  192. @mixin icon-container($bg, $fill) {
  193. .toggle-button-icon-container {
  194. background: $bg;
  195. svg {
  196. fill: $fill
  197. }
  198. }
  199. }
  200. .toggle-button {
  201. border-radius: 3px;
  202. cursor: pointer;
  203. color: #fff;
  204. font-size: 13px;
  205. height: 40px;
  206. margin: 0 auto;
  207. width: 320px;
  208. @include flex-centered();
  209. svg {
  210. fill: transparent;
  211. }
  212. &:hover {
  213. background: #1C2025;
  214. @include icon-container(#A4B8D1, #1C2025);
  215. }
  216. &-container {
  217. position: relative;
  218. @include flex-centered();
  219. }
  220. &-icon-container {
  221. border-radius: 50%;
  222. left: -22px;
  223. padding: 2px;
  224. position: absolute;
  225. }
  226. &--toggled {
  227. background: #75757A;
  228. &:hover {
  229. background: #75757A;
  230. @include icon-container(#A4B8D1, #75757A);
  231. }
  232. @include icon-container(#A4B8D1, #75757A);
  233. }
  234. }