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

_prejoin.scss 3.9KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203
  1. .prejoin {
  2. &-input-area {
  3. margin: 0 auto;
  4. text-align: center;
  5. width: 320px;
  6. }
  7. &-title {
  8. color: #fff;
  9. font-size: 24px;
  10. line-height: 32px;
  11. margin-bottom: 16px;
  12. }
  13. &-text-btns {
  14. display: flex;
  15. justify-content: space-between;
  16. }
  17. &-input-label {
  18. color: #A4B8D1;
  19. font-size: 13px;
  20. line-height: 20px;
  21. margin-top: 32px 0 8px 0;
  22. text-align: center;
  23. width: 100%;
  24. }
  25. &-checkbox {
  26. border: 0;
  27. height: 16px;
  28. margin-right: 8px;
  29. padding: 0;
  30. width: 16px;
  31. }
  32. &-checkbox-container {
  33. margin-bottom: 14px;
  34. width: 100%;
  35. }
  36. &-error {
  37. color: white;
  38. background-color: rgba(229, 75, 75, 0.5);
  39. width: 100%;
  40. padding: 3px;
  41. margin-top: 4px;
  42. font-size: 13px;
  43. text-align: center;
  44. }
  45. }
  46. @mixin name-placeholder {
  47. color: #fff;
  48. font-weight: 300;
  49. opacity: 0.6;
  50. }
  51. .prejoin-preview {
  52. height: 100%;
  53. position: absolute;
  54. width: 100%;
  55. &--no-video {
  56. background: radial-gradient(50% 50% at 50% 50%, #5B6F80 0%, #365067 100%), #FFFFFF;
  57. text-align: center;
  58. }
  59. &-video {
  60. height: 100%;
  61. object-fit: cover;
  62. position: absolute;
  63. width: 100%;
  64. }
  65. &-name {
  66. color: #fff;
  67. font-size: 19px;
  68. line-height: 28px;
  69. &--editable {
  70. background: none;
  71. border: 0;
  72. border-bottom: 1px solid #D1DBE8;
  73. margin: 24px 0 16px 0;
  74. outline: none;
  75. text-align: center;
  76. width: 100%;
  77. &::-webkit-input-placeholder {
  78. @include name-placeholder;
  79. }
  80. &::-moz-placeholder {
  81. @include name-placeholder;
  82. }
  83. &:-ms-input-placeholder {
  84. @include name-placeholder;
  85. }
  86. }
  87. &--text {
  88. margin: 16px 0;
  89. outline: none;
  90. }
  91. }
  92. &-avatar.avatar {
  93. background: #A4B8D1;
  94. margin: 200px auto 0 auto;
  95. }
  96. &-overlay {
  97. height: 100%;
  98. position: absolute;
  99. width: 100%;
  100. z-index: 1;
  101. background: linear-gradient(0deg, rgba(0, 0, 0, 0.3), rgba(0, 0, 0, 0.3));
  102. }
  103. &-bottom-overlay {
  104. background: linear-gradient(180deg, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.9) 100%);
  105. bottom: 0;
  106. height: 50%;
  107. position: absolute;
  108. width: 100%;
  109. z-index: 1;
  110. }
  111. &-status {
  112. align-items: center;
  113. align-self: stretch;
  114. color: #fff;
  115. display: flex;
  116. font-size: 13px;
  117. min-height: 24px;
  118. justify-content: center;
  119. text-align: center;
  120. z-index: 1;
  121. &--warning {
  122. background: rgba(241, 173, 51, 0.7)
  123. }
  124. &--ok {
  125. background: rgba(49, 183, 106, 0.7);
  126. }
  127. }
  128. &-icon {
  129. background-position: center;
  130. background-repeat: no-repeat;
  131. display: inline-block;
  132. height: 16px;
  133. margin-right: 8px;
  134. width: 16px;
  135. }
  136. &-error-desc {
  137. margin-right: 4px;
  138. }
  139. .settings-button-container {
  140. width: 49px;
  141. margin: 0 8px;
  142. }
  143. &-dropdown-btns {
  144. width: 320px;
  145. padding: 8px 0;
  146. }
  147. &-dropdown-btn {
  148. align-items: center;
  149. color: #1C2025;
  150. cursor: pointer;
  151. display: flex;
  152. height: 40px;
  153. font-size: 15px;
  154. line-height: 24px;
  155. padding: 0 16px;
  156. &:hover {
  157. background-color: #DAEBFA;
  158. }
  159. }
  160. &-dropdown-icon {
  161. display: inline-block;
  162. margin-right: 16px;
  163. & > svg {
  164. fill: #1C2025;
  165. }
  166. }
  167. &-dropdown-container {
  168. & > div > div:nth-child(2) > div > div {
  169. background: #fff;
  170. padding: 0;
  171. }
  172. }
  173. }