123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119 |
- @import '../../app.less';
- .g-special-radio-wrapper {
- float: left;
- min-width: 60px;
- overflow: hidden;
- .g-special-radio {
- display: block;
- text-align: center;
- line-height: 20px;
- padding: 14px 10px;
- background: #ECEDEE;
- color: #686872;
- border-radius: 6px;
- font-size: 18px;
- position: relative;
- overflow: hidden;
- cursor: pointer;
- i {
- display: none;
- position: absolute;
- bottom: 0;
- right: 0;
- color: #fff;
- z-index: 1;
- font-size: 15px;
- transform: scale(0.8);
- }
- }
- }
- .g-special-radio-wrapper.checked {
- .g-special-radio {
- background: #E7F1FD;
- color: #4299FF;
- i {
- display: block;
- }
- }
- .g-special-radio::after {
- content: '';
- display: inline-block;
- position: absolute;
- bottom: 0;
- right: 0;
- border: 13px solid;
- border-color: transparent #4299FF #4299FF transparent;
- }
- }
- .g-special-radio-wrapper.theme {
- .g-special-radio {
- border: 1px solid #ECEDEE;
- }
- }
- .g-special-radio-wrapper.checked.theme {
- .g-special-radio {
- background: #40A8E2;
- color: #fff;
- border: 1px solid #40A8E2;
- i {
- color: #40A8E2;
- }
- }
- .g-special-radio::after {
- border-color: transparent #fff #fff transparent;
- }
- }
- .g-special-radio-group {
- overflow: hidden;
- margin: 0 -7.5px;
- .g-special-radio-wrapper {
- margin: 0 7.5px;
- margin-bottom: 30px;
- }
- }
- .g-radio-wrapper {
- display: inline-block;
- .g-radio {
- display: inline-block;
- text-align: center;
- line-height: 28px;
- background: #ECEDEE;
- color: #686872;
- padding: 0 18px;
- border-radius: 14px;
- font-size: 12px;
- }
- }
- .g-radio-wrapper.checked {
- .g-radio {
- background: #E7F5FD;
- color: #40A8E2;
- }
- }
- .g-radio-group {
- margin: 0 -7.5px;
- .g-radio-wrapper {
- margin: 0 7.5px;
- }
- }
|