index.css 12 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467
  1. /* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
  2. /* stylelint-disable no-duplicate-selectors */
  3. /* stylelint-disable */
  4. /* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
  5. @keyframes ant-tree-node-fx-do-not-use {
  6. 0% {
  7. opacity: 0;
  8. }
  9. 100% {
  10. opacity: 1;
  11. }
  12. }
  13. @keyframes antCheckboxEffect {
  14. 0% {
  15. transform: scale(1);
  16. opacity: 0.5;
  17. }
  18. 100% {
  19. transform: scale(1.6);
  20. opacity: 0;
  21. }
  22. }
  23. .ant-select-tree-checkbox {
  24. box-sizing: border-box;
  25. margin: 0;
  26. padding: 0;
  27. color: rgba(0, 0, 0, 0.85);
  28. font-size: 14px;
  29. font-variant: tabular-nums;
  30. line-height: 1.5715;
  31. list-style: none;
  32. font-feature-settings: 'tnum';
  33. position: relative;
  34. top: 0.2em;
  35. line-height: 1;
  36. white-space: nowrap;
  37. outline: none;
  38. cursor: pointer;
  39. }
  40. .ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-inner,
  41. .ant-select-tree-checkbox:hover .ant-select-tree-checkbox-inner,
  42. .ant-select-tree-checkbox-input:focus + .ant-select-tree-checkbox-inner {
  43. border-color: #1890ff;
  44. }
  45. .ant-select-tree-checkbox-checked::after {
  46. position: absolute;
  47. top: 0;
  48. left: 0;
  49. width: 100%;
  50. height: 100%;
  51. border: 1px solid #1890ff;
  52. border-radius: 2px;
  53. visibility: hidden;
  54. animation: antCheckboxEffect 0.36s ease-in-out;
  55. animation-fill-mode: backwards;
  56. content: '';
  57. }
  58. .ant-select-tree-checkbox:hover::after,
  59. .ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox::after {
  60. visibility: visible;
  61. }
  62. .ant-select-tree-checkbox-inner {
  63. position: relative;
  64. top: 0;
  65. left: 0;
  66. display: block;
  67. width: 16px;
  68. height: 16px;
  69. direction: ltr;
  70. background-color: #fff;
  71. border: 1px solid #d9d9d9;
  72. border-radius: 2px;
  73. border-collapse: separate;
  74. transition: all 0.3s;
  75. }
  76. .ant-select-tree-checkbox-inner::after {
  77. position: absolute;
  78. top: 50%;
  79. left: 21.5%;
  80. display: table;
  81. width: 5.71428571px;
  82. height: 9.14285714px;
  83. border: 2px solid #fff;
  84. border-top: 0;
  85. border-left: 0;
  86. transform: rotate(45deg) scale(0) translate(-50%, -50%);
  87. opacity: 0;
  88. transition: all 0.1s cubic-bezier(0.71, -0.46, 0.88, 0.6), opacity 0.1s;
  89. content: ' ';
  90. }
  91. .ant-select-tree-checkbox-input {
  92. position: absolute;
  93. top: 0;
  94. right: 0;
  95. bottom: 0;
  96. left: 0;
  97. z-index: 1;
  98. width: 100%;
  99. height: 100%;
  100. cursor: pointer;
  101. opacity: 0;
  102. }
  103. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {
  104. position: absolute;
  105. display: table;
  106. border: 2px solid #fff;
  107. border-top: 0;
  108. border-left: 0;
  109. transform: rotate(45deg) scale(1) translate(-50%, -50%);
  110. opacity: 1;
  111. transition: all 0.2s cubic-bezier(0.12, 0.4, 0.29, 1.46) 0.1s;
  112. content: ' ';
  113. }
  114. .ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner {
  115. background-color: #1890ff;
  116. border-color: #1890ff;
  117. }
  118. .ant-select-tree-checkbox-disabled {
  119. cursor: not-allowed;
  120. }
  121. .ant-select-tree-checkbox-disabled.ant-select-tree-checkbox-checked .ant-select-tree-checkbox-inner::after {
  122. border-color: rgba(0, 0, 0, 0.25);
  123. animation-name: none;
  124. }
  125. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-input {
  126. cursor: not-allowed;
  127. pointer-events: none;
  128. }
  129. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner {
  130. background-color: #f5f5f5;
  131. border-color: #d9d9d9 !important;
  132. }
  133. .ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {
  134. border-color: #f5f5f5;
  135. border-collapse: separate;
  136. animation-name: none;
  137. }
  138. .ant-select-tree-checkbox-disabled + span {
  139. color: rgba(0, 0, 0, 0.25);
  140. cursor: not-allowed;
  141. }
  142. .ant-select-tree-checkbox-disabled:hover::after,
  143. .ant-select-tree-checkbox-wrapper:hover .ant-select-tree-checkbox-disabled::after {
  144. visibility: hidden;
  145. }
  146. .ant-select-tree-checkbox-wrapper {
  147. box-sizing: border-box;
  148. margin: 0;
  149. padding: 0;
  150. color: rgba(0, 0, 0, 0.85);
  151. font-size: 14px;
  152. font-variant: tabular-nums;
  153. line-height: 1.5715;
  154. list-style: none;
  155. font-feature-settings: 'tnum';
  156. display: inline-flex;
  157. align-items: baseline;
  158. line-height: unset;
  159. cursor: pointer;
  160. }
  161. .ant-select-tree-checkbox-wrapper::after {
  162. display: inline-block;
  163. width: 0;
  164. overflow: hidden;
  165. content: '\a0';
  166. }
  167. .ant-select-tree-checkbox-wrapper.ant-select-tree-checkbox-wrapper-disabled {
  168. cursor: not-allowed;
  169. }
  170. .ant-select-tree-checkbox-wrapper + .ant-select-tree-checkbox-wrapper {
  171. margin-left: 8px;
  172. }
  173. .ant-select-tree-checkbox + span {
  174. padding-right: 8px;
  175. padding-left: 8px;
  176. }
  177. .ant-select-tree-checkbox-group {
  178. box-sizing: border-box;
  179. margin: 0;
  180. padding: 0;
  181. color: rgba(0, 0, 0, 0.85);
  182. font-size: 14px;
  183. font-variant: tabular-nums;
  184. line-height: 1.5715;
  185. list-style: none;
  186. font-feature-settings: 'tnum';
  187. display: inline-block;
  188. }
  189. .ant-select-tree-checkbox-group-item {
  190. margin-right: 8px;
  191. }
  192. .ant-select-tree-checkbox-group-item:last-child {
  193. margin-right: 0;
  194. }
  195. .ant-select-tree-checkbox-group-item + .ant-select-tree-checkbox-group-item {
  196. margin-left: 0;
  197. }
  198. .ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner {
  199. background-color: #fff;
  200. border-color: #d9d9d9;
  201. }
  202. .ant-select-tree-checkbox-indeterminate .ant-select-tree-checkbox-inner::after {
  203. top: 50%;
  204. left: 50%;
  205. width: 8px;
  206. height: 8px;
  207. background-color: #1890ff;
  208. border: 0;
  209. transform: translate(-50%, -50%) scale(1);
  210. opacity: 1;
  211. content: ' ';
  212. }
  213. .ant-select-tree-checkbox-indeterminate.ant-select-tree-checkbox-disabled .ant-select-tree-checkbox-inner::after {
  214. background-color: rgba(0, 0, 0, 0.25);
  215. border-color: rgba(0, 0, 0, 0.25);
  216. }
  217. .ant-tree-select-dropdown {
  218. padding: 8px 4px;
  219. }
  220. .ant-tree-select-dropdown-rtl {
  221. direction: rtl;
  222. }
  223. .ant-tree-select-dropdown .ant-select-tree {
  224. border-radius: 0;
  225. }
  226. .ant-tree-select-dropdown .ant-select-tree-list-holder-inner {
  227. align-items: stretch;
  228. }
  229. .ant-tree-select-dropdown .ant-select-tree-list-holder-inner .ant-select-tree-treenode .ant-select-tree-node-content-wrapper {
  230. flex: auto;
  231. }
  232. .ant-select-tree {
  233. box-sizing: border-box;
  234. margin: 0;
  235. padding: 0;
  236. color: rgba(0, 0, 0, 0.85);
  237. font-size: 14px;
  238. font-variant: tabular-nums;
  239. line-height: 1.5715;
  240. list-style: none;
  241. font-feature-settings: 'tnum';
  242. background: #fff;
  243. border-radius: 2px;
  244. transition: background-color 0.3s;
  245. }
  246. .ant-select-tree-focused:not(:hover):not(.ant-select-tree-active-focused) {
  247. background: #e6f7ff;
  248. }
  249. .ant-select-tree-list-holder-inner {
  250. align-items: flex-start;
  251. }
  252. .ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner {
  253. align-items: stretch;
  254. }
  255. .ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-node-content-wrapper {
  256. flex: auto;
  257. }
  258. .ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-treenode.dragging {
  259. position: relative;
  260. }
  261. .ant-select-tree.ant-select-tree-block-node .ant-select-tree-list-holder-inner .ant-select-tree-treenode.dragging::after {
  262. position: absolute;
  263. top: 0;
  264. right: 0;
  265. bottom: 4px;
  266. left: 0;
  267. border: 1px solid #1890ff;
  268. opacity: 0;
  269. animation: ant-tree-node-fx-do-not-use 0.3s;
  270. animation-play-state: running;
  271. animation-fill-mode: forwards;
  272. content: '';
  273. pointer-events: none;
  274. }
  275. .ant-select-tree .ant-select-tree-treenode {
  276. display: flex;
  277. align-items: flex-start;
  278. padding: 0 0 4px 0;
  279. outline: none;
  280. }
  281. .ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper {
  282. color: rgba(0, 0, 0, 0.25);
  283. cursor: not-allowed;
  284. }
  285. .ant-select-tree .ant-select-tree-treenode-disabled .ant-select-tree-node-content-wrapper:hover {
  286. background: transparent;
  287. }
  288. .ant-select-tree .ant-select-tree-treenode-active .ant-select-tree-node-content-wrapper {
  289. background: #f5f5f5;
  290. }
  291. .ant-select-tree .ant-select-tree-treenode:not(.ant-select-tree .ant-select-tree-treenode-disabled).filter-node .ant-select-tree-title {
  292. color: inherit;
  293. font-weight: 500;
  294. }
  295. .ant-select-tree-indent {
  296. align-self: stretch;
  297. white-space: nowrap;
  298. -webkit-user-select: none;
  299. -moz-user-select: none;
  300. user-select: none;
  301. }
  302. .ant-select-tree-indent-unit {
  303. display: inline-block;
  304. width: 24px;
  305. }
  306. .ant-select-tree-draggable-icon {
  307. width: 24px;
  308. line-height: 24px;
  309. text-align: center;
  310. opacity: 0.2;
  311. transition: opacity 0.3s;
  312. }
  313. .ant-select-tree-treenode:hover .ant-select-tree-draggable-icon {
  314. opacity: 0.45;
  315. }
  316. .ant-select-tree-switcher {
  317. position: relative;
  318. flex: none;
  319. align-self: stretch;
  320. width: 24px;
  321. margin: 0;
  322. line-height: 24px;
  323. text-align: center;
  324. cursor: pointer;
  325. -webkit-user-select: none;
  326. -moz-user-select: none;
  327. user-select: none;
  328. }
  329. .ant-select-tree-switcher .ant-tree-switcher-icon,
  330. .ant-select-tree-switcher .ant-select-tree-switcher-icon {
  331. display: inline-block;
  332. font-size: 10px;
  333. vertical-align: baseline;
  334. }
  335. .ant-select-tree-switcher .ant-tree-switcher-icon svg,
  336. .ant-select-tree-switcher .ant-select-tree-switcher-icon svg {
  337. transition: transform 0.3s;
  338. }
  339. .ant-select-tree-switcher-noop {
  340. cursor: default;
  341. }
  342. .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {
  343. transform: rotate(-90deg);
  344. }
  345. .ant-select-tree-switcher-loading-icon {
  346. color: #1890ff;
  347. }
  348. .ant-select-tree-switcher-leaf-line {
  349. position: relative;
  350. z-index: 1;
  351. display: inline-block;
  352. width: 100%;
  353. height: 100%;
  354. }
  355. .ant-select-tree-switcher-leaf-line::before {
  356. position: absolute;
  357. top: 0;
  358. right: 12px;
  359. bottom: -4px;
  360. margin-left: -1px;
  361. border-right: 1px solid #d9d9d9;
  362. content: ' ';
  363. }
  364. .ant-select-tree-switcher-leaf-line::after {
  365. position: absolute;
  366. width: 10px;
  367. height: 14px;
  368. border-bottom: 1px solid #d9d9d9;
  369. content: ' ';
  370. }
  371. .ant-select-tree-checkbox {
  372. top: initial;
  373. margin: 4px 8px 0 0;
  374. }
  375. .ant-select-tree .ant-select-tree-node-content-wrapper {
  376. position: relative;
  377. z-index: auto;
  378. min-height: 24px;
  379. margin: 0;
  380. padding: 0 4px;
  381. color: inherit;
  382. line-height: 24px;
  383. background: transparent;
  384. border-radius: 2px;
  385. cursor: pointer;
  386. transition: all 0.3s, border 0s, line-height 0s, box-shadow 0s;
  387. }
  388. .ant-select-tree .ant-select-tree-node-content-wrapper:hover {
  389. background-color: #f5f5f5;
  390. }
  391. .ant-select-tree .ant-select-tree-node-content-wrapper.ant-select-tree-node-selected {
  392. background-color: #bae7ff;
  393. }
  394. .ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle {
  395. display: inline-block;
  396. width: 24px;
  397. height: 24px;
  398. line-height: 24px;
  399. text-align: center;
  400. vertical-align: top;
  401. }
  402. .ant-select-tree .ant-select-tree-node-content-wrapper .ant-select-tree-iconEle:empty {
  403. display: none;
  404. }
  405. .ant-select-tree-unselectable .ant-select-tree-node-content-wrapper:hover {
  406. background-color: transparent;
  407. }
  408. .ant-select-tree-node-content-wrapper {
  409. line-height: 24px;
  410. -webkit-user-select: none;
  411. -moz-user-select: none;
  412. user-select: none;
  413. }
  414. .ant-select-tree-node-content-wrapper .ant-tree-drop-indicator {
  415. position: absolute;
  416. z-index: 1;
  417. height: 2px;
  418. background-color: #1890ff;
  419. border-radius: 1px;
  420. pointer-events: none;
  421. }
  422. .ant-select-tree-node-content-wrapper .ant-tree-drop-indicator::after {
  423. position: absolute;
  424. top: -3px;
  425. left: -6px;
  426. width: 8px;
  427. height: 8px;
  428. background-color: transparent;
  429. border: 2px solid #1890ff;
  430. border-radius: 50%;
  431. content: '';
  432. }
  433. .ant-select-tree .ant-select-tree-treenode.drop-container > [draggable] {
  434. box-shadow: 0 0 0 2px #1890ff;
  435. }
  436. .ant-select-tree-show-line .ant-select-tree-indent-unit {
  437. position: relative;
  438. height: 100%;
  439. }
  440. .ant-select-tree-show-line .ant-select-tree-indent-unit::before {
  441. position: absolute;
  442. top: 0;
  443. right: 12px;
  444. bottom: -4px;
  445. border-right: 1px solid #d9d9d9;
  446. content: '';
  447. }
  448. .ant-select-tree-show-line .ant-select-tree-indent-unit-end::before {
  449. display: none;
  450. }
  451. .ant-select-tree-show-line .ant-select-tree-switcher {
  452. background: #fff;
  453. }
  454. .ant-select-tree-show-line .ant-select-tree-switcher-line-icon {
  455. vertical-align: -0.15em;
  456. }
  457. .ant-select-tree .ant-select-tree-treenode-leaf-last .ant-select-tree-switcher-leaf-line::before {
  458. top: auto !important;
  459. bottom: auto !important;
  460. height: 14px !important;
  461. }
  462. .ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher_close .ant-select-tree-switcher-icon svg {
  463. transform: rotate(90deg);
  464. }
  465. .ant-tree-select-dropdown-rtl .ant-select-tree .ant-select-tree-switcher-loading-icon {
  466. transform: scaleY(-1);
  467. }