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.

268 lines
20 KiB

9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
9 years ago
10 years ago
9 years ago
9 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
9 years ago
10 years ago
  1. /*!
  2. * # Semantic UI 2.0.0 - Rating
  3. * http://github.com/semantic-org/semantic-ui/
  4. *
  5. *
  6. * Copyright 2015 Contributors
  7. * Released under the MIT license
  8. * http://opensource.org/licenses/MIT
  9. *
  10. */
  11. /*******************************
  12. Rating
  13. *******************************/
  14. .ui.rating {
  15. display: -webkit-inline-box;
  16. display: -webkit-inline-flex;
  17. display: -ms-inline-flexbox;
  18. display: inline-flex;
  19. white-space: nowrap;
  20. vertical-align: middle;
  21. }
  22. .ui.rating:last-child {
  23. margin-right: 0em;
  24. }
  25. .ui.rating:before {
  26. display: block;
  27. content: '';
  28. visibility: hidden;
  29. clear: both;
  30. height: 0;
  31. vertical-align: middle;
  32. }
  33. /* Icon */
  34. .ui.rating .icon {
  35. padding: 0em;
  36. margin: 0em;
  37. text-align: center;
  38. font-weight: normal;
  39. font-style: normal;
  40. -webkit-box-flex: 1;
  41. -webkit-flex: 1 0 auto;
  42. -ms-flex: 1 0 auto;
  43. flex: 1 0 auto;
  44. cursor: pointer;
  45. width: 1.25em;
  46. height: auto;
  47. }
  48. /*******************************
  49. Types
  50. *******************************/
  51. /*-------------------
  52. Standard
  53. --------------------*/
  54. /* Inactive Icon */
  55. .ui.rating .icon {
  56. background: transparent;
  57. color: rgba(0, 0, 0, 0.15);
  58. }
  59. /* Active Icon */
  60. .ui.rating .active.icon {
  61. background: transparent;
  62. color: rgba(0, 0, 0, 0.85);
  63. }
  64. /* Selected Icon */
  65. .ui.rating .icon.selected,
  66. .ui.rating .icon.selected.active {
  67. background: transparent;
  68. color: rgba(0, 0, 0, 0.87);
  69. }
  70. /*-------------------
  71. Star
  72. --------------------*/
  73. /* Inactive */
  74. .ui.star.rating .icon {
  75. width: 1.25em;
  76. height: auto;
  77. background: transparent;
  78. color: rgba(0, 0, 0, 0.15);
  79. }
  80. /* Active Star */
  81. .ui.star.rating .active.icon {
  82. background: transparent !important;
  83. color: #ffe623 !important;
  84. text-shadow: 0px -1px 0px #cfa300, -1px 0px 0px #cfa300, 0px 1px 0px #cfa300, 1px 0px 0px #cfa300;
  85. }
  86. /* Selected Star */
  87. .ui.star.rating .icon.selected,
  88. .ui.star.rating .icon.selected.active {
  89. background: transparent !important;
  90. color: #ffb70a !important;
  91. }
  92. /*-------------------
  93. Heart
  94. --------------------*/
  95. .ui.heart.rating .icon {
  96. width: 1.4em;
  97. height: auto;
  98. background: transparent;
  99. color: rgba(0, 0, 0, 0.15);
  100. }
  101. /* Active Heart */
  102. .ui.heart.rating .active.icon {
  103. background: transparent !important;
  104. color: #ff2733 !important;
  105. text-shadow: 0px -1px 0px #9e0000, -1px 0px 0px #9e0000, 0px 1px 0px #9e0000, 1px 0px 0px #9e0000;
  106. }
  107. /* Selected Heart */
  108. .ui.heart.rating .icon.selected,
  109. .ui.heart.rating .icon.selected.active {
  110. background: transparent !important;
  111. color: #ff2733 !important;
  112. }
  113. /*******************************
  114. States
  115. *******************************/
  116. /*-------------------
  117. Disabled
  118. --------------------*/
  119. /* disabled rating */
  120. .ui.disabled.rating .icon {
  121. cursor: default;
  122. }
  123. /*-------------------
  124. User Interactive
  125. --------------------*/
  126. /* Selected Rating */
  127. .ui.rating.selected .active.icon {
  128. opacity: 0.5;
  129. }
  130. .ui.rating.selected .icon.selected,
  131. .ui.rating .icon.selected {
  132. opacity: 1;
  133. }
  134. /*******************************
  135. Variations
  136. *******************************/
  137. .ui.mini.rating .icon {
  138. font-size: 0.7rem;
  139. }
  140. .ui.tiny.rating .icon {
  141. font-size: 0.8rem;
  142. }
  143. .ui.small.rating .icon {
  144. font-size: 0.875rem;
  145. }
  146. .ui.rating .icon {
  147. font-size: 1rem;
  148. }
  149. .ui.large.rating .icon {
  150. font-size: 1.1rem;
  151. }
  152. .ui.huge.rating .icon {
  153. font-size: 1.5rem;
  154. }
  155. .ui.massive.rating .icon {
  156. font-size: 2rem;
  157. }
  158. /*******************************
  159. Theme Overrides
  160. *******************************/
  161. @font-face {
  162. font-family: 'Rating';
  163. src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjCBsAAAC8AAAAYGNtYXCj2pm8AAABHAAAAKRnYXNwAAAAEAAAAcAAAAAIZ2x5ZlJbXMYAAAHIAAARnGhlYWQBGAe5AAATZAAAADZoaGVhA+IB/QAAE5wAAAAkaG10eCzgAEMAABPAAAAAcGxvY2EwXCxOAAAUMAAAADptYXhwACIAnAAAFGwAAAAgbmFtZfC1n04AABSMAAABPHBvc3QAAwAAAAAVyAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAAAAAAAABAAADxZQHg/+D/4AHgACAAAAABAAAAAAAAAAAAAAAgAAAAAAACAAAAAwAAABQAAwABAAAAFAAEAJAAAAAgACAABAAAAAEAIOYF8AbwDfAj8C7wbvBw8Irwl/Cc8SPxZf/9//8AAAAAACDmAPAE8AzwI/Au8G7wcPCH8JfwnPEj8WT//f//AAH/4xoEEAYQAQ/sD+IPow+iD4wPgA98DvYOtgADAAEAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAAABAAH//wAPAAEAAAAAAAAAAAACAAA3OQEAAAAAAQAAAAAAAAAAAAIAADc5AQAAAAABAAAAAAAAAAAAAgAANzkBAAAAAAIAAP/tAgAB0wAKABUAAAEvAQ8BFwc3Fyc3BQc3Jz8BHwEHFycCALFPT7GAHp6eHoD/AHAWW304OH1bFnABGR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Bh0WKBcXBgcMDAoLDxIHBQYGBQcIBQYGBQgSAQEBAQICAQEDAgEULwgIBQoLCgsJDhQHCQk
  164. font-weight: normal;
  165. font-style: normal;
  166. }
  167. .ui.rating .icon {
  168. font-family: 'Rating';
  169. line-height: 1;
  170. -webkit-backface-visibility: hidden;
  171. backface-visibility: hidden;
  172. font-weight: normal;
  173. font-style: normal;
  174. text-align: center;
  175. }
  176. /* Empty Star */
  177. .ui.rating .icon:before {
  178. content: '\f006';
  179. }
  180. /* Active Star */
  181. .ui.rating .active.icon:before {
  182. content: '\f005';
  183. }
  184. /*-------------------
  185. Star
  186. --------------------*/
  187. /* Unfilled Star */
  188. .ui.star.rating .icon:before {
  189. content: '\f005';
  190. }
  191. /* Active Star */
  192. .ui.star.rating .active.icon:before {
  193. content: '\f005';
  194. }
  195. /* Partial */
  196. .ui.star.rating .partial.icon:before {
  197. content: '\f006';
  198. }
  199. .ui.star.rating .partial.icon {
  200. content: '\f005';
  201. }
  202. /*-------------------
  203. Heart
  204. --------------------*/
  205. /* Empty Heart
  206. .ui.heart.rating .icon:before {
  207. content: '\f08a';
  208. }
  209. */
  210. .ui.heart.rating .icon:before {
  211. content: '\f004';
  212. }
  213. /* Active */
  214. .ui.heart.rating .active.icon:before {
  215. content: '\f004';
  216. }
  217. /*******************************
  218. Site Overrides
  219. *******************************/