base.less 3.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175
  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. .clickable {
  22. cursor: pointer;
  23. }
  24. .img-circle {
  25. display: inline-block;
  26. overflow: hidden;
  27. border-radius: 50%;
  28. width: @line-height-computed * 4;
  29. height: @line-height-computed * 4;
  30. img {
  31. margin-top: -10px;
  32. }
  33. }
  34. @-webkit-keyframes bounce {
  35. 0%,
  36. 10%,
  37. 26%,
  38. 40%,
  39. 50% {
  40. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  41. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  42. -webkit-transform: translate3d(0, 0, 0);
  43. transform: translate3d(0, 0, 0);
  44. }
  45. 20%,
  46. 21% {
  47. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  48. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  49. -webkit-transform: translate3d(0, -10px, 0);
  50. transform: translate3d(0, -10px, 0);
  51. }
  52. 35% {
  53. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  54. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  55. -webkit-transform: translate3d(0, -5px, 0);
  56. transform: translate3d(0, -5px, 0);
  57. }
  58. 45% {
  59. -webkit-transform: translate3d(0, -2px, 0);
  60. transform: translate3d(0, -2px, 0);
  61. }
  62. 50% {
  63. -webkit-transform: translate3d(0, 0, 0);
  64. transform: translate3d(0, 0, 0);
  65. }
  66. }
  67. @keyframes bounce {
  68. 0%,
  69. 10%,
  70. 26%,
  71. 40%,
  72. 50% {
  73. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  74. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  75. -webkit-transform: translate3d(0, 0, 0);
  76. -ms-transform: translate3d(0, 0, 0);
  77. transform: translate3d(0, 0, 0);
  78. }
  79. 20%,
  80. 21% {
  81. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  82. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  83. -webkit-transform: translate3d(0, -10px, 0);
  84. -ms-transform: translate3d(0, -10px, 0);
  85. transform: translate3d(0, -10px, 0);
  86. }
  87. 35% {
  88. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  89. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  90. -webkit-transform: translate3d(0, -5px, 0);
  91. -ms-transform: translate3d(0, -5px, 0);
  92. transform: translate3d(0, -5px, 0);
  93. }
  94. 45% {
  95. -webkit-transform: translate3d(0, -2px, 0);
  96. -ms-transform: translate3d(0, -2px, 0);
  97. transform: translate3d(0, -2px, 0);
  98. }
  99. 50% {
  100. -webkit-transform: translate3d(0, 0, 0);
  101. -ms-transform: translate3d(0, 0, 0);
  102. transform: translate3d(0, 0, 0);
  103. }
  104. }
  105. @keyframes pulse {
  106. 0% {
  107. opacity: 0.7;
  108. }
  109. 100% {
  110. opacity: 0.9;
  111. }
  112. }
  113. @keyframes fade-in {
  114. 0% {
  115. opacity: 0;
  116. }
  117. 100% {
  118. opacity: 1;
  119. }
  120. }
  121. .bounce {
  122. -webkit-animation-duration: 2s;
  123. animation-duration: 2s;
  124. -webkit-animation-fill-mode: both;
  125. animation-fill-mode: both;
  126. -webkit-animation-iteration-count: infinite;
  127. animation-iteration-count: infinite;
  128. -webkit-animation-name: bounce;
  129. animation-name: bounce;
  130. -webkit-transform-origin: center bottom;
  131. -ms-transform-origin: center bottom;
  132. transform-origin: center bottom;
  133. }
  134. .grecaptcha-badge {
  135. visibility: hidden;
  136. height: 0 !important; // Prevent layout shift
  137. }
  138. .recaptcha-branding {
  139. padding: @padding-sm @padding-sm 0 @padding-sm;
  140. text-align: center;
  141. font-size: @font-size-small;
  142. }
  143. .tos-agreement-notice {
  144. text-align: center;
  145. margin-top: (@line-height-computed / 4);
  146. margin-bottom: 0;
  147. font-size: @font-size-small;
  148. &.tos-agreement-notice-homepage {
  149. margin-top: (@line-height-computed / 2);
  150. color: #fff;
  151. & > a {
  152. color: #fff;
  153. text-decoration: underline;
  154. }
  155. }
  156. }