[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

+6 -5
View File
@@ -1,4 +1,4 @@
@import "./functions/func.scss";
@use "functions/func.scss";
$headerHeight: 26px;
$caretWidth: 26px;
@@ -24,11 +24,12 @@ $listMaxHeight: 210px;
display: flex;
height: $headerHeight;
@include outborder();
@include func.outborder();
> .ui-drop-text {
flex: 1 1 auto;
cursor: pointer;
font-family: var(--font-family);
font-size: var(--font-size);
line-height: $headerHeight;
min-height: $headerHeight;
@@ -38,7 +39,7 @@ $listMaxHeight: 210px;
border: none;
white-space: nowrap;
@include outline();
@include func.outline();
}
> .ui-drop-text::before {
@@ -137,7 +138,7 @@ $listMaxHeight: 210px;
padding: 0 6px 0 22px;
color: var(--color);
@include outborder();
@include func.outborder();
// &:focus {
// box-shadow: 0 0 3px 1px rgba(0, 0, 0, .2);
// }
@@ -161,7 +162,7 @@ $listMaxHeight: 210px;
overflow-y: auto;
position: relative;
font-size: var(--font-size);
@include scrollbar();
@include func.scrollbar();
&.filtered > .drop-content > .li:first-child {
background-color: var(--hover-bg-color);