@neatui/css 3.6.15 → 3.6.17
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.
- package/components/form/base.scss +3 -24
- package/core/grid.scss +4 -2
- package/package.json +1 -1
|
@@ -19,17 +19,13 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
|
|
|
19
19
|
margin-bottom: 0.3em;
|
|
20
20
|
opacity: 0;
|
|
21
21
|
font-size: 0.85em;
|
|
22
|
-
transform: translateY(-0.3em);
|
|
22
|
+
transform: translateY(-0.3em) translateZ(1px);
|
|
23
23
|
pointer-events: none;
|
|
24
24
|
transition:
|
|
25
25
|
transform 0s,
|
|
26
26
|
opacity 0s;
|
|
27
27
|
min-width: 2em;
|
|
28
28
|
min-height: 1.9em;
|
|
29
|
-
|
|
30
|
-
// @include theme {
|
|
31
|
-
// background: mix(var(--co-main), var(--co-fore), 85%);
|
|
32
|
-
// }
|
|
33
29
|
background: var(--co-main-fore-ls);
|
|
34
30
|
color: var(--co-fore);
|
|
35
31
|
|
|
@@ -46,9 +42,6 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
|
|
|
46
42
|
transition:
|
|
47
43
|
transform 0s,
|
|
48
44
|
opacity 0s;
|
|
49
|
-
// @include theme {
|
|
50
|
-
// border-top-color: mix(var(--co-main), var(--co-fore), 85%);
|
|
51
|
-
// }
|
|
52
45
|
border-top-color: var(--co-main-fore-ls);
|
|
53
46
|
}
|
|
54
47
|
|
|
@@ -65,7 +58,7 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
|
|
|
65
58
|
border-radius: 5em;
|
|
66
59
|
}
|
|
67
60
|
&[ui-form-tips~='show'] {
|
|
68
|
-
transform: translateY(0);
|
|
61
|
+
transform: translateY(0) translateZ(1px);
|
|
69
62
|
opacity: 0.95;
|
|
70
63
|
pointer-events: auto;
|
|
71
64
|
transition:
|
|
@@ -81,14 +74,8 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
|
|
|
81
74
|
@each $co in $cos {
|
|
82
75
|
[ui-form~='co:#{$co}'] {
|
|
83
76
|
[ui-form-tips] {
|
|
84
|
-
// @include theme {
|
|
85
|
-
// background: mix(var(--co-#{$co}), var(--co-fore), 85%);
|
|
86
|
-
// }
|
|
87
77
|
background: var(--co-#{$co}-fore-ls);
|
|
88
78
|
&::after {
|
|
89
|
-
// @include theme {
|
|
90
|
-
// border-top-color: mix(var(--co-#{$co}), var(--co-fore), 85%);
|
|
91
|
-
// }
|
|
92
79
|
border-top-color: var(--co-#{$co}-fore-ls);
|
|
93
80
|
}
|
|
94
81
|
}
|
|
@@ -98,7 +85,7 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
|
|
|
98
85
|
[ui-form~='tips:hover']:hover,
|
|
99
86
|
[ui-form~='tips:focus']:focus-within {
|
|
100
87
|
[ui-form-tips] {
|
|
101
|
-
transform: translateY(0);
|
|
88
|
+
transform: translateY(0) translateZ(1px);
|
|
102
89
|
opacity: 0.95;
|
|
103
90
|
pointer-events: auto;
|
|
104
91
|
transition:
|
|
@@ -249,14 +236,6 @@ $cos: 'main', 'text', 'read', 'note', 'idle', 'case', 'line', 'info', 'well', 'w
|
|
|
249
236
|
transition:
|
|
250
237
|
transform 0.15s,
|
|
251
238
|
opacity 0.35s;
|
|
252
|
-
// opacity: 0.8;
|
|
253
|
-
// &:hover {
|
|
254
|
-
// opacity: 1;
|
|
255
|
-
// }
|
|
256
|
-
// &:active,
|
|
257
|
-
// &:hover:active {
|
|
258
|
-
// transform: scale3d(0.9, 0.9, 1);
|
|
259
|
-
// }
|
|
260
239
|
}
|
|
261
240
|
}
|
|
262
241
|
[ui-form-suffix] {
|
package/core/grid.scss
CHANGED
|
@@ -4,6 +4,8 @@
|
|
|
4
4
|
display: grid;
|
|
5
5
|
gap: var(--gap);
|
|
6
6
|
justify-content: start;
|
|
7
|
+
align-items: start;
|
|
8
|
+
align-content: flex-start;
|
|
7
9
|
grid-template-columns: repeat(var(--col), minmax(0, 1fr));
|
|
8
10
|
--col: 4;
|
|
9
11
|
--gap: 0;
|
|
@@ -59,10 +61,10 @@
|
|
|
59
61
|
--gap: 0.25em;
|
|
60
62
|
}
|
|
61
63
|
[ui-grid~='#{$med}sm'] {
|
|
62
|
-
--gap: .5em;
|
|
64
|
+
--gap: 0.5em;
|
|
63
65
|
}
|
|
64
66
|
[ui-grid~='#{$med}sl'] {
|
|
65
|
-
--gap: .75em;
|
|
67
|
+
--gap: 0.75em;
|
|
66
68
|
}
|
|
67
69
|
[ui-grid~='#{$med}ms'] {
|
|
68
70
|
--gap: 1em;
|