base.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126
  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. }
  7. .system-message .close when (@is-overleaf = true) {
  8. color: #fff;
  9. opacity: 1;
  10. text-shadow: none;
  11. }
  12. .clickable {
  13. cursor: pointer;
  14. }
  15. .img-circle {
  16. display: inline-block;
  17. overflow: hidden;
  18. border-radius: 50%;
  19. width: @line-height-computed * 4;
  20. height: @line-height-computed * 4;
  21. img {
  22. margin-top: -10px;
  23. }
  24. }
  25. @-webkit-keyframes bounce {
  26. 0%,
  27. 10%,
  28. 26%,
  29. 40%,
  30. 50% {
  31. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  32. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  33. -webkit-transform: translate3d(0, 0, 0);
  34. transform: translate3d(0, 0, 0);
  35. }
  36. 20%,
  37. 21% {
  38. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  39. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  40. -webkit-transform: translate3d(0, -10px, 0);
  41. transform: translate3d(0, -10px, 0);
  42. }
  43. 35% {
  44. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  45. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  46. -webkit-transform: translate3d(0, -5px, 0);
  47. transform: translate3d(0, -5px, 0);
  48. }
  49. 45% {
  50. -webkit-transform: translate3d(0, -2px, 0);
  51. transform: translate3d(0, -2px, 0);
  52. }
  53. 50% {
  54. -webkit-transform: translate3d(0, 0, 0);
  55. transform: translate3d(0, 0, 0);
  56. }
  57. }
  58. @keyframes bounce {
  59. 0%,
  60. 10%,
  61. 26%,
  62. 40%,
  63. 50% {
  64. -webkit-transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  65. transition-timing-function: cubic-bezier(0.215, 0.61, 0.355, 1);
  66. -webkit-transform: translate3d(0, 0, 0);
  67. -ms-transform: translate3d(0, 0, 0);
  68. transform: translate3d(0, 0, 0);
  69. }
  70. 20%,
  71. 21% {
  72. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  73. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  74. -webkit-transform: translate3d(0, -10px, 0);
  75. -ms-transform: translate3d(0, -10px, 0);
  76. transform: translate3d(0, -10px, 0);
  77. }
  78. 35% {
  79. -webkit-transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  80. transition-timing-function: cubic-bezier(0.755, 0.05, 0.855, 0.06);
  81. -webkit-transform: translate3d(0, -5px, 0);
  82. -ms-transform: translate3d(0, -5px, 0);
  83. transform: translate3d(0, -5px, 0);
  84. }
  85. 45% {
  86. -webkit-transform: translate3d(0, -2px, 0);
  87. -ms-transform: translate3d(0, -2px, 0);
  88. transform: translate3d(0, -2px, 0);
  89. }
  90. 50% {
  91. -webkit-transform: translate3d(0, 0, 0);
  92. -ms-transform: translate3d(0, 0, 0);
  93. transform: translate3d(0, 0, 0);
  94. }
  95. }
  96. .bounce {
  97. -webkit-animation-duration: 2s;
  98. animation-duration: 2s;
  99. -webkit-animation-fill-mode: both;
  100. animation-fill-mode: both;
  101. -webkit-animation-iteration-count: infinite;
  102. animation-iteration-count: infinite;
  103. -webkit-animation-name: bounce;
  104. animation-name: bounce;
  105. -webkit-transform-origin: center bottom;
  106. -ms-transform-origin: center bottom;
  107. transform-origin: center bottom;
  108. }
  109. .grecaptcha-badge {
  110. display: none;
  111. }