mirror of
https://github.com/bytedance/deer-flow.git
synced 2026-09-14 08:00:10 +00:00
fix(frontend): add pointer cursor to interactive controls (#4921)
* fix(frontend): add pointer cursor to interactive controls * fix(frontend): address cursor selector review feedback
This commit is contained in:
parent
ce635b7de6
commit
98ae762db9
@ -443,6 +443,14 @@ html.dark .shiki span {
|
|||||||
background: color-mix(in oklch, var(--muted-foreground) 35%, transparent);
|
background: color-mix(in oklch, var(--muted-foreground) 35%, transparent);
|
||||||
border-radius: 999px;
|
border-radius: 999px;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
:is(button, [role="button"]):not(
|
||||||
|
:disabled,
|
||||||
|
[aria-disabled="true"],
|
||||||
|
[data-disabled="true"]
|
||||||
|
) {
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
:root {
|
:root {
|
||||||
@ -451,3 +459,16 @@ html.dark .shiki span {
|
|||||||
--container-width-md: calc(var(--spacing) * 204);
|
--container-width-md: calc(var(--spacing) * 204);
|
||||||
--container-width-lg: calc(var(--spacing) * 256);
|
--container-width-lg: calc(var(--spacing) * 256);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@layer utilities {
|
||||||
|
:is(
|
||||||
|
[data-slot="dropdown-menu-item"],
|
||||||
|
[data-slot="dropdown-menu-checkbox-item"],
|
||||||
|
[data-slot="dropdown-menu-radio-item"],
|
||||||
|
[data-slot="dropdown-menu-sub-trigger"],
|
||||||
|
[data-slot="command-item"]
|
||||||
|
):not(:disabled, [aria-disabled="true"], [data-disabled="true"]) {
|
||||||
|
/* Override this registry rule with an important utility, e.g. cursor-default!. */
|
||||||
|
cursor: pointer;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|||||||
Loading…
x
Reference in New Issue
Block a user