1
Fork 0
mirror of https://github.com/Steffo99/bluelib.git synced 2024-12-22 11:34:21 +00:00

Add details element

This commit is contained in:
Steffo 2021-09-22 16:58:12 +02:00
parent d01c9936a2
commit 5878b6d9b3
Signed by: steffo
GPG key ID: 6965406171929D01
12 changed files with 220 additions and 6 deletions

View file

@ -779,6 +779,77 @@
</a> </a>
</section> </section>
</section> </section>
<section class="panel panel-box" id="panel-details">
<h3>
Details and summaries
</h3>
<p>
A <dfn id="dfn-detail">detail</dfn> is an element which <b>collapses</b> the elements inside until its <dfn id="dfn-summary">summary</dfn> is clicked.
</p>
<section class="panel panel-box">
<details>
<summary>
There's something inside here...
</summary>
<section class="details-content">
You found a <b>HP Up</b>! Maximum HP increased by 25.
</section>
</details>
</section>
<p>
Multiple can be displayed aside each other, and can also be nested.
</p>
<section class="panel panel-box">
<details>
<summary>
There's something else inside...
</summary>
<section class="details-content">
You found <b>Pipis</b>. It exploded.
</section>
</details>
<details>
<summary>
There's another item...
</summary>
<section class="details-content">
You found <b>recursion</b>!
</section>
<details class="details-content">
<summary>
Recursion
</summary>
<section class="details-content">
No, Winnie, don't eat recursion...
</section>
<details class="details-content">
<summary>
Recursion
</summary>
<section class="details-content">
Please, stop...
</section>
<details class="details-content">
<summary>
Recursion
</summary>
<section class="details-content">
NOOOOOOOOOOOOOOO!
</section>
<details class="details-content">
<summary>
Recursion
</summary>
<section class="details-content">
Stack overflow.
</section>
</details>
</details>
</details>
</details>
</details>
</section>
</section>
</section> </section>
<section class="chapter" id="chapter-annotations"> <section class="chapter" id="chapter-annotations">
<h2> <h2>

View file

@ -718,6 +718,7 @@
margin-bottom: 0.7rem; margin-bottom: 0.7rem;
margin-left: 16px; margin-left: 16px;
} }
//</editor-fold> //</editor-fold>
/// ===== Status ===== /// ===== Status =====
@ -1169,6 +1170,43 @@
//</editor-fold> //</editor-fold>
/// ===== Details and summaries =====
/// Details are collapsible elements which only display their summary until they are clicked.
@{details} {
margin-top: 8px;
margin-bottom: 8px;
@{details-summary} {
cursor: pointer;
font-size: larger;
// Prevent the user from accidentaly selecting the summary
user-select: none;
&:hover {
color: @cC;
}
&:focus-visible {
color: @cD;
}
&:active {
color: @cJ;
}
}
@{details-content} {
margin-top: 0.5rem;
}
@{DETAILS} {
margin-left: 16px;
}
}
/// ===== Ruby ===== /// ===== Ruby =====
/// Ruby text is used in various languages to add annotations to text. /// Ruby text is used in various languages to add annotations to text.
/// Bluelib makes the annotations slightly transparent to differentiate them from the rest of the text. /// Bluelib makes the annotations slightly transparent to differentiate them from the rest of the text.

View file

@ -1 +1 @@
{"version":3,"sources":["https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap","/mnt/tera/ext4/code/bluelib2/src/utils/mixins.less","/mnt/tera/ext4/code/bluelib2/src/rules/hacker.less"],"names":[],"mappings":"AAAA;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;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":"hacker.module.css"} {"version":3,"sources":["https://fonts.googleapis.com/css2?family=Roboto+Mono:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;1,100;1,200;1,300;1,400;1,500;1,600;1,700&display=swap","/home/steffo/Workspace/bluelib/src/utils/mixins.less","/home/steffo/Workspace/bluelib/src/rules/hacker.less"],"names":[],"mappings":"AAAA;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,sGAAsG,OAAO,WAA7G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAEF;EACE,aAAa,aAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oGAAoG,OAAO,WAA3G;;AAhGD;ECCG,yBAAA;EACA,yBAAA;EACA,yBAAA;EAFA,yBAAA;EACA,2BAAA;EACA,yBAAA;EAFA,qBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,wBAAA;EACA,uBAAA;EAFA,yBAAA;EACA,yBAAA;EACA,yBAAA;EAFA,oBAAA;EACA,oBAAA;EACA,oBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,uBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,uBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;ECkBA,qBAAA;EDSA,wBCP6B,wBDO7B;EACA,2BAAA;EADA,uBCN4B,wBDM5B;EACA,0BAAA;EADA,uBCL4B,wBDK5B;EACA,0BAAA","file":"hacker.module.css"}

View file

@ -1 +1 @@
{"version":3,"sources":["/mnt/tera/ext4/code/bluelib2/src/rules/paper.less","/mnt/tera/ext4/code/bluelib2/src/utils/mixins.less"],"names":[],"mappings":"AAAC;ECCG,2BAAA;EACA,2BAAA;EACA,2BAAA;EAFA,0BAAA;EACA,0BAAA;EACA,0BAAA;EAFA,sBAAA;EACA,sBAAA;EACA,sBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,sBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,uBAAA;EACA,yBAAA;EACA,yBAAA;EAFA,oBAAA;EACA,kBAAA;EACA,kBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,mBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,mBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,sBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EDgBA,sBAAA;ECWA,kCAAA;EACA,4BAAA;EADA,iCAAA;EACA,6BAAA;EADA,gCAAA;EACA,6BAAA","file":"paper.module.css"} {"version":3,"sources":["/home/steffo/Workspace/bluelib/src/vars/module.less","/home/steffo/Workspace/bluelib/src/utils/mixins.less","/home/steffo/Workspace/bluelib/src/rules/paper.less"],"names":[],"mappings":"AAAC;ECCG,2BAAA;EACA,2BAAA;EACA,2BAAA;EAFA,0BAAA;EACA,0BAAA;EACA,0BAAA;EAFA,sBAAA;EACA,sBAAA;EACA,sBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,sBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,uBAAA;EACA,yBAAA;EACA,yBAAA;EAFA,oBAAA;EACA,kBAAA;EACA,kBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,mBAAA;EAFA,mBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,mBAAA;EACA,mBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,sBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;ECgBA,sBAAA;EDWA,kCAAA;EACA,4BAAA;EADA,iCAAA;EACA,6BAAA;EADA,gCAAA;EACA,6BAAA","file":"paper.module.css"}

View file

@ -1 +1 @@
{"version":3,"sources":["https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap","/mnt/tera/ext4/code/bluelib2/src/utils/mixins.less","/mnt/tera/ext4/code/bluelib2/src/rules/royalblue.less"],"names":[],"mappings":"AAAA;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mGAAmG,OAAO,WAA1G;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mFAAmF,OAAO,WAA1F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gFAAgF,OAAO,WAAvF;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gFAAgF,OAAO,WAAvF;;AA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ACA,qBAAA;EACA,qBAAA;ECkBA,qBAAA;EDSA,wBCP6B,uBDO7B;EACA,2BAAA;EADA,uBCN4B,uBDM5B;EACA,0BAAA;EADA,uBCL4B,sBDK5B;EACA,0BAAA","file":"royalblue.module.css"} {"version":3,"sources":["https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap","/home/steffo/Workspace/bluelib/src/utils/mixins.less","/home/steffo/Workspace/bluelib/src/rules/royalblue.less"],"names":[],"mappings":"AAAA;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mGAAmG,OAAO,WAA1G;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mFAAmF,OAAO,WAA1F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gFAAgF,OAAO,WAAvF;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;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AA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;ECkBA,qBAAA;EDSA,wBCP6B,uBDO7B;EACA,2BAAA;EADA,uBCN4B,uBDM5B;EACA,0BAAA;EADA,uBCL4B,sBDK5B;EACA,0BAAA","file":"royalblue.module.css"}

