base.less 3.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116
  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%, 10%, 26%, 40%, 50% {
  27. -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  28. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  29. -webkit-transform: translate3d(0,0,0);
  30. transform: translate3d(0,0,0);
  31. }
  32. 20%, 21% {
  33. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  34. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  35. -webkit-transform: translate3d(0, -10px, 0);
  36. transform: translate3d(0, -10px, 0);
  37. }
  38. 35% {
  39. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  40. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  41. -webkit-transform: translate3d(0, -5px, 0);
  42. transform: translate3d(0, -5px, 0);
  43. }
  44. 45% {
  45. -webkit-transform: translate3d(0,-2px,0);
  46. transform: translate3d(0,-2px,0);
  47. }
  48. 50% {
  49. -webkit-transform: translate3d(0,0,0);
  50. transform: translate3d(0,0,0);
  51. }
  52. }
  53. @keyframes bounce {
  54. 0%, 10%, 26%, 40%, 50% {
  55. -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  56. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  57. -webkit-transform: translate3d(0,0,0);
  58. -ms-transform: translate3d(0,0,0);
  59. transform: translate3d(0,0,0);
  60. }
  61. 20%, 21% {
  62. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  63. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  64. -webkit-transform: translate3d(0, -10px, 0);
  65. -ms-transform: translate3d(0, -10px, 0);
  66. transform: translate3d(0, -10px, 0);
  67. }
  68. 35% {
  69. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  70. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  71. -webkit-transform: translate3d(0, -5px, 0);
  72. -ms-transform: translate3d(0, -5px, 0);
  73. transform: translate3d(0, -5px, 0);
  74. }
  75. 45% {
  76. -webkit-transform: translate3d(0,-2px,0);
  77. -ms-transform: translate3d(0,-2px,0);
  78. transform: translate3d(0,-2px,0);
  79. }
  80. 50% {
  81. -webkit-transform: translate3d(0,0,0);
  82. -ms-transform: translate3d(0,0,0);
  83. transform: translate3d(0,0,0);
  84. }
  85. }
  86. .bounce {
  87. -webkit-animation-duration: 2s;
  88. animation-duration: 2s;
  89. -webkit-animation-fill-mode: both;
  90. animation-fill-mode: both;
  91. -webkit-animation-iteration-count: infinite;
  92. animation-iteration-count: infinite;
  93. -webkit-animation-name: bounce;
  94. animation-name: bounce;
  95. -webkit-transform-origin: center bottom;
  96. -ms-transform-origin: center bottom;
  97. transform-origin: center bottom;
  98. }
  99. .grecaptcha-badge {
  100. display: none;
  101. }