carhop__carhop-theme__DEV/resources/css/components/buttons.css
2025-08-22 17:27:28 +02:00

70 lines
1.2 KiB
CSS

.wp-block-button__link {
border-radius: 0px;
@apply border-primary border bg-transparent text-primary;
}
.cta {
@apply block w-fit px-6 py-3;
&--classic {
@apply border-primary border bg-transparent text-primary;
&:hover {
@apply bg-primary text-white;
svg rect,
svg polyline {
@apply !stroke-white;
}
}
}
&--rounded {
@apply rounded-full;
}
&--primary {
@apply border-primary border bg-primary text-white;
}
&--mailing {
}
&--go {
@apply bg-transparent filter-primary border-none px-0 py-6;
img {
@apply w-24;
transition: transform 0.3s ease-in-out;
}
&:hover img {
@apply translate-x-2;
}
}
&--has-icon {
@apply flex items-center gap-4;
svg {
@apply w-6;
rect,
polyline {
@apply stroke-primary;
stroke-width: 3;
}
}
}
&--download-pdf {
.icon {
@apply w-6 h-6 filter-primary;
}
&:hover {
.icon {
@apply filter-white;
}
}
&:before,
&:after {
content: none !important;
}
}
}