View file

@ -603,6 +603,30 @@
--bluelib-color-b: var(--bluelib-download-b); --bluelib-color-b: var(--bluelib-download-b);
text-decoration-style: solid; text-decoration-style: solid;
} }
.bluelib .details {
margin-top: 8px;
margin-bottom: 8px;
}
.bluelib .details > .details-summary {
cursor: pointer;
font-size: larger;
user-select: none;
}
.bluelib .details > .details-summary:hover {
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 20)), 1);
}
.bluelib .details > .details-summary:focus-visible {
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 30)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 30)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 30)), 1);
}
.bluelib .details > .details-summary:active {
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 90)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 90)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 90)), 1);
}
.bluelib .details > .details-content {
margin-top: 0.5rem;
}
.bluelib .details > .details {
margin-left: 16px;
}
.bluelib .ruby-parenthesis { .bluelib .ruby-parenthesis {
color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.125); color: rgba(var(--bluelib-color-r), var(--bluelib-color-g), var(--bluelib-color-b), 0.125);
} }

File diff suppressed because one or more lines are too long

View file

@ -2346,6 +2346,75 @@ body .anchor-download,
--bluelib-color-b: var(--bluelib-download-b); --bluelib-color-b: var(--bluelib-download-b);
text-decoration-style: solid; text-decoration-style: solid;
} }
body .details,
.bluelib .details,
body details,
.bluelib details {
margin-top: 8px;
margin-bottom: 8px;
}
body .details > .details-summary,
.bluelib .details > .details-summary,
body details > .details-summary,
.bluelib details > .details-summary,
body .details > summary,
.bluelib .details > summary,
body details > summary,
.bluelib details > summary {
cursor: pointer;
font-size: larger;
user-select: none;
}
body .details > .details-summary:hover,
.bluelib .details > .details-summary:hover,
body details > .details-summary:hover,
.bluelib details > .details-summary:hover,
body .details > summary:hover,
.bluelib .details > summary:hover,
body details > summary:hover,
.bluelib details > summary:hover {
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 20)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 20)), 1);
}
body .details > .details-summary:focus-visible,
.bluelib .details > .details-summary:focus-visible,
body details > .details-summary:focus-visible,
.bluelib details > .details-summary:focus-visible,
body .details > summary:focus-visible,
.bluelib .details > summary:focus-visible,
body details > summary:focus-visible,
.bluelib details > summary:focus-visible {
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 30)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 30)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 30)), 1);
}
body .details > .details-summary:active,
.bluelib .details > .details-summary:active,
body details > .details-summary:active,
.bluelib details > .details-summary:active,
body .details > summary:active,
.bluelib .details > summary:active,
body details > summary:active,
.bluelib details > summary:active {
color: rgba(calc(var(--bluelib-color-r) + (var(--bluelib-polarity) * 90)), calc(var(--bluelib-color-g) + (var(--bluelib-polarity) * 90)), calc(var(--bluelib-color-b) + (var(--bluelib-polarity) * 90)), 1);
}
body .details > .details-content,
.bluelib .details > .details-content,
body details > .details-content,
.bluelib details > .details-content,
body .details > :not(summary),
.bluelib .details > :not(summary),
body details > :not(summary),
.bluelib details > :not(summary) {
margin-top: 0.5rem;
}
body .details > .details,
.bluelib .details > .details,
body details > .details,
.bluelib details > .details,
body .details > details,
.bluelib .details > details,
body details > details,
.bluelib details > details {
margin-left: 16px;
}
body rp, body rp,
.bluelib rp, .bluelib rp,
body .ruby-parenthesis, body .ruby-parenthesis,

File diff suppressed because one or more lines are too long

