base.less 2.9 KB

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