You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_base.scss 3.6KB

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