base.less 3.0 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106
  1. .system-message {
  2. padding: (@line-height-computed / 4) (@line-height-computed / 2);
  3. background-color: @state-warning-bg;
  4. color: #333;
  5. border-bottom: 1px solid @toolbar-border-color;
  6. }
  7. .clickable {
  8. cursor: pointer;
  9. }
  10. .img-circle {
  11. display: inline-block;
  12. overflow: hidden;
  13. border-radius: 50%;
  14. width: @line-height-computed * 4;
  15. height: @line-height-computed * 4;
  16. img {
  17. margin-top: -10px;
  18. }
  19. }
  20. @-webkit-keyframes bounce {
  21. 0%, 10%, 26%, 40%, 50% {
  22. -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  23. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  24. -webkit-transform: translate3d(0,0,0);
  25. transform: translate3d(0,0,0);
  26. }
  27. 20%, 21% {
  28. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  29. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  30. -webkit-transform: translate3d(0, -10px, 0);
  31. transform: translate3d(0, -10px, 0);
  32. }
  33. 35% {
  34. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  35. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  36. -webkit-transform: translate3d(0, -5px, 0);
  37. transform: translate3d(0, -5px, 0);
  38. }
  39. 45% {
  40. -webkit-transform: translate3d(0,-2px,0);
  41. transform: translate3d(0,-2px,0);
  42. }
  43. 50% {
  44. -webkit-transform: translate3d(0,0,0);
  45. transform: translate3d(0,0,0);
  46. }
  47. }
  48. @keyframes bounce {
  49. 0%, 10%, 26%, 40%, 50% {
  50. -webkit-transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  51. transition-timing-function: cubic-bezier(0.215, 0.610, 0.355, 1.000);
  52. -webkit-transform: translate3d(0,0,0);
  53. -ms-transform: translate3d(0,0,0);
  54. transform: translate3d(0,0,0);
  55. }
  56. 20%, 21% {
  57. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  58. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  59. -webkit-transform: translate3d(0, -10px, 0);
  60. -ms-transform: translate3d(0, -10px, 0);
  61. transform: translate3d(0, -10px, 0);
  62. }
  63. 35% {
  64. -webkit-transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  65. transition-timing-function: cubic-bezier(0.755, 0.050, 0.855, 0.060);
  66. -webkit-transform: translate3d(0, -5px, 0);
  67. -ms-transform: translate3d(0, -5px, 0);
  68. transform: translate3d(0, -5px, 0);
  69. }
  70. 45% {
  71. -webkit-transform: translate3d(0,-2px,0);
  72. -ms-transform: translate3d(0,-2px,0);
  73. transform: translate3d(0,-2px,0);
  74. }
  75. 50% {
  76. -webkit-transform: translate3d(0,0,0);
  77. -ms-transform: translate3d(0,0,0);
  78. transform: translate3d(0,0,0);
  79. }
  80. }
  81. .bounce {
  82. -webkit-animation-duration: 2s;
  83. animation-duration: 2s;
  84. -webkit-animation-fill-mode: both;
  85. animation-fill-mode: both;
  86. -webkit-animation-iteration-count: infinite;
  87. animation-iteration-count: infinite;
  88. -webkit-animation-name: bounce;
  89. animation-name: bounce;
  90. -webkit-transform-origin: center bottom;
  91. -ms-transform-origin: center bottom;
  92. transform-origin: center bottom;
  93. }