antd-reset.less 2.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596
  1. .ten {
  2. .ant-modal-confirm-confirm {
  3. width: 360px !important;
  4. .ant-modal-content {
  5. background: #fff;
  6. border-radius: 20px;
  7. }
  8. .ant-modal-confirm-body > .anticon {
  9. //display: none;
  10. }
  11. .ant-modal-confirm-body > .anticon + .ant-modal-confirm-title + .ant-modal-confirm-content {
  12. margin: 20px auto;
  13. font-size: 16px;
  14. }
  15. .ant-modal-confirm-btns {
  16. float: none;
  17. margin-top: 50px;
  18. text-align: center;
  19. }
  20. }
  21. .ant-select-dropdown {
  22. padding: 0;
  23. border-radius: 10px;
  24. }
  25. .ant-select-item {
  26. line-height: 34px;
  27. border-bottom: 1px solid #f7f7f7;
  28. &:first-child {
  29. border-radius: 10px 10px 0 0;
  30. }
  31. &:last-child {
  32. border-bottom: none;
  33. border-radius: 0 0 10px 10px 0;
  34. }
  35. }
  36. .ant-select-item-option:not(.ant-select-item-option-disabled) {
  37. color: #000;
  38. &:hover {
  39. background: @primary-color;
  40. }
  41. }
  42. .ant-select-item-option-selected:not(.ant-select-item-option-disabled) {
  43. background: @primary-color;
  44. }
  45. .ant-select-arrow {
  46. font-size: 16px;
  47. }
  48. .ant-modal-content {
  49. background: transparent;
  50. box-shadow: none;
  51. }
  52. .ant-modal-body {
  53. padding: 0;
  54. background: transparent;
  55. border-radius: 20px;
  56. }
  57. .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector {
  58. height: 50px;
  59. &:hover {
  60. color: #000;
  61. }
  62. }
  63. .ant-select-single:not(.ant-select-customize-input) .ant-select-selector {
  64. height: 50px;
  65. }
  66. .ant-select:not(.ant-select-customize-input) .ant-select-selector {
  67. border: 1px solid #c4c4c4;
  68. }
  69. .ant-select:not(.ant-select-disabled):hover .ant-select-selector {
  70. border: 1px solid #9c9c9c;
  71. }
  72. .ant-select-focused:not(.ant-select-disabled).ant-select:not(.ant-select-customize-input)
  73. .ant-select-selector {
  74. border: 1px solid #9c9c9c;
  75. box-shadow: none;
  76. }
  77. .ant-select-single.ant-select-lg:not(.ant-select-customize-input) .ant-select-selector::after,
  78. .ant-select-single.ant-select-lg:not(.ant-select-customize-input)
  79. .ant-select-selector
  80. .ant-select-selection-item,
  81. .ant-select-single.ant-select-lg:not(.ant-select-customize-input)
  82. .ant-select-selector
  83. .ant-select-selection-placeholder {
  84. line-height: 48px;
  85. }
  86. .ant-select-single .ant-select-selector .ant-select-selection-item,
  87. .ant-select-single .ant-select-selector .ant-select-selection-placeholder {
  88. line-height: 50px;
  89. }
  90. .ant-select {
  91. color: #4f5055;
  92. }
  93. }