[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

+5 -5
View File
@@ -1,11 +1,11 @@
@import "./functions/func.scss";
@use "functions/func.scss";
$headerLineHeight: 24px;
$buttonHeight: 28px;
.ui-popup-mask {
position: fixed;
@include inset(0, 0, 0, 0);
@include func.inset(0, 0, 0, 0);
background-color: rgba(0 0 0 /20%);
display: flex;
justify-content: center;
@@ -41,7 +41,7 @@ $buttonHeight: 28px;
display: flex;
flex-direction: column;
@include outline();
@include func.outline();
.ui-popup-header {
flex: 0 0 auto;
@@ -114,7 +114,7 @@ $buttonHeight: 28px;
>.ui-popup-loading {
position: absolute;
@include inset(0, 0, -46px, 0);
@include func.inset(0, 0, -46px, 0);
visibility: hidden;
opacity: 0;
transition: visibility 0s linear .12s, opacity .12s ease;
@@ -242,7 +242,7 @@ $buttonHeight: 28px;
opacity: .8;
}
@include outline();
@include func.outline();
&:disabled {
opacity: .4;