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

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