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

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