refactor(design): add windicss

This commit is contained in:
vben
2021-02-17 22:07:22 +08:00
parent 27c6f69091
commit 4d7001bbcf
32 changed files with 140 additions and 359 deletions

View File

@@ -41,10 +41,6 @@
cursor: pointer;
transition: all @transition-time @ease-in-out;
// &:hover {
// color: @primary-color;
// }
&-icon {
position: absolute;
top: 50%;
@@ -164,9 +160,10 @@
position: relative;
z-index: 1;
padding: 12px 24px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
cursor: pointer;
.text-truncate();
// transition: all @transition-time @ease-in-out;
&:hover {
color: @primary-color;

View File

@@ -18,15 +18,19 @@
}
.collapse-title {
overflow: hidden;
font-size: 12px;
.text-truncate();
text-overflow: ellipsis;
white-space: nowrap;
}
}
.@{simple-prefix-cls} {
&-sub-title {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
transition: all 0.3s;
.text-truncate();
}
&-tag {