base.less 3.1 KB

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