index.css 7.6 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272
  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-tooltip {
  4. box-sizing: border-box;
  5. margin: 0;
  6. padding: 0;
  7. color: rgba(0, 0, 0, 0.85);
  8. font-size: 14px;
  9. font-variant: tabular-nums;
  10. line-height: 1.5715;
  11. list-style: none;
  12. font-feature-settings: 'tnum';
  13. position: absolute;
  14. z-index: 1070;
  15. display: block;
  16. width: max-content;
  17. width: intrinsic;
  18. max-width: 250px;
  19. visibility: visible;
  20. }
  21. .ant-tooltip-content {
  22. position: relative;
  23. }
  24. .ant-tooltip-hidden {
  25. display: none;
  26. }
  27. .ant-tooltip-placement-top,
  28. .ant-tooltip-placement-topLeft,
  29. .ant-tooltip-placement-topRight {
  30. padding-bottom: 14.3137085px;
  31. }
  32. .ant-tooltip-placement-right,
  33. .ant-tooltip-placement-rightTop,
  34. .ant-tooltip-placement-rightBottom {
  35. padding-left: 14.3137085px;
  36. }
  37. .ant-tooltip-placement-bottom,
  38. .ant-tooltip-placement-bottomLeft,
  39. .ant-tooltip-placement-bottomRight {
  40. padding-top: 14.3137085px;
  41. }
  42. .ant-tooltip-placement-left,
  43. .ant-tooltip-placement-leftTop,
  44. .ant-tooltip-placement-leftBottom {
  45. padding-right: 14.3137085px;
  46. }
  47. .ant-tooltip-inner {
  48. min-width: 30px;
  49. min-height: 32px;
  50. padding: 6px 8px;
  51. color: #fff;
  52. text-align: left;
  53. text-decoration: none;
  54. word-wrap: break-word;
  55. background-color: rgba(0, 0, 0, 0.75);
  56. border-radius: 2px;
  57. 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);
  58. }
  59. .ant-tooltip-arrow {
  60. position: absolute;
  61. z-index: 2;
  62. display: block;
  63. width: 22px;
  64. height: 22px;
  65. overflow: hidden;
  66. background: transparent;
  67. pointer-events: none;
  68. }
  69. .ant-tooltip-arrow-content {
  70. --antd-arrow-background-color: linear-gradient(to right bottom, rgba(0, 0, 0, 0.65), rgba(0, 0, 0, 0.75));
  71. position: absolute;
  72. top: 0;
  73. right: 0;
  74. bottom: 0;
  75. left: 0;
  76. display: block;
  77. width: 11.3137085px;
  78. height: 11.3137085px;
  79. margin: auto;
  80. content: '';
  81. pointer-events: auto;
  82. border-radius: 0 0 2px;
  83. pointer-events: none;
  84. }
  85. .ant-tooltip-arrow-content::before {
  86. position: absolute;
  87. top: -11.3137085px;
  88. left: -11.3137085px;
  89. width: 33.9411255px;
  90. height: 33.9411255px;
  91. background: var(--antd-arrow-background-color);
  92. background-repeat: no-repeat;
  93. background-position: -10px -10px;
  94. content: '';
  95. clip-path: inset(33% 33%);
  96. 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');
  97. }
  98. .ant-tooltip-placement-top .ant-tooltip-arrow,
  99. .ant-tooltip-placement-topLeft .ant-tooltip-arrow,
  100. .ant-tooltip-placement-topRight .ant-tooltip-arrow {
  101. bottom: 0;
  102. transform: translateY(100%);
  103. }
  104. .ant-tooltip-placement-top .ant-tooltip-arrow-content,
  105. .ant-tooltip-placement-topLeft .ant-tooltip-arrow-content,
  106. .ant-tooltip-placement-topRight .ant-tooltip-arrow-content {
  107. box-shadow: 3px 3px 7px rgba(0, 0, 0, 0.07);
  108. transform: translateY(-11px) rotate(45deg);
  109. }
  110. .ant-tooltip-placement-top .ant-tooltip-arrow {
  111. left: 50%;
  112. transform: translateY(100%) translateX(-50%);
  113. }
  114. .ant-tooltip-placement-topLeft .ant-tooltip-arrow {
  115. left: 13px;
  116. }
  117. .ant-tooltip-placement-topRight .ant-tooltip-arrow {
  118. right: 13px;
  119. }
  120. .ant-tooltip-placement-right .ant-tooltip-arrow,
  121. .ant-tooltip-placement-rightTop .ant-tooltip-arrow,
  122. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
  123. left: 0;
  124. transform: translateX(-100%);
  125. }
  126. .ant-tooltip-placement-right .ant-tooltip-arrow-content,
  127. .ant-tooltip-placement-rightTop .ant-tooltip-arrow-content,
  128. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow-content {
  129. box-shadow: -3px 3px 7px rgba(0, 0, 0, 0.07);
  130. transform: translateX(11px) rotate(135deg);
  131. }
  132. .ant-tooltip-placement-right .ant-tooltip-arrow {
  133. top: 50%;
  134. transform: translateX(-100%) translateY(-50%);
  135. }
  136. .ant-tooltip-placement-rightTop .ant-tooltip-arrow {
  137. top: 5px;
  138. }
  139. .ant-tooltip-placement-rightBottom .ant-tooltip-arrow {
  140. bottom: 5px;
  141. }
  142. .ant-tooltip-placement-left .ant-tooltip-arrow,
  143. .ant-tooltip-placement-leftTop .ant-tooltip-arrow,
  144. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
  145. right: 0;
  146. transform: translateX(100%);
  147. }
  148. .ant-tooltip-placement-left .ant-tooltip-arrow-content,
  149. .ant-tooltip-placement-leftTop .ant-tooltip-arrow-content,
  150. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow-content {
  151. box-shadow: 3px -3px 7px rgba(0, 0, 0, 0.07);
  152. transform: translateX(-11px) rotate(315deg);
  153. }
  154. .ant-tooltip-placement-left .ant-tooltip-arrow {
  155. top: 50%;
  156. transform: translateX(100%) translateY(-50%);
  157. }
  158. .ant-tooltip-placement-leftTop .ant-tooltip-arrow {
  159. top: 5px;
  160. }
  161. .ant-tooltip-placement-leftBottom .ant-tooltip-arrow {
  162. bottom: 5px;
  163. }
  164. .ant-tooltip-placement-bottom .ant-tooltip-arrow,
  165. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow,
  166. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  167. top: 0;
  168. transform: translateY(-100%);
  169. }
  170. .ant-tooltip-placement-bottom .ant-tooltip-arrow-content,
  171. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow-content,
  172. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow-content {
  173. box-shadow: -3px -3px 7px rgba(0, 0, 0, 0.07);
  174. transform: translateY(11px) rotate(225deg);
  175. }
  176. .ant-tooltip-placement-bottom .ant-tooltip-arrow {
  177. left: 50%;
  178. transform: translateY(-100%) translateX(-50%);
  179. }
  180. .ant-tooltip-placement-bottomLeft .ant-tooltip-arrow {
  181. left: 13px;
  182. }
  183. .ant-tooltip-placement-bottomRight .ant-tooltip-arrow {
  184. right: 13px;
  185. }
  186. .ant-tooltip-pink .ant-tooltip-inner {
  187. background-color: #eb2f96;
  188. }
  189. .ant-tooltip-pink .ant-tooltip-arrow-content::before {
  190. background: #eb2f96;
  191. }
  192. .ant-tooltip-magenta .ant-tooltip-inner {
  193. background-color: #eb2f96;
  194. }
  195. .ant-tooltip-magenta .ant-tooltip-arrow-content::before {
  196. background: #eb2f96;
  197. }
  198. .ant-tooltip-red .ant-tooltip-inner {
  199. background-color: #f5222d;
  200. }
  201. .ant-tooltip-red .ant-tooltip-arrow-content::before {
  202. background: #f5222d;
  203. }
  204. .ant-tooltip-volcano .ant-tooltip-inner {
  205. background-color: #fa541c;
  206. }
  207. .ant-tooltip-volcano .ant-tooltip-arrow-content::before {
  208. background: #fa541c;
  209. }
  210. .ant-tooltip-orange .ant-tooltip-inner {
  211. background-color: #fa8c16;
  212. }
  213. .ant-tooltip-orange .ant-tooltip-arrow-content::before {
  214. background: #fa8c16;
  215. }
  216. .ant-tooltip-yellow .ant-tooltip-inner {
  217. background-color: #fadb14;
  218. }
  219. .ant-tooltip-yellow .ant-tooltip-arrow-content::before {
  220. background: #fadb14;
  221. }
  222. .ant-tooltip-gold .ant-tooltip-inner {
  223. background-color: #faad14;
  224. }
  225. .ant-tooltip-gold .ant-tooltip-arrow-content::before {
  226. background: #faad14;
  227. }
  228. .ant-tooltip-cyan .ant-tooltip-inner {
  229. background-color: #13c2c2;
  230. }
  231. .ant-tooltip-cyan .ant-tooltip-arrow-content::before {
  232. background: #13c2c2;
  233. }
  234. .ant-tooltip-lime .ant-tooltip-inner {
  235. background-color: #a0d911;
  236. }
  237. .ant-tooltip-lime .ant-tooltip-arrow-content::before {
  238. background: #a0d911;
  239. }
  240. .ant-tooltip-green .ant-tooltip-inner {
  241. background-color: #52c41a;
  242. }
  243. .ant-tooltip-green .ant-tooltip-arrow-content::before {
  244. background: #52c41a;
  245. }
  246. .ant-tooltip-blue .ant-tooltip-inner {
  247. background-color: #1890ff;
  248. }
  249. .ant-tooltip-blue .ant-tooltip-arrow-content::before {
  250. background: #1890ff;
  251. }
  252. .ant-tooltip-geekblue .ant-tooltip-inner {
  253. background-color: #2f54eb;
  254. }
  255. .ant-tooltip-geekblue .ant-tooltip-arrow-content::before {
  256. background: #2f54eb;
  257. }
  258. .ant-tooltip-purple .ant-tooltip-inner {
  259. background-color: #722ed1;
  260. }
  261. .ant-tooltip-purple .ant-tooltip-arrow-content::before {
  262. background: #722ed1;
  263. }
  264. .ant-tooltip-rtl {
  265. direction: rtl;
  266. }
  267. .ant-tooltip-rtl .ant-tooltip-inner {
  268. text-align: right;
  269. }
  270. .ant-tooltip {
  271. position: relative;
  272. }