base.less 3.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145
  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. .bounce {
  101. -webkit-animation-duration: 2s;
  102. animation-duration: 2s;
  103. -webkit-animation-fill-mode: both;
  104. animation-fill-mode: both;
  105. -webkit-animation-iteration-count: infinite;
  106. animation-iteration-count: infinite;
  107. -webkit-animation-name: bounce;
  108. animation-name: bounce;
  109. -webkit-transform-origin: center bottom;
  110. -ms-transform-origin: center bottom;
  111. transform-origin: center bottom;
  112. }
  113. .grecaptcha-badge {
  114. display: none;
  115. }
  116. .tos-agreement-notice {
  117. text-align: center;
  118. margin-top: (@line-height-computed / 4);
  119. margin-bottom: 0;
  120. font-size: @font-size-small;
  121. &.tos-agreement-notice-homepage {
  122. margin-top: (@line-height-computed / 2);
  123. color: #fff;
  124. & > a {
  125. color: #fff;
  126. text-decoration: underline;
  127. }
  128. }
  129. }