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

_base.scss 3.8KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208
  1. /**
  2. * Safari will limit input in input elements to one character when user-select
  3. * none is applied. Other browsers already support selecting within inputs while
  4. * user-select is none. As such, disallow user-select except on inputs.
  5. */
  6. * {
  7. -webkit-user-select: none;
  8. user-select: none;
  9. }
  10. input,
  11. textarea {
  12. -webkit-user-select: text;
  13. user-select: text;
  14. }
  15. html {
  16. height: 100%;
  17. width: 100%;
  18. }
  19. body {
  20. margin: 0px;
  21. width: 100%;
  22. height: 100%;
  23. font-size: 12px;
  24. font-weight: 400;
  25. overflow: hidden;
  26. color: $defaultColor;
  27. background: $defaultBackground;
  28. &.filmstrip-only {
  29. background: transparent;
  30. }
  31. }
  32. /**
  33. * AtlasKit sets a default margin on the rendered modals, so
  34. * when the shift-right class is set when the chat opens, we
  35. * pad the modal container in order for the modals to be centered
  36. * while also taking the chat size into consideration.
  37. */
  38. @media (min-width: 480px + $sidebarWidth) {
  39. .shift-right [class^="Modal__FillScreen"] {
  40. padding-left: $sidebarWidth;
  41. }
  42. }
  43. /**
  44. * Similarly, we offset the notifications when the chat is open by
  45. * padding the container.
  46. */
  47. .shift-right [class^="styledFlagGroup-"] {
  48. padding-left: $sidebarWidth;
  49. }
  50. .jitsi-icon svg {
  51. fill: white;
  52. }
  53. .jitsi-icon.gray svg {
  54. fill: #5E6D7A;
  55. cursor: pointer;
  56. }
  57. /**
  58. * AtlasKitThemeProvider sets a background color on an app-wrapping div, thereby
  59. * preventing transparency in filmstrip-only mode. The selector chosen to
  60. * override this behavior is specific to where the AtlasKitThemeProvider might
  61. * be placed within the app hierarchy.
  62. */
  63. .filmstrip-only #react > .ckAJgx {
  64. background: transparent;
  65. }
  66. p {
  67. margin: 0;
  68. }
  69. body, input, textarea, keygen, select, button {
  70. font-family: $baseFontFamily !important;
  71. }
  72. #nowebrtc {
  73. display:none;
  74. }
  75. button, input, select, textarea {
  76. margin: 0;
  77. vertical-align: baseline;
  78. font-size: 1em;
  79. }
  80. button, select, input[type="button"],
  81. input[type="reset"], input[type="submit"] {
  82. cursor: pointer;
  83. }
  84. textarea {
  85. word-wrap: break-word;
  86. resize: none;
  87. line-height: 1.5em;
  88. }
  89. input[type='text'], input[type='password'], textarea {
  90. outline: none; /* removes the default outline */
  91. resize: none; /* prevents the user-resizing, adjust to taste */
  92. }
  93. button {
  94. color: #FFF;
  95. background-color: $buttonBackground;
  96. border-radius: $borderRadius;
  97. &.no-icon {
  98. padding: 0 1em;
  99. }
  100. }
  101. button,
  102. form {
  103. display: block;
  104. }
  105. .watermark {
  106. display: block;
  107. position: absolute;
  108. top: 15;
  109. width: $watermarkWidth;
  110. height: $watermarkHeight;
  111. background-size: contain;
  112. background-repeat: no-repeat;
  113. z-index: $zindex2;
  114. }
  115. .leftwatermark {
  116. left: 32px;
  117. top: 32px;
  118. background-position: center left;
  119. background-repeat: no-repeat;
  120. background-size: contain;
  121. }
  122. .rightwatermark {
  123. right: 32px;
  124. top: 32px;
  125. background-position: center right;
  126. }
  127. .poweredby {
  128. position: absolute;
  129. left: 25;
  130. bottom: 7;
  131. font-size: 11pt;
  132. color: rgba(255,255,255,.50);
  133. text-decoration: none;
  134. z-index: $poweredByZ;
  135. }
  136. .connected {
  137. color: #21B9FC;
  138. font-size: 12px;
  139. }
  140. .lastN, .disconnected {
  141. color: #a3a3a3;
  142. font-size: 12px;
  143. }
  144. /**
  145. * Dialogs fade
  146. */
  147. .aui-blanket {
  148. background: #000;
  149. transition: opacity 0.2s, visibility 0.2s;
  150. transition-delay: 0.1s;
  151. visibility: visible;
  152. }
  153. #inviteLinkRef {
  154. -webkit-user-select: text;
  155. user-select: text;
  156. }
  157. /**
  158. * Re-style default OS scrollbar.
  159. */
  160. ::-webkit-scrollbar {
  161. background: transparent;
  162. width: 7px;
  163. height: $scrollHeight;
  164. }
  165. ::-webkit-scrollbar-button {
  166. display: none;
  167. }
  168. ::-webkit-scrollbar-track {
  169. background: transparent;
  170. }
  171. ::-webkit-scrollbar-track-piece {
  172. background: transparent;
  173. }
  174. ::-webkit-scrollbar-thumb {
  175. background: rgba(0, 0, 0, .5);
  176. border-radius: 4px;
  177. }