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

_base.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196
  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. overflow: hidden;
  19. }
  20. body {
  21. margin: 0px;
  22. width: 100%;
  23. height: 100%;
  24. font-size: 12px;
  25. font-weight: 400;
  26. overflow: hidden;
  27. color: $defaultColor;
  28. background: $defaultBackground;
  29. }
  30. /**
  31. * This will hide the focus indicator if an element receives focus via the mouse,
  32. * but it will still show up on keyboard focus, thus preserving accessibility.
  33. */
  34. .js-focus-visible :focus:not(.focus-visible) {
  35. outline: none;
  36. }
  37. /**
  38. * AtlasKit sets a default margin on the rendered modals, so
  39. * when the shift-right class is set when the chat opens, we
  40. * pad the modal container in order for the modals to be centered
  41. * while also taking the chat size into consideration.
  42. */
  43. @media (min-width: 581px) {
  44. .shift-right .atlaskit-portal > div:not(.Tooltip) {
  45. padding-left: $sidebarWidth;
  46. }
  47. }
  48. .jitsi-icon svg {
  49. fill: white;
  50. }
  51. .jitsi-icon.gray svg {
  52. fill: #5E6D7A;
  53. cursor: pointer;
  54. }
  55. p {
  56. margin: 0;
  57. }
  58. body, input, textarea, keygen, select, button {
  59. font-family: $baseFontFamily !important;
  60. }
  61. #nowebrtc {
  62. display:none;
  63. }
  64. button, input, select, textarea {
  65. margin: 0;
  66. vertical-align: baseline;
  67. font-size: 1em;
  68. }
  69. button, select, input[type="button"],
  70. input[type="reset"], input[type="submit"] {
  71. cursor: pointer;
  72. }
  73. textarea {
  74. word-wrap: break-word;
  75. resize: none;
  76. line-height: 1.5em;
  77. }
  78. input[type='text'], input[type='password'], textarea {
  79. outline: none; /* removes the default outline */
  80. resize: none; /* prevents the user-resizing, adjust to taste */
  81. }
  82. button {
  83. color: #FFF;
  84. background-color: $buttonBackground;
  85. border-radius: $borderRadius;
  86. &.no-icon {
  87. padding: 0 1em;
  88. }
  89. }
  90. button,
  91. form {
  92. display: block;
  93. }
  94. .watermark {
  95. display: block;
  96. position: absolute;
  97. top: 15;
  98. width: $watermarkWidth;
  99. height: $watermarkHeight;
  100. background-size: contain;
  101. background-repeat: no-repeat;
  102. z-index: $zindex2;
  103. }
  104. .leftwatermark {
  105. left: 32px;
  106. top: 32px;
  107. background-position: center left;
  108. background-repeat: no-repeat;
  109. background-size: contain;
  110. }
  111. .rightwatermark {
  112. right: 32px;
  113. top: 32px;
  114. background-position: center right;
  115. }
  116. .poweredby {
  117. position: absolute;
  118. left: 25;
  119. bottom: 7;
  120. font-size: 11pt;
  121. color: rgba(255,255,255,.50);
  122. text-decoration: none;
  123. z-index: $poweredByZ;
  124. }
  125. .connected {
  126. color: #21B9FC;
  127. font-size: 12px;
  128. }
  129. .lastN, .disconnected {
  130. color: #a3a3a3;
  131. font-size: 12px;
  132. }
  133. /**
  134. * Dialogs fade
  135. */
  136. .aui-blanket {
  137. background: #000;
  138. transition: opacity 0.2s, visibility 0.2s;
  139. transition-delay: 0.1s;
  140. visibility: visible;
  141. }
  142. #inviteLinkRef {
  143. -webkit-user-select: text;
  144. user-select: text;
  145. }
  146. /**
  147. * Re-style default OS scrollbar.
  148. */
  149. ::-webkit-scrollbar {
  150. background: transparent;
  151. width: 7px;
  152. height: $scrollHeight;
  153. }
  154. ::-webkit-scrollbar-button {
  155. display: none;
  156. }
  157. ::-webkit-scrollbar-track {
  158. background: transparent;
  159. }
  160. ::-webkit-scrollbar-track-piece {
  161. background: transparent;
  162. }
  163. ::-webkit-scrollbar-thumb {
  164. background: rgba(0, 0, 0, .5);
  165. border-radius: 4px;
  166. }