semplification
This commit is contained in:
parent
0543352bf8
commit
94edc34e10
4 changed files with 7 additions and 7 deletions
|
|
@ -178,7 +178,7 @@ export const CardAnnuncio = ({
|
|||
<div className="absolute top-1 z-20 flex w-full justify-center px-2">
|
||||
<Badge
|
||||
className={cn(
|
||||
"flex items-center gap-1.5 rounded-t-none px-1 py-0.5 font-semibold text-base text-white shadow-lg [&>svg]:size-4.5",
|
||||
"flex items-center gap-1.5 rounded-t-none px-1 py-0.5 font-semibold text-base text-white [&>svg]:size-4.5",
|
||||
isAvailableNow
|
||||
? "bg-dasubito"
|
||||
: "bg-evidenza text-primary dark:text-accent",
|
||||
|
|
@ -202,7 +202,7 @@ export const CardAnnuncio = ({
|
|||
<div className="absolute top-1 z-20 flex w-full justify-center px-2">
|
||||
<Badge
|
||||
className={cn(
|
||||
"flex items-center gap-1.5 rounded-t-none bg-trattativa px-1 py-0.5 font-semibold text-base text-white shadow-lg [&>svg]:size-4.5",
|
||||
"flex items-center gap-1.5 rounded-t-none bg-trattativa px-1 py-0.5 font-semibold text-base text-white [&>svg]:size-4.5",
|
||||
)}
|
||||
>
|
||||
<span>In Trattativa</span>
|
||||
|
|
|
|||
|
|
@ -96,7 +96,7 @@ const AutocompleteSearchBox = ({
|
|||
</label>
|
||||
<Input
|
||||
className={cn(
|
||||
"z-10 cursor-pointer search-cancel:cursor-pointer rounded-md border-fxd-foreground bg-transparent text-fxd-foreground text-xl search-cancel:brightness-75 search-cancel:grayscale placeholder:font-bold placeholder:text-primary focus:ring-fxd-secondary dark:bg-transparent dark:hover:bg-input/10",
|
||||
"z-10 cursor-pointer search-cancel:cursor-pointer rounded-md border-fxd-foreground bg-transparent text-fxd-foreground text-xl search-cancel:brightness-75 search-cancel:grayscale placeholder:font-bold placeholder:text-primary focus:ring-0 dark:bg-transparent dark:hover:bg-input/10",
|
||||
className,
|
||||
)}
|
||||
id={inputId || "search"}
|
||||
|
|
@ -122,7 +122,7 @@ const AutocompleteSearchBox = ({
|
|||
{open && (
|
||||
<div
|
||||
className={cn(
|
||||
"absolute z-50 mt-1 max-h-64 w-full overflow-hidden rounded-md border border-fxd-foreground bg-fxd-secondary shadow-xs ring-1 ring-fxd-secondary",
|
||||
"absolute z-50 mt-1 max-h-64 w-full overflow-hidden rounded-md border border-fxd-foreground bg-fxd-secondary",
|
||||
|
||||
optionBoxClassName,
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -78,7 +78,7 @@ export default function MapMarker({
|
|||
{/* Rectangle part */}
|
||||
<div
|
||||
className={cn(
|
||||
"flex items-center justify-center font-medium text-primary-foreground shadow-md",
|
||||
"flex items-center justify-center font-medium text-primary-foreground",
|
||||
sizeClasses[size].rectangle,
|
||||
colorClasses[color].rectangle,
|
||||
)}
|
||||
|
|
|
|||
|
|
@ -92,12 +92,12 @@ const TrovaCasaCTA = (props: { testi: LangDict }) => {
|
|||
key={"codiceBox"}
|
||||
optionBoxClassName="left-0"
|
||||
/>
|
||||
<div className="pointer-events-none absolute h-full w-full overflow-clip rounded-lg">
|
||||
{/* <div className="pointer-events-none absolute h-full w-full overflow-clip rounded-lg">
|
||||
<div
|
||||
className="pointer-events-none h-full w-full animate-[ping_1.5s_cubic-bezier(0,0,.2,1)_infinite] bg-yellow-500"
|
||||
id="animationDiv"
|
||||
/>
|
||||
</div>
|
||||
</div> */}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue