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.7KB

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