rating.css 17 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509
  1. /*!
  2. * # Fomantic-UI - Rating
  3. * http://github.com/fomantic/Fomantic-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: 0;
  22. }
  23. /* Icon */
  24. .ui.rating .icon {
  25. padding: 0;
  26. margin: 0;
  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. line-height: 1;
  39. -webkit-backface-visibility: hidden;
  40. backface-visibility: hidden;
  41. }
  42. /*******************************
  43. Types
  44. *******************************/
  45. /*-------------------
  46. Standard
  47. --------------------*/
  48. /* Inactive Icon */
  49. .ui.rating .icon {
  50. background: transparent;
  51. color: rgba(0, 0, 0, 0.15);
  52. }
  53. /* Active Icon */
  54. .ui.rating .active.icon {
  55. background: transparent;
  56. color: rgba(0, 0, 0, 0.85);
  57. }
  58. /* Partially Active Icon */
  59. .ui.rating .icon.partial.active {
  60. background: -webkit-gradient(linear, left top, right top, from(rgba(0, 0, 0, 0.85)), to(rgba(0, 0, 0, 0.15)));
  61. background: -webkit-linear-gradient(left, rgba(0, 0, 0, 0.85) 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  62. background: linear-gradient(to right, rgba(0, 0, 0, 0.85) 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  63. -webkit-background-clip: text;
  64. background-clip: text;
  65. color: transparent;
  66. }
  67. /* Selected Icon */
  68. .ui.rating .icon.selected,
  69. .ui.rating .icon.selected.active,
  70. .ui.rating .icon.selected.partial.active {
  71. background: transparent;
  72. color: rgba(0, 0, 0, 0.87);
  73. background-clip: unset;
  74. }
  75. /*--------------
  76. Colors
  77. -------------- */
  78. .ui.primary.rating .active.icon {
  79. color: #54C8FF;
  80. text-shadow: 0px -1px 0px #2185D0, -1px 0px 0px #2185D0, 0px 1px 0px #2185D0, 1px 0px 0px #2185D0;
  81. }
  82. .ui.primary.rating .icon.selected,
  83. .ui.primary.rating .icon.selected.active,
  84. .ui.primary.rating .icon.selected.partial.active {
  85. background: inherit;
  86. color: #21b8ff;
  87. text-shadow: 0px -1px 0px #1678c2, -1px 0px 0px #1678c2, 0px 1px 0px #1678c2, 1px 0px 0px #1678c2;
  88. -webkit-text-stroke: unset;
  89. background-clip: unset;
  90. }
  91. .ui.primary.rating .icon.partial.active {
  92. background: -webkit-gradient(linear, left top, right top, from(#54C8FF), to(rgba(0, 0, 0, 0.15)));
  93. background: -webkit-linear-gradient(left, #54C8FF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  94. background: linear-gradient(to right, #54C8FF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  95. text-shadow: none;
  96. -webkit-text-stroke: #2185D0 0.78px;
  97. -webkit-background-clip: text;
  98. background-clip: text;
  99. color: transparent;
  100. }
  101. .ui.secondary.rating .active.icon {
  102. color: #545454;
  103. text-shadow: 0px -1px 0px #1B1C1D, -1px 0px 0px #1B1C1D, 0px 1px 0px #1B1C1D, 1px 0px 0px #1B1C1D;
  104. }
  105. .ui.secondary.rating .icon.selected,
  106. .ui.secondary.rating .icon.selected.active,
  107. .ui.secondary.rating .icon.selected.partial.active {
  108. background: inherit;
  109. color: #6e6e6e;
  110. text-shadow: 0px -1px 0px #27292a, -1px 0px 0px #27292a, 0px 1px 0px #27292a, 1px 0px 0px #27292a;
  111. -webkit-text-stroke: unset;
  112. background-clip: unset;
  113. }
  114. .ui.secondary.rating .icon.partial.active {
  115. background: -webkit-gradient(linear, left top, right top, from(#545454), to(rgba(0, 0, 0, 0.15)));
  116. background: -webkit-linear-gradient(left, #545454 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  117. background: linear-gradient(to right, #545454 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  118. text-shadow: none;
  119. -webkit-text-stroke: #1B1C1D 0.78px;
  120. -webkit-background-clip: text;
  121. background-clip: text;
  122. color: transparent;
  123. }
  124. .ui.red.rating .active.icon {
  125. color: #FF695E;
  126. text-shadow: 0px -1px 0px #DB2828, -1px 0px 0px #DB2828, 0px 1px 0px #DB2828, 1px 0px 0px #DB2828;
  127. }
  128. .ui.red.rating .icon.selected,
  129. .ui.red.rating .icon.selected.active,
  130. .ui.red.rating .icon.selected.partial.active {
  131. background: inherit;
  132. color: #ff392b;
  133. text-shadow: 0px -1px 0px #d01919, -1px 0px 0px #d01919, 0px 1px 0px #d01919, 1px 0px 0px #d01919;
  134. -webkit-text-stroke: unset;
  135. background-clip: unset;
  136. }
  137. .ui.red.rating .icon.partial.active {
  138. background: -webkit-gradient(linear, left top, right top, from(#FF695E), to(rgba(0, 0, 0, 0.15)));
  139. background: -webkit-linear-gradient(left, #FF695E 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  140. background: linear-gradient(to right, #FF695E 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  141. text-shadow: none;
  142. -webkit-text-stroke: #DB2828 0.78px;
  143. -webkit-background-clip: text;
  144. background-clip: text;
  145. color: transparent;
  146. }
  147. .ui.orange.rating .active.icon {
  148. color: #FF851B;
  149. text-shadow: 0px -1px 0px #F2711C, -1px 0px 0px #F2711C, 0px 1px 0px #F2711C, 1px 0px 0px #F2711C;
  150. }
  151. .ui.orange.rating .icon.selected,
  152. .ui.orange.rating .icon.selected.active,
  153. .ui.orange.rating .icon.selected.partial.active {
  154. background: inherit;
  155. color: #e76b00;
  156. text-shadow: 0px -1px 0px #f26202, -1px 0px 0px #f26202, 0px 1px 0px #f26202, 1px 0px 0px #f26202;
  157. -webkit-text-stroke: unset;
  158. background-clip: unset;
  159. }
  160. .ui.orange.rating .icon.partial.active {
  161. background: -webkit-gradient(linear, left top, right top, from(#FF851B), to(rgba(0, 0, 0, 0.15)));
  162. background: -webkit-linear-gradient(left, #FF851B 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  163. background: linear-gradient(to right, #FF851B 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  164. text-shadow: none;
  165. -webkit-text-stroke: #F2711C 0.78px;
  166. -webkit-background-clip: text;
  167. background-clip: text;
  168. color: transparent;
  169. }
  170. .ui.yellow.rating .active.icon {
  171. color: #FFE21F;
  172. text-shadow: 0px -1px 0px #FBBD08, -1px 0px 0px #FBBD08, 0px 1px 0px #FBBD08, 1px 0px 0px #FBBD08;
  173. }
  174. .ui.yellow.rating .icon.selected,
  175. .ui.yellow.rating .icon.selected.active,
  176. .ui.yellow.rating .icon.selected.partial.active {
  177. background: inherit;
  178. color: #ebcd00;
  179. text-shadow: 0px -1px 0px #eaae00, -1px 0px 0px #eaae00, 0px 1px 0px #eaae00, 1px 0px 0px #eaae00;
  180. -webkit-text-stroke: unset;
  181. background-clip: unset;
  182. }
  183. .ui.yellow.rating .icon.partial.active {
  184. background: -webkit-gradient(linear, left top, right top, from(#FFE21F), to(rgba(0, 0, 0, 0.15)));
  185. background: -webkit-linear-gradient(left, #FFE21F 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  186. background: linear-gradient(to right, #FFE21F 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  187. text-shadow: none;
  188. -webkit-text-stroke: #FBBD08 0.78px;
  189. -webkit-background-clip: text;
  190. background-clip: text;
  191. color: transparent;
  192. }
  193. .ui.olive.rating .active.icon {
  194. color: #D9E778;
  195. text-shadow: 0px -1px 0px #B5CC18, -1px 0px 0px #B5CC18, 0px 1px 0px #B5CC18, 1px 0px 0px #B5CC18;
  196. }
  197. .ui.olive.rating .icon.selected,
  198. .ui.olive.rating .icon.selected.active,
  199. .ui.olive.rating .icon.selected.partial.active {
  200. background: inherit;
  201. color: #d2e745;
  202. text-shadow: 0px -1px 0px #a7bd0d, -1px 0px 0px #a7bd0d, 0px 1px 0px #a7bd0d, 1px 0px 0px #a7bd0d;
  203. -webkit-text-stroke: unset;
  204. background-clip: unset;
  205. }
  206. .ui.olive.rating .icon.partial.active {
  207. background: -webkit-gradient(linear, left top, right top, from(#D9E778), to(rgba(0, 0, 0, 0.15)));
  208. background: -webkit-linear-gradient(left, #D9E778 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  209. background: linear-gradient(to right, #D9E778 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  210. text-shadow: none;
  211. -webkit-text-stroke: #B5CC18 0.78px;
  212. -webkit-background-clip: text;
  213. background-clip: text;
  214. color: transparent;
  215. }
  216. .ui.green.rating .active.icon {
  217. color: #2ECC40;
  218. text-shadow: 0px -1px 0px #21BA45, -1px 0px 0px #21BA45, 0px 1px 0px #21BA45, 1px 0px 0px #21BA45;
  219. }
  220. .ui.green.rating .icon.selected,
  221. .ui.green.rating .icon.selected.active,
  222. .ui.green.rating .icon.selected.partial.active {
  223. background: inherit;
  224. color: #1ea92e;
  225. text-shadow: 0px -1px 0px #16ab39, -1px 0px 0px #16ab39, 0px 1px 0px #16ab39, 1px 0px 0px #16ab39;
  226. -webkit-text-stroke: unset;
  227. background-clip: unset;
  228. }
  229. .ui.green.rating .icon.partial.active {
  230. background: -webkit-gradient(linear, left top, right top, from(#2ECC40), to(rgba(0, 0, 0, 0.15)));
  231. background: -webkit-linear-gradient(left, #2ECC40 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  232. background: linear-gradient(to right, #2ECC40 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  233. text-shadow: none;
  234. -webkit-text-stroke: #21BA45 0.78px;
  235. -webkit-background-clip: text;
  236. background-clip: text;
  237. color: transparent;
  238. }
  239. .ui.teal.rating .active.icon {
  240. color: #6DFFFF;
  241. text-shadow: 0px -1px 0px #00B5AD, -1px 0px 0px #00B5AD, 0px 1px 0px #00B5AD, 1px 0px 0px #00B5AD;
  242. }
  243. .ui.teal.rating .icon.selected,
  244. .ui.teal.rating .icon.selected.active,
  245. .ui.teal.rating .icon.selected.partial.active {
  246. background: inherit;
  247. color: #3affff;
  248. text-shadow: 0px -1px 0px #009c95, -1px 0px 0px #009c95, 0px 1px 0px #009c95, 1px 0px 0px #009c95;
  249. -webkit-text-stroke: unset;
  250. background-clip: unset;
  251. }
  252. .ui.teal.rating .icon.partial.active {
  253. background: -webkit-gradient(linear, left top, right top, from(#6DFFFF), to(rgba(0, 0, 0, 0.15)));
  254. background: -webkit-linear-gradient(left, #6DFFFF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  255. background: linear-gradient(to right, #6DFFFF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  256. text-shadow: none;
  257. -webkit-text-stroke: #00B5AD 0.78px;
  258. -webkit-background-clip: text;
  259. background-clip: text;
  260. color: transparent;
  261. }
  262. .ui.blue.rating .active.icon {
  263. color: #54C8FF;
  264. text-shadow: 0px -1px 0px #2185D0, -1px 0px 0px #2185D0, 0px 1px 0px #2185D0, 1px 0px 0px #2185D0;
  265. }
  266. .ui.blue.rating .icon.selected,
  267. .ui.blue.rating .icon.selected.active,
  268. .ui.blue.rating .icon.selected.partial.active {
  269. background: inherit;
  270. color: #21b8ff;
  271. text-shadow: 0px -1px 0px #1678c2, -1px 0px 0px #1678c2, 0px 1px 0px #1678c2, 1px 0px 0px #1678c2;
  272. -webkit-text-stroke: unset;
  273. background-clip: unset;
  274. }
  275. .ui.blue.rating .icon.partial.active {
  276. background: -webkit-gradient(linear, left top, right top, from(#54C8FF), to(rgba(0, 0, 0, 0.15)));
  277. background: -webkit-linear-gradient(left, #54C8FF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  278. background: linear-gradient(to right, #54C8FF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  279. text-shadow: none;
  280. -webkit-text-stroke: #2185D0 0.78px;
  281. -webkit-background-clip: text;
  282. background-clip: text;
  283. color: transparent;
  284. }
  285. .ui.violet.rating .active.icon {
  286. color: #A291FB;
  287. text-shadow: 0px -1px 0px #6435C9, -1px 0px 0px #6435C9, 0px 1px 0px #6435C9, 1px 0px 0px #6435C9;
  288. }
  289. .ui.violet.rating .icon.selected,
  290. .ui.violet.rating .icon.selected.active,
  291. .ui.violet.rating .icon.selected.partial.active {
  292. background: inherit;
  293. color: #745aff;
  294. text-shadow: 0px -1px 0px #5829bb, -1px 0px 0px #5829bb, 0px 1px 0px #5829bb, 1px 0px 0px #5829bb;
  295. -webkit-text-stroke: unset;
  296. background-clip: unset;
  297. }
  298. .ui.violet.rating .icon.partial.active {
  299. background: -webkit-gradient(linear, left top, right top, from(#A291FB), to(rgba(0, 0, 0, 0.15)));
  300. background: -webkit-linear-gradient(left, #A291FB 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  301. background: linear-gradient(to right, #A291FB 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  302. text-shadow: none;
  303. -webkit-text-stroke: #6435C9 0.78px;
  304. -webkit-background-clip: text;
  305. background-clip: text;
  306. color: transparent;
  307. }
  308. .ui.purple.rating .active.icon {
  309. color: #DC73FF;
  310. text-shadow: 0px -1px 0px #A333C8, -1px 0px 0px #A333C8, 0px 1px 0px #A333C8, 1px 0px 0px #A333C8;
  311. }
  312. .ui.purple.rating .icon.selected,
  313. .ui.purple.rating .icon.selected.active,
  314. .ui.purple.rating .icon.selected.partial.active {
  315. background: inherit;
  316. color: #cf40ff;
  317. text-shadow: 0px -1px 0px #9627ba, -1px 0px 0px #9627ba, 0px 1px 0px #9627ba, 1px 0px 0px #9627ba;
  318. -webkit-text-stroke: unset;
  319. background-clip: unset;
  320. }
  321. .ui.purple.rating .icon.partial.active {
  322. background: -webkit-gradient(linear, left top, right top, from(#DC73FF), to(rgba(0, 0, 0, 0.15)));
  323. background: -webkit-linear-gradient(left, #DC73FF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  324. background: linear-gradient(to right, #DC73FF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  325. text-shadow: none;
  326. -webkit-text-stroke: #A333C8 0.78px;
  327. -webkit-background-clip: text;
  328. background-clip: text;
  329. color: transparent;
  330. }
  331. .ui.pink.rating .active.icon {
  332. color: #FF8EDF;
  333. text-shadow: 0px -1px 0px #E03997, -1px 0px 0px #E03997, 0px 1px 0px #E03997, 1px 0px 0px #E03997;
  334. }
  335. .ui.pink.rating .icon.selected,
  336. .ui.pink.rating .icon.selected.active,
  337. .ui.pink.rating .icon.selected.partial.active {
  338. background: inherit;
  339. color: #ff5bd1;
  340. text-shadow: 0px -1px 0px #e61a8d, -1px 0px 0px #e61a8d, 0px 1px 0px #e61a8d, 1px 0px 0px #e61a8d;
  341. -webkit-text-stroke: unset;
  342. background-clip: unset;
  343. }
  344. .ui.pink.rating .icon.partial.active {
  345. background: -webkit-gradient(linear, left top, right top, from(#FF8EDF), to(rgba(0, 0, 0, 0.15)));
  346. background: -webkit-linear-gradient(left, #FF8EDF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  347. background: linear-gradient(to right, #FF8EDF 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  348. text-shadow: none;
  349. -webkit-text-stroke: #E03997 0.78px;
  350. -webkit-background-clip: text;
  351. background-clip: text;
  352. color: transparent;
  353. }
  354. .ui.brown.rating .active.icon {
  355. color: #D67C1C;
  356. text-shadow: 0px -1px 0px #A5673F, -1px 0px 0px #A5673F, 0px 1px 0px #A5673F, 1px 0px 0px #A5673F;
  357. }
  358. .ui.brown.rating .icon.selected,
  359. .ui.brown.rating .icon.selected.active,
  360. .ui.brown.rating .icon.selected.partial.active {
  361. background: inherit;
  362. color: #b0620f;
  363. text-shadow: 0px -1px 0px #975b33, -1px 0px 0px #975b33, 0px 1px 0px #975b33, 1px 0px 0px #975b33;
  364. -webkit-text-stroke: unset;
  365. background-clip: unset;
  366. }
  367. .ui.brown.rating .icon.partial.active {
  368. background: -webkit-gradient(linear, left top, right top, from(#D67C1C), to(rgba(0, 0, 0, 0.15)));
  369. background: -webkit-linear-gradient(left, #D67C1C 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  370. background: linear-gradient(to right, #D67C1C 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  371. text-shadow: none;
  372. -webkit-text-stroke: #A5673F 0.78px;
  373. -webkit-background-clip: text;
  374. background-clip: text;
  375. color: transparent;
  376. }
  377. .ui.grey.rating .active.icon {
  378. color: #DCDDDE;
  379. text-shadow: 0px -1px 0px #767676, -1px 0px 0px #767676, 0px 1px 0px #767676, 1px 0px 0px #767676;
  380. }
  381. .ui.grey.rating .icon.selected,
  382. .ui.grey.rating .icon.selected.active,
  383. .ui.grey.rating .icon.selected.partial.active {
  384. background: inherit;
  385. color: #c2c4c5;
  386. text-shadow: 0px -1px 0px #838383, -1px 0px 0px #838383, 0px 1px 0px #838383, 1px 0px 0px #838383;
  387. -webkit-text-stroke: unset;
  388. background-clip: unset;
  389. }
  390. .ui.grey.rating .icon.partial.active {
  391. background: -webkit-gradient(linear, left top, right top, from(#DCDDDE), to(rgba(0, 0, 0, 0.15)));
  392. background: -webkit-linear-gradient(left, #DCDDDE 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  393. background: linear-gradient(to right, #DCDDDE 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  394. text-shadow: none;
  395. -webkit-text-stroke: #767676 0.78px;
  396. -webkit-background-clip: text;
  397. background-clip: text;
  398. color: transparent;
  399. }
  400. .ui.black.rating .active.icon {
  401. color: #545454;
  402. text-shadow: 0px -1px 0px #1B1C1D, -1px 0px 0px #1B1C1D, 0px 1px 0px #1B1C1D, 1px 0px 0px #1B1C1D;
  403. }
  404. .ui.black.rating .icon.selected,
  405. .ui.black.rating .icon.selected.active,
  406. .ui.black.rating .icon.selected.partial.active {
  407. background: inherit;
  408. color: #000000;
  409. text-shadow: 0px -1px 0px #27292a, -1px 0px 0px #27292a, 0px 1px 0px #27292a, 1px 0px 0px #27292a;
  410. -webkit-text-stroke: unset;
  411. background-clip: unset;
  412. }
  413. .ui.black.rating .icon.partial.active {
  414. background: -webkit-gradient(linear, left top, right top, from(#545454), to(rgba(0, 0, 0, 0.15)));
  415. background: -webkit-linear-gradient(left, #545454 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  416. background: linear-gradient(to right, #545454 0% var(--full), rgba(0, 0, 0, 0.15) var(--full) 100%);
  417. text-shadow: none;
  418. -webkit-text-stroke: #1B1C1D 0.78px;
  419. -webkit-background-clip: text;
  420. background-clip: text;
  421. color: transparent;
  422. }
  423. /*******************************
  424. States
  425. *******************************/
  426. /*-------------------
  427. Disabled
  428. --------------------*/
  429. /* disabled rating */
  430. .ui.disabled.rating .icon {
  431. cursor: default;
  432. }
  433. /*-------------------
  434. User Interactive
  435. --------------------*/
  436. /* Selected Rating */
  437. .ui.rating.selected .active.icon {
  438. opacity: 1;
  439. }
  440. .ui.rating.selected .icon.selected,
  441. .ui.rating .icon.selected {
  442. opacity: 1;
  443. }
  444. /*******************************
  445. Variations
  446. *******************************/
  447. .ui.rating {
  448. font-size: 1rem;
  449. }
  450. .ui.mini.rating {
  451. font-size: 0.78571429rem;
  452. }
  453. .ui.tiny.rating {
  454. font-size: 0.85714286rem;
  455. }
  456. .ui.small.rating {
  457. font-size: 0.92857143rem;
  458. }
  459. .ui.large.rating {
  460. font-size: 1.14285714rem;
  461. }
  462. .ui.big.rating {
  463. font-size: 1.28571429rem;
  464. }
  465. .ui.huge.rating {
  466. font-size: 1.42857143rem;
  467. }
  468. .ui.massive.rating {
  469. font-size: 2rem;
  470. }
  471. /*******************************
  472. Theme Overrides
  473. *******************************/
  474. /*******************************
  475. Site Overrides
  476. *******************************/