vue-ant-patterns
Version:
vue-ant-patterns
56 lines (51 loc) • 577 B
text/less
@import '../mixins/font-size.less';
.fw700 {
font-weight: 700;
}
.fw100 {
font-weight: 100;
}
.fw400 {
font-weight: 400;
}
.f12 {
.f12;
}
.f14 {
.f14;
}
.f16 {
.f16;
}
.f18 {
.f18;
}
.f22 {
.f22;
}
.f24 {
.f24;
}
.f26 {
.f26;
}
.f32 {
.f32;
}
.vertical-text {
writing-mode: tb-rl;
letter-spacing: 2px;
}
.ellipsis() {
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
}
// card
.twoLineEllipsis() {
overflow: hidden;
-o-text-overflow: ellipsis;
text-overflow: ellipsis;
display: -webkit-box;
-webkit-line-clamp: 2;
}