STYLE refining colors and aspect

This commit is contained in:
Antoine M 2025-10-07 09:11:17 +02:00
parent 1ef0d293cf
commit 30897730ee

View File

@ -53,7 +53,7 @@ body.front-end {
--gf-ctrl-bg-color-focus: transparent !important;
--gf-ctrl-bg-color-hover: transparent !important;
--gf-ctrl-color: var(--wp--preset--color--carhop-green);
--gf-ctrl-color: white;
--gf-ctrl-color-focus: white;
--gf-ctrl-color-hover: white;
@ -139,13 +139,15 @@ body.front-end {
@apply !relative;
--gf-ctrl-label-color-primary: white;
--gf-ctrl-label-color-req: white;
.gfield_label {
@apply !opacity-0 absolute top-1/2 left-4 text-white !text-lg !font-light;
transition: all 0.15s ease-out;
}
}
.gfield:has(input:focus, textarea:focus) {
.gfield:has(input:focus, textarea:focus),
.gfield:has(input:not(:placeholder-shown), textarea:not(:placeholder-shown)) {
.gfield_label {
@apply !opacity-100;
@ -158,3 +160,7 @@ body.front-end {
@apply !opacity-0;
}
}
.gform_wrapper {
@apply mt-12;
}