.checkbox-index { display: block; height: initial; } @import "../common/index.acss"; .checkbox-index .van-checkbox { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; overflow: hidden; -webkit-user-select: none; user-select: none; } .checkbox-index .van-checkbox__icon-wrap, .checkbox-index .van-checkbox__label { line-height: 20px; line-height: var(--checkbox-size, 20px); } .checkbox-index .van-checkbox__icon-wrap { -webkit-flex: none; flex: none; } .checkbox-index .van-checkbox__icon { display: -webkit-flex; display: flex; -webkit-align-items: center; align-items: center; -webkit-justify-content: center; justify-content: center; box-sizing: border-box; width: 1em; height: 1em; color: transparent; text-align: center; transition-property: color, border-color, background-color; font-size: 20px; font-size: var(--checkbox-size, 20px); border: 1px solid #c8c9cc; border: 1px solid var(--checkbox-border-color, #c8c9cc); transition-duration: 0.2s; transition-duration: var(--checkbox-transition-duration, 0.2s); } .checkbox-index .van-checkbox__icon--round { border-radius: 100%; } .checkbox-index .van-checkbox__icon--checked { color: #fff; color: var(--white, #fff); background-color: #1989fa; background-color: var(--checkbox-checked-icon-color, #1989fa); border-color: #1989fa; border-color: var(--checkbox-checked-icon-color, #1989fa); } .checkbox-index .van-checkbox__icon--disabled { background-color: #ebedf0; background-color: var(--checkbox-disabled-background-color, #ebedf0); border-color: #c8c9cc; border-color: var(--checkbox-disabled-icon-color, #c8c9cc); } .checkbox-index .van-checkbox__icon--disabled.van-checkbox__icon--checked { color: #c8c9cc; color: var(--checkbox-disabled-icon-color, #c8c9cc); } .checkbox-index .van-checkbox__label { word-wrap: break-word; margin-left: 10px; margin-left: var(--checkbox-label-margin, 10px); color: #323233; color: var(--checkbox-label-color, #323233); } .checkbox-index .van-checkbox__label--left { float: left; margin: 0 10px 0 0; margin: 0 var(--checkbox-label-margin, 10px) 0 0; } .checkbox-index .van-checkbox__label--disabled { color: #c8c9cc; color: var(--checkbox-disabled-label-color, #c8c9cc); } .checkbox-index .van-checkbox__label:empty { margin: 0; }