index.wxss 1.7 KB

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