@neatui/css 3.2.3 → 3.2.4
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
|
@@ -40,19 +40,14 @@ value 规定输入字段的默认值。
|
|
|
40
40
|
}
|
|
41
41
|
|
|
42
42
|
&:hover {
|
|
43
|
-
// @include theme {
|
|
44
|
-
// border: 1px solid rgba(var(--co-main), 0.5);
|
|
45
|
-
// }
|
|
46
43
|
border: 1px solid var(--co-main-mm);
|
|
47
44
|
}
|
|
48
45
|
|
|
49
46
|
&.form-focus,
|
|
50
47
|
&:focus-within {
|
|
51
|
-
// @include theme {
|
|
52
48
|
background-color: var(--co-fore);
|
|
53
|
-
border: 1px solid var(--co-main-
|
|
54
|
-
box-shadow: 0 0 0 2px var(--co-main-
|
|
55
|
-
// }
|
|
49
|
+
border: 1px solid var(--co-main-lm);
|
|
50
|
+
box-shadow: 0 0 0 2px var(--co-main-sm);
|
|
56
51
|
}
|
|
57
52
|
|
|
58
53
|
input {
|
|
@@ -81,11 +76,9 @@ value 规定输入字段的默认值。
|
|
|
81
76
|
}
|
|
82
77
|
|
|
83
78
|
&:-webkit-autofill {
|
|
84
|
-
// @include theme {
|
|
85
79
|
box-shadow: 0 0 0 1000px var(--co-fore) inset;
|
|
86
80
|
color: var(--co-read);
|
|
87
81
|
-webkit-text-fill-color: var(--co-read);
|
|
88
|
-
// }
|
|
89
82
|
}
|
|
90
83
|
|
|
91
84
|
&::placeholder {
|
|
@@ -126,15 +119,12 @@ value 规定输入字段的默认值。
|
|
|
126
119
|
@each $c in $form-co {
|
|
127
120
|
&[ui-form~='co:#{$c}'] {
|
|
128
121
|
& {
|
|
129
|
-
// @include theme {
|
|
130
|
-
// color: var(--co-#{$c}-text);
|
|
131
|
-
// }
|
|
132
122
|
color: var(--co-#{$c}-text);
|
|
133
|
-
border: 1px solid var(--co-#{$c}-
|
|
123
|
+
border: 1px solid var(--co-#{$c}-lm);
|
|
134
124
|
}
|
|
135
125
|
|
|
136
126
|
&:focus-within {
|
|
137
|
-
box-shadow: 0 0 0 2px var(--co-#{$c}-
|
|
127
|
+
box-shadow: 0 0 0 2px var(--co-#{$c}-sm) !important;
|
|
138
128
|
}
|
|
139
129
|
}
|
|
140
130
|
}
|