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.

107 lines
1.6 KiB

  1. .ui.rating {
  2. display: inline-block;
  3. font-size: 0;
  4. vertical-align: baseline;
  5. margin: 0 0 0 .5rem;
  6. }
  7. .ui.rating:last-child {
  8. margin-left: 0;
  9. }
  10. .ui.rating:before {
  11. display: block;
  12. content: '';
  13. visibility: hidden;
  14. clear: both;
  15. height: 0;
  16. }
  17. .ui.rating .icon {
  18. cursor: default;
  19. margin: 0;
  20. width: 1em;
  21. height: auto;
  22. padding: 0;
  23. color: rgba(0,0,0,.15);
  24. font-weight: 400;
  25. font-style: normal;
  26. }
  27. .ui.rating .icon:before {
  28. content: "\2605";
  29. -webkit-transition: color .3s ease,opacity .3s ease;
  30. transition: color .3s ease,opacity .3s ease;
  31. }
  32. .ui.star.rating .icon {
  33. width: 1.2em;
  34. }
  35. .ui.star.rating .icon:before {
  36. content: '\f006';
  37. font-family: Icons;
  38. }
  39. .ui.star.rating .active.icon:before {
  40. content: '\f005';
  41. font-family: Icons;
  42. }
  43. .ui.heart.rating .icon {
  44. width: 1.2em;
  45. }
  46. .ui.heart.rating .icon:before {
  47. content: '\f08a';
  48. font-family: Icons;
  49. }
  50. .ui.heart.rating .active.icon:before {
  51. content: '\f004';
  52. font-family: Icons;
  53. }
  54. .ui.heart.rating .active.icon {
  55. color: #EF404A!important;
  56. }
  57. .ui.heart.rating .hover.icon,
  58. .ui.heart.rating .active.hover.icon {
  59. color: #FF2733!important;
  60. }
  61. .ui.active.rating .icon {
  62. cursor: pointer;
  63. }
  64. .ui.rating .active.icon {
  65. color: #FFCB08!important;
  66. }
  67. .ui.rating.hover .active.icon {
  68. opacity: .5;
  69. }
  70. .ui.rating .icon.hover,
  71. .ui.rating .icon.hover.active {
  72. opacity: 1;
  73. color: #FFB70A!important;
  74. }
  75. .ui.small.rating .icon {
  76. font-size: .75rem;
  77. }
  78. .ui.rating .icon {
  79. font-size: 1rem;
  80. }
  81. .ui.large.rating .icon {
  82. font-size: 1.5rem;
  83. vertical-align: middle;
  84. }
  85. .ui.huge.rating .icon {
  86. font-size: 2rem;
  87. vertical-align: middle;
  88. }