carhop__carhop-theme__DEV/resources/css/forms/forms.css
Antoine M 4f8099bfa9
All checks were successful
continuous-integration/drone/push Build is passing
STYLE FIX
2025-10-20 15:57:15 +02:00

54 lines
994 B
CSS

.form-carhop {
input,
select,
textarea {
@apply !p-4 font-light text-xl;
&:focus-visible {
outline-style: solid;
outline-offset: 6px;
outline-color: white;
outline-width: 3px !important;
backdrop-filter: brightness(1.05) blur(10.2px);
}
}
input::placeholder,
select::placeholder,
textarea::placeholder {
@apply opacity-60;
}
input[type='submit'] {
@apply cursor-pointer font-medium !w-fit !ml-auto !mx-auto;
transition: transform 0.3s ease;
&:hover {
transform: scale(1.02);
}
}
}
.form-carhop--dark {
input,
select,
textarea {
@apply border-white;
}
input::placeholder,
select::placeholder,
textarea::placeholder {
@apply text-white;
}
input[type='submit'] {
@apply bg-white text-primary cursor-pointer;
&:hover {
@apply bg-white text-primary;
}
}
}
form:not(:has(.gfield)) {
@apply form-carhop;
}