|
62 | 62 | <Popover.Root bind:open={ignOpen}> |
63 | 63 | <Popover.Trigger |
64 | 64 | disabled={(profile?.members?.length || 1) <= 1} |
65 | | - class="inline-flex items-center rounded-full bg-foreground/10 py-2 pr-4 pl-2 align-middle text-xl font-semibold whitespace-nowrap transition-[scale,background-color] duration-300 ease-out not-disabled:hover:scale-95 not-disabled:hover:bg-foreground/20 data-[state=open]:scale-95 data-[state=open]:bg-foreground/20 sm:text-3xl" |
| 65 | + class="inline-flex items-center rounded-full bg-foreground/10 py-2 pr-4 pl-2 align-middle text-xl font-semibold whitespace-nowrap transition-[scale,background-color] duration-300 ease-out data-[state=open]:scale-95 data-[state=open]:bg-foreground/20 sm:text-3xl not-disabled:interact:scale-95 not-disabled:interact:bg-foreground/20" |
66 | 66 | bind:ref={ignRef}> |
67 | 67 | {#if profile != null && profile.rank?.rankColor} |
68 | 68 | <div |
|
98 | 98 | variant="outline" |
99 | 99 | size="sm" |
100 | 100 | data-removed={member.removed} |
101 | | - class="group flex-nowrap bg-foreground/5 [a]:transition-[scale,background-color] [a]:duration-300 [a]:ease-out [a]:hover:scale-95 [a]:hover:bg-foreground/10"> |
| 101 | + class="group flex-nowrap bg-foreground/5 [a]:transition-[scale,background-color] [a]:duration-300 [a]:ease-out [a]:hover:bg-foreground/10 [a]:interact:scale-95"> |
102 | 102 | {#snippet child({ props })} |
103 | 103 | <a |
104 | 104 | href={resolve("/stats/[ign]/[[profile]]", { |
|
140 | 140 | </Popover.Root> |
141 | 141 | <span>on</span> |
142 | 142 | <div |
143 | | - class="relative inline-flex items-center gap-2 rounded-full bg-foreground/10 px-2 py-1 align-middle text-xl font-semibold transition-[scale,background-color] duration-300 ease-out data-[disabled=false]:hover:scale-95 data-[disabled=false]:hover:bg-foreground/20 data-[disabled=false]:data-[open=true]:scale-95 data-[disabled=false]:data-[open=true]:bg-foreground/20 data-[warning=true]:border-2 data-[warning=true]:border-yellow-500/20 sm:text-3xl" |
| 143 | + class="relative inline-flex items-center gap-2 rounded-full bg-foreground/10 px-2 py-1 align-middle text-xl font-semibold transition-[scale,background-color] duration-300 ease-out data-[disabled=false]:data-[open=true]:scale-95 data-[disabled=false]:data-[open=true]:bg-foreground/20 data-[warning=true]:border-2 data-[warning=true]:border-yellow-500/20 sm:text-3xl data-[disabled=false]:interact:scale-95 data-[disabled=false]:interact:bg-foreground/20" |
144 | 144 | data-open={profileOpen || noticeOpen} |
145 | 145 | data-warning={apiSettings.length > 0} |
146 | 146 | bind:this={noticeRef} |
|
176 | 176 | <Item.Root |
177 | 177 | variant="outline" |
178 | 178 | size="sm" |
179 | | - class="flex-nowrap bg-foreground/5 [a]:transition-[scale,background-color] [a]:duration-300 [a]:ease-out [a]:hover:scale-95 [a]:hover:bg-foreground/10"> |
| 179 | + class="flex-nowrap bg-foreground/5 [a]:transition-[scale,background-color] [a]:duration-300 [a]:ease-out [a]:hover:bg-foreground/10 [a]:interact:scale-95"> |
180 | 180 | {#snippet child({ props })} |
181 | 181 | <a |
182 | 182 | href={resolve("/stats/[ign]/[[profile]]", { |
|
0 commit comments