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.

258 lines
20 KiB

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