Вы не можете выбрать более 25 тем Темы должны начинаться с буквы или цифры, могут содержать дефисы(-) и должны содержать не более 35 символов.

_base.scss 3.6KB

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