index.css 9.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. .ant-rate {
  4. box-sizing: border-box;
  5. color: rgba(0, 0, 0, 0.85);
  6. font-size: 14px;
  7. font-variant: tabular-nums;
  8. line-height: 1.5715;
  9. font-feature-settings: 'tnum';
  10. display: inline-block;
  11. margin: 0;
  12. padding: 0;
  13. color: #fadb14;
  14. font-size: 20px;
  15. line-height: unset;
  16. list-style: none;
  17. outline: none;
  18. }
  19. .ant-rate-disabled .ant-rate-star {
  20. cursor: default;
  21. }
  22. .ant-rate-disabled .ant-rate-star > div:hover {
  23. transform: scale(1);
  24. }
  25. .ant-rate-star {
  26. position: relative;
  27. display: inline-block;
  28. color: inherit;
  29. cursor: pointer;
  30. }
  31. .ant-rate-star:not(:last-child) {
  32. margin-right: 8px;
  33. }
  34. .ant-rate-star > div {
  35. transition: all 0.3s, outline 0s;
  36. }
  37. .ant-rate-star > div:hover {
  38. transform: scale(1.1);
  39. }
  40. .ant-rate-star > div:focus {
  41. outline: 0;
  42. }
  43. .ant-rate-star > div:focus-visible {
  44. outline: 1px dashed #fadb14;
  45. transform: scale(1.1);
  46. }
  47. .ant-rate-star-first,
  48. .ant-rate-star-second {
  49. color: #f0f0f0;
  50. transition: all 0.3s;
  51. user-select: none;
  52. }
  53. .ant-rate-star-first .anticon,
  54. .ant-rate-star-second .anticon {
  55. vertical-align: middle;
  56. }
  57. .ant-rate-star-first {
  58. position: absolute;
  59. top: 0;
  60. left: 0;
  61. width: 50%;
  62. height: 100%;
  63. overflow: hidden;
  64. opacity: 0;
  65. }
  66. .ant-rate-star-half .ant-rate-star-first,
  67. .ant-rate-star-half .ant-rate-star-second {
  68. opacity: 1;
  69. }
  70. .ant-rate-star-half .ant-rate-star-first,
  71. .ant-rate-star-full .ant-rate-star-second {
  72. color: inherit;
  73. }
  74. .ant-rate-text {
  75. display: inline-block;
  76. margin: 0 8px;
  77. font-size: 14px;
  78. }
  79. .ant-rate-rtl {
  80. direction: rtl;
  81. }
  82. .ant-rate-rtl .ant-rate-star:not(:last-child) {
  83. margin-right: 0;
  84. margin-left: 8px;
  85. }
  86. .ant-rate-rtl .ant-rate-star-first {
  87. right: 0;
  88. left: auto;
  89. }
  90. .ant-tooltip {
  91. box-sizing: border-box;
  92. margin: 0;
  93. padding: 0;
  94. color: rgba(0, 0, 0, 0.85);
  95. font-size: 14px;
  96. font-variant: tabular-nums;
  97. line-height: 1.5715;
  98. list-style: none;
  99. font-feature-settings: 'tnum';
  100. position: absolute;
  101. z-index: 1070;
  102. display: block;
  103. width: max-content;
  104. width: intrinsic;
  105. max-width: 250px;
  106. visibility: visible;
  107. }
  108. .ant-tooltip-content {
  109. position: relative;
  110. }
  111. .ant-tooltip-hidden {
  112. display: none;
  113. }
  114. .ant-tooltip-placement-top,
  115. .ant-tooltip-placement-topLeft,
  116. .ant-tooltip-placement-topRight {
  117. padding-bottom: 14.3137085px;
  118. }
  119. .ant-tooltip-placement-right,
  120. .ant-tooltip-placement-rightTop,
  121. .ant-tooltip-placement-rightBottom {
  122. padding-left: 14.3137085px;
  123. }
  124. .ant-tooltip-placement-bottom,
  125. .ant-tooltip-placement-bottomLeft,
  126. .ant-tooltip-placement-bottomRight {
  127. padding-top: 14.3137085px;
  128. }
  129. .ant-tooltip-placement-left,
  130. .ant-tooltip-placement-leftTop,
  131. .ant-tooltip-placement-leftBottom {
  132. padding-right: 14.3137085px;
  133. }
  134. .ant-tooltip-inner {
  135. min-width: 30px;
  136. min-height: 32px;
  137. padding: 6px 8px;
  138. color: #fff;
  139. text-align: left;
  140. text-decoration: none;
  141. word-wrap: break-word;
  142. background-color: rgba(0, 0, 0, 0.75);
  143. border-radius: 2px;
  144. box-shadow: 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
  145. }
  146. .ant-tooltip-arrow {
  147. position: absolute;
  148. z-index: 2;
  149. display: block;
  150. width: 22px;
  151. height: 22px;
  152. overflow: hidden;
  153. background: transparent;
  154. pointer-events: none;
  155. }
  156. .ant-tooltip-arrow-content {
  157. --antd-arrow-background-color: linear-gradient(to right bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75));
  158. position: absolute;
  159. top: 0;
  160. right: 0;
  161. bottom: 0;
  162. left: 0;
  163. display: block;
  164. width: 11.3137085px;
  165. height: 11.3137085px;
  166. margin: auto;
  167. content: '';
  168. pointer-events: auto;
  169. border-radius: 0 0 2px;
  170. pointer-events: none;
  171. }
  172. .ant-tooltip-arrow-content::before {
  173. position: absolute;
  174. top: -11.3137085px;
  175. left: -11.3137085px;
  176. width: 33.9411255px;
  177. height: 33.9411255px;
  178. background: var(--antd-arrow-background-color);
  179. background-repeat: no-repeat;
  180. background-position: -10px -10px;
  181. content: '';
  182. clip-path: inset(33% 33%);
  183. clip-path: path('M 9.849242404917499 24.091883092036785 A 5 5 0 0 1 13.384776310850237 22.627416997969522 L 20.627416997969522 22.627416997969522 A 2 2 0 0 0 22.627416997969522 20.627416997969522 L 22.627416997969522 13.384776310850237 A 5 5 0 0 1 24.091883092036785 9.849242404917499 L 23.091883092036785 9.849242404917499 L 9.849242404917499 23.091883092036785 Z');
  184. }
  185. .ant-tooltip-placement-top .ant-tooltip-arrow,
  186. .ant-tooltip-placement-topLeft .ant-tooltip-arrow,
  187. .ant-tooltip-placement-topRight .ant-tooltip-arrow {
  188. bottom: 0;
  189. transform: translateY(100%);
  190. }
  191. .ant-tooltip-placement-top .ant-tooltip-arrow-content,
  192. .ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,
  193. .ant-tooltip-placement-topRight .ant-tooltip-arrow-content {
  194. box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
  195. transform: translateY(-11px) rotate(45deg);
  196. }
  197. .ant-tooltip-placement-top .ant-tooltip-arrow {
  198. left: 50%;
  199. transform: translateY(100%) translateX(-50%);
  200. }
  201. .ant-tooltip-placement-topLeft .ant-tooltip-arrow {
  202. left: 13px;
  203. }
  204. .ant-tooltip-placement-topRight .ant-tooltip-arrow {
  205. right: 13px;
  206. }
  207. .ant-tooltip-placement-right .ant-tooltip-arrow,
  208. .ant-tooltip-placement-rightTop .ant-tooltip-arrow,
  209. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
  210. left: 0;
  211. transform: translateX(-100%);
  212. }
  213. .ant-tooltip-placement-right .ant-tooltip-arrow-content,
  214. .ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,
  215. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content {
  216. box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
  217. transform: translateX(11px) rotate(135deg);
  218. }
  219. .ant-tooltip-placement-right .ant-tooltip-arrow {
  220. top: 50%;
  221. transform: translateX(-100%) translateY(-50%);
  222. }
  223. .ant-tooltip-placement-rightTop .ant-tooltip-arrow {
  224. top: 5px;
  225. }
  226. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
  227. bottom: 5px;
  228. }
  229. .ant-tooltip-placement-left .ant-tooltip-arrow,
  230. .ant-tooltip-placement-leftTop .ant-tooltip-arrow,
  231. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
  232. right: 0;
  233. transform: translateX(100%);
  234. }
  235. .ant-tooltip-placement-left .ant-tooltip-arrow-content,
  236. .ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,
  237. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content {
  238. box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
  239. transform: translateX(-11px) rotate(315deg);
  240. }
  241. .ant-tooltip-placement-left .ant-tooltip-arrow {
  242. top: 50%;
  243. transform: translateX(100%) translateY(-50%);
  244. }
  245. .ant-tooltip-placement-leftTop .ant-tooltip-arrow {
  246. top: 5px;
  247. }
  248. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
  249. bottom: 5px;
  250. }
  251. .ant-tooltip-placement-bottom .ant-tooltip-arrow,
  252. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,
  253. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  254. top: 0;
  255. transform: translateY(-100%);
  256. }
  257. .ant-tooltip-placement-bottom .ant-tooltip-arrow-content,
  258. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,
  259. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content {
  260. box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);
  261. transform: translateY(11px) rotate(225deg);
  262. }
  263. .ant-tooltip-placement-bottom .ant-tooltip-arrow {
  264. left: 50%;
  265. transform: translateY(-100%) translateX(-50%);
  266. }
  267. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {
  268. left: 13px;
  269. }
  270. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  271. right: 13px;
  272. }
  273. .ant-tooltip-pink .ant-tooltip-inner {
  274. background-color: #eb2f96;
  275. }
  276. .ant-tooltip-pink .ant-tooltip-arrow-content::before {
  277. background: #eb2f96;
  278. }
  279. .ant-tooltip-magenta .ant-tooltip-inner {
  280. background-color: #eb2f96;
  281. }
  282. .ant-tooltip-magenta .ant-tooltip-arrow-content::before {
  283. background: #eb2f96;
  284. }
  285. .ant-tooltip-red .ant-tooltip-inner {
  286. background-color: #f5222d;
  287. }
  288. .ant-tooltip-red .ant-tooltip-arrow-content::before {
  289. background: #f5222d;
  290. }
  291. .ant-tooltip-volcano .ant-tooltip-inner {
  292. background-color: #fa541c;
  293. }
  294. .ant-tooltip-volcano .ant-tooltip-arrow-content::before {
  295. background: #fa541c;
  296. }
  297. .ant-tooltip-orange .ant-tooltip-inner {
  298. background-color: #fa8c16;
  299. }
  300. .ant-tooltip-orange .ant-tooltip-arrow-content::before {
  301. background: #fa8c16;
  302. }
  303. .ant-tooltip-yellow .ant-tooltip-inner {
  304. background-color: #fadb14;
  305. }
  306. .ant-tooltip-yellow .ant-tooltip-arrow-content::before {
  307. background: #fadb14;
  308. }
  309. .ant-tooltip-gold .ant-tooltip-inner {
  310. background-color: #faad14;
  311. }
  312. .ant-tooltip-gold .ant-tooltip-arrow-content::before {
  313. background: #faad14;
  314. }
  315. .ant-tooltip-cyan .ant-tooltip-inner {
  316. background-color: #13c2c2;
  317. }
  318. .ant-tooltip-cyan .ant-tooltip-arrow-content::before {
  319. background: #13c2c2;
  320. }
  321. .ant-tooltip-lime .ant-tooltip-inner {
  322. background-color: #a0d911;
  323. }
  324. .ant-tooltip-lime .ant-tooltip-arrow-content::before {
  325. background: #a0d911;
  326. }
  327. .ant-tooltip-green .ant-tooltip-inner {
  328. background-color: #52c41a;
  329. }
  330. .ant-tooltip-green .ant-tooltip-arrow-content::before {
  331. background: #52c41a;
  332. }
  333. .ant-tooltip-blue .ant-tooltip-inner {
  334. background-color: #1890ff;
  335. }
  336. .ant-tooltip-blue .ant-tooltip-arrow-content::before {
  337. background: #1890ff;
  338. }
  339. .ant-tooltip-geekblue .ant-tooltip-inner {
  340. background-color: #2f54eb;
  341. }
  342. .ant-tooltip-geekblue .ant-tooltip-arrow-content::before {
  343. background: #2f54eb;
  344. }
  345. .ant-tooltip-purple .ant-tooltip-inner {
  346. background-color: #722ed1;
  347. }
  348. .ant-tooltip-purple .ant-tooltip-arrow-content::before {
  349. background: #722ed1;
  350. }
  351. .ant-tooltip-rtl {
  352. direction: rtl;
  353. }
  354. .ant-tooltip-rtl .ant-tooltip-inner {
  355. text-align: right;
  356. }
  357. .ant-tooltip {
  358. position: relative;
  359. }