You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

_feedback.scss 2.2KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108
  1. @-webkit-keyframes shake-rotate {
  2. 0% {
  3. -webkit-transform:scale(1) rotate(0deg);
  4. transform:scale(1) rotate(0deg)
  5. }
  6. 50% {
  7. -webkit-transform:scale(.8) rotate(-5deg);
  8. transform:scale(.8) rotate(-5deg)
  9. }
  10. to {
  11. -webkit-transform:scale(1) rotate(3deg);
  12. transform:scale(1) rotate(3deg)
  13. }
  14. }
  15. @keyframes shake-rotate {
  16. 0% {
  17. -webkit-transform:scale(1) rotate(0deg);
  18. transform:scale(1) rotate(0deg)
  19. }
  20. 50% {
  21. -webkit-transform:scale(.8) rotate(-5deg);
  22. transform:scale(.8) rotate(-5deg)
  23. }
  24. to {
  25. -webkit-transform:scale(1) rotate(3deg);
  26. transform:scale(1) rotate(3deg)
  27. }
  28. }
  29. .shake-rotate {
  30. display: inline-block;
  31. -webkit-animation-duration: .4s;
  32. animation-duration: .4s;
  33. -webkit-animation-iteration-count: infinite;
  34. animation-iteration-count: infinite;
  35. -webkit-animation-name: shake-rotate;
  36. animation-name: shake-rotate;
  37. -webkit-animation-timing-function: ease-in-out;
  38. animation-timing-function: ease-in-out
  39. }
  40. .feedback {
  41. h2 {
  42. font-weight: 400;
  43. font-size: 24px;
  44. line-height: 1.2;
  45. }
  46. p {
  47. font-weight: 400;
  48. font-size: 14px;
  49. }
  50. &__content {
  51. text-align: center;
  52. textarea {
  53. text-align: left;
  54. min-height: 80px;
  55. width: 100%;
  56. }
  57. }
  58. &__footer {
  59. &:hover {
  60. color: #287ade;
  61. outline: 0;
  62. }
  63. }
  64. &__rating {
  65. line-height: 1.2;
  66. padding: 20px 0;
  67. p {
  68. margin: 10px 0 0;
  69. }
  70. .star-label {
  71. font-size: 16px;
  72. color: $rateStarLabelColor;
  73. }
  74. .star-btn {
  75. color: $rateStarDefault;
  76. font-size: 36px;
  77. position: relative;
  78. cursor: pointer;
  79. outline: none;
  80. text-decoration: none;
  81. @include transition(all .2s ease);
  82. &.starHover,
  83. &.active,
  84. &:hover {
  85. color: $rateStarActivity;
  86. > i:before {
  87. content: "\e90a";
  88. }
  89. };
  90. }
  91. }
  92. }