Skip to content

Commit

Permalink
Add WIP legacy build (commented out)
Browse files Browse the repository at this point in the history
- change index.html config object to not use string templates
- ignore legacy in eslint
- swap zlib package for node native zlib
- add ES5 legacy polyfills
- remove old render event from ESM version
  • Loading branch information
replete committed Sep 18, 2024
1 parent ec8f33c commit f369738
Show file tree
Hide file tree
Showing 16 changed files with 749 additions and 580 deletions.
21 changes: 8 additions & 13 deletions dist/biscuitman.css
Original file line number Diff line number Diff line change
Expand Up @@ -13,7 +13,7 @@
display: none;
position: fixed;
bottom: 0;
box-shadow: 0 -2px 10px rgba(0, 0, 0, .16);
box-shadow: 0 -2px 10px #00000029;
}

.bm-show .biscuitman {
Expand Down Expand Up @@ -146,7 +146,7 @@
max-width: 860px;
max-height: 80vh;
margin: auto;
box-shadow: 0 0 8px rgba(0, 0, 0, .3);
box-shadow: 0 0 8px #0000004d;
}
}

Expand Down Expand Up @@ -175,7 +175,7 @@

.biscuitman .bm-dialog > b:after {
content: "";
background: linear-gradient(180deg, var(--bg) 20%, rgba(255, 255, 255, 0));
background: linear-gradient(180deg, var(--bg) 20%, #fff0);
pointer-events: none;
z-index: 1;
width: 100%;
Expand All @@ -188,7 +188,7 @@

.biscuitman .bm-dialog nav:after {
content: "";
background: linear-gradient(0deg, var(--bg) 20%, rgba(255, 255, 255, 0));
background: linear-gradient(0deg, var(--bg) 20%, #fff0);
pointer-events: none;
width: 100%;
height: 25px;
Expand Down Expand Up @@ -261,7 +261,7 @@
border-radius: 5px;
padding: 10px;
list-style: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
box-shadow: 0 2px 4px #0000001a;
}

.biscuitman details[open] summary b:after {
Expand All @@ -286,8 +286,8 @@
.biscuitman summary b:after {
content: "";
border: 5px solid rgba(var(--ui), .4);
border-top-color: rgba(0, 0, 0, 0);
border-left-color: rgba(0, 0, 0, 0);
border-top-color: #0000;
border-left-color: #0000;
border-radius: 2px;
width: 1em;
height: 1em;
Expand Down Expand Up @@ -320,12 +320,7 @@
display: flex;
}

.biscuitman dl dt {
color: var(--tx);
font-size: 12px;
}

.biscuitman dl dd {
.biscuitman dl dt, .biscuitman dl dd {
color: var(--tx);
font-size: 12px;
}
Expand Down
2 changes: 1 addition & 1 deletion dist/biscuitman.min.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

21 changes: 8 additions & 13 deletions dist/biscuitman.withcss.js
Original file line number Diff line number Diff line change
Expand Up @@ -347,7 +347,7 @@
display: none;
position: fixed;
bottom: 0;
box-shadow: 0 -2px 10px rgba(0, 0, 0, .16);
box-shadow: 0 -2px 10px #00000029;
}
.bm-show .biscuitman {
Expand Down Expand Up @@ -480,7 +480,7 @@
max-width: 860px;
max-height: 80vh;
margin: auto;
box-shadow: 0 0 8px rgba(0, 0, 0, .3);
box-shadow: 0 0 8px #0000004d;
}
}
Expand Down Expand Up @@ -509,7 +509,7 @@
.biscuitman .bm-dialog > b:after {
content: "";
background: linear-gradient(180deg, var(--bg) 20%, rgba(255, 255, 255, 0));
background: linear-gradient(180deg, var(--bg) 20%, #fff0);
pointer-events: none;
z-index: 1;
width: 100%;
Expand All @@ -522,7 +522,7 @@
.biscuitman .bm-dialog nav:after {
content: "";
background: linear-gradient(0deg, var(--bg) 20%, rgba(255, 255, 255, 0));
background: linear-gradient(0deg, var(--bg) 20%, #fff0);
pointer-events: none;
width: 100%;
height: 25px;
Expand Down Expand Up @@ -595,7 +595,7 @@
border-radius: 5px;
padding: 10px;
list-style: none;
box-shadow: 0 2px 4px rgba(0, 0, 0, .1);
box-shadow: 0 2px 4px #0000001a;
}
.biscuitman details[open] summary b:after {
Expand All @@ -620,8 +620,8 @@
.biscuitman summary b:after {
content: "";
border: 5px solid rgba(var(--ui), .4);
border-top-color: rgba(0, 0, 0, 0);
border-left-color: rgba(0, 0, 0, 0);
border-top-color: #0000;
border-left-color: #0000;
border-radius: 2px;
width: 1em;
height: 1em;
Expand Down Expand Up @@ -654,12 +654,7 @@
display: flex;
}
.biscuitman dl dt {
color: var(--tx);
font-size: 12px;
}
.biscuitman dl dd {
.biscuitman dl dt, .biscuitman dl dd {
color: var(--tx);
font-size: 12px;
}
Expand Down
Loading

0 comments on commit f369738

Please sign in to comment.