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

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109
  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. }
  53. &__footer {
  54. &:hover {
  55. color: #287ade;
  56. outline: 0;
  57. }
  58. }
  59. &__rating {
  60. line-height: 1.2;
  61. padding: 20px 0;
  62. p {
  63. margin: 10px 0 0;
  64. }
  65. .star-label {
  66. font-size: 16px;
  67. color: $rateStarLabelColor;
  68. }
  69. .star-btn {
  70. color: $rateStarDefault;
  71. font-size: 36px;
  72. position: relative;
  73. cursor: pointer;
  74. outline: none;
  75. text-decoration: none;
  76. @include transition(all .2s ease);
  77. &.starHover,
  78. &.active,
  79. &:hover {
  80. color: $rateStarActivity;
  81. > i:before {
  82. content: "\e90a";
  83. }
  84. };
  85. }
  86. }
  87. &__details {
  88. text-align: left;
  89. textarea {
  90. min-height: 100px;
  91. width: 100%;
  92. }
  93. }
  94. }