@xiee/utils 1.14.44 → 1.14.46
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/css/lt.css +20 -18
- package/css/lt.min.css +1 -1
- package/css/lt.min.css.map +1 -1
- package/package.json +1 -1
package/css/lt.css
CHANGED
|
@@ -1,43 +1,45 @@
|
|
|
1
1
|
th, td{ padding: 5px; }
|
|
2
2
|
.lt-table {
|
|
3
|
-
--
|
|
4
|
-
--c-head: #888; --c-span: #bbb; --c-row: #ddd; --c-foot: #aaa; --c-grp: #ccc;
|
|
3
|
+
--bg: 4px solid transparent;
|
|
5
4
|
|
|
6
5
|
border-collapse: separate;
|
|
7
|
-
|
|
6
|
+
caption-side: top;
|
|
7
|
+
margin: 1em auto;
|
|
8
8
|
border-spacing: 0;
|
|
9
|
-
border-top:
|
|
10
|
-
border-bottom:
|
|
9
|
+
border-top: 2px solid #888;
|
|
10
|
+
border-bottom: 2px solid #888;
|
|
11
11
|
|
|
12
12
|
caption {
|
|
13
|
-
border-top: var(--b);
|
|
14
13
|
padding: .5em;
|
|
15
14
|
text-align: center;
|
|
16
|
-
.lt-title { font-size: 1.2em;
|
|
15
|
+
.lt-title { font-size: 1.2em; }
|
|
17
16
|
.lt-subtitle { font-size: 0.9em; }
|
|
18
17
|
}
|
|
19
|
-
|
|
20
|
-
tbody
|
|
21
|
-
|
|
18
|
+
th { font-weight: normal; }
|
|
19
|
+
tbody {
|
|
20
|
+
:not(:last-child) :is(td, th) {
|
|
21
|
+
border-bottom: 1px solid #ddd;
|
|
22
|
+
}
|
|
23
|
+
.lt-row-group :is(td, th) {
|
|
24
|
+
border-bottom: 2px solid #ddd;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
thead th { border-bottom: 1px solid #888; border-left: var(--bg); border-right: var(--bg); }
|
|
22
28
|
thead .lt-spanner-row {
|
|
23
|
-
.lt-spanner { border-bottom:
|
|
29
|
+
.lt-spanner { border-bottom: 1px solid #bbb; text-align: center; }
|
|
24
30
|
.lt-spanner-empty { border-bottom: none; }
|
|
25
31
|
}
|
|
26
32
|
|
|
27
33
|
tbody {
|
|
28
34
|
th.lt-stub { text-align: left; }
|
|
29
|
-
.lt-row-group th {
|
|
30
|
-
text-align: left;
|
|
31
|
-
background: radial-gradient(circle, #ccc 0.75px, transparent 0.75px);
|
|
32
|
-
background-size: 8px 8px;
|
|
33
|
-
}
|
|
35
|
+
.lt-row-group th { text-align: left; }
|
|
34
36
|
.lt-row-group ~ tr:not(.lt-row-group) > :first-child { padding-left: 1em; }
|
|
35
37
|
}
|
|
36
38
|
|
|
37
39
|
tfoot.lt-footer {
|
|
38
40
|
font-size: 0.85em;
|
|
39
|
-
.lt-footnote:first-child td { border-top:
|
|
40
|
-
.lt-source-note:first-child td { border-top: 1px dashed
|
|
41
|
+
.lt-footnote:first-child td { border-top: 1px solid #aaa; }
|
|
42
|
+
.lt-source-note:first-child td { border-top: 1px dashed #aaa; }
|
|
41
43
|
.lt-source-note td { font-style: italic; }
|
|
42
44
|
}
|
|
43
45
|
|
package/css/lt.min.css
CHANGED
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
th,td{padding:5px}.lt-table{--
|
|
1
|
+
th,td{padding:5px}.lt-table{--bg:4px solid transparent;border-collapse:separate;caption-side:top;border-spacing:0;border-top:2px solid #888;border-bottom:2px solid #888;margin:1em auto;& caption{text-align:center;padding:.5em;& .lt-title{font-size:1.2em}& .lt-subtitle{font-size:.9em}}& th{font-weight:400}& tbody{& :not(:last-child) :is(td,th){border-bottom:1px solid #ddd}& .lt-row-group :is(td,th){border-bottom:2px solid #ddd}}& thead th{border-bottom:1px solid #888;border-left:var(--bg);border-right:var(--bg)}& thead .lt-spanner-row{& .lt-spanner{text-align:center;border-bottom:1px solid #bbb}& .lt-spanner-empty{border-bottom:none}}& tbody{& th.lt-stub,& .lt-row-group th{text-align:left}& .lt-row-group~tr:not(.lt-row-group)>:first-child{padding-left:1em}}& tfoot.lt-footer{font-size:.85em;& .lt-footnote:first-child td{border-top:1px solid #aaa}& .lt-source-note:first-child td{border-top:1px dashed #aaa}& .lt-source-note td{font-style:italic}}& .al-r{text-align:right}& .al-c{text-align:center}& sup.lt-fnref{color:#06c;&:before{content:" ["}&:after{content:"]"}}}
|
|
2
2
|
/*# sourceMappingURL=lt.min.css.map */
|
package/css/lt.min.css.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"mappings":"AAAA,kBACA,
|
|
1
|
+
{"version":3,"mappings":"AAAA,kBACA,uKAUE,yCAGE,4BACA,+BAEF,qBACA,QACE,4DAGA,yDAIF,qFACA,wBACE,6DACA,wCAGF,QACE,gDAEA,qEAGF,kCAEE,wDACA,4DACA,wCAGF,yBACA,0BAEA,0BAEE,sBACA","sources":["lt.css"],"sourcesContent":["th, td{ padding: 5px; }\n.lt-table {\n --bg: 4px solid transparent;\n\n border-collapse: separate;\n caption-side: top;\n margin: 1em auto;\n border-spacing: 0;\n border-top: 2px solid #888;\n border-bottom: 2px solid #888;\n\n caption {\n padding: .5em;\n text-align: center;\n .lt-title { font-size: 1.2em; }\n .lt-subtitle { font-size: 0.9em; }\n }\n th { font-weight: normal; }\n tbody {\n :not(:last-child) :is(td, th) {\n border-bottom: 1px solid #ddd;\n }\n .lt-row-group :is(td, th) {\n border-bottom: 2px solid #ddd;\n }\n }\n thead th { border-bottom: 1px solid #888; border-left: var(--bg); border-right: var(--bg); }\n thead .lt-spanner-row {\n .lt-spanner { border-bottom: 1px solid #bbb; text-align: center; }\n .lt-spanner-empty { border-bottom: none; }\n }\n\n tbody {\n th.lt-stub { text-align: left; }\n .lt-row-group th { text-align: left; }\n .lt-row-group ~ tr:not(.lt-row-group) > :first-child { padding-left: 1em; }\n }\n\n tfoot.lt-footer {\n font-size: 0.85em;\n .lt-footnote:first-child td { border-top: 1px solid #aaa; }\n .lt-source-note:first-child td { border-top: 1px dashed #aaa; }\n .lt-source-note td { font-style: italic; }\n }\n\n .al-r { text-align: right; }\n .al-c { text-align: center; }\n\n sup.lt-fnref {\n color: #06c;\n &::before { content: \" [\"; }\n &::after { content: \"]\"; }\n }\n}\n"],"names":[]}
|