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.

274 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
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
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
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. -webkit-transition: opacity 0.1s ease, background 0.1s ease, text-shadow 0.1s ease, color 0.1s ease;
  48. transition: opacity 0.1s ease, background 0.1s ease, text-shadow 0.1s ease, color 0.1s ease;
  49. }
  50. /*******************************
  51. Types
  52. *******************************/
  53. /*-------------------
  54. Standard
  55. --------------------*/
  56. /* Inactive Icon */
  57. .ui.rating .icon {
  58. background: transparent;
  59. color: rgba(0, 0, 0, 0.15);
  60. }
  61. /* Active Icon */
  62. .ui.rating .active.icon {
  63. background: transparent;
  64. color: rgba(0, 0, 0, 0.85);
  65. }
  66. /* Selected Icon */
  67. .ui.rating .icon.selected,
  68. .ui.rating .icon.selected.active {
  69. background: transparent;
  70. color: rgba(0, 0, 0, 0.87);
  71. }
  72. /*-------------------
  73. Star
  74. --------------------*/
  75. /* Inactive */
  76. .ui.star.rating .icon {
  77. width: 1.25em;
  78. height: auto;
  79. background: transparent;
  80. color: rgba(0, 0, 0, 0.15);
  81. text-shadow: none;
  82. }
  83. /* Active Star */
  84. .ui.star.rating .active.icon {
  85. background: transparent !important;
  86. color: #ffe623 !important;
  87. text-shadow: 0px -1px 0px #ddc507, -1px 0px 0px #ddc507, 0px 1px 0px #ddc507, 1px 0px 0px #ddc507 !important;
  88. }
  89. /* Selected Star */
  90. .ui.star.rating .icon.selected,
  91. .ui.star.rating .icon.selected.active {
  92. background: transparent !important;
  93. color: #ffcc00 !important;
  94. text-shadow: 0px -1px 0px #e6a200, -1px 0px 0px #e6a200, 0px 1px 0px #e6a200, 1px 0px 0px #e6a200 !important;
  95. }
  96. /*-------------------
  97. Heart
  98. --------------------*/
  99. .ui.heart.rating .icon {
  100. width: 1.4em;
  101. height: auto;
  102. background: transparent;
  103. color: rgba(0, 0, 0, 0.15);
  104. text-shadow: none !important;
  105. }
  106. /* Active Heart */
  107. .ui.heart.rating .active.icon {
  108. background: transparent !important;
  109. color: #ff6d75 !important;
  110. text-shadow: 0px -1px 0px #cd0707, -1px 0px 0px #cd0707, 0px 1px 0px #cd0707, 1px 0px 0px #cd0707 !important;
  111. }
  112. /* Selected Heart */
  113. .ui.heart.rating .icon.selected,
  114. .ui.heart.rating .icon.selected.active {
  115. background: transparent !important;
  116. color: #ff3000 !important;
  117. text-shadow: 0px -1px 0px #aa0101, -1px 0px 0px #aa0101, 0px 1px 0px #aa0101, 1px 0px 0px #aa0101 !important;
  118. }
  119. /*******************************
  120. States
  121. *******************************/
  122. /*-------------------
  123. Disabled
  124. --------------------*/
  125. /* disabled rating */
  126. .ui.disabled.rating .icon {
  127. cursor: default;
  128. }
  129. /*-------------------
  130. User Interactive
  131. --------------------*/
  132. /* Selected Rating */
  133. .ui.rating.selected .active.icon {
  134. opacity: 1;
  135. }
  136. .ui.rating.selected .icon.selected,
  137. .ui.rating .icon.selected {
  138. opacity: 1;
  139. }
  140. /*******************************
  141. Variations
  142. *******************************/
  143. .ui.mini.rating .icon {
  144. font-size: 0.71428571rem;
  145. }
  146. .ui.tiny.rating .icon {
  147. font-size: 0.85714286rem;
  148. }
  149. .ui.small.rating .icon {
  150. font-size: 0.92857143rem;
  151. }
  152. .ui.rating .icon {
  153. font-size: 1rem;
  154. }
  155. .ui.large.rating .icon {
  156. font-size: 1.14285714rem;
  157. }
  158. .ui.huge.rating .icon {
  159. font-size: 1.42857143rem;
  160. }
  161. .ui.massive.rating .icon {
  162. font-size: 2rem;
  163. }
  164. /*******************************
  165. Theme Overrides
  166. *******************************/
  167. @font-face {
  168. font-family: 'Rating';
  169. src: url(data:application/x-font-ttf;charset=utf-8;base64,AAEAAAALAIAAAwAwT1MvMggjCBsAAAC8AAAAYGNtYXCj2pm8AAABHAAAAKRnYXNwAAAAEAAAAcAAAAAIZ2x5ZlJbXMYAAAHIAAARnGhlYWQBGAe5AAATZAAAADZoaGVhA+IB/QAAE5wAAAAkaG10eCzgAEMAABPAAAAAcGxvY2EwXCxOAAAUMAAAADptYXhwACIAnAAAFGwAAAAgbmFtZfC1n04AABSMAAABPHBvc3QAAwAAAAAVyAAAACAAAwIAAZAABQAAAUwBZgAAAEcBTAFmAAAA9QAZAIQAAAAAAAAAAAAAAAAAAAABEAAAAAAAAAAAAAAA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IA8AAAMAAAAAAbcB2wA5AEoAlAAANzU0NzY7ATY3Njc2NzY3Njc2MzIXFhcWFRQHMzIXFhUUBxYVFAcUFRQHFgcGKwEiJyYnJisBIicmNTcUFxYzMjc2NTQnJiMiBwYVFzMyFxYXFhcWFxYXFhcWOwEyNTQnNjc2NTQnNjU0JyYnNjc2NTQnJisBNDc2NTQnJiMGBwYHBgcGBwYHBgcGBwYHBgcGBwYrARUACwoQTgodEQ4GBAMFBgwLDxgTEwoKDjMdFhYOAgoRARkZKCUbGxsjIQZSEAoLJQUFCAcGBQUGBwgFBUkJBAUFBAQHBwMDBwcCPCUjNwIJBQUFDwMDBAkGBgsLDmUODgoJGwgDAwYFDAYQAQUGAwQGBgYFBgUGBgQJSbcPCwsGJhUPCBERExMMCgkJFBQhGxwWFR4ZFQoKFhMGBh0WKBcXBgcMDAoLDxIHBQYGBQcIBQYGBQgSAQEBAQICAQEDAgEULwgIBQoLCgsJDhQHCQk
  170. font-weight: normal;
  171. font-style: normal;
  172. }
  173. .ui.rating .icon {
  174. font-family: 'Rating';
  175. line-height: 1;
  176. -webkit-backface-visibility: hidden;
  177. backface-visibility: hidden;
  178. font-weight: normal;
  179. font-style: normal;
  180. text-align: center;
  181. }
  182. /* Empty Star */
  183. .ui.rating .icon:before {
  184. content: '\f006';
  185. }
  186. /* Active Star */
  187. .ui.rating .active.icon:before {
  188. content: '\f005';
  189. }
  190. /*-------------------
  191. Star
  192. --------------------*/
  193. /* Unfilled Star */
  194. .ui.star.rating .icon:before {
  195. content: '\f005';
  196. }
  197. /* Active Star */
  198. .ui.star.rating .active.icon:before {
  199. content: '\f005';
  200. }
  201. /* Partial */
  202. .ui.star.rating .partial.icon:before {
  203. content: '\f006';
  204. }
  205. .ui.star.rating .partial.icon {
  206. content: '\f005';
  207. }
  208. /*-------------------
  209. Heart
  210. --------------------*/
  211. /* Empty Heart
  212. .ui.heart.rating .icon:before {
  213. content: '\f08a';
  214. }
  215. */
  216. .ui.heart.rating .icon:before {
  217. content: '\f004';
  218. }
  219. /* Active */
  220. .ui.heart.rating .active.icon:before {
  221. content: '\f004';
  222. }
  223. /*******************************
  224. Site Overrides
  225. *******************************/