fix.scss 2.1 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899
  1. @use "./colors.scss" as *;
  2. .carousel-light {
  3. --vc-nav-color: #fff;
  4. --vc-clr-primary: #fff;
  5. --vc-clr-secondary: #cfcfcfc4;
  6. --vc-pgn-background-color: #cfcfcfc4;
  7. --vc-clr-white: #333333;
  8. --vc-pgn-active-color: var(--vc-clr-primary)
  9. }
  10. .dynamic-form-group {
  11. padding: 90px;
  12. background-color: #fff;
  13. border-radius: 15px;
  14. > h5 {
  15. text-align: center;
  16. }
  17. }
  18. .ant-form-item {
  19. margin-bottom: 48px !important;
  20. .ant-form-item-label > label {
  21. font-weight: 600;
  22. font-size: 1rem;
  23. line-height: 24px;
  24. }
  25. }
  26. .ant-input[disabled] {
  27. color: #000000!important;
  28. }
  29. .ant-select-disabled.ant-select:not(.ant-select-customize-input) .ant-select-selector {
  30. color: #000000!important;
  31. }
  32. .ant-picker .ant-picker-input >input-disabled, .ant-picker .ant-picker-input >input[disabled] {
  33. color: #000000!important;
  34. }
  35. .ant-input-number-disabled .ant-input-number-input, .ant-input-number-readonly .ant-input-number-input {
  36. color: #000000!important;
  37. }
  38. .ant-radio-wrapper-disabled {
  39. color: #000000!important;
  40. }
  41. .ant-checkbox-disabled+span {
  42. color: #000000!important;
  43. }
  44. .ant-list.light-round {
  45. padding: 0.4rem;
  46. .ant-list-item {
  47. background-color: #fff; // 每条背景白色
  48. border-radius: 8px; // 圆角
  49. margin-bottom: 0.8rem; // 条目间距
  50. padding: 1rem 1.2rem; // 内边距,可按需调整
  51. transition: box-shadow 0.2s;
  52. border: 1px solid #eeeeee;
  53. &:last-child {
  54. margin-bottom: 0; // 最后一条去掉底边距
  55. }
  56. &:hover {
  57. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  58. }
  59. }
  60. }
  61. .ant-descriptions.light {
  62. .ant-descriptions-view {
  63. background-color: #fff;
  64. }
  65. }
  66. .ant-upload-list-item-name {
  67. white-space: wrap!important;
  68. word-break: break-all;
  69. max-width: 100%;
  70. max-height: 60px;
  71. overflow: hidden;
  72. overflow-y: scroll!important;
  73. font-size: 1rem;
  74. }
  75. .ant-upload-select-picture-card {
  76. overflow: hidden;
  77. }
  78. @media screen and (max-width: 768px) {
  79. .dynamic-form-group {
  80. padding: 25px;
  81. }
  82. .ant-form-item {
  83. margin-bottom: 24px !important;
  84. }
  85. }
  86. @media screen and (max-width: 425px) {
  87. .dynamic-form-group {
  88. padding: 15px;
  89. }
  90. }