Split remaining large Sass files by responsibility
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 16s
This commit is contained in:
parent
a0d7e80a1a
commit
fcabbe8029
37 changed files with 3248 additions and 3103 deletions
|
|
@ -1,510 +1,6 @@
|
|||
// Rôle : gère les sections à propos, valeurs et rappels éditoriaux.
|
||||
|
||||
.about-page {
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.about-onboarding-section {
|
||||
margin-top: 0;
|
||||
}
|
||||
|
||||
.about-story-section {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
align-items: start;
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-story-section .about-section-heading {
|
||||
position: static;
|
||||
max-width: 860px;
|
||||
}
|
||||
|
||||
.about-section-heading {
|
||||
position: sticky;
|
||||
top: var(--space-5);
|
||||
}
|
||||
|
||||
.about-section-heading h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.about-section-heading .about-contribute-illustration {
|
||||
margin-top: var(--space-6);
|
||||
}
|
||||
|
||||
.about-story-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
gap: var(--space-4);
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.about-story-item {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
gap: var(--space-3);
|
||||
align-items: stretch;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
padding: var(--space-4);
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent 42%),
|
||||
rgba(16, 20, 38, 0.36);
|
||||
}
|
||||
|
||||
.about-story-body {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
gap: var(--space-4);
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.about-story-body > div {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 10px;
|
||||
min-height: 210px;
|
||||
padding-block: var(--space-4);
|
||||
}
|
||||
|
||||
.about-story-item h3 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0 0 var(--space-3);
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.12);
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.about-story-item h3 .module-icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
flex: 0 0 30px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.24);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(246, 196, 83, 0.09);
|
||||
}
|
||||
|
||||
.about-story-item h3 .module-icon-svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.about-story-body p {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.about-story-bullets {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 4px var(--space-4);
|
||||
margin: 0;
|
||||
padding-left: 1.15rem;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-story-bullets li {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.about-story-bullets li::marker {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.about-story-bullets.single-column {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.about-story-warning {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 7px;
|
||||
color: var(--color-warning);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-story-warning .ui-icon {
|
||||
width: 15px;
|
||||
min-width: 15px;
|
||||
height: 15px;
|
||||
margin-top: 1px;
|
||||
color: var(--color-warning);
|
||||
opacity: 0.88;
|
||||
}
|
||||
|
||||
.about-story-visual {
|
||||
display: grid;
|
||||
min-height: 230px;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(246, 196, 83, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
radial-gradient(circle at center, rgba(139, 92, 246, 0.28), transparent 60%),
|
||||
radial-gradient(circle at 24% 18%, rgba(246, 196, 83, 0.1), transparent 36%),
|
||||
rgba(5, 7, 17, 0.18);
|
||||
}
|
||||
|
||||
.about-story-illustration {
|
||||
display: block;
|
||||
width: min(96%, 340px);
|
||||
max-height: 250px;
|
||||
object-fit: contain;
|
||||
opacity: 0.94;
|
||||
filter: saturate(1.02) brightness(1.02) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.32));
|
||||
}
|
||||
|
||||
.about-tools-section {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-tools-section .page-heading p:not(.eyebrow) {
|
||||
max-width: 780px;
|
||||
margin: 8px 0 0;
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.56;
|
||||
}
|
||||
|
||||
.about-contribute-section {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
align-items: stretch;
|
||||
scroll-margin-top: var(--space-6);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-contribute-section .about-section-heading {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.about-contribute-content {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.about-contribute-content > p {
|
||||
max-width: 112ch;
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.62;
|
||||
}
|
||||
|
||||
.about-contribute-blocks {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.about-contribute-block {
|
||||
display: grid;
|
||||
grid-template-columns: 30px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.about-contribute-block .module-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.22);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(246, 196, 83, 0.09);
|
||||
}
|
||||
|
||||
.about-contribute-block .module-icon-svg {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.about-contribute-block h3 {
|
||||
margin: 0 0 6px;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.about-contribute-block p {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-contribute-block ul {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
margin: 10px 0 0;
|
||||
padding-left: 1.15rem;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.about-contribute-block li::marker {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.about-contribute-block .about-contribute-note {
|
||||
margin-top: var(--space-3);
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.about-contribute-content pre,
|
||||
.about-prompt-box,
|
||||
.about-code-example {
|
||||
margin: 0;
|
||||
border: 1px solid rgba(165, 180, 252, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.about-contribute-content pre {
|
||||
overflow: auto;
|
||||
padding: var(--space-4);
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.about-contribute-formats {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
|
||||
gap: var(--space-4);
|
||||
align-items: stretch;
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.about-code-example {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
overflow: hidden;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent 45%),
|
||||
rgba(5, 7, 17, 0.32);
|
||||
}
|
||||
|
||||
.about-code-example > p {
|
||||
margin: 0;
|
||||
padding: 8px var(--space-3);
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.14);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about-code-example pre {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
padding: var(--space-3);
|
||||
}
|
||||
|
||||
.about-contribute-illustration {
|
||||
display: block;
|
||||
width: min(100%, 260px);
|
||||
max-height: 420px;
|
||||
object-fit: contain;
|
||||
filter: saturate(1.05) brightness(1.04) drop-shadow(0 26px 38px rgba(0, 0, 0, 0.36));
|
||||
}
|
||||
|
||||
.about-section-heading .about-contribute-illustration {
|
||||
width: min(100%, 300px);
|
||||
max-height: 520px;
|
||||
align-self: center;
|
||||
margin-top: var(--space-6);
|
||||
object-fit: contain;
|
||||
opacity: 0.94;
|
||||
filter: saturate(1.02) brightness(0.99) drop-shadow(0 22px 30px rgba(0, 0, 0, 0.32));
|
||||
}
|
||||
|
||||
.about-contribute-content code {
|
||||
color: var(--color-text-primary);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.55;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
.about-prompt-box {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.about-prompt-box h3 {
|
||||
margin: 0 0 8px;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.about-prompt-box p {
|
||||
margin: 0 0 var(--space-3);
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.about-prompt-box pre {
|
||||
border-color: rgba(246, 196, 83, 0.16);
|
||||
background: rgba(5, 7, 17, 0.34);
|
||||
}
|
||||
|
||||
.about-tools-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0 var(--space-6);
|
||||
}
|
||||
|
||||
.about-tool-item {
|
||||
display: grid;
|
||||
grid-template-columns: 38px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid rgba(165, 180, 252, 0.1);
|
||||
}
|
||||
|
||||
.about-tool-item:nth-last-child(-n + 2) {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.about-tool-item .module-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
flex: 0 0 34px;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.about-tool-item .module-icon-svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.about-tool-item h3 {
|
||||
margin: 0 0 4px;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.about-tool-item p {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-tool-examples {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin: 10px 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.about-tool-examples li {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.18);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.about-tools-library-button {
|
||||
display: flex;
|
||||
width: fit-content;
|
||||
min-width: min(100%, 300px);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-self: center;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
|
||||
.about-storage-reminders {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
margin-top: var(--space-2);
|
||||
padding: var(--space-5);
|
||||
border: 1px solid rgba(246, 196, 83, 0.16);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.24);
|
||||
}
|
||||
|
||||
.about-storage-reminders .eyebrow {
|
||||
margin: 0;
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.about-reminders-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 260px));
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.about-reminder-item {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding: var(--space-3);
|
||||
border: 1px solid rgba(150, 165, 205, 0.1);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(16, 20, 38, 0.34);
|
||||
}
|
||||
|
||||
.about-reminder-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.about-reminder-item .module-icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
flex: 0 0 30px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.26);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(246, 196, 83, 0.1);
|
||||
}
|
||||
|
||||
.about-reminder-item h4 {
|
||||
margin: 0;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.about-reminder-item p {
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
// Rôle : orchestre les sections à propos, contribution et rappels.
|
||||
@use "about/page";
|
||||
@use "about/story";
|
||||
@use "about/contribute";
|
||||
@use "about/tools";
|
||||
@use "about/reminders";
|
||||
|
|
|
|||
|
|
@ -1,618 +1,7 @@
|
|||
// Rôle : gère les styles de la librairie et des aperçus d’outils.
|
||||
@use "../mixins";
|
||||
|
||||
.library-page {
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.library-hero {
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.library-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.library-summary article {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4);
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-summary h2,
|
||||
.library-summary p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-summary h2 {
|
||||
margin-bottom: 5px;
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.library-summary-icon {
|
||||
display: grid;
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
height: 34px;
|
||||
place-items: center;
|
||||
border: 1px solid rgba(196, 181, 253, 0.24);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(99, 102, 241, 0.84));
|
||||
box-shadow: var(--shadow-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.library-summary-icon .module-icon-svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.library-doc-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
|
||||
align-items: start;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.library-doc-nav {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-4);
|
||||
scroll-margin-top: var(--space-5);
|
||||
}
|
||||
|
||||
.library-toc-heading {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-toc-heading h2,
|
||||
.library-toc-heading p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-toc-heading h2 {
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.library-toc-heading p {
|
||||
max-width: 620px;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.library-doc-nav-groups {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.library-doc-nav-group {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.library-doc-nav-group > a {
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.library-doc-nav-group > a:hover,
|
||||
.library-doc-nav-group > a:focus-visible {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.library-doc-nav-group.active > a {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.library-doc-nav-group ul {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.library-doc-nav-group li {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-doc-nav-group li a {
|
||||
display: grid;
|
||||
grid-template-columns: 28px minmax(0, 1fr);
|
||||
min-height: 36px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 4px 8px 4px 4px;
|
||||
border: 1px solid rgba(150, 165, 205, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.22);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.library-doc-nav-group li a:hover,
|
||||
.library-doc-nav-group li a:focus-visible {
|
||||
border-color: rgba(246, 196, 83, 0.36);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.library-doc-nav-group .module-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.library-doc-nav-group .module-icon-svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.library-tools {
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
justify-items: stretch;
|
||||
}
|
||||
|
||||
.library-tool-category {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
min-width: 0;
|
||||
scroll-margin-top: var(--space-8);
|
||||
}
|
||||
|
||||
.library-tool-section {
|
||||
position: relative;
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
gap: var(--space-4);
|
||||
overflow: hidden;
|
||||
padding: var(--space-5);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(16, 20, 38, 0.42);
|
||||
box-shadow: var(--shadow-sm);
|
||||
scroll-margin-top: var(--space-8);
|
||||
|
||||
@include mixins.gold-panel-frame;
|
||||
}
|
||||
|
||||
.library-tool-section > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.library-category-hero {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: var(--space-6);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
radial-gradient(circle at 92% 12%, rgba(246, 196, 83, 0.12), transparent 30%),
|
||||
var(--gradient-nebula),
|
||||
linear-gradient(135deg, rgba(16, 20, 38, 0.9), rgba(5, 7, 17, 0.88));
|
||||
box-shadow: var(--shadow-sm);
|
||||
|
||||
@include mixins.gold-panel-frame;
|
||||
}
|
||||
|
||||
.library-category-hero > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.library-category-hero h2,
|
||||
.library-category-hero p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-category-hero h2 {
|
||||
margin-bottom: var(--space-3);
|
||||
color: var(--color-text-primary);
|
||||
font-size: clamp(1.7rem, 3vw, var(--font-size-3xl));
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.library-category-hero p:not(.eyebrow) {
|
||||
max-width: 760px;
|
||||
}
|
||||
|
||||
.library-tool-intro {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-tool-title-row {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.library-tool-title-row .module-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.library-tool-title-row .module-icon-svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.library-tool-intro h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-intro p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-intro h2 {
|
||||
font-size: var(--font-size-xl);
|
||||
}
|
||||
|
||||
.library-tool-intro p {
|
||||
max-width: 860px;
|
||||
}
|
||||
|
||||
.library-example-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
|
||||
align-items: start;
|
||||
justify-content: stretch;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.library-example-layout:not(.has-legend) {
|
||||
grid-template-columns: minmax(0, 860px);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.library-tool-docs {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.library-control-legend,
|
||||
.library-tool-feature-list {
|
||||
min-width: 0;
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-control-legend {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-3);
|
||||
border-color: rgba(246, 196, 83, 0.22);
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(246, 196, 83, 0.08), transparent 34%),
|
||||
rgba(5, 7, 17, 0.46);
|
||||
}
|
||||
|
||||
.library-control-legend h3,
|
||||
.library-tool-feature-list h3 {
|
||||
margin: 0;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.library-control-legend-group {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
min-width: 0;
|
||||
padding: var(--space-2);
|
||||
border: 1px solid rgba(150, 165, 205, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-control-legend-group.is-generic-single {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.library-control-legend-group h4 {
|
||||
margin: 0;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.library-control-legend-items {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-control-legend-item {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(34px, max-content) minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-control-preview {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
min-height: 34px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.library-control-preview.notepad-toolbar-group {
|
||||
flex-wrap: nowrap;
|
||||
padding-right: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.library-control-preview-stack {
|
||||
display: inline-grid;
|
||||
gap: 6px;
|
||||
justify-items: start;
|
||||
}
|
||||
|
||||
.library-control-preview-row {
|
||||
display: inline-flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.library-control-preview .notepad-toolbar-button,
|
||||
.library-control-preview .drawing-control-button,
|
||||
.library-control-preview .notepad-color-toggle,
|
||||
.library-control-preview .drawing-width-toggle,
|
||||
.library-control-preview .module-scroll-button {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.library-control-preview .notepad-toolbar-button.is-wide {
|
||||
width: auto;
|
||||
min-width: 46px;
|
||||
padding: 0 9px;
|
||||
}
|
||||
|
||||
.library-control-preview .notepad-color-toggle.active,
|
||||
.library-control-preview .drawing-width-toggle.active {
|
||||
border-color: rgba(246, 196, 83, 0.48);
|
||||
background: rgba(246, 196, 83, 0.1);
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.library-control-preview .module-scroll-button {
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.library-control-legend-item strong {
|
||||
display: block;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.library-control-legend-item p {
|
||||
margin: 3px 0 0;
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.library-tool-feature-list {
|
||||
display: grid;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
border-color: rgba(246, 196, 83, 0.18);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(16, 20, 38, 0.52), rgba(5, 7, 17, 0.36)),
|
||||
rgba(5, 7, 17, 0.3);
|
||||
}
|
||||
|
||||
.library-tool-advanced-list {
|
||||
border-color: rgba(34, 211, 238, 0.16);
|
||||
}
|
||||
|
||||
.library-tool-feature-list summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4);
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.library-tool-feature-list summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.library-tool-feature-list summary .ui-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
flex: 0 0 auto;
|
||||
color: var(--color-text-secondary);
|
||||
transition: transform var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.library-tool-feature-list[open] summary .ui-icon {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.library-tool-feature-content {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: 0 var(--space-5) var(--space-5);
|
||||
}
|
||||
|
||||
.library-tool-feature-list dl {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dl > div {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-3);
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-tool-feature-list dt {
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd ul {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin: var(--space-2) 0 0;
|
||||
padding-left: 1.1rem;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd li {
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.library-tool-import-format {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.library-tool-import-format p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-import-format pre {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: var(--space-3);
|
||||
overflow: auto;
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(2, 3, 9, 0.42);
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.library-tool-import-example {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.library-tool-import-example button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-self: end;
|
||||
gap: 8px;
|
||||
width: fit-content;
|
||||
min-height: 38px;
|
||||
padding-inline: var(--space-3);
|
||||
}
|
||||
|
||||
.library-tool-import-example .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.library-tool-badge {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
margin-bottom: var(--space-3);
|
||||
padding: 4px 9px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.24);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.library-tool-example {
|
||||
width: min(100%, 860px);
|
||||
min-width: 0;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.library-tool-example header > div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-tool-example header p {
|
||||
margin: 3px 0 0;
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.library-example-actions {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.library-reset-button {
|
||||
display: inline-grid;
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
min-height: 40px;
|
||||
flex: 0 0 40px;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.library-reset-button .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.library-tool-example .module-content {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.library-tool-example .image-annotation-stage,
|
||||
.library-tool-example .images-grid img {
|
||||
max-height: 260px;
|
||||
}
|
||||
|
||||
// Rôle : orchestre les styles de la librairie et des aperçus d'outils.
|
||||
@use "library/page";
|
||||
@use "library/summary";
|
||||
@use "library/toc";
|
||||
@use "library/tool-cards";
|
||||
@use "library/examples";
|
||||
@use "library/previews";
|
||||
|
|
|
|||
186
website/src/styles/home/about/_contribute.scss
Normal file
186
website/src/styles/home/about/_contribute.scss
Normal file
|
|
@ -0,0 +1,186 @@
|
|||
// Rôle : gère les blocs de contribution, prompts et exemples de code.
|
||||
.about-contribute-section {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(210px, 260px) minmax(0, 1fr);
|
||||
gap: var(--space-6);
|
||||
align-items: stretch;
|
||||
scroll-margin-top: var(--space-6);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-contribute-section .about-section-heading {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
align-self: stretch;
|
||||
}
|
||||
|
||||
.about-contribute-content {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.about-contribute-content > p {
|
||||
max-width: 112ch;
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.62;
|
||||
}
|
||||
|
||||
.about-contribute-blocks {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.about-contribute-block {
|
||||
display: grid;
|
||||
grid-template-columns: 30px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.about-contribute-block .module-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.22);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(246, 196, 83, 0.09);
|
||||
}
|
||||
|
||||
.about-contribute-block .module-icon-svg {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.about-contribute-block h3 {
|
||||
margin: 0 0 6px;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.about-contribute-block p {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-contribute-block ul {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
margin: 10px 0 0;
|
||||
padding-left: 1.15rem;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.about-contribute-block li::marker {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.about-contribute-block .about-contribute-note {
|
||||
margin-top: var(--space-3);
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.45;
|
||||
}
|
||||
|
||||
.about-contribute-content pre,
|
||||
.about-prompt-box,
|
||||
.about-code-example {
|
||||
margin: 0;
|
||||
border: 1px solid rgba(165, 180, 252, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.about-contribute-content pre {
|
||||
overflow: auto;
|
||||
padding: var(--space-4);
|
||||
white-space: pre-wrap;
|
||||
overflow-wrap: anywhere;
|
||||
}
|
||||
|
||||
.about-contribute-formats {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(260px, 0.64fr) minmax(0, 1.36fr);
|
||||
gap: var(--space-4);
|
||||
align-items: stretch;
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.about-code-example {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
overflow: hidden;
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.08), transparent 45%),
|
||||
rgba(5, 7, 17, 0.32);
|
||||
}
|
||||
|
||||
.about-code-example > p {
|
||||
margin: 0;
|
||||
padding: 8px var(--space-3);
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.14);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
line-height: 1.4;
|
||||
}
|
||||
|
||||
.about-code-example pre {
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
padding: var(--space-3);
|
||||
}
|
||||
|
||||
.about-contribute-illustration {
|
||||
display: block;
|
||||
width: min(100%, 260px);
|
||||
max-height: 420px;
|
||||
object-fit: contain;
|
||||
filter: saturate(1.05) brightness(1.04) drop-shadow(0 26px 38px rgba(0, 0, 0, 0.36));
|
||||
}
|
||||
|
||||
.about-section-heading .about-contribute-illustration {
|
||||
width: min(100%, 300px);
|
||||
max-height: 520px;
|
||||
align-self: center;
|
||||
margin-top: var(--space-6);
|
||||
object-fit: contain;
|
||||
opacity: 0.94;
|
||||
filter: saturate(1.02) brightness(0.99) drop-shadow(0 22px 30px rgba(0, 0, 0, 0.32));
|
||||
}
|
||||
|
||||
.about-contribute-content code {
|
||||
color: var(--color-text-primary);
|
||||
font-family: ui-monospace, SFMono-Regular, Menlo, Monaco, Consolas, "Liberation Mono", monospace;
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.55;
|
||||
white-space: inherit;
|
||||
}
|
||||
|
||||
.about-prompt-box {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.about-prompt-box h3 {
|
||||
margin: 0 0 8px;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.about-prompt-box p {
|
||||
margin: 0 0 var(--space-3);
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.about-prompt-box pre {
|
||||
border-color: rgba(246, 196, 83, 0.16);
|
||||
background: rgba(5, 7, 17, 0.34);
|
||||
}
|
||||
9
website/src/styles/home/about/_page.scss
Normal file
9
website/src/styles/home/about/_page.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Rôle : gère la structure globale de la page à propos.
|
||||
.about-page {
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.about-onboarding-section {
|
||||
margin-top: 0;
|
||||
}
|
||||
66
website/src/styles/home/about/_reminders.scss
Normal file
66
website/src/styles/home/about/_reminders.scss
Normal file
|
|
@ -0,0 +1,66 @@
|
|||
// Rôle : gère les rappels de stockage local et leurs cartes.
|
||||
.about-storage-reminders {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
margin-top: var(--space-2);
|
||||
padding: var(--space-5);
|
||||
border: 1px solid rgba(246, 196, 83, 0.16);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.24);
|
||||
}
|
||||
|
||||
.about-storage-reminders .eyebrow {
|
||||
margin: 0;
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.about-reminders-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(4, minmax(0, 260px));
|
||||
justify-content: center;
|
||||
gap: var(--space-4);
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.about-reminder-item {
|
||||
display: grid;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
padding: var(--space-3);
|
||||
border: 1px solid rgba(150, 165, 205, 0.1);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(16, 20, 38, 0.34);
|
||||
}
|
||||
|
||||
.about-reminder-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.about-reminder-item .module-icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
flex: 0 0 30px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.26);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(246, 196, 83, 0.1);
|
||||
}
|
||||
|
||||
.about-reminder-item h4 {
|
||||
margin: 0;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.25;
|
||||
}
|
||||
|
||||
.about-reminder-item p {
|
||||
max-width: none;
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.45;
|
||||
}
|
||||
175
website/src/styles/home/about/_story.scss
Normal file
175
website/src/styles/home/about/_story.scss
Normal file
|
|
@ -0,0 +1,175 @@
|
|||
// Rôle : stylise le récit éditorial et ses cartes visuelles.
|
||||
.about-story-section {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
align-items: start;
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-story-section .about-section-heading {
|
||||
position: static;
|
||||
max-width: 860px;
|
||||
}
|
||||
|
||||
.about-section-heading {
|
||||
position: sticky;
|
||||
top: var(--space-5);
|
||||
}
|
||||
|
||||
.about-section-heading h2 {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.about-section-heading .about-contribute-illustration {
|
||||
margin-top: var(--space-6);
|
||||
}
|
||||
|
||||
.about-story-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
justify-content: center;
|
||||
width: 100%;
|
||||
gap: var(--space-4);
|
||||
margin-inline: auto;
|
||||
}
|
||||
|
||||
.about-story-item {
|
||||
display: grid;
|
||||
grid-template-rows: auto 1fr;
|
||||
gap: var(--space-3);
|
||||
align-items: stretch;
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
padding: var(--space-4);
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.1), transparent 42%),
|
||||
rgba(16, 20, 38, 0.36);
|
||||
}
|
||||
|
||||
.about-story-body {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) minmax(0, 1fr);
|
||||
gap: var(--space-4);
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.about-story-body > div {
|
||||
display: grid;
|
||||
align-content: center;
|
||||
gap: 10px;
|
||||
min-height: 210px;
|
||||
padding-block: var(--space-4);
|
||||
}
|
||||
|
||||
.about-story-item h3 {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: 10px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0 0 var(--space-3);
|
||||
border-bottom: 1px solid rgba(246, 196, 83, 0.12);
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.about-story-item h3 .module-icon {
|
||||
width: 30px;
|
||||
height: 30px;
|
||||
flex: 0 0 30px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.24);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(246, 196, 83, 0.09);
|
||||
}
|
||||
|
||||
.about-story-item h3 .module-icon-svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.about-story-body p {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.58;
|
||||
}
|
||||
|
||||
.about-story-bullets {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 4px var(--space-4);
|
||||
margin: 0;
|
||||
padding-left: 1.15rem;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-story-bullets li {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.about-story-bullets li::marker {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.about-story-bullets.single-column {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.about-story-warning {
|
||||
display: flex;
|
||||
align-items: flex-start;
|
||||
gap: 7px;
|
||||
color: var(--color-warning);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 500;
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-story-warning .ui-icon {
|
||||
width: 15px;
|
||||
min-width: 15px;
|
||||
height: 15px;
|
||||
margin-top: 1px;
|
||||
color: var(--color-warning);
|
||||
opacity: 0.88;
|
||||
}
|
||||
|
||||
.about-story-visual {
|
||||
display: grid;
|
||||
min-height: 230px;
|
||||
place-items: center;
|
||||
overflow: hidden;
|
||||
border: 1px solid rgba(246, 196, 83, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
radial-gradient(circle at center, rgba(139, 92, 246, 0.28), transparent 60%),
|
||||
radial-gradient(circle at 24% 18%, rgba(246, 196, 83, 0.1), transparent 36%),
|
||||
rgba(5, 7, 17, 0.18);
|
||||
}
|
||||
|
||||
.about-story-illustration {
|
||||
display: block;
|
||||
width: min(96%, 340px);
|
||||
max-height: 250px;
|
||||
object-fit: contain;
|
||||
opacity: 0.94;
|
||||
filter: saturate(1.02) brightness(1.02) drop-shadow(0 18px 26px rgba(0, 0, 0, 0.32));
|
||||
}
|
||||
|
||||
.about-tools-section {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-6);
|
||||
}
|
||||
|
||||
.about-tools-section .page-heading p:not(.eyebrow) {
|
||||
max-width: 780px;
|
||||
margin: 8px 0 0;
|
||||
color: var(--color-text-secondary);
|
||||
line-height: 1.56;
|
||||
}
|
||||
72
website/src/styles/home/about/_tools.scss
Normal file
72
website/src/styles/home/about/_tools.scss
Normal file
|
|
@ -0,0 +1,72 @@
|
|||
// Rôle : stylise la liste des outils présentés dans la page à propos.
|
||||
.about-tools-list {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
gap: 0 var(--space-6);
|
||||
}
|
||||
|
||||
.about-tool-item {
|
||||
display: grid;
|
||||
grid-template-columns: 38px minmax(0, 1fr);
|
||||
gap: 12px;
|
||||
align-items: start;
|
||||
padding: 14px 0;
|
||||
border-bottom: 1px solid rgba(165, 180, 252, 0.1);
|
||||
}
|
||||
|
||||
.about-tool-item:nth-last-child(-n + 2) {
|
||||
border-bottom: 0;
|
||||
}
|
||||
|
||||
.about-tool-item .module-icon {
|
||||
width: 34px;
|
||||
height: 34px;
|
||||
flex: 0 0 34px;
|
||||
border-radius: var(--radius-md);
|
||||
}
|
||||
|
||||
.about-tool-item .module-icon-svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
}
|
||||
|
||||
.about-tool-item h3 {
|
||||
margin: 0 0 4px;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-base);
|
||||
}
|
||||
|
||||
.about-tool-item p {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.5;
|
||||
}
|
||||
|
||||
.about-tool-examples {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
margin: 10px 0 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.about-tool-examples li {
|
||||
padding: 4px 8px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.18);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.about-tools-library-button {
|
||||
display: flex;
|
||||
width: fit-content;
|
||||
min-width: min(100%, 300px);
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
justify-self: center;
|
||||
margin-top: var(--space-2);
|
||||
}
|
||||
279
website/src/styles/home/library/_examples.scss
Normal file
279
website/src/styles/home/library/_examples.scss
Normal file
|
|
@ -0,0 +1,279 @@
|
|||
// Rôle : gère les légendes, listes et formats d'exemples des outils.
|
||||
.library-example-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(240px, 300px) minmax(0, 1fr);
|
||||
align-items: start;
|
||||
justify-content: stretch;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.library-example-layout:not(.has-legend) {
|
||||
grid-template-columns: minmax(0, 860px);
|
||||
justify-content: center;
|
||||
}
|
||||
|
||||
.library-tool-docs {
|
||||
display: block;
|
||||
}
|
||||
|
||||
.library-control-legend,
|
||||
.library-tool-feature-list {
|
||||
min-width: 0;
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-control-legend {
|
||||
display: grid;
|
||||
align-content: start;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-3);
|
||||
border-color: rgba(246, 196, 83, 0.22);
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(246, 196, 83, 0.08), transparent 34%),
|
||||
rgba(5, 7, 17, 0.46);
|
||||
}
|
||||
|
||||
.library-control-legend h3,
|
||||
.library-tool-feature-list h3 {
|
||||
margin: 0;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.library-control-legend-group {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
min-width: 0;
|
||||
padding: var(--space-2);
|
||||
border: 1px solid rgba(150, 165, 205, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-control-legend-group.is-generic-single {
|
||||
padding: 0;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.library-control-legend-group h4 {
|
||||
margin: 0;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.library-control-legend-items {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-control-legend-item {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(34px, max-content) minmax(0, 1fr);
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-control-preview {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
max-width: 100%;
|
||||
min-height: 34px;
|
||||
align-items: center;
|
||||
flex-wrap: wrap;
|
||||
gap: 6px;
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.library-control-preview.notepad-toolbar-group {
|
||||
flex-wrap: nowrap;
|
||||
padding-right: 0;
|
||||
border-right: 0;
|
||||
}
|
||||
|
||||
.library-control-preview-stack {
|
||||
display: inline-grid;
|
||||
gap: 6px;
|
||||
justify-items: start;
|
||||
}
|
||||
|
||||
.library-control-preview-row {
|
||||
display: inline-flex;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.library-control-preview .notepad-toolbar-button,
|
||||
.library-control-preview .drawing-control-button,
|
||||
.library-control-preview .notepad-color-toggle,
|
||||
.library-control-preview .drawing-width-toggle,
|
||||
.library-control-preview .module-scroll-button {
|
||||
cursor: default;
|
||||
}
|
||||
|
||||
.library-control-preview .notepad-toolbar-button.is-wide {
|
||||
width: auto;
|
||||
min-width: 46px;
|
||||
padding: 0 9px;
|
||||
}
|
||||
|
||||
.library-control-preview .notepad-color-toggle.active,
|
||||
.library-control-preview .drawing-width-toggle.active {
|
||||
border-color: rgba(246, 196, 83, 0.48);
|
||||
background: rgba(246, 196, 83, 0.1);
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.library-control-preview .module-scroll-button {
|
||||
min-height: 34px;
|
||||
}
|
||||
|
||||
.library-control-legend-item strong {
|
||||
display: block;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
line-height: 1.2;
|
||||
}
|
||||
|
||||
.library-control-legend-item p {
|
||||
margin: 3px 0 0;
|
||||
font-size: var(--font-size-xs);
|
||||
line-height: 1.35;
|
||||
}
|
||||
|
||||
.library-tool-feature-list {
|
||||
display: grid;
|
||||
overflow: hidden;
|
||||
padding: 0;
|
||||
border-color: rgba(246, 196, 83, 0.18);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(16, 20, 38, 0.52), rgba(5, 7, 17, 0.36)),
|
||||
rgba(5, 7, 17, 0.3);
|
||||
}
|
||||
|
||||
.library-tool-advanced-list {
|
||||
border-color: rgba(34, 211, 238, 0.16);
|
||||
}
|
||||
|
||||
.library-tool-feature-list summary {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4);
|
||||
cursor: pointer;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.library-tool-feature-list summary::-webkit-details-marker {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.library-tool-feature-list summary .ui-icon {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
flex: 0 0 auto;
|
||||
color: var(--color-text-secondary);
|
||||
transition: transform var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.library-tool-feature-list[open] summary .ui-icon {
|
||||
transform: rotate(180deg);
|
||||
}
|
||||
|
||||
.library-tool-feature-content {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: 0 var(--space-5) var(--space-5);
|
||||
}
|
||||
|
||||
.library-tool-feature-list dl {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dl > div {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(180px, 0.28fr) minmax(0, 1fr);
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-3);
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-tool-feature-list dt {
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd {
|
||||
margin: 0;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd ul {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin: var(--space-2) 0 0;
|
||||
padding-left: 1.1rem;
|
||||
}
|
||||
|
||||
.library-tool-feature-list dd li {
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.library-tool-import-format {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.library-tool-import-format p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-import-format pre {
|
||||
max-width: 100%;
|
||||
margin: 0;
|
||||
padding: var(--space-3);
|
||||
overflow: auto;
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(2, 3, 9, 0.42);
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
white-space: pre-wrap;
|
||||
}
|
||||
|
||||
.library-tool-import-example {
|
||||
display: grid;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.library-tool-import-example button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-self: end;
|
||||
gap: 8px;
|
||||
width: fit-content;
|
||||
min-height: 38px;
|
||||
padding-inline: var(--space-3);
|
||||
}
|
||||
|
||||
.library-tool-import-example .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
9
website/src/styles/home/library/_page.scss
Normal file
9
website/src/styles/home/library/_page.scss
Normal file
|
|
@ -0,0 +1,9 @@
|
|||
// Rôle : gère la structure de page de la librairie.
|
||||
.library-page {
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
}
|
||||
|
||||
.library-hero {
|
||||
min-height: 220px;
|
||||
}
|
||||
61
website/src/styles/home/library/_previews.scss
Normal file
61
website/src/styles/home/library/_previews.scss
Normal file
|
|
@ -0,0 +1,61 @@
|
|||
// Rôle : stylise les aperçus interactifs d'outils dans la librairie.
|
||||
.library-tool-badge {
|
||||
display: inline-flex;
|
||||
width: fit-content;
|
||||
margin-bottom: var(--space-3);
|
||||
padding: 4px 9px;
|
||||
border: 1px solid rgba(246, 196, 83, 0.24);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-accent-gold);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 800;
|
||||
}
|
||||
|
||||
.library-tool-example {
|
||||
width: min(100%, 860px);
|
||||
min-width: 0;
|
||||
justify-self: center;
|
||||
}
|
||||
|
||||
.library-tool-example header > div {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-tool-example header p {
|
||||
margin: 3px 0 0;
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 700;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.library-example-actions {
|
||||
display: flex;
|
||||
flex: 0 0 auto;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.library-reset-button {
|
||||
display: inline-grid;
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
min-height: 40px;
|
||||
flex: 0 0 40px;
|
||||
place-items: center;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.library-reset-button .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.library-tool-example .module-content {
|
||||
padding: var(--space-4);
|
||||
}
|
||||
|
||||
.library-tool-example .image-annotation-stage,
|
||||
.library-tool-example .images-grid img {
|
||||
max-height: 260px;
|
||||
}
|
||||
47
website/src/styles/home/library/_summary.scss
Normal file
47
website/src/styles/home/library/_summary.scss
Normal file
|
|
@ -0,0 +1,47 @@
|
|||
// Rôle : stylise les indicateurs de synthèse de la librairie.
|
||||
.library-summary {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-5);
|
||||
}
|
||||
|
||||
.library-summary article {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
gap: var(--space-3);
|
||||
padding: var(--space-4);
|
||||
border: 1px solid rgba(150, 165, 205, 0.12);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.28);
|
||||
}
|
||||
|
||||
.library-summary h2,
|
||||
.library-summary p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-summary h2 {
|
||||
margin-bottom: 5px;
|
||||
font-size: var(--font-size-md);
|
||||
}
|
||||
|
||||
.library-summary-icon {
|
||||
display: grid;
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
height: 34px;
|
||||
place-items: center;
|
||||
border: 1px solid rgba(196, 181, 253, 0.24);
|
||||
border-radius: var(--radius-md);
|
||||
background:
|
||||
linear-gradient(135deg, rgba(139, 92, 246, 0.92), rgba(99, 102, 241, 0.84));
|
||||
box-shadow: var(--shadow-primary);
|
||||
color: white;
|
||||
}
|
||||
|
||||
.library-summary-icon .module-icon-svg {
|
||||
width: 18px;
|
||||
height: 18px;
|
||||
background: currentColor;
|
||||
}
|
||||
108
website/src/styles/home/library/_toc.scss
Normal file
108
website/src/styles/home/library/_toc.scss
Normal file
|
|
@ -0,0 +1,108 @@
|
|||
// Rôle : gère la navigation documentaire de la librairie.
|
||||
.library-doc-layout {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(220px, 280px) minmax(0, 1fr);
|
||||
align-items: start;
|
||||
gap: var(--space-5);
|
||||
}
|
||||
|
||||
.library-doc-nav {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
padding: var(--space-4);
|
||||
scroll-margin-top: var(--space-5);
|
||||
}
|
||||
|
||||
.library-toc-heading {
|
||||
display: grid;
|
||||
gap: 4px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-toc-heading h2,
|
||||
.library-toc-heading p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-toc-heading h2 {
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-lg);
|
||||
}
|
||||
|
||||
.library-toc-heading p {
|
||||
max-width: 620px;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
}
|
||||
|
||||
.library-doc-nav-groups {
|
||||
display: grid;
|
||||
gap: var(--space-4);
|
||||
}
|
||||
|
||||
.library-doc-nav-group {
|
||||
display: grid;
|
||||
gap: 8px;
|
||||
}
|
||||
|
||||
.library-doc-nav-group > a {
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.library-doc-nav-group > a:hover,
|
||||
.library-doc-nav-group > a:focus-visible {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.library-doc-nav-group.active > a {
|
||||
color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.library-doc-nav-group ul {
|
||||
display: grid;
|
||||
gap: 6px;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
list-style: none;
|
||||
}
|
||||
|
||||
.library-doc-nav-group li {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-doc-nav-group li a {
|
||||
display: grid;
|
||||
grid-template-columns: 28px minmax(0, 1fr);
|
||||
min-height: 36px;
|
||||
align-items: center;
|
||||
gap: 8px;
|
||||
padding: 4px 8px 4px 4px;
|
||||
border: 1px solid rgba(150, 165, 205, 0.1);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(5, 7, 17, 0.22);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 700;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
.library-doc-nav-group li a:hover,
|
||||
.library-doc-nav-group li a:focus-visible {
|
||||
border-color: rgba(246, 196, 83, 0.36);
|
||||
background: rgba(246, 196, 83, 0.08);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.library-doc-nav-group .module-icon {
|
||||
width: 28px;
|
||||
height: 28px;
|
||||
border-radius: var(--radius-sm);
|
||||
}
|
||||
|
||||
.library-doc-nav-group .module-icon-svg {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
112
website/src/styles/home/library/_tool-cards.scss
Normal file
112
website/src/styles/home/library/_tool-cards.scss
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
// Rôle : stylise les catégories, introductions et cartes d'outils de la librairie.
|
||||
@use "../../mixins";
|
||||
.library-tools {
|
||||
display: grid;
|
||||
gap: var(--space-6);
|
||||
justify-items: stretch;
|
||||
}
|
||||
|
||||
.library-tool-category {
|
||||
display: grid;
|
||||
gap: var(--space-5);
|
||||
min-width: 0;
|
||||
scroll-margin-top: var(--space-8);
|
||||
}
|
||||
|
||||
.library-tool-section {
|
||||
position: relative;
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
gap: var(--space-4);
|
||||
overflow: hidden;
|
||||
padding: var(--space-5);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-lg);
|
||||
background: rgba(16, 20, 38, 0.42);
|
||||
box-shadow: var(--shadow-sm);
|
||||
scroll-margin-top: var(--space-8);
|
||||
|
||||
@include mixins.gold-panel-frame;
|
||||
}
|
||||
|
||||
.library-tool-section > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.library-category-hero {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: block;
|
||||
overflow: hidden;
|
||||
padding: var(--space-6);
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
radial-gradient(circle at 92% 12%, rgba(246, 196, 83, 0.12), transparent 30%),
|
||||
var(--gradient-nebula),
|
||||
linear-gradient(135deg, rgba(16, 20, 38, 0.9), rgba(5, 7, 17, 0.88));
|
||||
box-shadow: var(--shadow-sm);
|
||||
|
||||
@include mixins.gold-panel-frame;
|
||||
}
|
||||
|
||||
.library-category-hero > * {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
}
|
||||
|
||||
.library-category-hero h2,
|
||||
.library-category-hero p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-category-hero h2 {
|
||||
margin-bottom: var(--space-3);
|
||||
color: var(--color-text-primary);
|
||||
font-size: clamp(1.7rem, 3vw, var(--font-size-3xl));
|
||||
line-height: 1.05;
|
||||
}
|
||||
|
||||
.library-category-hero p:not(.eyebrow) {
|
||||
max-width: 760px;
|
||||
}
|
||||
|
||||
.library-tool-intro {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.library-tool-title-row {
|
||||
display: flex;
|
||||
min-width: 0;
|
||||
align-items: center;
|
||||
gap: var(--space-3);
|
||||
margin-bottom: var(--space-2);
|
||||
}
|
||||
|
||||
.library-tool-title-row .module-icon {
|
||||
width: 36px;
|
||||
height: 36px;
|
||||
}
|
||||
|
||||
.library-tool-title-row .module-icon-svg {
|
||||
width: 20px;
|
||||
height: 20px;
|
||||
}
|
||||
|
||||
.library-tool-intro h2 {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-intro p {
|
||||
margin: 0;
|
||||
}
|
||||
|
||||
.library-tool-intro h2 {
|
||||
font-size: var(--font-size-xl);
|
||||
}
|
||||
|
||||
.library-tool-intro p {
|
||||
max-width: 860px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue