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

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