Você não pode selecionar mais de 25 tópicos Os tópicos devem começar com uma letra ou um número, podem incluir traços ('-') e podem ter até 35 caracteres.

_base.scss 4.0KB

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