index.wxss 2.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113
  1. .ant-collapse-item-disabled .ant-collapse-item-title-node,
  2. .ant-collapse-item-disabled .ant-collapse-item-brief-container {
  3. opacity: 0.4;
  4. }
  5. .ant-collapse-item-disabled .ant-collapse-item-title:active {
  6. background: #ffffff;
  7. transition: 0s;
  8. }
  9. .ant-collapse-item-line {
  10. display: flex;
  11. flex: 1;
  12. border-bottom: 1px solid #eeeeee;
  13. padding: 0 12px 12px 0;
  14. }
  15. .ant-collapse-item-title {
  16. position: relative;
  17. display: flex;
  18. text-align: justify;
  19. align-items: center;
  20. justify-content: space-between;
  21. line-height: 24px;
  22. padding: 12px 0 0 12px;
  23. font-size: 17px;
  24. color: #333333;
  25. background-color: #ffffff;
  26. transition: all 300ms linear;
  27. box-sizing: border-box;
  28. }
  29. .ant-collapse-item-title-node {
  30. display: flex;
  31. flex: 1;
  32. max-width: 100%;
  33. overflow: hidden;
  34. white-space: nowrap;
  35. text-overflow: ellipsis;
  36. font-size: 17px;
  37. color: #333333;
  38. }
  39. .ant-collapse-item-title-arrow {
  40. color: #cccccc;
  41. }
  42. .ant-collapse-item-title-icon {
  43. width: 22px;
  44. height: 22px;
  45. overflow: hidden;
  46. margin-right: 12px;
  47. }
  48. .ant-collapse-item-title-icon .ant-icon {
  49. font-size: 20px;
  50. }
  51. .ant-collapse-item-title-icon image {
  52. width: 22px;
  53. height: 22px;
  54. }
  55. .ant-collapse-item-title:active {
  56. background-color: #eeeeee;
  57. transition: 0s;
  58. }
  59. .ant-collapse-item-brief-container {
  60. display: flex;
  61. }
  62. .ant-collapse-item-brief-container .ant-icon {
  63. font-size: 20px;
  64. }
  65. .ant-collapse-item-brief-node {
  66. display: flex;
  67. flex: 1;
  68. font-size: 15px;
  69. color: #999999;
  70. margin-right: 4px;
  71. }
  72. .ant-collapse-item-content {
  73. color: #333333;
  74. border-bottom: 1px solid #eeeeee;
  75. padding: 12px 12px 12px 0;
  76. box-sizing: border-box;
  77. }
  78. .ant-collapse-item-content-container {
  79. padding-left: 12px;
  80. background: #ffffff;
  81. }
  82. .ant-collapse-item-content-wrap {
  83. will-change: height;
  84. overflow: hidden;
  85. }
  86. .ant-collapse-item-content-wrap-active {
  87. animation: trigger1 0.2s;
  88. }
  89. .ant-collapse-item-content-wrap-non-active {
  90. animation: trigger2 0.2s;
  91. }
  92. .ant-collapse-item-content-wrap-transition {
  93. transition: height 0.2s ease-in-out;
  94. }
  95. .ant-collapse-item-content-wrap-first {
  96. height: 0;
  97. }
  98. @keyframes trigger1 {
  99. 0% {
  100. content: '';
  101. }
  102. 100% {
  103. content: '';
  104. }
  105. }
  106. @keyframes trigger2 {
  107. 0% {
  108. content: '';
  109. }
  110. 100% {
  111. content: '';
  112. }
  113. }