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

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