Files
Sable/src/app/styles/overrides/General.css.ts
T
7w1 bed7024ab1 address lint rules & update package.json
via an exclusion and lots of copy paste
as part of that swapped space banner and abbr to use buttons and disabled button styles for them
2026-06-16 18:05:31 -05:00

56 lines
954 B
TypeScript

import { globalStyle } from '@vanilla-extract/css';
globalStyle(
`
button,
[role="button"],
[class*="Button"],
[class*="Chip"],
[class*="MenuItem"]
`,
{
transition: 'transform 0.1s ease-in-out, background-color 0.15s ease !important',
}
);
globalStyle(
`
button:active,
[role="button"]:active,
[class*="Button"]:active,
[class*="Chip"]:active
`,
{
transform: 'scale(0.96) !important',
}
);
globalStyle(
`
button:hover,
[role="button"]:hover
`,
{
transform: 'translateY(-1px)',
}
);
globalStyle(
`
button[class*="_1684mq51"]:has(img):hover,
[data-index] button:hover,
[data-index] [role="button"]:hover
`,
{
transform: 'none !important',
}
);
globalStyle(
'button[data-no-button-motion], button[data-no-button-motion]:hover, button[data-no-button-motion]:active',
{
transform: 'none !important',
transition: 'none !important',
}
);