base.less 4.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220
  1. .system-messages {
  2. list-style: none;
  3. margin: 0;
  4. padding: 0;
  5. }
  6. .system-message {
  7. padding: (@line-height-computed / 4) (@line-height-computed / 2);
  8. background-color: @sys-msg-background;
  9. color: @sys-msg-color;
  10. border-bottom: @sys-msg-border;
  11. a {
  12. color: @sidebar-link-color;
  13. text-decoration: underline;
  14. }
  15. }
  16. .system-message .close {
  17. color: #fff;
  18. opacity: 1;
  19. text-shadow: none;
  20. }
  21. .light.close {
  22. color: #000;
  23. }
  24. .dark.close {
  25. color: #fff;
  26. opacity: 1;
  27. text-shadow: none;
  28. }
  29. .clickable {
  30. cursor: pointer;
  31. }
  32. .img-circle {
  33. display: inline-block;
  34. overflow: hidden;
  35. border-radius: 50%;
  36. width: @line-height-computed * 4;
  37. height: @line-height-computed * 4;
  38. img {
  39. margin-top: -10px;
  40. }
  41. }
  42. @-webkit-keyframes bounce {
  43. 0%,
  44. 10%,
  45. 26%,
  46. 40%,
  47. 50% {
  48. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  49. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  50. -webkit-transform: translate3d(0, 0, 0);
  51. transform: translate3d(0, 0, 0);
  52. }
  53. 20%,
  54. 21% {
  55. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  56. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  57. -webkit-transform: translate3d(0, -10px, 0);
  58. transform: translate3d(0, -10px, 0);
  59. }
  60. 35% {
  61. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  62. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  63. -webkit-transform: translate3d(0, -5px, 0);
  64. transform: translate3d(0, -5px, 0);
  65. }
  66. 45% {
  67. -webkit-transform: translate3d(0, -2px, 0);
  68. transform: translate3d(0, -2px, 0);
  69. }
  70. 50% {
  71. -webkit-transform: translate3d(0, 0, 0);
  72. transform: translate3d(0, 0, 0);
  73. }
  74. }
  75. @keyframes bounce {
  76. 0%,
  77. 10%,
  78. 26%,
  79. 40%,
  80. 50% {
  81. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  82. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  83. -webkit-transform: translate3d(0, 0, 0);
  84. -ms-transform: translate3d(0, 0, 0);
  85. transform: translate3d(0, 0, 0);
  86. }
  87. 20%,
  88. 21% {
  89. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  90. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  91. -webkit-transform: translate3d(0, -10px, 0);
  92. -ms-transform: translate3d(0, -10px, 0);
  93. transform: translate3d(0, -10px, 0);
  94. }
  95. 35% {
  96. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  97. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  98. -webkit-transform: translate3d(0, -5px, 0);
  99. -ms-transform: translate3d(0, -5px, 0);
  100. transform: translate3d(0, -5px, 0);
  101. }
  102. 45% {
  103. -webkit-transform: translate3d(0, -2px, 0);
  104. -ms-transform: translate3d(0, -2px, 0);
  105. transform: translate3d(0, -2px, 0);
  106. }
  107. 50% {
  108. -webkit-transform: translate3d(0, 0, 0);
  109. -ms-transform: translate3d(0, 0, 0);
  110. transform: translate3d(0, 0, 0);
  111. }
  112. }
  113. @keyframes pulse {
  114. 0% {
  115. opacity: 0.7;
  116. }
  117. 100% {
  118. opacity: 0.9;
  119. }
  120. }
  121. @keyframes fade-in {
  122. 0% {
  123. opacity: 0;
  124. }
  125. 100% {
  126. opacity: 1;
  127. }
  128. }
  129. .bounce {
  130. -webkit-animation-duration: 2s;
  131. animation-duration: 2s;
  132. -webkit-animation-fill-mode: both;
  133. animation-fill-mode: both;
  134. -webkit-animation-iteration-count: infinite;
  135. animation-iteration-count: infinite;
  136. -webkit-animation-name: bounce;
  137. animation-name: bounce;
  138. -webkit-transform-origin: center bottom;
  139. -ms-transform-origin: center bottom;
  140. transform-origin: center bottom;
  141. }
  142. .grecaptcha-badge {
  143. visibility: hidden;
  144. height: 0 !important; // Prevent layout shift
  145. }
  146. .recaptcha-branding {
  147. padding: @padding-sm @padding-sm 0 @padding-sm;
  148. text-align: center;
  149. font-size: @font-size-extra-small;
  150. }
  151. .tos-agreement-notice {
  152. text-align: center;
  153. margin-top: (@line-height-computed / 4);
  154. margin-bottom: 0;
  155. font-size: @font-size-small;
  156. &.tos-agreement-notice-homepage {
  157. margin-top: (@line-height-computed / 2);
  158. color: #fff;
  159. & > a {
  160. color: #fff;
  161. text-decoration: underline;
  162. }
  163. }
  164. }
  165. .website-redesign {
  166. .recaptcha-branding {
  167. padding: @padding-sm 0;
  168. text-align: left;
  169. font-size: @font-size-extra-small;
  170. & > a {
  171. color: var(--green-50);
  172. &:hover {
  173. color: var(--green-60);
  174. }
  175. text-decoration: underline;
  176. }
  177. }
  178. .light-design {
  179. .recaptcha-branding {
  180. padding: @padding-sm 0;
  181. text-align: center; // This is different from above
  182. font-size: @font-size-extra-small;
  183. & > a {
  184. color: var(--green-50);
  185. &:hover {
  186. color: var(--green-60);
  187. }
  188. text-decoration: underline;
  189. }
  190. }
  191. }
  192. }