refactor: replace rounded utility classes and clean up unused scss files
Removed unused text-align.scss, position.scss, and rounded.scss utility files along with their imports from scss/index.scss. Updated all existing uses of the rounded-* utility classes in vue components to use inline border-radius syntax like rounded-[10px] instead.
This commit is contained in:
@@ -7,10 +7,7 @@
|
||||
@import "./margin.scss";
|
||||
@import "./font-size.scss";
|
||||
@import "./font-family.scss";
|
||||
@import "./text-align.scss";
|
||||
@import "./rounded.scss";
|
||||
@import "./ellipsis.scss";
|
||||
@import "./position.scss";
|
||||
@import "./overflow.scss";
|
||||
@import "./scroll.scss";
|
||||
@import "./width.scss";
|
||||
|
||||
@@ -1,24 +0,0 @@
|
||||
// 定位
|
||||
.relative {
|
||||
position: relative;
|
||||
}
|
||||
|
||||
.absolute {
|
||||
position: absolute;
|
||||
}
|
||||
|
||||
.left-0 {
|
||||
left: 0;
|
||||
}
|
||||
|
||||
.right-0 {
|
||||
right: 0;
|
||||
}
|
||||
|
||||
.bottom-0 {
|
||||
bottom: 0;
|
||||
}
|
||||
|
||||
.top-0 {
|
||||
top: 0;
|
||||
}
|
||||
@@ -1,52 +0,0 @@
|
||||
// 圆角
|
||||
.rounded-4 {
|
||||
border-radius: 4px;
|
||||
}
|
||||
|
||||
.rounded-5 {
|
||||
border-radius: 5px;
|
||||
}
|
||||
|
||||
.rounded-6 {
|
||||
border-radius: 6px;
|
||||
}
|
||||
|
||||
.rounded-8 {
|
||||
border-radius: 8px;
|
||||
}
|
||||
|
||||
.rounded-10 {
|
||||
border-radius: 10px;
|
||||
}
|
||||
|
||||
.rounded-12 {
|
||||
border-radius: 12px;
|
||||
}
|
||||
|
||||
.rounded-14 {
|
||||
border-radius: 14px;
|
||||
}
|
||||
|
||||
.rounded-16 {
|
||||
border-radius: 16px;
|
||||
}
|
||||
|
||||
.rounded-18 {
|
||||
border-radius: 18px;
|
||||
}
|
||||
|
||||
.rounded-20 {
|
||||
border-radius: 20px;
|
||||
}
|
||||
|
||||
.rounded-24 {
|
||||
border-radius: 24px;
|
||||
}
|
||||
|
||||
.rounded-50 {
|
||||
border-radius: 50px;
|
||||
}
|
||||
|
||||
.rounded-full {
|
||||
border-radius: 50%;
|
||||
}
|
||||
@@ -1,12 +0,0 @@
|
||||
// 文本-align
|
||||
.text-center {
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.text-left {
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.text-right {
|
||||
text-align: right;
|
||||
}
|
||||
Reference in New Issue
Block a user