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.

260 lines
20 KiB

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