Merge branch 'main' into gh-pages

This commit is contained in:
Sid Vishnoi 2022-08-05 18:13:18 +05:30
commit e87e199834
No known key found for this signature in database
GPG Key ID: 84A3BFDA84D2675A
12 changed files with 801 additions and 258 deletions

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

File diff suppressed because one or more lines are too long

614
package-lock.json generated

File diff suppressed because it is too large Load Diff

View File

@ -1,6 +1,6 @@
{
"name": "respec",
"version": "32.2.1",
"version": "32.2.2",
"license": "W3C",
"description": "A technical specification pre-processor.",
"engines": {
@ -24,7 +24,7 @@
],
"devDependencies": {
"@rollup/plugin-alias": "^3.1.9",
"@rollup/plugin-commonjs": "^22.0.1",
"@rollup/plugin-commonjs": "^22.0.2",
"@rollup/plugin-node-resolve": "^13.3.0",
"@types/marked": "^4.0.3",
"@types/pluralize": "0.0.29",
@ -32,7 +32,7 @@
"chokidar": "^3.5.3",
"clean-css": "^5.3.1",
"epipebomb": "^1.0.0",
"eslint": "^8.20.0",
"eslint": "^8.21.0",
"eslint-config-prettier": "^8.5.0",
"eslint-plugin-import": "^2.26.0",
"eslint-plugin-jasmine": "^4.1.3",
@ -53,7 +53,7 @@
"pluralize": "^8.0.0",
"prettier": "^2.7.1",
"prompt": "^1.3.0",
"rollup": "^2.77.1",
"rollup": "^2.77.2",
"rollup-plugin-minify-html-literals": "^1.2.6",
"rollup-plugin-terser": "^7.0.2",
"serve": "^14.0.1",
@ -88,7 +88,7 @@
"colors": "1.4.0",
"finalhandler": "^1.2.0",
"marked": "^4.0.18",
"puppeteer": "^15.5.0",
"puppeteer": "^16.0.0",
"sade": "^1.8.1",
"serve-static": "^1.15.0"
},

View File

@ -70,14 +70,6 @@ cite .bibref {
font-style: normal;
}
code {
color: #c63501;
}
th code {
color: inherit;
}
a[href].orcid {
padding-left: 4px;
padding-right: 4px;

View File

@ -25,13 +25,15 @@ export default css`
z-index: 9000;
}
#respec-pill,
.respec-info-button {
height: 2.4em;
background: #fff;
height: 2.5em;
color: rgb(120, 120, 120);
border: 1px solid #ccc;
box-shadow: 1px 1px 8px 0 rgba(100, 100, 100, 0.5);
padding: 0.2em 0em;
}
.respec-info-button {
@ -40,6 +42,7 @@ export default css`
border-radius: 2em;
margin-right: 1em;
min-width: 3.5em;
will-change: opacity;
}
.respec-info-button:focus,
@ -48,23 +51,61 @@ export default css`
transition: opacity 0.2s;
}
#respec-pill:disabled {
font-size: 2.8px;
text-indent: -9999em;
border-top: 1.1em solid rgba(40, 40, 40, 0.2);
border-right: 1.1em solid rgba(40, 40, 40, 0.2);
border-bottom: 1.1em solid rgba(40, 40, 40, 0.2);
border-left: 1.1em solid #ffffff;
transform: translateZ(0);
animation: respec-spin 0.5s infinite linear;
box-shadow: none;
#respec-pill {
width: 4.8em;
}
#respec-pill:disabled,
#respec-pill:disabled:after {
#respec-pill:not(:disabled) {
animation: respec-fadein 0.6s ease-in-out;
}
@keyframes respec-fadein {
from {
margin-top: -1.2em;
border-radius: 50%;
border: 0.2em solid rgba(100, 100, 100, 0.5);
box-shadow: none;
height: 4.8em;
}
to {
margin-top: 0;
border: 1px solid #ccc;
border-radius: 0;
box-shadow: 1px 1px 8px 0 rgba(100, 100, 100, 0.5);
height: 2.4em;
}
}
#respec-pill:disabled {
margin-top: -1.2em;
position: relative;
border: none;
box-shadow: none;
border-radius: 50%;
width: 10em;
height: 10em;
width: 4.8em;
height: 4.8em;
padding: 0;
}
#respec-pill:disabled::after {
position: absolute;
content: '';
inset: -0.2em;
border-radius: 50%;
border: 0.2em solid rgba(100, 100, 100, 0.5);
border-left: 0.2em solid transparent;
animation: respec-spin 0.5s infinite linear;
}
@media (prefers-reduced-motion) {
#respec-pill:not(:disabled) {
animation: none;
}
#respec-pill:disabled::after {
animation: none;
border-left: 0.2em solid rgba(100, 100, 100, 0.5);
}
}
@keyframes respec-spin {