index.less 1.8 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115
  1. @import '../../app.less';
  2. .g-special-radio-wrapper {
  3. display: inline-block;
  4. .g-special-radio {
  5. display: inline-block;
  6. text-align: center;
  7. line-height: 28px;
  8. background: #ECEDEE;
  9. color: #686872;
  10. padding: 0 10px;
  11. min-width: 60px;
  12. border-radius: 6px;
  13. font-size: 12px;
  14. position: relative;
  15. overflow: hidden;
  16. i {
  17. display: none;
  18. position: absolute;
  19. bottom: 0;
  20. right: 0;
  21. color: #fff;
  22. z-index: 1;
  23. font-size: 10px;
  24. transform: scale(0.8);
  25. }
  26. }
  27. }
  28. .g-special-radio-wrapper.checked {
  29. .g-special-radio {
  30. background: #E7F5FD;
  31. color: #40A8E2;
  32. i {
  33. display: block;
  34. }
  35. }
  36. .g-special-radio::after {
  37. content: '';
  38. display: inline-block;
  39. position: absolute;
  40. bottom: 0;
  41. right: 0;
  42. border: 8px solid;
  43. border-color: transparent #40A8E2 #40A8E2 transparent;
  44. }
  45. }
  46. .g-special-radio-wrapper.theme {
  47. .g-special-radio {
  48. border: 1px solid #ECEDEE;
  49. }
  50. }
  51. .g-special-radio-wrapper.checked.theme {
  52. .g-special-radio {
  53. background: #40A8E2;
  54. color: #fff;
  55. border: 1px solid #40A8E2;
  56. i {
  57. color: #40A8E2;
  58. }
  59. }
  60. .g-special-radio::after {
  61. border-color: transparent #fff #fff transparent;
  62. }
  63. }
  64. .g-special-radio-group {
  65. margin: 0 -7.5px;
  66. .g-special-radio-wrapper {
  67. margin: 0 7.5px;
  68. }
  69. }
  70. .g-radio-wrapper {
  71. display: inline-block;
  72. .g-radio {
  73. display: inline-block;
  74. text-align: center;
  75. line-height: 28px;
  76. background: #ECEDEE;
  77. color: #686872;
  78. padding: 0 18px;
  79. border-radius: 14px;
  80. font-size: 12px;
  81. }
  82. }
  83. .g-radio-wrapper.checked {
  84. .g-radio {
  85. background: #E7F5FD;
  86. color: #40A8E2;
  87. }
  88. }
  89. .g-radio-group {
  90. margin: 0 -7.5px;
  91. .g-radio-wrapper {
  92. margin: 0 7.5px;
  93. }
  94. }