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

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