@xiee/utils 1.14.45 → 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 CHANGED
@@ -1,26 +1,32 @@
1
1
  th, td{ padding: 5px; }
2
2
  .lt-table {
3
- --b: 1px solid; --bg: 4px solid transparent;
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
- margin: auto;
6
+ caption-side: top;
7
+ margin: 1em auto;
8
8
  border-spacing: 0;
9
- border-top: var(--b);
10
- border-bottom: var(--b);
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; font-weight: 600; }
15
+ .lt-title { font-size: 1.2em; }
17
16
  .lt-subtitle { font-size: 0.9em; }
18
17
  }
19
-
20
- tbody tr:not(:last-child) :is(td, th) { border-bottom: var(--b) var(--c-row); }
21
- thead th { border-bottom: var(--b) var(--c-head); border-left: var(--bg); border-right: var(--bg); }
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: var(--b) var(--c-span); text-align: center; }
29
+ .lt-spanner { border-bottom: 1px solid #bbb; text-align: center; }
24
30
  .lt-spanner-empty { border-bottom: none; }
25
31
  }
26
32
 
@@ -32,8 +38,8 @@ th, td{ padding: 5px; }
32
38
 
33
39
  tfoot.lt-footer {
34
40
  font-size: 0.85em;
35
- .lt-footnote:first-child td { border-top: var(--b) var(--c-foot); }
36
- .lt-source-note:first-child td { border-top: 1px dashed var(--c-foot); }
41
+ .lt-footnote:first-child td { border-top: 1px solid #aaa; }
42
+ .lt-source-note:first-child td { border-top: 1px dashed #aaa; }
37
43
  .lt-source-note td { font-style: italic; }
38
44
  }
39
45
 
package/css/lt.min.css CHANGED
@@ -1,2 +1,2 @@
1
- th,td{padding:5px}.lt-table{--b:1px solid;--bg:4px solid transparent;--c-head:#888;--c-span:#bbb;--c-row:#ddd;--c-foot:#aaa;--c-grp:#ccc;border-collapse:separate;border-spacing:0;border-top:var(--b);border-bottom:var(--b);margin:auto;& caption{border-top:var(--b);text-align:center;padding:.5em;& .lt-title{font-size:1.2em;font-weight:600}& .lt-subtitle{font-size:.9em}}& tbody tr:not(:last-child) :is(td,th){border-bottom:var(--b) var(--c-row)}& thead th{border-bottom:var(--b) var(--c-head);border-left:var(--bg);border-right:var(--bg)}& thead .lt-spanner-row{& .lt-spanner{border-bottom:var(--b) var(--c-span);text-align:center}& .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:var(--b) var(--c-foot)}& .lt-source-note:first-child td{border-top:1px dashed var(--c-foot)}& .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:"]"}}}
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 */
@@ -1 +1 @@
1
- {"version":3,"mappings":"AAAA,kBACA,wNAUE,6DAIE,4CACA,+BAGF,2EACA,6FACA,wBACE,qEACA,wCAGF,QACE,gDAEA,qEAGF,kCAEE,gEACA,qEACA,wCAGF,yBACA,0BAEA,0BAEE,sBACA","sources":["lt.css"],"sourcesContent":["th, td{ padding: 5px; }\n.lt-table {\n --b: 1px solid; --bg: 4px solid transparent;\n --c-head: #888; --c-span: #bbb; --c-row: #ddd; --c-foot: #aaa; --c-grp: #ccc;\n\n border-collapse: separate;\n margin: auto;\n border-spacing: 0;\n border-top: var(--b);\n border-bottom: var(--b);\n\n caption {\n border-top: var(--b);\n padding: .5em;\n text-align: center;\n .lt-title { font-size: 1.2em; font-weight: 600; }\n .lt-subtitle { font-size: 0.9em; }\n }\n\n tbody tr:not(:last-child) :is(td, th) { border-bottom: var(--b) var(--c-row); }\n thead th { border-bottom: var(--b) var(--c-head); border-left: var(--bg); border-right: var(--bg); }\n thead .lt-spanner-row {\n .lt-spanner { border-bottom: var(--b) var(--c-span); 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: var(--b) var(--c-foot); }\n .lt-source-note:first-child td { border-top: 1px dashed var(--c-foot); }\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":[]}
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":[]}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@xiee/utils",
3
- "version": "1.14.45",
3
+ "version": "1.14.46",
4
4
  "description": "Miscellaneous tools and utilities to manipulate HTML pages",
5
5
  "scripts": {
6
6
  "test": "echo \"Error: no test specified\" && exit 1"