UNPKG

meri-design-dev

Version:

基于vue框架的ui库

79 lines (63 loc) 1.47 kB
/*! * @meri-design-dev v0.0.13 * (c) 2019-2020 wangyongcun * Released under the MIT License. * 2024-04-29 11:26:20 */ .p-radio display: inline-block cursor: pointer .p-radio + .p-radio margin-left: 8px .p-radio .p-radio-box position: relative display: inline-block vertical-align: middle margin-right: 4px border-width: 1px border-style: solid border-color: transparent border-radius: 8px width: 16px height: 16px transition: all .3s .p-radio .p-radio-box:hover box-shadow: 0 0 4px 0 rgba(78,131,253,0.4) .p-radio .p-radio-box::after position: absolute background: none transition: all .2s ease-in-out transform: scale(0) z-index: 1 content: '' .p-radio .p-radio-uncheck background-color: $theme border-color: $grey-400 .p-radio .p-radio-uncheck:hover border-color: $blue-500 .p-radio .p-radio-checked background-color: $theme border-color: $blue-500 .p-radio .p-radio-checked::after top: 3px left: 3px background-color: $blue-500 border-radius: 4px width: 8px height: 8px transform: scale(1) .p-radio .p-radio-text vertical-align: middle color: $grey-900 font-size: 14px user-select: none .p-radio-disabled cursor: not-allowed .p-radio-disabled > i pointer-events: none .p-radio-disabled .p-radio-uncheck background-color: $grey-300 .p-radio-disabled .p-radio-checked border-color: $grey-400 .p-radio-disabled .p-radio-checked:after background-color: $grey-400