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.

263 lines
20 KiB

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