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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187
  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-image: url($defaultWatermarkLink);
  101. background-position: center left;
  102. }
  103. .rightwatermark {
  104. right: 32px;
  105. top: 32px;
  106. background-position: center right;
  107. }
  108. .poweredby {
  109. position: absolute;
  110. left: 25;
  111. bottom: 7;
  112. font-size: 11pt;
  113. color: rgba(255,255,255,.50);
  114. text-decoration: none;
  115. z-index: $poweredByZ;
  116. }
  117. .connected {
  118. color: #21B9FC;
  119. font-size: 12px;
  120. }
  121. .lastN, .disconnected {
  122. color: #a3a3a3;
  123. font-size: 12px;
  124. }
  125. /**
  126. * Dialogs fade
  127. */
  128. .aui-blanket {
  129. background: #000;
  130. transition: opacity 0.2s, visibility 0.2s;
  131. transition-delay: 0.1s;
  132. visibility: visible;
  133. }
  134. #inviteLinkRef {
  135. -webkit-user-select: text;
  136. user-select: text;
  137. }
  138. /**
  139. * Re-style default OS scrollbar.
  140. */
  141. ::-webkit-scrollbar {
  142. background: transparent;
  143. width: 7px;
  144. height: $scrollHeight;
  145. }
  146. ::-webkit-scrollbar-button {
  147. display: none;
  148. }
  149. ::-webkit-scrollbar-track {
  150. background: transparent;
  151. }
  152. ::-webkit-scrollbar-track-piece {
  153. background: transparent;
  154. }
  155. ::-webkit-scrollbar-thumb {
  156. background: rgba(0, 0, 0, .5);
  157. border-radius: 4px;
  158. }