[scss] migrate @import to @use.

[grid] isExpandable.
[popup] showInput, options.
This commit is contained in:
lchen committed 2026-11-16 20:11:07 +08:00
1 parent 409333993b
commit 6de354ad47
27 files changed
+113 -5083

No files matched your search

+10 -10
View File
@@ -1,4 +1,4 @@
@import "./functions/func.scss";
@use "functions/func.scss";
.ui-grid-container {
position: relative;
@@ -53,8 +53,8 @@
--filter-item-padding: 0 4px;
}
@include outline();
@include scrollbar();
@include func.outline();
@include func.scrollbar();
&,
input[type="text"],
@@ -122,7 +122,7 @@
text-overflow: ellipsis;
&.wrap {
@include wrap();
@include func.wrap();
}
}
@@ -307,7 +307,7 @@
white-space: pre;
&.wrap {
@include wrap();
@include func.wrap();
}
}
}
@@ -393,7 +393,7 @@
padding: 0;
max-height: none !important;
@include outline();
@include func.outline();
&:disabled {
color: var(--text-disabled-color);
@@ -411,7 +411,7 @@
display: block;
padding: var(--spacing-cell);
white-space: nowrap;
@include scrollbar();
@include func.scrollbar();
}
.ui-check-wrapper,
@@ -450,7 +450,7 @@
}
&.wrap>span {
@include wrap();
@include func.wrap();
}
}
@@ -638,7 +638,7 @@
overflow-x: hidden;
position: relative;
user-select: none;
@include scrollbar();
@include func.scrollbar();
>.filter-content {
position: absolute;
@@ -688,7 +688,7 @@
border-radius: 0;
transition: background-color .12s ease;
@include outline();
@include func.outline();
&:hover {
background-color: var(--hover-bg-color);