View file

@ -1 +1 @@
{"version":3,"sources":["https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap","/mnt/tera/ext4/code/bluelib2/src/utils/mixins.less","/mnt/tera/ext4/code/bluelib2/src/rules/sophon.less"],"names":[],"mappings":"AAAA;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mGAAmG,OAAO,WAA1G;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mFAAmF,OAAO,WAA1F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gFAAgF,OAAO,WAAvF;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA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AAA;EACA,uBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;ECkBA,qBAAA;EDSA,wBCP6B,uBDO7B;EACA,2BAAA;EADA,uBCN4B,uBDM5B;EACA,0BAAA;EADA,uBCL4B,sBDK5B;EACA,0BAAA","file":"sophon.module.css"} {"version":3,"sources":["https://fonts.googleapis.com/css2?family=Fira+Code&family=Fira+Sans:ital,wght@0,100;0,200;0,300;0,400;0,500;0,600;0,700;0,800;0,900;1,100;1,200;1,300;1,400;1,500;1,600;1,700;1,800;1,900&display=swap","/home/steffo/Workspace/bluelib/src/utils/mixins.less","/home/steffo/Workspace/bluelib/src/rules/sophon.less"],"names":[],"mappings":"AAAA;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mGAAmG,OAAO,WAA1G;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,mFAAmF,OAAO,WAA1F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,gFAAgF,OAAO,WAAvF;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kBAAA;EACA,oFAAoF,OAAO,WAA3F;;AAEF;EACE,aAAa,WAAb;EACA,kBAAA;EACA,gBAAA;EACA,kB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yBAAA;EACA,yBAAA;EAFA,oBAAA;EACA,oBAAA;EACA,oBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,uBAAA;EAFA,uBAAA;EACA,uBAAA;EACA,uBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;EAFA,wBAAA;EACA,wBAAA;EACA,wBAAA;EAFA,qBAAA;EACA,qBAAA;EACA,qBAAA;ECkBA,qBAAA;EDSA,wBCP6B,uBDO7B;EACA,2BAAA;EADA,uBCN4B,uBDM5B;EACA,0BAAA;EADA,uBCL4B,sBDK5B;EACA,0BAAA","file":"sophon.module.css"}

View file

@ -72,6 +72,12 @@
@heading: ~".heading"; @heading: ~".heading";
@HEADING: ~"> .heading"; @HEADING: ~"> .heading";
@details: ~".details";
@DETAILS: ~"> .details";
@details-open: ~".details[open]";
@details-summary: ~"> .details-summary";
@details-content: ~"> .details-content";
@anchor: ~".anchor"; @anchor: ~".anchor";
@anchor-broken: ~'.anchor-broken'; @anchor-broken: ~'.anchor-broken';
@anchor-link: ~'.anchor-link'; @anchor-link: ~'.anchor-link';

View file

@ -74,6 +74,12 @@
@heading: ~"h1, h2, h3, h4, h5, h6, .heading"; @heading: ~"h1, h2, h3, h4, h5, h6, .heading";
@HEADING: ~"> h1, > h2, > h3, > h4, > h5, > h6, > .heading"; @HEADING: ~"> h1, > h2, > h3, > h4, > h5, > h6, > .heading";
@details: ~".details, details";
@DETAILS: ~"> .details, > details";
@details-open: ~".details[open], details[open]";
@details-summary: ~"> .details-summary, > summary";
@details-content: ~"> .details-content, > :not(summary)";
@anchor: ~"a, .anchor"; @anchor: ~"a, .anchor";
@anchor-broken: ~'a:not([href]), a[href=""], .anchor-broken'; @anchor-broken: ~'a:not([href]), a[href=""], .anchor-broken';
@anchor-link: ~'a[href^="http://"], a[href^="https://"], a[href^="/"], .anchor-link'; @anchor-link: ~'a[href^="http://"], a[href^="https://"], a[href^="/"], .anchor-link';