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.

_premeeting-screens.scss 5.8KB

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