Refine toolbox navigation and local data controls
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 20s
This commit is contained in:
parent
954240adf9
commit
2f2e79d200
27 changed files with 614 additions and 302 deletions
|
|
@ -1,78 +1,91 @@
|
|||
// Rôle : regroupe les préférences toolbox, colonnes et contrôles de layout.
|
||||
@use "../../mixins";
|
||||
|
||||
// Rôle : structure l’en-tête, la collection et les préférences de la page toolboxes.
|
||||
.modules-toolbar {
|
||||
display: flex;
|
||||
justify-content: flex-end;
|
||||
margin-top: var(--space-4);
|
||||
}
|
||||
|
||||
.toolbox-actions-row {
|
||||
display: flex;
|
||||
width: 100%;
|
||||
align-items: center;
|
||||
justify-content: space-between;
|
||||
gap: var(--space-4);
|
||||
.toolbox-list-hero .eyebrow,
|
||||
.toolbox-collection-heading .eyebrow {
|
||||
margin-bottom: 4px;
|
||||
}
|
||||
|
||||
.toolbox-actions-row > div {
|
||||
display: flex;
|
||||
flex-wrap: wrap;
|
||||
gap: 10px;
|
||||
.toolbox-list-primary-actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.toolbox-actions-row > div:last-child {
|
||||
.toolbox-list-actions {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.toolbox-preferences-row {
|
||||
position: relative;
|
||||
isolation: isolate;
|
||||
display: grid;
|
||||
grid-template-columns: minmax(0, 1fr) auto;
|
||||
width: 100%;
|
||||
max-width: 520px;
|
||||
.toolbox-list-hero > div > p:last-of-type {
|
||||
max-width: 720px;
|
||||
}
|
||||
|
||||
.toolbox-collection {
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.toolbox-collection-heading {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
justify-self: end;
|
||||
justify-content: flex-start;
|
||||
gap: var(--space-4);
|
||||
margin-top: var(--space-4);
|
||||
padding: var(--space-4);
|
||||
overflow: hidden;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(246, 196, 83, 0.08), transparent 34%),
|
||||
linear-gradient(135deg, rgba(16, 20, 38, 0.84), rgba(5, 7, 17, 0.76));
|
||||
color: var(--color-text-muted);
|
||||
font-size: var(--font-size-sm);
|
||||
font-weight: 800;
|
||||
box-shadow: var(--shadow-sm);
|
||||
}
|
||||
|
||||
.toolbox-preferences-row::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
inset: 0;
|
||||
z-index: -1;
|
||||
padding: 1px;
|
||||
border-radius: inherit;
|
||||
background:
|
||||
radial-gradient(circle at 100% 0%, rgba(246, 196, 83, 0.38), transparent 30%),
|
||||
linear-gradient(135deg, rgba(246, 196, 83, 0.26), rgba(139, 92, 246, 0.16), rgba(56, 189, 248, 0.18));
|
||||
@include mixins.border-mask;
|
||||
.toolbox-collection-title-row {
|
||||
display: flex;
|
||||
align-items: center;
|
||||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.toolbox-preferences-row .eyebrow {
|
||||
margin-bottom: 4px;
|
||||
font-size: 0.68rem;
|
||||
.toolbox-collection-heading h2 {
|
||||
margin: 0;
|
||||
font-size: var(--font-size-xl);
|
||||
}
|
||||
|
||||
.toolbox-preferences-row strong {
|
||||
display: block;
|
||||
color: var(--color-text-primary);
|
||||
font-size: var(--font-size-sm);
|
||||
.toolbox-collection-title-row .nds-badge {
|
||||
flex: 0 0 auto;
|
||||
}
|
||||
|
||||
.toolbox-preferences-row + .cards {
|
||||
margin-top: 0;
|
||||
.toolbox-collection > .cards {
|
||||
margin-top: var(--space-3);
|
||||
}
|
||||
|
||||
.toolbox-list-empty {
|
||||
grid-column: 1 / -1;
|
||||
align-items: flex-start;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.toolbox-list-empty .nds-button {
|
||||
width: fit-content;
|
||||
}
|
||||
|
||||
@media (max-width: 1024px) {
|
||||
.toolbox-list-actions {
|
||||
justify-content: flex-end;
|
||||
}
|
||||
|
||||
.toolbox-list-action-label {
|
||||
position: absolute;
|
||||
width: 1px;
|
||||
height: 1px;
|
||||
overflow: hidden;
|
||||
clip: rect(0 0 0 0);
|
||||
clip-path: inset(50%);
|
||||
white-space: nowrap;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767px) {
|
||||
.toolbox-list-primary-actions,
|
||||
.toolbox-list-actions {
|
||||
justify-content: flex-start;
|
||||
}
|
||||
|
||||
.toolbox-list-primary-actions > *,
|
||||
.toolbox-list-actions > * {
|
||||
max-width: 100%;
|
||||
}
|
||||
}
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue