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
181
website/src/styles/toolboxes/calendar/_date-picker.scss
Normal file
181
website/src/styles/toolboxes/calendar/_date-picker.scss
Normal file
|
|
@ -0,0 +1,181 @@
|
|||
// Rôle : stylise le mini-calendrier de sélection de dates mensuelles.
|
||||
.calendar-month-date-dropdown {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger {
|
||||
display: grid;
|
||||
grid-template-columns: 18px minmax(0, 1fr) 14px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
width: 100%;
|
||||
min-height: 36px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background-color: rgba(15, 23, 42, 0.64);
|
||||
color: var(--color-text-primary);
|
||||
font-weight: 900;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger:hover,
|
||||
.calendar-month-date-dropdown:focus-within .calendar-month-date-trigger {
|
||||
border-color: rgba(196, 181, 253, 0.22);
|
||||
background-color: rgba(21, 26, 48, 0.58);
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger .ui-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger .ui-icon-chevron-down {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
justify-self: end;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.calendar-time-field input {
|
||||
padding-inline: 10px 4px;
|
||||
font-size: 12px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
left: 0;
|
||||
z-index: 20;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
padding: 4px;
|
||||
border: 1px solid rgba(150, 165, 205, 0.16);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(8, 11, 24, 0.98);
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: translateY(-4px);
|
||||
transition:
|
||||
opacity var(--duration-fast) var(--ease-standard),
|
||||
transform var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.calendar-month-date-picker {
|
||||
width: min(300px, calc(100vw - 48px));
|
||||
}
|
||||
|
||||
.calendar-month-date-picker.is-weekday-mode {
|
||||
grid-template-columns: 34px repeat(7, minmax(48px, 1fr));
|
||||
width: min(420px, calc(100vw - 48px));
|
||||
}
|
||||
|
||||
.calendar-month-date-dropdown:focus-within .calendar-month-date-picker {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.calendar-month-date-dropdown.is-aligned-end .calendar-month-date-picker {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 0;
|
||||
min-height: 22px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(16, 20, 38, 0.58);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-header {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: 56px minmax(0, 1fr) 56px;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-header strong {
|
||||
min-width: 0;
|
||||
color: var(--color-text-primary);
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: capitalize;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-header button {
|
||||
min-height: 24px;
|
||||
padding-inline: 6px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-day {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 18px;
|
||||
color: var(--color-text-muted);
|
||||
overflow: hidden;
|
||||
font-size: 9px;
|
||||
font-weight: 900;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-week {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 24px;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: 10px;
|
||||
font-weight: 900;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker.is-weekday-mode button {
|
||||
min-height: 26px;
|
||||
padding-inline: 3px;
|
||||
overflow: hidden;
|
||||
font-size: 10px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker button.is-outside,
|
||||
.calendar-month-date-picker button:disabled {
|
||||
opacity: 0.34;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker button:hover:not(:disabled),
|
||||
.calendar-month-date-picker button.active {
|
||||
border-color: rgba(246, 196, 83, 0.58);
|
||||
background: rgba(139, 92, 246, 0.3);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
135
website/src/styles/toolboxes/calendar/_event-controls.scss
Normal file
135
website/src/styles/toolboxes/calendar/_event-controls.scss
Normal file
|
|
@ -0,0 +1,135 @@
|
|||
// Rôle : gère les alertes, couleurs et répétitions du formulaire calendrier.
|
||||
.calendar-alert-offsets {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
align-items: center;
|
||||
gap: 5px 8px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.calendar-alert-offsets legend {
|
||||
grid-column: 1 / -1;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-alert-offsets label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 24px;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-alert-offsets input {
|
||||
flex: 0 0 auto;
|
||||
width: 20px;
|
||||
min-width: 20px;
|
||||
max-width: 20px;
|
||||
height: 20px;
|
||||
min-height: 20px;
|
||||
max-height: 20px;
|
||||
}
|
||||
|
||||
.calendar-alert-mode-switch {
|
||||
align-self: start;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-alert-type-field {
|
||||
align-self: start;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-color-picker {
|
||||
position: relative;
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
.calendar-color-toggle {
|
||||
width: 32px;
|
||||
min-width: 32px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.calendar-repeat-switch {
|
||||
align-self: end;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-repeat-switch .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-field {
|
||||
align-self: end;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-switch {
|
||||
align-self: end;
|
||||
grid-template-columns: repeat(2, 30px);
|
||||
width: max-content;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-switch button {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-switch .ui-icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
min-height: 36px;
|
||||
padding: 3px;
|
||||
border: 1px solid rgba(150, 165, 205, 0.14);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(11, 14, 27, 0.72);
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 0;
|
||||
min-height: 28px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: var(--radius-pill);
|
||||
background: transparent;
|
||||
color: var(--color-text-secondary);
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
font-weight: 900;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch .ui-icon {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch button.active {
|
||||
background: rgba(139, 92, 246, 0.72);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch button:disabled {
|
||||
opacity: 0.35;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
63
website/src/styles/toolboxes/calendar/_form-actions.scss
Normal file
63
website/src/styles/toolboxes/calendar/_form-actions.scss
Normal file
|
|
@ -0,0 +1,63 @@
|
|||
// Rôle : stylise les actions, suppressions et erreurs du formulaire calendrier.
|
||||
.calendar-form-delete-button {
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
min-height: 32px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-delete-actions {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.calendar-color-menu {
|
||||
grid-template-columns: repeat(3, 34px);
|
||||
}
|
||||
|
||||
.calendar-color-picker .calendar-color-menu {
|
||||
right: 0;
|
||||
left: auto;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.calendar-color-picker:hover .calendar-color-menu,
|
||||
.calendar-color-picker:focus-within .calendar-color-menu {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.calendar-color-picker .calendar-color-menu::before,
|
||||
.calendar-color-picker .calendar-color-menu::after {
|
||||
right: 9px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.calendar-form-alert-row {
|
||||
grid-template-columns: minmax(210px, auto) auto minmax(0, 1fr);
|
||||
align-items: start;
|
||||
column-gap: 20px;
|
||||
}
|
||||
|
||||
.calendar-form-alert-row .calendar-form-actions {
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
.calendar-form-actions {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: end;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-form-actions button {
|
||||
min-height: 34px;
|
||||
min-width: 0;
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.calendar-form-error {
|
||||
margin: 0;
|
||||
}
|
||||
70
website/src/styles/toolboxes/calendar/_form-layout.scss
Normal file
70
website/src/styles/toolboxes/calendar/_form-layout.scss
Normal file
|
|
@ -0,0 +1,70 @@
|
|||
// Rôle : gère la structure, les lignes et les champs de base du formulaire calendrier.
|
||||
.calendar-event-form {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.calendar-form-row {
|
||||
display: grid;
|
||||
align-items: end;
|
||||
gap: 8px 10px;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.calendar-form-main-row {
|
||||
grid-template-columns: minmax(0, 1fr) 42px auto;
|
||||
}
|
||||
|
||||
.calendar-form-time-row {
|
||||
grid-template-columns: minmax(112px, 136px) repeat(2, minmax(86px, 104px)) minmax(70px, auto) minmax(62px, auto);
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.calendar-event-form-month .calendar-form-time-row {
|
||||
grid-template-columns: repeat(2, minmax(96px, 116px)) repeat(2, minmax(86px, 104px)) minmax(70px, auto) minmax(66px, auto);
|
||||
}
|
||||
|
||||
.calendar-form-month-row {
|
||||
grid-template-columns: max-content repeat(2, minmax(198px, 226px)) minmax(136px, auto);
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.calendar-event-form label,
|
||||
.calendar-day-field,
|
||||
.calendar-color-picker,
|
||||
.calendar-repeat-field,
|
||||
.calendar-month-event-repeat-field,
|
||||
.calendar-month-repeat-field,
|
||||
.calendar-alert-type-field {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-event-form label span,
|
||||
.calendar-day-field > span,
|
||||
.calendar-color-picker > span,
|
||||
.calendar-repeat-field > span,
|
||||
.calendar-month-event-repeat-field > span,
|
||||
.calendar-month-repeat-field > span,
|
||||
.calendar-alert-type-field > span,
|
||||
.calendar-alert-offsets legend {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.calendar-event-form input:not([type="checkbox"]),
|
||||
.calendar-event-form select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
|
@ -1,449 +1,5 @@
|
|||
// Rôle : stylise le formulaire, les sélecteurs et les actions calendrier.
|
||||
.calendar-event-form {
|
||||
display: grid;
|
||||
gap: var(--space-3);
|
||||
width: 100%;
|
||||
max-width: 100%;
|
||||
box-sizing: border-box;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
}
|
||||
|
||||
.calendar-form-row {
|
||||
display: grid;
|
||||
align-items: end;
|
||||
gap: 8px 10px;
|
||||
min-width: 0;
|
||||
max-width: 100%;
|
||||
}
|
||||
|
||||
.calendar-form-main-row {
|
||||
grid-template-columns: minmax(0, 1fr) 42px auto;
|
||||
}
|
||||
|
||||
.calendar-form-time-row {
|
||||
grid-template-columns: minmax(112px, 136px) repeat(2, minmax(86px, 104px)) minmax(70px, auto) minmax(62px, auto);
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.calendar-event-form-month .calendar-form-time-row {
|
||||
grid-template-columns: repeat(2, minmax(96px, 116px)) repeat(2, minmax(86px, 104px)) minmax(70px, auto) minmax(66px, auto);
|
||||
}
|
||||
|
||||
.calendar-form-month-row {
|
||||
grid-template-columns: max-content repeat(2, minmax(198px, 226px)) minmax(136px, auto);
|
||||
justify-content: start;
|
||||
}
|
||||
|
||||
.calendar-event-form label,
|
||||
.calendar-day-field,
|
||||
.calendar-color-picker,
|
||||
.calendar-repeat-field,
|
||||
.calendar-month-event-repeat-field,
|
||||
.calendar-month-repeat-field,
|
||||
.calendar-alert-type-field {
|
||||
display: grid;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-event-form label span,
|
||||
.calendar-day-field > span,
|
||||
.calendar-color-picker > span,
|
||||
.calendar-repeat-field > span,
|
||||
.calendar-month-event-repeat-field > span,
|
||||
.calendar-month-repeat-field > span,
|
||||
.calendar-alert-type-field > span,
|
||||
.calendar-alert-offsets legend {
|
||||
color: var(--color-text-secondary);
|
||||
font-size: var(--font-size-xs);
|
||||
font-weight: 900;
|
||||
text-transform: uppercase;
|
||||
}
|
||||
|
||||
.calendar-event-form input:not([type="checkbox"]),
|
||||
.calendar-event-form select {
|
||||
width: 100%;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-month-date-dropdown {
|
||||
position: relative;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger {
|
||||
display: grid;
|
||||
grid-template-columns: 18px minmax(0, 1fr) 14px;
|
||||
align-items: center;
|
||||
gap: 6px;
|
||||
width: 100%;
|
||||
min-height: 36px;
|
||||
padding: 0 8px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background-color: rgba(15, 23, 42, 0.64);
|
||||
color: var(--color-text-primary);
|
||||
font-weight: 900;
|
||||
font-variant-numeric: tabular-nums;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger span {
|
||||
min-width: 0;
|
||||
overflow: hidden;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger:hover,
|
||||
.calendar-month-date-dropdown:focus-within .calendar-month-date-trigger {
|
||||
border-color: rgba(196, 181, 253, 0.22);
|
||||
background-color: rgba(21, 26, 48, 0.58);
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger .ui-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.calendar-month-date-trigger .ui-icon-chevron-down {
|
||||
width: 11px;
|
||||
height: 11px;
|
||||
justify-self: end;
|
||||
color: var(--color-text-muted);
|
||||
}
|
||||
|
||||
.calendar-time-field input {
|
||||
padding-inline: 10px 4px;
|
||||
font-size: 12px;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker {
|
||||
position: absolute;
|
||||
top: calc(100% + 6px);
|
||||
left: 0;
|
||||
z-index: 20;
|
||||
display: grid;
|
||||
grid-template-columns: repeat(7, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
min-width: 0;
|
||||
padding: 4px;
|
||||
border: 1px solid rgba(150, 165, 205, 0.16);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(8, 11, 24, 0.98);
|
||||
box-shadow: 0 18px 38px rgba(0, 0, 0, 0.34);
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transform: translateY(-4px);
|
||||
transition:
|
||||
opacity var(--duration-fast) var(--ease-standard),
|
||||
transform var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.calendar-month-date-picker {
|
||||
width: min(300px, calc(100vw - 48px));
|
||||
}
|
||||
|
||||
.calendar-month-date-picker.is-weekday-mode {
|
||||
grid-template-columns: 34px repeat(7, minmax(48px, 1fr));
|
||||
width: min(420px, calc(100vw - 48px));
|
||||
}
|
||||
|
||||
.calendar-month-date-dropdown:focus-within .calendar-month-date-picker {
|
||||
opacity: 1;
|
||||
pointer-events: auto;
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.calendar-month-date-dropdown.is-aligned-end .calendar-month-date-picker {
|
||||
right: 0;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 0;
|
||||
min-height: 22px;
|
||||
padding: 0;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(16, 20, 38, 0.58);
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-header {
|
||||
grid-column: 1 / -1;
|
||||
display: grid;
|
||||
grid-template-columns: 56px minmax(0, 1fr) 56px;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-header strong {
|
||||
min-width: 0;
|
||||
color: var(--color-text-primary);
|
||||
overflow: hidden;
|
||||
font-size: 12px;
|
||||
font-weight: 900;
|
||||
text-align: center;
|
||||
text-overflow: ellipsis;
|
||||
text-transform: capitalize;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-header button {
|
||||
min-height: 24px;
|
||||
padding-inline: 6px;
|
||||
font-size: 10px;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-day {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 18px;
|
||||
color: var(--color-text-muted);
|
||||
overflow: hidden;
|
||||
font-size: 9px;
|
||||
font-weight: 900;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker-week {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-height: 24px;
|
||||
color: var(--color-accent-gold);
|
||||
font-size: 10px;
|
||||
font-weight: 900;
|
||||
font-variant-numeric: tabular-nums;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker.is-weekday-mode button {
|
||||
min-height: 26px;
|
||||
padding-inline: 3px;
|
||||
overflow: hidden;
|
||||
font-size: 10px;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker button.is-outside,
|
||||
.calendar-month-date-picker button:disabled {
|
||||
opacity: 0.34;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.calendar-month-date-picker button:hover:not(:disabled),
|
||||
.calendar-month-date-picker button.active {
|
||||
border-color: rgba(246, 196, 83, 0.58);
|
||||
background: rgba(139, 92, 246, 0.3);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.calendar-alert-offsets {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(2, max-content);
|
||||
align-items: center;
|
||||
gap: 5px 8px;
|
||||
min-width: 0;
|
||||
margin: 0;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
}
|
||||
|
||||
.calendar-alert-offsets legend {
|
||||
grid-column: 1 / -1;
|
||||
width: 100%;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-alert-offsets label {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
min-height: 24px;
|
||||
color: var(--color-text-secondary);
|
||||
font-size: 11px;
|
||||
font-weight: 800;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-alert-offsets input {
|
||||
flex: 0 0 auto;
|
||||
width: 20px;
|
||||
min-width: 20px;
|
||||
max-width: 20px;
|
||||
height: 20px;
|
||||
min-height: 20px;
|
||||
max-height: 20px;
|
||||
}
|
||||
|
||||
.calendar-alert-mode-switch {
|
||||
align-self: start;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-alert-type-field {
|
||||
align-self: start;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-color-picker {
|
||||
position: relative;
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
.calendar-color-toggle {
|
||||
width: 32px;
|
||||
min-width: 32px;
|
||||
min-height: 32px;
|
||||
}
|
||||
|
||||
.calendar-repeat-switch {
|
||||
align-self: end;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-repeat-switch .ui-icon {
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-field {
|
||||
align-self: end;
|
||||
justify-self: start;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-switch {
|
||||
align-self: end;
|
||||
grid-template-columns: repeat(2, 30px);
|
||||
width: max-content;
|
||||
padding: 3px;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-switch button {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
min-height: 28px;
|
||||
}
|
||||
|
||||
.calendar-month-repeat-switch .ui-icon {
|
||||
width: 22px;
|
||||
height: 22px;
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch {
|
||||
display: grid;
|
||||
grid-template-columns: repeat(3, minmax(0, 1fr));
|
||||
gap: 3px;
|
||||
min-height: 36px;
|
||||
padding: 3px;
|
||||
border: 1px solid rgba(150, 165, 205, 0.14);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(11, 14, 27, 0.72);
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch button {
|
||||
display: grid;
|
||||
place-items: center;
|
||||
min-width: 0;
|
||||
min-height: 28px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: var(--radius-pill);
|
||||
background: transparent;
|
||||
color: var(--color-text-secondary);
|
||||
overflow: hidden;
|
||||
font-size: 11px;
|
||||
font-weight: 900;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch .ui-icon {
|
||||
width: 19px;
|
||||
height: 19px;
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch button.active {
|
||||
background: rgba(139, 92, 246, 0.72);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.calendar-month-event-repeat-switch button:disabled {
|
||||
opacity: 0.35;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
.calendar-form-delete-button {
|
||||
width: 34px;
|
||||
min-width: 34px;
|
||||
min-height: 32px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.calendar-delete-actions {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
gap: 6px;
|
||||
}
|
||||
|
||||
.calendar-color-menu {
|
||||
grid-template-columns: repeat(3, 34px);
|
||||
}
|
||||
|
||||
.calendar-color-picker .calendar-color-menu {
|
||||
right: 0;
|
||||
left: auto;
|
||||
transform: translateY(-4px);
|
||||
}
|
||||
|
||||
.calendar-color-picker:hover .calendar-color-menu,
|
||||
.calendar-color-picker:focus-within .calendar-color-menu {
|
||||
transform: translateY(0);
|
||||
}
|
||||
|
||||
.calendar-color-picker .calendar-color-menu::before,
|
||||
.calendar-color-picker .calendar-color-menu::after {
|
||||
right: 9px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.calendar-form-alert-row {
|
||||
grid-template-columns: minmax(210px, auto) auto minmax(0, 1fr);
|
||||
align-items: start;
|
||||
column-gap: 20px;
|
||||
}
|
||||
|
||||
.calendar-form-alert-row .calendar-form-actions {
|
||||
align-self: end;
|
||||
}
|
||||
|
||||
.calendar-form-actions {
|
||||
display: flex;
|
||||
align-items: end;
|
||||
justify-content: end;
|
||||
flex-wrap: wrap;
|
||||
gap: 8px;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.calendar-form-actions button {
|
||||
min-height: 34px;
|
||||
min-width: 0;
|
||||
padding-inline: 10px;
|
||||
}
|
||||
|
||||
.calendar-form-error {
|
||||
margin: 0;
|
||||
}
|
||||
// Rôle : orchestre les styles du formulaire calendrier.
|
||||
@use "form-layout";
|
||||
@use "date-picker";
|
||||
@use "event-controls";
|
||||
@use "form-actions";
|
||||
|
|
|
|||
64
website/src/styles/toolboxes/goal-tree/_node-actions.scss
Normal file
64
website/src/styles/toolboxes/goal-tree/_node-actions.scss
Normal file
|
|
@ -0,0 +1,64 @@
|
|||
// Rôle : stylise les actions de noeud, toggles de branche et poignées.
|
||||
.goal-tree-node-actions {
|
||||
grid-area: actions;
|
||||
display: flex;
|
||||
min-height: 22px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-actions button,
|
||||
.goal-tree-drag-handle {
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
min-height: 22px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-actions .goal-tree-branch-toggle {
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
.goal-tree-canvas.is-horizontal .goal-tree-branch-toggle .ui-icon-chevron-down,
|
||||
.goal-tree-canvas.is-horizontal .goal-tree-branch-toggle .ui-icon-chevron-up {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.goal-tree-drag-handle {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 6px;
|
||||
left: 6px;
|
||||
border-color: rgba(165, 180, 252, 0.34);
|
||||
background: rgba(7, 10, 24, 0.82);
|
||||
color: var(--color-text-primary);
|
||||
cursor: grab;
|
||||
opacity: 1;
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(7, 10, 24, 0.72),
|
||||
0 6px 12px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.goal-tree-drag-handle:hover {
|
||||
border-color: rgba(246, 196, 83, 0.42);
|
||||
background: rgba(7, 10, 24, 0.92);
|
||||
color: var(--color-text-primary);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(246, 196, 83, 0.12),
|
||||
0 8px 14px rgba(0, 0, 0, 0.26);
|
||||
}
|
||||
|
||||
.goal-tree-drag-handle .ui-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.goal-tree-node-tooltip {
|
||||
max-width: 220px;
|
||||
}
|
||||
148
website/src/styles/toolboxes/goal-tree/_node-card.scss
Normal file
148
website/src/styles/toolboxes/goal-tree/_node-card.scss
Normal file
|
|
@ -0,0 +1,148 @@
|
|||
// Rôle : stylise la carte de noeud, ses états et ses actions au survol.
|
||||
.goal-tree-node {
|
||||
position: relative;
|
||||
display: flex;
|
||||
--goal-tree-card-color: var(--color-accent-gold);
|
||||
min-width: 104px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.goal-tree-canvas.is-horizontal .goal-tree-node {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text {
|
||||
--goal-tree-card-color: var(--color-accent-cyan);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-checklist {
|
||||
--goal-tree-card-color: #34d399;
|
||||
}
|
||||
|
||||
.goal-tree-node-card {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: grid;
|
||||
width: 104px;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
grid-template-areas:
|
||||
"main";
|
||||
gap: 6px;
|
||||
align-items: stretch;
|
||||
align-content: stretch;
|
||||
min-width: 0;
|
||||
min-height: 104px;
|
||||
padding: 7px;
|
||||
border: 1px solid color-mix(in srgb, var(--goal-tree-card-color) 38%, rgba(150, 165, 205, 0.16));
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 10%, transparent), transparent 44%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.12), rgba(16, 20, 38, 0.72));
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
0 12px 22px rgba(0, 0, 0, 0.18),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
transition:
|
||||
border-color var(--duration-fast) var(--ease-standard),
|
||||
background var(--duration-fast) var(--ease-standard),
|
||||
box-shadow var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.goal-tree-node-card.has-actions {
|
||||
grid-template-rows: minmax(0, 1fr) 22px;
|
||||
grid-template-areas:
|
||||
"main"
|
||||
"actions";
|
||||
}
|
||||
|
||||
.goal-tree-node-hover-actions {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
right: 6px;
|
||||
bottom: 7px;
|
||||
left: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 4px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.goal-tree-node-card:hover .goal-tree-node-hover-actions,
|
||||
.goal-tree-node-card:focus-within .goal-tree-node-hover-actions {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.goal-tree-node-hover-actions button {
|
||||
width: 24px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
padding: 0;
|
||||
border-color: rgba(165, 180, 252, 0.14);
|
||||
background: rgba(7, 10, 24, 0.78);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.goal-tree-node-card:hover .goal-tree-node-hover-actions button,
|
||||
.goal-tree-node-card:focus-within .goal-tree-node-hover-actions button {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.goal-tree-node-hover-actions .ui-icon {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text,
|
||||
.goal-tree-node.is-checklist {
|
||||
min-width: 184px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text > .goal-tree-node-card,
|
||||
.goal-tree-node.is-checklist > .goal-tree-node-card {
|
||||
width: 184px;
|
||||
}
|
||||
|
||||
.goal-tree-node-card.is-viewing {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-selected > .goal-tree-node-card {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 72%, rgba(246, 196, 83, 0.24));
|
||||
box-shadow:
|
||||
0 0 0 1px color-mix(in srgb, var(--goal-tree-card-color) 22%, transparent),
|
||||
0 12px 22px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-selected > .goal-tree-node-card.is-editing {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 86%, var(--color-accent-gold));
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 20%, transparent), transparent 48%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.18), rgba(16, 20, 38, 0.82));
|
||||
box-shadow:
|
||||
0 0 0 2px color-mix(in srgb, var(--goal-tree-card-color) 36%, transparent),
|
||||
0 0 22px color-mix(in srgb, var(--goal-tree-card-color) 18%, transparent),
|
||||
0 16px 28px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-complete > .goal-tree-node-card {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 54%, rgba(34, 211, 238, 0.3));
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 12%, transparent), transparent 44%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.1), rgba(16, 20, 38, 0.72));
|
||||
}
|
||||
|
||||
.goal-tree-node-card:hover,
|
||||
.goal-tree-node-card:focus-within {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 68%, rgba(246, 196, 83, 0.24));
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 16%, transparent), transparent 48%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(16, 20, 38, 0.78));
|
||||
box-shadow:
|
||||
0 0 0 1px color-mix(in srgb, var(--goal-tree-card-color) 16%, transparent),
|
||||
0 14px 26px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
228
website/src/styles/toolboxes/goal-tree/_node-content.scss
Normal file
228
website/src/styles/toolboxes/goal-tree/_node-content.scss
Normal file
|
|
@ -0,0 +1,228 @@
|
|||
// Rôle : gère le contenu, les checklists et la progression des noeuds.
|
||||
.goal-tree-node-main {
|
||||
grid-area: main;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
justify-items: stretch;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
min-height: 46px;
|
||||
padding: 5px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--color-text-primary);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-step > .goal-tree-node-card > .goal-tree-node-main {
|
||||
justify-items: center;
|
||||
min-height: 58px;
|
||||
}
|
||||
|
||||
.goal-tree-node-main:hover,
|
||||
.goal-tree-node-main:focus {
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.goal-tree-node-heading {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-icon {
|
||||
display: grid;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
place-items: center;
|
||||
border: 1px solid color-mix(in srgb, var(--goal-tree-node-color, var(--color-accent-gold)) 45%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--goal-tree-node-color, var(--color-accent-gold)) 14%, transparent);
|
||||
color: var(--goal-tree-node-color, var(--color-accent-gold));
|
||||
}
|
||||
|
||||
.goal-tree-node-icon .ui-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-step > .goal-tree-node-card > .goal-tree-node-main > .goal-tree-node-icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-step > .goal-tree-node-card > .goal-tree-node-main > .goal-tree-node-icon .ui-icon {
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
.goal-tree-node-title {
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
color: var(--color-text-primary);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 900;
|
||||
text-align: left;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-preview {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
gap: 3px;
|
||||
justify-items: stretch;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.goal-tree-node-content-preview:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-checklist .goal-tree-node-content-row {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text .goal-tree-node-content-row {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text .goal-tree-node-content-row::before {
|
||||
content: "";
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row strong {
|
||||
color: var(--color-accent-gold);
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-label {
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-add-button {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-height: 20px;
|
||||
padding: 0;
|
||||
place-items: center;
|
||||
border-style: dashed;
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color, var(--color-accent-gold)) 56%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(7, 10, 24, 0.2);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.goal-tree-node-content-add-button:hover,
|
||||
.goal-tree-node-content-add-button:focus-visible {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color, var(--color-accent-gold)) 78%, transparent);
|
||||
background: color-mix(in srgb, var(--goal-tree-card-color, var(--color-accent-gold)) 14%, transparent);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.goal-tree-node-content-add-button .ui-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-checklist .goal-tree-node-content-label {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.goal-tree-node-check {
|
||||
display: grid;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
margin: 0;
|
||||
accent-color: var(--color-accent-cyan);
|
||||
}
|
||||
|
||||
.goal-tree-step-check {
|
||||
justify-self: center;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
accent-color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.goal-tree-step-qty-stepper {
|
||||
justify-self: center;
|
||||
grid-template-columns: 18px minmax(34px, auto) 18px;
|
||||
gap: 2px;
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.goal-tree-step-qty-stepper button {
|
||||
display: grid;
|
||||
width: 18px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
min-height: 18px;
|
||||
padding: 0;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.goal-tree-step-qty-stepper .ui-icon {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row .goal-tree-content-qty-stepper {
|
||||
justify-self: start;
|
||||
grid-template-columns: 16px minmax(30px, auto) 16px;
|
||||
gap: 2px;
|
||||
font-size: 0.64rem;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row .goal-tree-content-qty-stepper button {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row .goal-tree-content-qty-stepper .ui-icon {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
}
|
||||
|
||||
.goal-tree-progress-track {
|
||||
grid-column: 1 / -1;
|
||||
justify-self: stretch;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(150, 165, 205, 0.13);
|
||||
}
|
||||
|
||||
.goal-tree-progress-track span {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-cyan));
|
||||
}
|
||||
41
website/src/styles/toolboxes/goal-tree/_node-drag.scss
Normal file
41
website/src/styles/toolboxes/goal-tree/_node-drag.scss
Normal file
|
|
@ -0,0 +1,41 @@
|
|||
// Rôle : gère les états visuels de drag and drop des noeuds.
|
||||
.goal-tree-node.is-dragging {
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-drop-target > .goal-tree-node-card {
|
||||
border-color: rgba(246, 196, 83, 0.48);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-drop-target > .goal-tree-node-card::after {
|
||||
position: absolute;
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.9);
|
||||
box-shadow: 0 0 12px rgba(246, 196, 83, 0.24);
|
||||
content: "";
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="horizontal"].is-drop-target > .goal-tree-node-card::after {
|
||||
top: 8px;
|
||||
bottom: 8px;
|
||||
left: -8px;
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="horizontal"].is-drop-target.drop-after > .goal-tree-node-card::after {
|
||||
right: -8px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="vertical"].is-drop-target > .goal-tree-node-card::after {
|
||||
top: -8px;
|
||||
right: 8px;
|
||||
left: 8px;
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="vertical"].is-drop-target.drop-after > .goal-tree-node-card::after {
|
||||
top: auto;
|
||||
bottom: -8px;
|
||||
}
|
||||
42
website/src/styles/toolboxes/goal-tree/_node-responsive.scss
Normal file
42
website/src/styles/toolboxes/goal-tree/_node-responsive.scss
Normal file
|
|
@ -0,0 +1,42 @@
|
|||
// Rôle : regroupe les ajustements compacts et responsive des noeuds.
|
||||
.goal-tree-empty {
|
||||
padding: var(--space-4);
|
||||
color: var(--color-text-secondary);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.goal-tree-module .text-import-actions {
|
||||
padding-top: var(--space-2);
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.goal-tree-module {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.goal-tree-view.tool-split-results {
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.goal-tree-list {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.goal-tree-node {
|
||||
min-width: 96px;
|
||||
}
|
||||
|
||||
.goal-tree-node-card {
|
||||
width: 96px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text,
|
||||
.goal-tree-node.is-checklist {
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text > .goal-tree-node-card,
|
||||
.goal-tree-node.is-checklist > .goal-tree-node-card {
|
||||
width: 160px;
|
||||
}
|
||||
}
|
||||
|
|
@ -1,523 +1,6 @@
|
|||
// Rôle : stylise les cartes, contenus et états de drag de l'arbre d'objectifs.
|
||||
.goal-tree-node {
|
||||
position: relative;
|
||||
display: flex;
|
||||
--goal-tree-card-color: var(--color-accent-gold);
|
||||
min-width: 104px;
|
||||
flex-direction: column;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.goal-tree-canvas.is-horizontal .goal-tree-node {
|
||||
flex-direction: row;
|
||||
align-items: center;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text {
|
||||
--goal-tree-card-color: var(--color-accent-cyan);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-checklist {
|
||||
--goal-tree-card-color: #34d399;
|
||||
}
|
||||
|
||||
.goal-tree-node-card {
|
||||
position: relative;
|
||||
z-index: 1;
|
||||
display: grid;
|
||||
width: 104px;
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
grid-template-rows: minmax(0, 1fr);
|
||||
grid-template-areas:
|
||||
"main";
|
||||
gap: 6px;
|
||||
align-items: stretch;
|
||||
align-content: stretch;
|
||||
min-width: 0;
|
||||
min-height: 104px;
|
||||
padding: 7px;
|
||||
border: 1px solid color-mix(in srgb, var(--goal-tree-card-color) 38%, rgba(150, 165, 205, 0.16));
|
||||
border-radius: var(--radius-lg);
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 10%, transparent), transparent 44%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.12), rgba(16, 20, 38, 0.72));
|
||||
cursor: pointer;
|
||||
box-shadow:
|
||||
0 12px 22px rgba(0, 0, 0, 0.18),
|
||||
inset 0 1px 0 rgba(255, 255, 255, 0.04);
|
||||
transition:
|
||||
border-color var(--duration-fast) var(--ease-standard),
|
||||
background var(--duration-fast) var(--ease-standard),
|
||||
box-shadow var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.goal-tree-node-card.has-actions {
|
||||
grid-template-rows: minmax(0, 1fr) 22px;
|
||||
grid-template-areas:
|
||||
"main"
|
||||
"actions";
|
||||
}
|
||||
|
||||
.goal-tree-node-hover-actions {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
right: 6px;
|
||||
bottom: 7px;
|
||||
left: 6px;
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
gap: 4px;
|
||||
opacity: 0;
|
||||
pointer-events: none;
|
||||
transition: opacity var(--duration-fast) var(--ease-standard);
|
||||
}
|
||||
|
||||
.goal-tree-node-card:hover .goal-tree-node-hover-actions,
|
||||
.goal-tree-node-card:focus-within .goal-tree-node-hover-actions {
|
||||
opacity: 1;
|
||||
}
|
||||
|
||||
.goal-tree-node-hover-actions button {
|
||||
width: 24px;
|
||||
min-width: 24px;
|
||||
min-height: 24px;
|
||||
padding: 0;
|
||||
border-color: rgba(165, 180, 252, 0.14);
|
||||
background: rgba(7, 10, 24, 0.78);
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.goal-tree-node-card:hover .goal-tree-node-hover-actions button,
|
||||
.goal-tree-node-card:focus-within .goal-tree-node-hover-actions button {
|
||||
pointer-events: auto;
|
||||
}
|
||||
|
||||
.goal-tree-node-hover-actions .ui-icon {
|
||||
width: 13px;
|
||||
height: 13px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text,
|
||||
.goal-tree-node.is-checklist {
|
||||
min-width: 184px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text > .goal-tree-node-card,
|
||||
.goal-tree-node.is-checklist > .goal-tree-node-card {
|
||||
width: 184px;
|
||||
}
|
||||
|
||||
.goal-tree-node-card.is-viewing {
|
||||
grid-template-columns: minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-selected > .goal-tree-node-card {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 72%, rgba(246, 196, 83, 0.24));
|
||||
box-shadow:
|
||||
0 0 0 1px color-mix(in srgb, var(--goal-tree-card-color) 22%, transparent),
|
||||
0 12px 22px rgba(0, 0, 0, 0.18);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-selected > .goal-tree-node-card.is-editing {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 86%, var(--color-accent-gold));
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 20%, transparent), transparent 48%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.18), rgba(16, 20, 38, 0.82));
|
||||
box-shadow:
|
||||
0 0 0 2px color-mix(in srgb, var(--goal-tree-card-color) 36%, transparent),
|
||||
0 0 22px color-mix(in srgb, var(--goal-tree-card-color) 18%, transparent),
|
||||
0 16px 28px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-complete > .goal-tree-node-card {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 54%, rgba(34, 211, 238, 0.3));
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 12%, transparent), transparent 44%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.1), rgba(16, 20, 38, 0.72));
|
||||
}
|
||||
|
||||
.goal-tree-node-card:hover,
|
||||
.goal-tree-node-card:focus-within {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color) 68%, rgba(246, 196, 83, 0.24));
|
||||
background:
|
||||
linear-gradient(135deg, color-mix(in srgb, var(--goal-tree-card-color) 16%, transparent), transparent 48%),
|
||||
linear-gradient(160deg, rgba(139, 92, 246, 0.14), rgba(16, 20, 38, 0.78));
|
||||
box-shadow:
|
||||
0 0 0 1px color-mix(in srgb, var(--goal-tree-card-color) 16%, transparent),
|
||||
0 14px 26px rgba(0, 0, 0, 0.2);
|
||||
}
|
||||
|
||||
.goal-tree-node-main {
|
||||
grid-area: main;
|
||||
display: grid;
|
||||
align-content: start;
|
||||
justify-items: stretch;
|
||||
gap: 5px;
|
||||
min-width: 0;
|
||||
min-height: 46px;
|
||||
padding: 5px;
|
||||
border: 0;
|
||||
background: transparent;
|
||||
color: var(--color-text-primary);
|
||||
cursor: pointer;
|
||||
text-align: center;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-step > .goal-tree-node-card > .goal-tree-node-main {
|
||||
justify-items: center;
|
||||
min-height: 58px;
|
||||
}
|
||||
|
||||
.goal-tree-node-main:hover,
|
||||
.goal-tree-node-main:focus {
|
||||
border-color: transparent;
|
||||
background: transparent;
|
||||
box-shadow: none;
|
||||
}
|
||||
|
||||
.goal-tree-node-heading {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 6px;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-icon {
|
||||
display: grid;
|
||||
width: 24px;
|
||||
height: 24px;
|
||||
place-items: center;
|
||||
border: 1px solid color-mix(in srgb, var(--goal-tree-node-color, var(--color-accent-gold)) 45%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
background: color-mix(in srgb, var(--goal-tree-node-color, var(--color-accent-gold)) 14%, transparent);
|
||||
color: var(--goal-tree-node-color, var(--color-accent-gold));
|
||||
}
|
||||
|
||||
.goal-tree-node-icon .ui-icon {
|
||||
width: 15px;
|
||||
height: 15px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-step > .goal-tree-node-card > .goal-tree-node-main > .goal-tree-node-icon {
|
||||
width: 42px;
|
||||
height: 42px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-step > .goal-tree-node-card > .goal-tree-node-main > .goal-tree-node-icon .ui-icon {
|
||||
width: 27px;
|
||||
height: 27px;
|
||||
}
|
||||
|
||||
.goal-tree-node-title {
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
color: var(--color-text-primary);
|
||||
font-size: 0.78rem;
|
||||
font-weight: 900;
|
||||
text-align: left;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-preview {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-height: 0;
|
||||
gap: 3px;
|
||||
justify-items: stretch;
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.goal-tree-node-content-preview:empty {
|
||||
display: none;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row {
|
||||
display: grid;
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
gap: 4px;
|
||||
align-items: center;
|
||||
min-width: 0;
|
||||
font-size: 0.72rem;
|
||||
font-weight: 800;
|
||||
text-align: left;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-checklist .goal-tree-node-content-row {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text .goal-tree-node-content-row {
|
||||
grid-template-columns: auto minmax(0, 1fr);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text .goal-tree-node-content-row::before {
|
||||
content: "";
|
||||
width: 3px;
|
||||
height: 3px;
|
||||
border-radius: 50%;
|
||||
background: currentColor;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row strong {
|
||||
color: var(--color-accent-gold);
|
||||
font-size: 0.72rem;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-label {
|
||||
overflow: hidden;
|
||||
min-width: 0;
|
||||
text-overflow: ellipsis;
|
||||
white-space: nowrap;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-add-button {
|
||||
display: grid;
|
||||
width: 100%;
|
||||
min-height: 20px;
|
||||
padding: 0;
|
||||
place-items: center;
|
||||
border-style: dashed;
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color, var(--color-accent-gold)) 56%, transparent);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(7, 10, 24, 0.2);
|
||||
color: var(--color-text-secondary);
|
||||
}
|
||||
|
||||
.goal-tree-node-content-add-button:hover,
|
||||
.goal-tree-node-content-add-button:focus-visible {
|
||||
border-color: color-mix(in srgb, var(--goal-tree-card-color, var(--color-accent-gold)) 78%, transparent);
|
||||
background: color-mix(in srgb, var(--goal-tree-card-color, var(--color-accent-gold)) 14%, transparent);
|
||||
color: var(--color-text-primary);
|
||||
}
|
||||
|
||||
.goal-tree-node-content-add-button .ui-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-checklist .goal-tree-node-content-label {
|
||||
padding-left: 2px;
|
||||
}
|
||||
|
||||
.goal-tree-node-check {
|
||||
display: grid;
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
margin: 0;
|
||||
accent-color: var(--color-accent-cyan);
|
||||
}
|
||||
|
||||
.goal-tree-step-check {
|
||||
justify-self: center;
|
||||
width: 16px;
|
||||
height: 16px;
|
||||
margin: 0;
|
||||
accent-color: var(--color-accent-gold);
|
||||
}
|
||||
|
||||
.goal-tree-step-qty-stepper {
|
||||
justify-self: center;
|
||||
grid-template-columns: 18px minmax(34px, auto) 18px;
|
||||
gap: 2px;
|
||||
font-size: 0.68rem;
|
||||
}
|
||||
|
||||
.goal-tree-step-qty-stepper button {
|
||||
display: grid;
|
||||
width: 18px;
|
||||
min-width: 18px;
|
||||
height: 18px;
|
||||
min-height: 18px;
|
||||
padding: 0;
|
||||
place-items: center;
|
||||
}
|
||||
|
||||
.goal-tree-step-qty-stepper .ui-icon {
|
||||
width: 10px;
|
||||
height: 10px;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row .goal-tree-content-qty-stepper {
|
||||
justify-self: start;
|
||||
grid-template-columns: 16px minmax(30px, auto) 16px;
|
||||
gap: 2px;
|
||||
font-size: 0.64rem;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row .goal-tree-content-qty-stepper button {
|
||||
min-width: 16px;
|
||||
min-height: 16px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-content-row .goal-tree-content-qty-stepper .ui-icon {
|
||||
width: 9px;
|
||||
height: 9px;
|
||||
}
|
||||
|
||||
.goal-tree-progress-track {
|
||||
grid-column: 1 / -1;
|
||||
justify-self: stretch;
|
||||
width: 100%;
|
||||
height: 5px;
|
||||
overflow: hidden;
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(150, 165, 205, 0.13);
|
||||
}
|
||||
|
||||
.goal-tree-progress-track span {
|
||||
display: block;
|
||||
height: 100%;
|
||||
border-radius: inherit;
|
||||
background: linear-gradient(90deg, var(--color-accent-gold), var(--color-accent-cyan));
|
||||
}
|
||||
|
||||
.goal-tree-node-actions {
|
||||
grid-area: actions;
|
||||
display: flex;
|
||||
min-height: 22px;
|
||||
justify-content: center;
|
||||
align-items: center;
|
||||
gap: 4px;
|
||||
padding-top: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-actions button,
|
||||
.goal-tree-drag-handle {
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
min-height: 22px;
|
||||
padding: 0;
|
||||
}
|
||||
|
||||
.goal-tree-node-actions .goal-tree-branch-toggle {
|
||||
width: 22px;
|
||||
min-width: 22px;
|
||||
height: 22px;
|
||||
min-height: 22px;
|
||||
}
|
||||
|
||||
.goal-tree-canvas.is-horizontal .goal-tree-branch-toggle .ui-icon-chevron-down,
|
||||
.goal-tree-canvas.is-horizontal .goal-tree-branch-toggle .ui-icon-chevron-up {
|
||||
transform: rotate(-90deg);
|
||||
}
|
||||
|
||||
.goal-tree-drag-handle {
|
||||
position: absolute;
|
||||
z-index: 3;
|
||||
top: 6px;
|
||||
left: 6px;
|
||||
border-color: rgba(165, 180, 252, 0.34);
|
||||
background: rgba(7, 10, 24, 0.82);
|
||||
color: var(--color-text-primary);
|
||||
cursor: grab;
|
||||
opacity: 1;
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(7, 10, 24, 0.72),
|
||||
0 6px 12px rgba(0, 0, 0, 0.22);
|
||||
}
|
||||
|
||||
.goal-tree-drag-handle:hover {
|
||||
border-color: rgba(246, 196, 83, 0.42);
|
||||
background: rgba(7, 10, 24, 0.92);
|
||||
color: var(--color-text-primary);
|
||||
box-shadow:
|
||||
0 0 0 1px rgba(246, 196, 83, 0.12),
|
||||
0 8px 14px rgba(0, 0, 0, 0.26);
|
||||
}
|
||||
|
||||
.goal-tree-drag-handle .ui-icon {
|
||||
width: 12px;
|
||||
height: 12px;
|
||||
}
|
||||
|
||||
.goal-tree-node-tooltip {
|
||||
max-width: 220px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-dragging {
|
||||
opacity: 0.55;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-drop-target > .goal-tree-node-card {
|
||||
border-color: rgba(246, 196, 83, 0.48);
|
||||
}
|
||||
|
||||
.goal-tree-node.is-drop-target > .goal-tree-node-card::after {
|
||||
position: absolute;
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(246, 196, 83, 0.9);
|
||||
box-shadow: 0 0 12px rgba(246, 196, 83, 0.24);
|
||||
content: "";
|
||||
pointer-events: none;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="horizontal"].is-drop-target > .goal-tree-node-card::after {
|
||||
top: 8px;
|
||||
bottom: 8px;
|
||||
left: -8px;
|
||||
width: 3px;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="horizontal"].is-drop-target.drop-after > .goal-tree-node-card::after {
|
||||
right: -8px;
|
||||
left: auto;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="vertical"].is-drop-target > .goal-tree-node-card::after {
|
||||
top: -8px;
|
||||
right: 8px;
|
||||
left: 8px;
|
||||
height: 3px;
|
||||
}
|
||||
|
||||
.goal-tree-node[data-reorder-orientation="vertical"].is-drop-target.drop-after > .goal-tree-node-card::after {
|
||||
top: auto;
|
||||
bottom: -8px;
|
||||
}
|
||||
|
||||
.goal-tree-empty {
|
||||
padding: var(--space-4);
|
||||
color: var(--color-text-secondary);
|
||||
text-align: center;
|
||||
}
|
||||
|
||||
.goal-tree-module .text-import-actions {
|
||||
padding-top: var(--space-2);
|
||||
}
|
||||
|
||||
@media (max-width: 860px) {
|
||||
.goal-tree-module {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.goal-tree-view.tool-split-results {
|
||||
min-height: 220px;
|
||||
}
|
||||
|
||||
.goal-tree-list {
|
||||
gap: 16px;
|
||||
}
|
||||
|
||||
.goal-tree-node {
|
||||
min-width: 96px;
|
||||
}
|
||||
|
||||
.goal-tree-node-card {
|
||||
width: 96px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text,
|
||||
.goal-tree-node.is-checklist {
|
||||
min-width: 160px;
|
||||
}
|
||||
|
||||
.goal-tree-node.is-text > .goal-tree-node-card,
|
||||
.goal-tree-node.is-checklist > .goal-tree-node-card {
|
||||
width: 160px;
|
||||
}
|
||||
}
|
||||
// Rôle : orchestre les styles des noeuds de l'arbre d'objectifs.
|
||||
@use "node-card";
|
||||
@use "node-content";
|
||||
@use "node-actions";
|
||||
@use "node-drag";
|
||||
@use "node-responsive";
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue