@neatui/css 5.1.6 → 5.1.7

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.
@@ -9,6 +9,39 @@
9
9
  margin-block-start: -0.5em;
10
10
  }
11
11
 
12
+ // 尺寸:行已是卡片,纵向比横向收一档
13
+ &[ui-table~='sz:xs'] {
14
+ th,
15
+ td {
16
+ padding: 0.25em 0.5em;
17
+ }
18
+ }
19
+ &[ui-table~='sz:s'] {
20
+ th,
21
+ td {
22
+ padding: 0.5em 0.75em;
23
+ }
24
+ }
25
+ &,
26
+ &[ui-table~='sz:m'] {
27
+ th,
28
+ td {
29
+ padding: 0.75em 1em;
30
+ }
31
+ }
32
+ &[ui-table~='sz:l'] {
33
+ th,
34
+ td {
35
+ padding: 1em 1.25em;
36
+ }
37
+ }
38
+ &[ui-table~='sz:xl'] {
39
+ th,
40
+ td {
41
+ padding: 1.25em 1.5em;
42
+ }
43
+ }
44
+
12
45
  // 固定头部需实底,避免行卡片从下方透出
13
46
  .table-head-fixed {
14
47
  background-color: var(--co-fore);
package/dist/neatui.css CHANGED
@@ -30260,6 +30260,21 @@ body [ui-btn~="@b"][ui-btn~=b][ui-btn~=":underline"]:hover{
30260
30260
  border-spacing:0 .5em;
30261
30261
  margin-block-start:-.5em;
30262
30262
  }
30263
+ [ui-table~="@d"][ui-table~="sz:xs"] td,[ui-table~="@d"][ui-table~="sz:xs"] th{
30264
+ padding:.25em .5em;
30265
+ }
30266
+ [ui-table~="@d"][ui-table~="sz:s"] td,[ui-table~="@d"][ui-table~="sz:s"] th{
30267
+ padding:.5em .75em;
30268
+ }
30269
+ [ui-table~="@d"] td,[ui-table~="@d"] th,[ui-table~="@d"][ui-table~="sz:m"] td,[ui-table~="@d"][ui-table~="sz:m"] th{
30270
+ padding:.75em 1em;
30271
+ }
30272
+ [ui-table~="@d"][ui-table~="sz:l"] td,[ui-table~="@d"][ui-table~="sz:l"] th{
30273
+ padding:1em 1.25em;
30274
+ }
30275
+ [ui-table~="@d"][ui-table~="sz:xl"] td,[ui-table~="@d"][ui-table~="sz:xl"] th{
30276
+ padding:1.25em 1.5em;
30277
+ }
30263
30278
  [ui-table~="@d"] .table-head-fixed{
30264
30279
  background-color:var(--co-fore);
30265
30280
  }