first commit
This commit is contained in:
parent
b216a187bd
commit
f73c77f548
119 changed files with 4504 additions and 4829 deletions
112
frontend/app/css/forms.css
Normal file
112
frontend/app/css/forms.css
Normal file
|
|
@ -0,0 +1,112 @@
|
|||
/* Formulaires minimalistes — blanc & orange */
|
||||
label {
|
||||
display: block;
|
||||
margin-bottom: var(--space-2, 0.5rem);
|
||||
font-weight: 600;
|
||||
}
|
||||
|
||||
input[type="text"],
|
||||
input[type="email"],
|
||||
input[type="url"],
|
||||
input[type="tel"],
|
||||
input[type="password"],
|
||||
input[type="number"],
|
||||
select,
|
||||
textarea {
|
||||
width: 100%;
|
||||
max-width: 640px;
|
||||
background: #ffffff;
|
||||
color: var(--color-text, #1f2937);
|
||||
border: 1px solid var(--color-border, #efefef);
|
||||
border-radius: var(--radius-sm, 6px);
|
||||
padding: 0.625rem 0.75rem;
|
||||
outline: none;
|
||||
transition: border-color 0.2s ease, box-shadow 0.2s ease, background-color 0.2s ease;
|
||||
}
|
||||
|
||||
input:hover,
|
||||
select:hover,
|
||||
textarea:hover {
|
||||
border-color: var(--color-accent-100, #ffe4d6);
|
||||
}
|
||||
|
||||
textarea {
|
||||
min-height: 140px;
|
||||
resize: vertical;
|
||||
}
|
||||
|
||||
input::placeholder,
|
||||
textarea::placeholder {
|
||||
color: var(--color-muted, #6b7280);
|
||||
}
|
||||
|
||||
input:focus,
|
||||
select:focus,
|
||||
textarea:focus {
|
||||
border-color: var(--color-accent, #ff6b35);
|
||||
box-shadow: 0 0 0 3px color-mix(in oklab, var(--color-accent, #ff6b35) 22%, transparent);
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
/* Boutons */
|
||||
button,
|
||||
.button {
|
||||
display: inline-flex;
|
||||
align-items: center;
|
||||
justify-content: center;
|
||||
gap: 0.5rem;
|
||||
padding: 0.6rem 1rem;
|
||||
border: 1px solid transparent;
|
||||
border-radius: var(--radius-sm, 6px);
|
||||
background: var(--color-accent, #ff6b35);
|
||||
color: #fff;
|
||||
font-weight: 600;
|
||||
cursor: pointer;
|
||||
transition: transform 0.05s ease, background-color 0.2s ease, box-shadow 0.2s ease;
|
||||
text-decoration: none;
|
||||
}
|
||||
|
||||
button:hover,
|
||||
.button:hover {
|
||||
background: var(--color-accent-600, #e55a2b);
|
||||
box-shadow: 0 6px 14px rgba(255, 107, 53, 0.2);
|
||||
}
|
||||
|
||||
button:active,
|
||||
.button:active {
|
||||
transform: translateY(0.5px);
|
||||
background: var(--color-accent-700, #c74d25);
|
||||
}
|
||||
|
||||
button:focus-visible,
|
||||
.button:focus-visible {
|
||||
outline: 2px solid var(--color-accent, #ff6b35);
|
||||
outline-offset: 2px;
|
||||
box-shadow: 0 0 0 4px color-mix(in oklab, var(--color-accent, #ff6b35) 25%, transparent);
|
||||
}
|
||||
|
||||
button:disabled,
|
||||
.button:disabled {
|
||||
opacity: 0.6;
|
||||
cursor: not-allowed;
|
||||
}
|
||||
|
||||
/* Variantes */
|
||||
.button--elevated {
|
||||
box-shadow: 0 8px 18px rgba(255, 107, 53, 0.25);
|
||||
}
|
||||
|
||||
.button--soft {
|
||||
background: var(--color-accent-50, #fff4ec);
|
||||
color: var(--color-accent-700, #c74d25);
|
||||
border: 1px solid var(--color-accent-100, #ffe4d6);
|
||||
}
|
||||
|
||||
.button--soft:hover {
|
||||
background: var(--color-accent-100, #ffe4d6);
|
||||
color: var(--color-accent-700, #c74d25);
|
||||
}
|
||||
|
||||
.button--pill {
|
||||
border-radius: 999px;
|
||||
}
|
||||
Loading…
Add table
Add a link
Reference in a new issue