Migrate site controls to Nebula design system
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
All checks were successful
Deploy Sokko G / deploy (push) Successful in 17s
This commit is contained in:
parent
e3d0925eb1
commit
817e21567b
127 changed files with 5380 additions and 2363 deletions
|
|
@ -1,5 +1,5 @@
|
|||
// Rôle : gère l’outil timer, ses formulaires, listes et états d’alerte.
|
||||
@use "../mixins";
|
||||
@use "../design-system/controls";
|
||||
|
||||
.timer-tabs {
|
||||
width: fit-content;
|
||||
|
|
@ -7,6 +7,7 @@
|
|||
}
|
||||
|
||||
.timer-tabs button {
|
||||
@include controls.radio-button-group-option;
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
min-height: 36px;
|
||||
|
|
@ -48,31 +49,15 @@
|
|||
}
|
||||
|
||||
.time-parts-input {
|
||||
display: grid;
|
||||
grid-template-columns: minmax(34px, 1fr) 4px minmax(34px, 1fr) 4px minmax(34px, 1fr);
|
||||
align-items: center;
|
||||
min-height: 44px;
|
||||
border: 1px solid var(--color-border);
|
||||
border-radius: var(--radius-md);
|
||||
background: rgba(15, 23, 42, 0.64);
|
||||
overflow: hidden;
|
||||
@include controls.time-parts-control;
|
||||
}
|
||||
|
||||
.time-parts-input:focus-within {
|
||||
border-color: var(--color-primary);
|
||||
box-shadow: 0 0 0 3px rgba(139, 92, 246, 0.16);
|
||||
@include controls.time-parts-focus;
|
||||
}
|
||||
|
||||
.time-parts-input input {
|
||||
width: auto;
|
||||
min-width: 0;
|
||||
min-height: 42px;
|
||||
padding: 0;
|
||||
border: 0;
|
||||
border-radius: 0;
|
||||
background: transparent;
|
||||
text-align: center;
|
||||
box-shadow: none;
|
||||
@include controls.number-spinner-reset;
|
||||
}
|
||||
|
||||
.time-parts-input input:focus {
|
||||
|
|
@ -104,8 +89,7 @@
|
|||
}
|
||||
|
||||
.timer-interval-fields .time-parts-input {
|
||||
grid-template-columns: minmax(22px, 1fr) 4px minmax(22px, 1fr) 4px minmax(22px, 1fr);
|
||||
min-height: 38px;
|
||||
@include controls.time-parts-control(sm);
|
||||
}
|
||||
|
||||
.timer-interval-fields .time-parts-input input {
|
||||
|
|
@ -207,8 +191,7 @@
|
|||
gap: var(--space-2);
|
||||
}
|
||||
|
||||
.timer-action-button,
|
||||
.timer-actions .danger {
|
||||
.timer-action-button {
|
||||
display: inline-flex;
|
||||
width: 40px;
|
||||
min-width: 40px;
|
||||
|
|
@ -282,72 +265,39 @@
|
|||
}
|
||||
|
||||
.timer-drag-handle {
|
||||
width: 30px;
|
||||
min-width: 30px;
|
||||
min-height: 36px;
|
||||
padding: 0;
|
||||
color: var(--color-text-muted);
|
||||
@include controls.icon-button(xs);
|
||||
cursor: grab;
|
||||
touch-action: none;
|
||||
user-select: none;
|
||||
}
|
||||
|
||||
.timer-drag-handle .ui-icon {
|
||||
@include controls.icon-button-icon(xs);
|
||||
}
|
||||
|
||||
.timer-inline-reset {
|
||||
width: 26px;
|
||||
min-width: 26px;
|
||||
min-height: 26px;
|
||||
padding: 0;
|
||||
border-color: rgba(165, 180, 252, 0.08);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(5, 7, 17, 0.26);
|
||||
color: var(--color-text-muted);
|
||||
@include controls.icon-button(xxs);
|
||||
@include controls.icon-button-ghost;
|
||||
}
|
||||
|
||||
.timer-inline-refresh-toggle {
|
||||
display: inline-grid;
|
||||
grid-template-columns: 13px 18px;
|
||||
width: 42px;
|
||||
min-width: 42px;
|
||||
min-height: 26px;
|
||||
align-items: center;
|
||||
gap: 3px;
|
||||
padding: 0 4px;
|
||||
border-color: rgba(165, 180, 252, 0.08);
|
||||
border-radius: var(--radius-sm);
|
||||
background: rgba(5, 7, 17, 0.26);
|
||||
color: var(--color-text-muted);
|
||||
@include controls.switch-control(xs);
|
||||
}
|
||||
|
||||
.timer-inline-refresh-toggle i {
|
||||
position: relative;
|
||||
display: block;
|
||||
width: 18px;
|
||||
height: 12px;
|
||||
border: 1px solid rgba(165, 180, 252, 0.18);
|
||||
border-radius: var(--radius-pill);
|
||||
background: rgba(7, 10, 24, 0.72);
|
||||
@include controls.switch-track;
|
||||
}
|
||||
|
||||
.timer-inline-refresh-toggle i::before {
|
||||
content: "";
|
||||
position: absolute;
|
||||
top: 50%;
|
||||
left: 2px;
|
||||
width: 8px;
|
||||
height: 8px;
|
||||
border-radius: 50%;
|
||||
background: var(--color-text-muted);
|
||||
transform: translateY(-50%);
|
||||
transition:
|
||||
left var(--duration-fast) var(--ease-standard),
|
||||
background-color var(--duration-fast) var(--ease-standard),
|
||||
box-shadow var(--duration-fast) var(--ease-standard);
|
||||
@include controls.switch-thumb;
|
||||
}
|
||||
|
||||
.timer-inline-reset .ui-icon {
|
||||
@include controls.icon-button-icon(xxs);
|
||||
}
|
||||
|
||||
.timer-inline-reset .ui-icon,
|
||||
.timer-inline-refresh-toggle .ui-icon {
|
||||
width: 14px;
|
||||
height: 14px;
|
||||
@include controls.switch-icon;
|
||||
}
|
||||
|
||||
.timer-inline-controls {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue