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.

262 lines
19 KiB

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