@bic-fe/mds-ui
Version:
A set of enterprise-class Vue UI components.
123 lines (122 loc) • 2.61 kB
CSS
.mds-cascader-zoom-in-top-enter-active,
.mds-cascader-zoom-in-top-leave-active {
opacity: 1;
transform: scaleY(1);
transition: transform 300ms cubic-bezier(0.23, 1, 0.32, 1), opacity 300ms cubic-bezier(0.23, 1, 0.32, 1);
transform-origin: center top;
}
.mds-cascader-zoom-in-top-enter,
.mds-cascader-zoom-in-top-leave-active {
opacity: 0;
transform: scaleY(0);
}
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable declaration-bang-space-before */
/* stylelint-disable declaration-bang-space-before */
.mds-cascader-panel {
display: flex;
background: #fff;
overflow-x: auto;
max-width: 'none';
}
.mds-cascader-panel-level {
border-right: 1px solid #dcdfe6;
min-width: 160px;
min-height: 160px;
overflow: auto;
}
.mds-cascader-panel-level:last-child {
border-right: none;
}
.mds-cascader-panel-empty-wrapper {
display: flex;
justify-content: center;
align-items: center;
height: 100%;
}
.mds-cascader-panel-empty-text {
font-size: 14px;
color: #c0c4cc;
}
.mds-cascader-panel.is-bordered {
border: 1px solid #dcdfe6;
}
.mds-cascader-panel:after {
content: "";
display: block;
clear: both;
}
.mds-cascader-option {
display: flex;
align-items: center;
justify-content: flex-start;
cursor: pointer;
user-select: none;
}
.mds-cascader-option .mds-radio-wrapper {
margin-right: 0;
}
.mds-cascader-option .mdsicon {
float: right;
}
.mds-cascader-option:hover {
background: #e6f4ff;
color: #0364ff;
}
.mds-cascader-option-checkbox {
margin-right: 12px;
}
.mds-cascader-option-label {
flex: 1;
white-space: nowrap;
display: flex;
justify-content: space-between;
align-items: center;
}
.mds-cascader-option-active {
background: #e6f4ff;
color: #0364ff;
}
.mds-cascader-option-multi-active {
color: #0364ff;
}
.mds-cascader-option-disabled:hover {
background: none;
color: #c0c4cc;
cursor: not-allowed;
}
.mds-cascader-option-disabled {
color: #c0c4cc;
}
.mds-cascader-option-large {
line-height: 40px;
font-size: 16px;
padding: 0 12px;
}
.mds-cascader-option-large .mdsicon {
margin: 0 0 0 12px;
}
.mds-cascader-option-medium {
line-height: 36px;
font-size: 14px;
padding: 0 12px;
}
.mds-cascader-option-medium .mdsicon {
margin: 0 0 0 12px;
}
.mds-cascader-option-small {
line-height: 32px;
font-size: 14px;
padding: 0 12px;
}
.mds-cascader-option-small .mdsicon {
margin: 0 0 0 10px;
}
.mds-cascader-option-mini {
line-height: 28px;
font-size: 12px;
padding-left: 8px;
}
.mds-cascader-option-mini .mdsicon {
margin: 0 0 0 10px;
}