index.wxss 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889
  1. .ant-radio-item {
  2. color: #333333;
  3. margin-right: 8px;
  4. height: 29.8px;
  5. line-height: 29.8px;
  6. display: inline-block;
  7. }
  8. .ant-radio-item-container {
  9. display: flex;
  10. align-items: center;
  11. }
  12. .ant-radio-item-content {
  13. padding-left: 5px;
  14. text-align: left;
  15. }
  16. .ant-radio-item-wrap {
  17. position: relative;
  18. width: 22px;
  19. height: 22px;
  20. flex: 0 0 22px;
  21. }
  22. .ant-radio-item-base {
  23. position: absolute;
  24. top: 0;
  25. left: 0;
  26. width: 100%;
  27. height: 100%;
  28. z-index: 2;
  29. opacity: 0;
  30. }
  31. .ant-radio-item-fake {
  32. position: absolute;
  33. top: 0;
  34. left: 0;
  35. width: 100%;
  36. height: 100%;
  37. overflow: hidden;
  38. pointer-events: none;
  39. display: flex;
  40. justify-content: center;
  41. align-items: center;
  42. }
  43. .ant-radio-item-fake-icon {
  44. background-color: #ffffff;
  45. border: 1px solid #cccccc;
  46. border-radius: 50vh;
  47. width: 100%;
  48. height: 100%;
  49. box-sizing: border-box;
  50. }
  51. .ant-radio-item-fake-checkedIcon {
  52. border-radius: 50vh;
  53. background-color: #1677ff;
  54. width: 100%;
  55. height: 100%;
  56. display: flex;
  57. align-items: center;
  58. justify-content: center;
  59. }
  60. .ant-radio-item-fake-checkedIcon-icon {
  61. color: #ffffff;
  62. font-size: 14px;
  63. }
  64. .ant-radio-item-fake-disbaledIcon {
  65. box-sizing: border-box;
  66. border: 1px solid #cccccc;
  67. border-radius: 50vh;
  68. width: 100%;
  69. height: 100%;
  70. background-color: #f5f5f5;
  71. }
  72. .ant-radio-item-fake-disabledCheckedIcon {
  73. box-sizing: border-box;
  74. border: 1px solid #cccccc;
  75. background-color: #f5f5f5;
  76. border-radius: 50vh;
  77. width: 100%;
  78. height: 100%;
  79. display: flex;
  80. align-items: center;
  81. justify-content: center;
  82. }
  83. .ant-radio-item-fake-disabledCheckedIcon-icon {
  84. color: #cccccc;
  85. font-size: 14px;
  86. }
  87. .ant-radio-item-disabled {
  88. opacity: 0.4;
  89. }