Du kan inte välja fler än 25 ämnen Ämnen måste starta med en bokstav eller siffra, kan innehålla bindestreck ('-') och vara max 35 tecken långa.

_premeeting-screens.scss 5.7KB

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