base.less 3.8 KB

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