@meleon/uni-ui
Version:
A uniapp components library written in vue3 and typescript
63 lines (59 loc) • 1.2 kB
text/less
@prefix: ~'ml-cell';
.@{prefix} {
box-sizing: border-box;
width: 100%;
padding: 10px 10px;
background-color: #ffffff;
// border: solid 1px var(--info-color-5);
&--left {
display: flex;
flex-direction: column;
align-items: flex-start;
justify-content: center;
font-size: 14px;
color: var(--info-color-7);
}
&--right {
min-height: 28px;
display: flex;
align-items: center;
justify-content: flex-end;
}
&-desc,
&-val {
font-size: 12px;
color: var(--info-color-5);
transition: all 0.3s ease;
}
&-input {
height: 100%;
}
&--disabled {
opacity: 0.7;
pointer-events: none;
}
&--bordered {
border-bottom: solid 1px var(--info-color-2);
}
}
.@{prefix}-text,
.@{prefix}-custom {
display: flex;
align-items: center;
justify-content: space-between;
}
.@{prefix}-button {
display: flex;
align-items: center;
justify-content: center;
}
.@{prefix}-navigator {
display: flex;
align-items: center;
justify-content: space-between;
}
.@{prefix}-switch {
display: flex;
align-items: center;
justify-content: space-between;
}