fix.scss 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061626364656667686970717273747576777879808182838485
  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. .ant-form-item {
  11. margin-bottom: 48px;
  12. .ant-form-item-label > label {
  13. font-weight: 600;
  14. font-size: 16px;
  15. line-height: 24px;
  16. }
  17. }
  18. .ant-list.light-round {
  19. padding: 0.4rem;
  20. .ant-list-item {
  21. background-color: #fff; // 每条背景白色
  22. border-radius: 8px; // 圆角
  23. margin-bottom: 0.8rem; // 条目间距
  24. padding: 1rem 1.2rem; // 内边距,可按需调整
  25. transition: box-shadow 0.2s;
  26. border: 1px solid #eeeeee;
  27. &:last-child {
  28. margin-bottom: 0; // 最后一条去掉底边距
  29. }
  30. &:hover {
  31. box-shadow: 0 4px 12px rgba(0, 0, 0, 0.06);
  32. }
  33. }
  34. }
  35. .ant-descriptions.light {
  36. .ant-descriptions-view {
  37. background-color: #fff;
  38. }
  39. }
  40. .ant-upload-list-item-name {
  41. white-space: wrap!important;
  42. }
  43. .dynamic-form-group {
  44. margin-bottom: 10px;
  45. padding: 35px;
  46. .title {
  47. display: inline-block;
  48. border-radius: 10px;
  49. background-color: $border-active-color;
  50. color: $text-color-light;
  51. padding: 3px 6px;
  52. font-size: 13px;
  53. }
  54. }
  55. @media screen and (max-width: 768px) {
  56. .ant-form-item {
  57. margin-bottom: 24px !important;
  58. }
  59. .dynamic-form-group {
  60. padding: 25px;
  61. }
  62. }
  63. @media screen and (max-width: 425px) {
  64. .dynamic-form-group {
  65. padding: 10px;
  66. }
  67. }
  68. //utils-fix
  69. .color-primary {
  70. color: $primary-color!important;;
  71. }
  72. .bg-primary {
  73. background-color: $box-primary-color!important;;
  74. }