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

_base.scss 3.5KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200
  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. .disabled .jitsi-icon svg {
  52. fill: #929292;
  53. }
  54. .jitsi-icon.gray svg {
  55. fill: #5E6D7A;
  56. cursor: pointer;
  57. }
  58. p {
  59. margin: 0;
  60. }
  61. body, input, textarea, keygen, select, button {
  62. font-family: $baseFontFamily !important;
  63. }
  64. #nowebrtc {
  65. display:none;
  66. }
  67. button, input, select, textarea {
  68. margin: 0;
  69. vertical-align: baseline;
  70. font-size: 1em;
  71. }
  72. button, select, input[type="button"],
  73. input[type="reset"], input[type="submit"] {
  74. cursor: pointer;
  75. }
  76. textarea {
  77. word-wrap: break-word;
  78. resize: none;
  79. line-height: 1.5em;
  80. }
  81. input[type='text'], input[type='password'], textarea {
  82. outline: none; /* removes the default outline */
  83. resize: none; /* prevents the user-resizing, adjust to taste */
  84. }
  85. button {
  86. color: #FFF;
  87. background-color: $buttonBackground;
  88. border-radius: $borderRadius;
  89. &.no-icon {
  90. padding: 0 1em;
  91. }
  92. }
  93. button,
  94. form {
  95. display: block;
  96. }
  97. .watermark {
  98. display: block;
  99. position: absolute;
  100. top: 15;
  101. width: $watermarkWidth;
  102. height: $watermarkHeight;
  103. background-size: contain;
  104. background-repeat: no-repeat;
  105. z-index: $zindex2;
  106. }
  107. .leftwatermark {
  108. left: 32px;
  109. top: 32px;
  110. background-position: center left;
  111. background-repeat: no-repeat;
  112. background-size: contain;
  113. }
  114. .rightwatermark {
  115. right: 32px;
  116. top: 32px;
  117. background-position: center right;
  118. }
  119. .poweredby {
  120. position: absolute;
  121. left: 25;
  122. bottom: 7;
  123. font-size: 11pt;
  124. color: rgba(255,255,255,.50);
  125. text-decoration: none;
  126. z-index: $poweredByZ;
  127. }
  128. .connected {
  129. color: #21B9FC;
  130. font-size: 12px;
  131. }
  132. .lastN, .disconnected {
  133. color: #a3a3a3;
  134. font-size: 12px;
  135. }
  136. /**
  137. * Dialogs fade
  138. */
  139. .aui-blanket {
  140. background: #000;
  141. transition: opacity 0.2s, visibility 0.2s;
  142. transition-delay: 0.1s;
  143. visibility: visible;
  144. }
  145. #inviteLinkRef {
  146. -webkit-user-select: text;
  147. user-select: text;
  148. }
  149. /**
  150. * Re-style default OS scrollbar.
  151. */
  152. ::-webkit-scrollbar {
  153. background: transparent;
  154. width: 7px;
  155. height: $scrollHeight;
  156. }
  157. ::-webkit-scrollbar-button {
  158. display: none;
  159. }
  160. ::-webkit-scrollbar-track {
  161. background: transparent;
  162. }
  163. ::-webkit-scrollbar-track-piece {
  164. background: transparent;
  165. }
  166. ::-webkit-scrollbar-thumb {
  167. background: rgba(0, 0, 0, .5);
  168. border-radius: 4px;
  169. }