UNPKG

meri-design-dev

Version:

基于vue框架的ui库

101 lines (83 loc) 2.04 kB
/*! * @meri-design-dev v0.0.13 * (c) 2019-2020 wangyongcun * Released under the MIT License. * 2024-04-29 11:26:20 */ .p-checkbox display: inline-flex align-items: center min-width: 16px min-height: 16px vertical-align: middle cursor: pointer z-index: 1 .p-checkbox + .p-checkbox margin-left: 8px .p-checkbox .p-checkbox-box position: relative vertical-align: middle border-width: 1px border-style: solid border-color: transparent border-radius: 2px width: 16px height: 16px transition: all .3s .p-checkbox .p-checkbox-box:hover box-shadow: 0 0 4px 0 rgba(78,131,253,0.4) .p-checkbox .p-checkbox-box::after position: absolute background: none transition: transform .2s ease-in-out transform: rotate(0) scale(0) z-index: 1 content: '' pointer-events: none .p-checkbox .p-checkbox-uncheck background-color: $theme border-color: $grey-400 .p-checkbox .p-checkbox-uncheck:hover border-color: $blue-500 .p-checkbox .p-checkbox-checked background-color: $blue-500 border-color: $blue-500 .p-checkbox .p-checkbox-checked::after top: 2px left: 5px border-right: 2px solid $white border-bottom: 2px solid $white width: 4px height: 8px transform: rotate(45deg) scale(1) .p-checkbox .p-checkbox-notNull background-color: $blue-500 border-color: $blue-500 .p-checkbox .p-checkbox-notNull::after top: 6px left: 3px background-color: $white width: 8px height: 2px transform: scale(1) .p-checkbox .p-checkbox-text padding-left: 8px width: calc(100% - 16px) color: $grey-900 font-size: 14px overflow: hidden text-overflow: ellipsis white-space: nowrap user-select: none .p-checkbox-disabled cursor: not-allowed .p-checkbox-disabled > i pointer-events: none .p-checkbox-disabled .p-checkbox-uncheck background-color: $grey-300 .p-checkbox-disabled .p-checkbox-checked background-color: $grey-400 border-color: $grey-400 .p-checkbox-disabled .p-checkbox-notNull background-color: $grey-400 border-color: $grey-400