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.

265 lines
20 KiB

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