@indxsearch/systm 2.23.0 → 2.25.0-beta.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +28 -0
- package/dist/components/Chip/Chip.d.ts +10 -2
- package/dist/components/HistogramRange/HistogramRange.d.ts +36 -0
- package/dist/components/Icicle/Icicle.d.ts +22 -0
- package/dist/components/Icicle/index.d.ts +1 -0
- package/dist/components/InputField/InputField.d.ts +2 -1
- package/dist/components/ScoreMeter/ScoreMeter.d.ts +23 -0
- package/dist/components/ScoreMeter/index.d.ts +1 -0
- package/dist/components/ScrubSlider/ScrubSlider.d.ts +10 -0
- package/dist/components/ShimmerText/ShimmerText.d.ts +11 -0
- package/dist/components/ShimmerText/index.d.ts +1 -0
- package/dist/components/Sidebar/Sidebar.d.ts +4 -1
- package/dist/components/SliderField/SliderField.d.ts +26 -0
- package/dist/components/StepProgress/StepProgress.d.ts +22 -0
- package/dist/components/StepProgress/index.d.ts +1 -0
- package/dist/components/Table/Table.d.ts +15 -1
- package/dist/components/Table/columnResize.d.ts +5 -0
- package/dist/components/TreeCanvas/TreeCanvas.d.ts +5 -1
- package/dist/components/TreeCanvas/viewport.d.ts +1 -1
- package/dist/cursors.css +98 -42
- package/dist/index.cjs.js +1 -1
- package/dist/index.d.ts +7 -1
- package/dist/index.es.js +1822 -1317
- package/dist/systm.css +1 -1
- package/dist/systm.shadow.css +1 -1
- package/package.json +1 -1
package/CHANGELOG.md
CHANGED
|
@@ -1,5 +1,33 @@
|
|
|
1
1
|
# Changelog
|
|
2
2
|
|
|
3
|
+
## 2.25.0-beta.0
|
|
4
|
+
|
|
5
|
+
### Minor Changes
|
|
6
|
+
|
|
7
|
+
- c4f1ecb: Chip can be a toggle: with `onClick` it is a button, and `selected` shows it picked.
|
|
8
|
+
- a880596: HistogramRange: a range over a number field's values, picked by dragging across their histogram
|
|
9
|
+
or typed in the from and to fields under it.
|
|
10
|
+
- c3d895c: InputField has a `ghost` variant: no border until it is hovered or focused, for a value that sits
|
|
11
|
+
inline, such as a number beside its slider.
|
|
12
|
+
- 1ba5cc7: Sidebar: `railFooter`, what the foot shows when the column is folded to a rail (the footer is hidden there), such as a small progress ring.
|
|
13
|
+
- 9bd6669: SliderField: a slider and the number it holds, side by side. The slider moves in its steps; the
|
|
14
|
+
number takes any value, typed or stepped with the arrow keys. The InputField `ghost` variant now
|
|
15
|
+
shows its border only while it is edited, and a ghost button's tint when hovered.
|
|
16
|
+
- 4829cc7: StepProgress: progress through steps in parts, a thin bar per part as wide as its share of the steps and filled by its own steps done, with optional labels. A part of one step is a plain stepper.
|
|
17
|
+
|
|
18
|
+
### Patch Changes
|
|
19
|
+
|
|
20
|
+
- c4ff027: A disabled `Slider` shows as the other disabled controls do: the whole slider dimmed, with its thumb still visible against the fill.
|
|
21
|
+
|
|
22
|
+
## 2.24.0
|
|
23
|
+
|
|
24
|
+
### Minor Changes
|
|
25
|
+
|
|
26
|
+
- TreeCanvas: a full-screen control beside zoom and fit. It fills the screen with the nearest element marked `data-tree-fullscreen`, so a panel beside the board goes along, or with the board; Esc leaves, and the view is fitted again. `fullscreen={false}` leaves it out.
|
|
27
|
+
- Icicle: a tree as nested blocks read top to bottom, each as wide as its share of the root and toned by how much of it goes on to its children; the space under a block is what stopped there. For browsing paths, and any tree whose values add up.
|
|
28
|
+
- ScoreMeter: a score from 0 to 1 as a row of small cells lit up to it, with a thin tick at each threshold and its name on hover; the cells strengthen as the score passes the ticks, the full ink past every one. Compact, for a line of text.
|
|
29
|
+
- ShimmerText: text a highlight sweeps across, for a line that says something is about to happen, such as "Thinking" or "For a quick answer, type a bit more". `active={false}` holds it still, and it is still for anyone who has asked for reduced motion.
|
|
30
|
+
|
|
3
31
|
## 2.23.0
|
|
4
32
|
|
|
5
33
|
### Minor Changes
|
|
@@ -8,12 +8,20 @@ export interface ChipProps {
|
|
|
8
8
|
color?: string;
|
|
9
9
|
textColor?: string;
|
|
10
10
|
className?: string;
|
|
11
|
+
title?: string;
|
|
11
12
|
/** Optional leading icon. Sized and coloured to match the chip text. */
|
|
12
13
|
icon?: React.ReactElement<IconProps>;
|
|
13
14
|
/** `large` is a taller, more-padded badge that suits a leading icon. */
|
|
14
15
|
size?: 'default' | 'large';
|
|
16
|
+
/** Makes the chip a toggle button. Without it the chip is a label. */
|
|
17
|
+
onClick?: (event: React.MouseEvent<HTMLButtonElement>) => void;
|
|
18
|
+
/** A toggle's state: ink on the ground, as a picked value reads. */
|
|
19
|
+
selected?: boolean;
|
|
20
|
+
disabled?: boolean;
|
|
15
21
|
}
|
|
16
22
|
/** `indx-chip` is a stable class beside the hashed one, as the Blazor Chip has, so a container can
|
|
17
|
-
* style the chips inside it (intrface's result rows set their background).
|
|
18
|
-
|
|
23
|
+
* style the chips inside it (intrface's result rows set their background). With `onClick` it is a
|
|
24
|
+
* toggle, a button that says whether it is `selected` (aria-pressed), for values that can be
|
|
25
|
+
* picked, as a facet's are in the console's search preview. */
|
|
26
|
+
export declare function Chip({ children, color, textColor, className, title, icon, size, onClick, selected, disabled }: ChipProps): import("react/jsx-runtime").JSX.Element;
|
|
19
27
|
export {};
|
|
@@ -0,0 +1,36 @@
|
|
|
1
|
+
/** One bar: the first and last value it holds and how many records hold them. */
|
|
2
|
+
export interface HistogramBar {
|
|
3
|
+
from: number;
|
|
4
|
+
to: number;
|
|
5
|
+
count: number;
|
|
6
|
+
}
|
|
7
|
+
export interface HistogramRangeValue {
|
|
8
|
+
/** null is open at that end. */
|
|
9
|
+
from: number | null;
|
|
10
|
+
to: number | null;
|
|
11
|
+
}
|
|
12
|
+
export interface HistogramRangeProps {
|
|
13
|
+
/** The field's values and their counts, in any order. */
|
|
14
|
+
values: ReadonlyArray<readonly [number, number]>;
|
|
15
|
+
value: HistogramRangeValue;
|
|
16
|
+
/** Once the range is picked: a drag ended, a bar clicked, an end typed. */
|
|
17
|
+
onChange: (value: HistogramRangeValue) => void;
|
|
18
|
+
/** At most this many bars; fewer values than this are a bar each. */
|
|
19
|
+
maxBars?: number;
|
|
20
|
+
/** What the arrow keys add in the numbers; any by default. */
|
|
21
|
+
step?: number;
|
|
22
|
+
disabled?: boolean;
|
|
23
|
+
className?: string;
|
|
24
|
+
'aria-label': string;
|
|
25
|
+
}
|
|
26
|
+
/** The values as bars: a bar each when there are no more than maxBars, else that many of equal
|
|
27
|
+
* width from the lowest to the highest, each spanning the values it holds. */
|
|
28
|
+
export declare function barsOf(values: ReadonlyArray<readonly [number, number]>, maxBars: number): HistogramBar[];
|
|
29
|
+
/**
|
|
30
|
+
* A range over a number field's values, picked on their histogram or typed. The bars are the
|
|
31
|
+
* counts of the values given, gathered into at most maxBars; under them from and to are ghost
|
|
32
|
+
* numbers. Dragging across the bars writes the numbers, typing a number lights the bars it
|
|
33
|
+
* reaches: one range, two ways in. An empty end is open; clicking the one bar that is the whole
|
|
34
|
+
* range clears it. The port of the Blazor HistogramRange (the console's search preview).
|
|
35
|
+
*/
|
|
36
|
+
export declare function HistogramRange({ values, value, onChange, maxBars, step, disabled, className, 'aria-label': ariaLabel }: HistogramRangeProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface IcicleNode {
|
|
2
|
+
label: string;
|
|
3
|
+
/** Itself and everything under it. */
|
|
4
|
+
value: number;
|
|
5
|
+
children?: IcicleNode[];
|
|
6
|
+
}
|
|
7
|
+
export interface IcicleProps {
|
|
8
|
+
root: IcicleNode;
|
|
9
|
+
/** The height of a row in pixels; 30 by default. */
|
|
10
|
+
rowHeight?: number;
|
|
11
|
+
/** The rows drawn, the root's included; deeper nodes are left out. 6 by default. */
|
|
12
|
+
maxDepth?: number;
|
|
13
|
+
/** A block's text on hover; its label and value by default. */
|
|
14
|
+
title?: (node: IcicleNode) => string;
|
|
15
|
+
'aria-label'?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/** A tree as nested blocks, read top to bottom: the root across the top, each node's children in
|
|
19
|
+
* the row under it, a block as wide as its share of the root. A block is toned by how much of it
|
|
20
|
+
* goes on to its children, and the space a parent leaves under it is the part that stopped there.
|
|
21
|
+
* Made for browsing paths, and for any tree whose values add up. The Blazor Icicle is its port. */
|
|
22
|
+
export declare function Icicle({ root, rowHeight, maxDepth, title, className, ...rest }: IcicleProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { Icicle, type IcicleProps, type IcicleNode } from './Icicle';
|
|
@@ -4,6 +4,7 @@ export interface InputFieldProps extends React.InputHTMLAttributes<HTMLInputElem
|
|
|
4
4
|
error?: string;
|
|
5
5
|
className?: string;
|
|
6
6
|
isValid?: boolean;
|
|
7
|
-
|
|
7
|
+
/** `ghost`: no border until it is edited, a ghost button's tint when hovered, for a value that sits inline. */
|
|
8
|
+
variant?: 'default' | 'borderBottom' | 'ghost';
|
|
8
9
|
}
|
|
9
10
|
export declare function InputField({ label, error, className, isValid, variant, id: providedId, ...props }: InputFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,23 @@
|
|
|
1
|
+
export interface ScoreMark {
|
|
2
|
+
/** Where on the scale, 0 to 1. */
|
|
3
|
+
at: number;
|
|
4
|
+
/** Its name, shown on hover with its value. */
|
|
5
|
+
label: string;
|
|
6
|
+
}
|
|
7
|
+
export interface ScoreMeterProps {
|
|
8
|
+
/** The score, 0 to 1. */
|
|
9
|
+
value: number;
|
|
10
|
+
marks?: ScoreMark[];
|
|
11
|
+
/** How many cells; 20 by default, a cell for each 0.05. */
|
|
12
|
+
cells?: number;
|
|
13
|
+
/** A cell's width in pixels; 4 by default. */
|
|
14
|
+
cell?: number;
|
|
15
|
+
'aria-label'?: string;
|
|
16
|
+
className?: string;
|
|
17
|
+
}
|
|
18
|
+
/** A score from 0 to 1 as a row of small cells, the waffle's pixels in one line, lit up to the
|
|
19
|
+
* score, with a thin tick at each threshold that matters to it (its name on hover): a judge's
|
|
20
|
+
* score against the lines that decide what it does. The lit cells strengthen as the score passes
|
|
21
|
+
* the ticks: dim below them all, a step up past some, the full ink past every one. Compact, for a
|
|
22
|
+
* line of text. The Blazor ScoreMeter is its port. */
|
|
23
|
+
export declare function ScoreMeter({ value, marks, cells, cell, className, ...rest }: ScoreMeterProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ScoreMeter, type ScoreMeterProps, type ScoreMark } from './ScoreMeter';
|
|
@@ -1,4 +1,12 @@
|
|
|
1
1
|
import { default as React } from 'react';
|
|
2
|
+
/** A value marked on the ruler: a line where it stands, scrolling with the ticks. A tone colours it,
|
|
3
|
+
* for a value that changes what the setting does (0 switching a weight off). */
|
|
4
|
+
export interface ScrubSliderMark {
|
|
5
|
+
value: number;
|
|
6
|
+
tone?: 'warning' | 'signal';
|
|
7
|
+
/** What the mark means, read by a screen reader with the slider's value text. */
|
|
8
|
+
label?: string;
|
|
9
|
+
}
|
|
2
10
|
export interface ScrubSliderProps {
|
|
3
11
|
value: number;
|
|
4
12
|
onChange: (value: number) => void;
|
|
@@ -19,5 +27,7 @@ export interface ScrubSliderProps {
|
|
|
19
27
|
className?: string;
|
|
20
28
|
'aria-label'?: string;
|
|
21
29
|
id?: string;
|
|
30
|
+
/** Values marked on the ruler. */
|
|
31
|
+
marks?: ScrubSliderMark[];
|
|
22
32
|
}
|
|
23
33
|
export declare const ScrubSlider: React.FC<ScrubSliderProps>;
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
import { default as React } from 'react';
|
|
2
|
+
export interface ShimmerTextProps extends React.HTMLAttributes<HTMLSpanElement> {
|
|
3
|
+
children: React.ReactNode;
|
|
4
|
+
/** The highlight sweeps while true; false is the same text, still. Default true. */
|
|
5
|
+
active?: boolean;
|
|
6
|
+
}
|
|
7
|
+
/** Text a highlight sweeps across, left to right, as Notion's quick answer has it: for a line that
|
|
8
|
+
* says something is about to happen ("Thinking", "For a quick answer, type a bit more"). The one
|
|
9
|
+
* motion in systm that runs before anything is computing (27 Oct 2026): it invites. Still under
|
|
10
|
+
* prefers-reduced-motion. The Blazor ShimmerText is its port. */
|
|
11
|
+
export declare function ShimmerText({ children, active, className, ...rest }: ShimmerTextProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { ShimmerText, type ShimmerTextProps } from './ShimmerText';
|
|
@@ -39,6 +39,9 @@ export interface SidebarProps {
|
|
|
39
39
|
header?: React.ReactNode;
|
|
40
40
|
/** Under the groups, above the fold button; hidden in the rail. */
|
|
41
41
|
footer?: React.ReactNode;
|
|
42
|
+
/** What the foot shows folded to a rail, in place of the footer, which the rail hides:
|
|
43
|
+
* something narrow, 50px at most (a progress ring). Not shown unfolded. */
|
|
44
|
+
railFooter?: React.ReactNode;
|
|
42
45
|
/** The rail of icons, controlled with `onCollapsedChange`; leave both out and it keeps its own. */
|
|
43
46
|
collapsed?: boolean;
|
|
44
47
|
onCollapsedChange?: (collapsed: boolean) => void;
|
|
@@ -59,5 +62,5 @@ export interface SidebarProps {
|
|
|
59
62
|
* icons (Cmd or Ctrl and B, or the button at its foot), remembered with `storageKey`; in the rail
|
|
60
63
|
* each item names itself in a Tooltip and a badge is a dot. At 768px and narrower it is a drawer
|
|
61
64
|
* over the page, opened by the host and closed by Escape, a press beside it or a choice. No motion. */
|
|
62
|
-
export declare function Sidebar({ groups, active, onSelect, header, footer, collapsed, onCollapsedChange, defaultCollapsed, collapsible, shortcut, storageKey, open, onOpenChange, 'aria-label': ariaLabel, className, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
65
|
+
export declare function Sidebar({ groups, active, onSelect, header, footer, railFooter, collapsed, onCollapsedChange, defaultCollapsed, collapsible, shortcut, storageKey, open, onOpenChange, 'aria-label': ariaLabel, className, }: SidebarProps): import("react/jsx-runtime").JSX.Element;
|
|
63
66
|
export {};
|
|
@@ -0,0 +1,26 @@
|
|
|
1
|
+
export interface SliderFieldProps {
|
|
2
|
+
value: number;
|
|
3
|
+
onChange: (value: number) => void;
|
|
4
|
+
/** The slider's range. The number may hold a value beyond it; the slider then rests at its end. */
|
|
5
|
+
min: number;
|
|
6
|
+
max: number;
|
|
7
|
+
/** The slider's step. */
|
|
8
|
+
step?: number;
|
|
9
|
+
/** The number's own range, none by default. */
|
|
10
|
+
fieldMin?: number;
|
|
11
|
+
fieldMax?: number;
|
|
12
|
+
/** What the arrow keys add in the number. The slider's step by default. */
|
|
13
|
+
fieldStep?: number;
|
|
14
|
+
/** How the number is written. Up to three decimals by default. */
|
|
15
|
+
format?: (value: number) => string;
|
|
16
|
+
disabled?: boolean;
|
|
17
|
+
className?: string;
|
|
18
|
+
'aria-label': string;
|
|
19
|
+
}
|
|
20
|
+
/**
|
|
21
|
+
* A slider and the number it holds, side by side. The slider moves in its steps between min and
|
|
22
|
+
* max; the number takes any value from fieldMin to fieldMax, typed or stepped with the arrow keys,
|
|
23
|
+
* and the slider follows as far as it reaches. The number is a ghost field: no stroke until it is
|
|
24
|
+
* being edited, a ghost button's tint when pointed at.
|
|
25
|
+
*/
|
|
26
|
+
export declare function SliderField({ value, onChange, min, max, step, fieldMin, fieldMax, fieldStep, format, disabled, className, 'aria-label': ariaLabel, }: SliderFieldProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1,22 @@
|
|
|
1
|
+
export interface StepProgressPart {
|
|
2
|
+
/** The part's name, shown under its bar with `labels`. */
|
|
3
|
+
label?: string;
|
|
4
|
+
/** Steps of the part done. */
|
|
5
|
+
value: number;
|
|
6
|
+
/** Steps in the part; 1 by default, a plain stepper's step. */
|
|
7
|
+
max?: number;
|
|
8
|
+
}
|
|
9
|
+
export interface StepProgressProps {
|
|
10
|
+
parts: StepProgressPart[];
|
|
11
|
+
/** Each bar as wide as its share of all the steps (default), or all as wide. */
|
|
12
|
+
weighted?: boolean;
|
|
13
|
+
/** The part names and their counts under the bars. */
|
|
14
|
+
labels?: boolean;
|
|
15
|
+
/** The filled colour; the ink by default. */
|
|
16
|
+
color?: string;
|
|
17
|
+
/** The bars' height in pixels; 3 by default. */
|
|
18
|
+
height?: number;
|
|
19
|
+
'aria-label'?: string;
|
|
20
|
+
className?: string;
|
|
21
|
+
}
|
|
22
|
+
export declare function StepProgress({ parts, weighted, labels, color, height, className, ...rest }: StepProgressProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export { StepProgress, type StepProgressProps, type StepProgressPart } from './StepProgress';
|
|
@@ -23,6 +23,20 @@ interface TableProps {
|
|
|
23
23
|
* first column stays where it is. Set it to the width of the gutter beside the table.
|
|
24
24
|
*/
|
|
25
25
|
bleedEnd?: string | number;
|
|
26
|
+
/**
|
|
27
|
+
* Let the reader set each column's width by dragging a handle at its header's right edge, or
|
|
28
|
+
* with the arrow keys once it has focus; a double click (or Delete) gives the width back. Every
|
|
29
|
+
* column gets a fixed width from the start, so the rows a page shows never move the columns:
|
|
30
|
+
* a longer value is cut instead. Name a column by its header's `data-column`, and give its first
|
|
31
|
+
* width as `data-width` (px); without them a column is named by its place and keeps the width it
|
|
32
|
+
* first had. The column whose header says `data-fill` (else the last) takes what the frame has
|
|
33
|
+
* left. A cell stays on one line unless it says `data-wrap`. Header cells must be plain `th`s, as
|
|
34
|
+
* TableHeader renders them.
|
|
35
|
+
*/
|
|
36
|
+
resizableColumns?: boolean;
|
|
37
|
+
/** With `resizableColumns`: where the reader's widths are kept (localStorage). Left out, they last
|
|
38
|
+
* as long as the page. */
|
|
39
|
+
columnStorageKey?: string;
|
|
26
40
|
}
|
|
27
|
-
export declare function Table({ children, caption, 'aria-label': ariaLabel, scrollable, stickyFirstColumn, bleedEnd }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
41
|
+
export declare function Table({ children, caption, 'aria-label': ariaLabel, scrollable, stickyFirstColumn, bleedEnd, resizableColumns, columnStorageKey }: TableProps): import("react/jsx-runtime").JSX.Element;
|
|
28
42
|
export {};
|
|
@@ -39,6 +39,10 @@ export interface TreeCanvasProps {
|
|
|
39
39
|
* arrows, + - and 0 on it, and the zoom controls in its corner; on by default. Off, the tree is a
|
|
40
40
|
* still picture at `zoom` or fitted, for an example inside a page that scrolls. */
|
|
41
41
|
pan?: boolean;
|
|
42
|
+
/** A control to fill the screen with the board: the nearest element the page marks
|
|
43
|
+
* `data-tree-fullscreen` (so a panel beside the board goes along), else the board; Esc leaves.
|
|
44
|
+
* On by default where the board pans. */
|
|
45
|
+
fullscreen?: boolean;
|
|
42
46
|
/** A systm pattern behind the tree, faint, moving with it. None by default. */
|
|
43
47
|
pattern?: TreeCanvasPattern;
|
|
44
48
|
/** A name for assistive technology: "Categories of shop". */
|
|
@@ -47,4 +51,4 @@ export interface TreeCanvasProps {
|
|
|
47
51
|
}
|
|
48
52
|
/** The patterns `pattern` takes: the systm set in globals/patterns.css. */
|
|
49
53
|
export type TreeCanvasPattern = 'grid-12' | 'grid-24' | 'grid-6' | 'checkerboard' | 'checkerboard-spaced-4' | 'checkerboard-spaced-6' | 'checkerboard-spaced-8' | 'checkerboard-spaced-10';
|
|
50
|
-
export declare function TreeCanvas({ roots, selected, onSelect, defaultExpanded, view, maxChildren, format, visible, zoom, openDepth, pan: pannable, pattern, 'aria-label': ariaLabel, className, }: TreeCanvasProps): import("react/jsx-runtime").JSX.Element;
|
|
54
|
+
export declare function TreeCanvas({ roots, selected, onSelect, defaultExpanded, view, maxChildren, format, visible, zoom, openDepth, pan: pannable, fullscreen, pattern, 'aria-label': ariaLabel, className, }: TreeCanvasProps): import("react/jsx-runtime").JSX.Element;
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
export type ViewportAction = 'in' | 'out' | 'fit' | 'reset';
|
|
1
|
+
export type ViewportAction = 'in' | 'out' | 'fit' | 'reset' | 'fullscreen';
|
|
2
2
|
export interface Viewport {
|
|
3
3
|
setPan(pan: boolean): void;
|
|
4
4
|
/** The first view of a tree: fitted when that leaves it readable; else at the given zoom (1 when
|
package/dist/cursors.css
CHANGED
|
@@ -101,96 +101,152 @@ select:disabled,
|
|
|
101
101
|
|
|
102
102
|
/* Dark Mode - Use CSS filter to invert colors */
|
|
103
103
|
@media (prefers-color-scheme: dark) {
|
|
104
|
-
* {
|
|
104
|
+
:where(:root:not([data-theme="light"])) * {
|
|
105
105
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 3H15V6H18V9H12V15H9V12H6V6H3V0H9V3Z" fill="%23EFEFEF"/></svg>') 3 0, auto !important;
|
|
106
106
|
}
|
|
107
107
|
|
|
108
|
-
p, h1, h2, h3, h4, h5, h6, td, th,
|
|
109
|
-
input,
|
|
110
|
-
textarea {
|
|
108
|
+
:where(:root:not([data-theme="light"])) p, :where(:root:not([data-theme="light"])) h1, :where(:root:not([data-theme="light"])) h2, :where(:root:not([data-theme="light"])) h3, :where(:root:not([data-theme="light"])) h4, :where(:root:not([data-theme="light"])) h5, :where(:root:not([data-theme="light"])) h6, :where(:root:not([data-theme="light"])) td, :where(:root:not([data-theme="light"])) th, :where(:root:not([data-theme="light"])) input, :where(:root:not([data-theme="light"])) textarea {
|
|
111
109
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18H6V15H9V18ZM15 18H12V15H15V18ZM12 15H9V6H12V15ZM9 6H6V3H9V6ZM15 6H12V3H15V6Z" fill="%23EFEFEF"/></svg>') 10 10, text !important;
|
|
112
110
|
}
|
|
113
111
|
|
|
114
|
-
a, button,
|
|
115
|
-
input[type="radio"],
|
|
116
|
-
input[type="checkbox"],
|
|
117
|
-
input[type="submit"],
|
|
118
|
-
input[type="button"],
|
|
119
|
-
input[type="range"],
|
|
120
|
-
select {
|
|
112
|
+
:where(:root:not([data-theme="light"])) a, :where(:root:not([data-theme="light"])) button, :where(:root:not([data-theme="light"])) input[type="radio"], :where(:root:not([data-theme="light"])) input[type="checkbox"], :where(:root:not([data-theme="light"])) input[type="submit"], :where(:root:not([data-theme="light"])) input[type="button"], :where(:root:not([data-theme="light"])) input[type="range"], :where(:root:not([data-theme="light"])) select {
|
|
121
113
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
122
114
|
}
|
|
123
115
|
|
|
124
|
-
a *, button * {
|
|
116
|
+
:where(:root:not([data-theme="light"])) a *, :where(:root:not([data-theme="light"])) button * {
|
|
125
117
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
126
118
|
}
|
|
127
119
|
|
|
128
|
-
.cursor-pointer,
|
|
129
|
-
.cursor-pointer * {
|
|
120
|
+
:where(:root:not([data-theme="light"])) .cursor-pointer, :where(:root:not([data-theme="light"])) .cursor-pointer * {
|
|
130
121
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
131
122
|
}
|
|
132
123
|
|
|
133
|
-
.cursor-text,
|
|
134
|
-
.cursor-text * {
|
|
124
|
+
:where(:root:not([data-theme="light"])) .cursor-text, :where(:root:not([data-theme="light"])) .cursor-text * {
|
|
135
125
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18H6V15H9V18ZM15 18H12V15H15V18ZM12 15H9V6H12V15ZM9 6H6V3H9V6ZM15 6H12V3H15V6Z" fill="%23EFEFEF"/></svg>') 10 10, text !important;
|
|
136
126
|
}
|
|
137
127
|
|
|
138
|
-
.cursor-resize-col,
|
|
139
|
-
.cursor-resize-col * {
|
|
128
|
+
:where(:root:not([data-theme="light"])) .cursor-resize-col, :where(:root:not([data-theme="light"])) .cursor-resize-col * {
|
|
140
129
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V3H12V18ZM6 15H3V12H6V15ZM18 15H15V12H18V15ZM3 12H0V9H3V12ZM21 12H18V9H21V12ZM6 9H3V6H6V9ZM18 9H15V6H18V9Z" fill="%23EFEFEF"/></svg>') 10 10, col-resize !important;
|
|
141
130
|
}
|
|
142
131
|
|
|
143
|
-
.cursor-resize-ew,
|
|
144
|
-
.cursor-resize-ew * {
|
|
132
|
+
:where(:root:not([data-theme="light"])) .cursor-resize-ew, :where(:root:not([data-theme="light"])) .cursor-resize-ew * {
|
|
145
133
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 15H6V12H9V15ZM15 15H12V12H15V15ZM6 12H3V9H6V12ZM18 12H15V9H18V12ZM9 9H6V6H9V9ZM15 9H12V6H15V9Z" fill="%23EFEFEF"/></svg>') 10 10, ew-resize !important;
|
|
146
134
|
}
|
|
147
135
|
|
|
148
|
-
.cursor-resize-ns,
|
|
149
|
-
.cursor-resize-ns * {
|
|
136
|
+
:where(:root:not([data-theme="light"])) .cursor-resize-ns, :where(:root:not([data-theme="light"])) .cursor-resize-ns * {
|
|
150
137
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V15H12V18ZM9 15H6V12H9V15ZM15 12V15H12V12H15ZM9 9H6V6H9V9ZM15 9H12V6H15V9ZM12 6H9V3H12V6Z" fill="%23EFEFEF"/></svg>') 10 10, ns-resize !important;
|
|
151
138
|
}
|
|
152
139
|
|
|
153
|
-
.cursor-not-allowed,
|
|
154
|
-
.cursor-not-allowed * {
|
|
140
|
+
:where(:root:not([data-theme="light"])) .cursor-not-allowed, :where(:root:not([data-theme="light"])) .cursor-not-allowed * {
|
|
155
141
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 6H18V15H15V18H6V15H3V6H6V3H15V6ZM6 12H15V9H6V12Z" fill="%23EFEFEF"/></svg>') 10 10, not-allowed !important;
|
|
156
142
|
}
|
|
157
143
|
|
|
158
|
-
.cursor-wait,
|
|
159
|
-
.cursor-wait * {
|
|
144
|
+
:where(:root:not([data-theme="light"])) .cursor-wait, :where(:root:not([data-theme="light"])) .cursor-wait * {
|
|
160
145
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 3H3V6H6V9H9V12H6V15H3V18H6H9H12H15H18V15H15V12H12V9H15V6H18V3H15H12H9H6ZM12 9H9V6H12V9Z" fill="%23EFEFEF"/></svg>') 10 10, wait !important;
|
|
161
146
|
}
|
|
162
147
|
|
|
163
|
-
.cursor-help,
|
|
164
|
-
.cursor-help * {
|
|
148
|
+
:where(:root:not([data-theme="light"])) .cursor-help, :where(:root:not([data-theme="light"])) .cursor-help * {
|
|
165
149
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V15H12V18ZM12 12H9V9H12V12ZM15 9H12V6H15V9ZM12 3V6H6V3H12Z" fill="%23EFEFEF"/></svg>') 10 10, help !important;
|
|
166
150
|
}
|
|
167
151
|
|
|
168
|
-
.cursor-move,
|
|
169
|
-
.cursor-move * {
|
|
152
|
+
:where(:root:not([data-theme="light"])) .cursor-move, :where(:root:not([data-theme="light"])) .cursor-move * {
|
|
170
153
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V15H12V18ZM6 12H3V9H6V12ZM12 12H9V9H12V12ZM18 12H15V9H18V12ZM12 6H9V3H12V6Z" fill="%23EFEFEF"/></svg>') 10 10, move !important;
|
|
171
154
|
}
|
|
172
155
|
|
|
173
|
-
.cursor-crosshair,
|
|
174
|
-
.cursor-crosshair * {
|
|
156
|
+
:where(:root:not([data-theme="light"])) .cursor-crosshair, :where(:root:not([data-theme="light"])) .cursor-crosshair * {
|
|
175
157
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V12H12V18ZM9 12H3V9H9V12ZM18 9V12H12V9H18ZM12 9H9V3H12V9Z" fill="%23EFEFEF"/></svg>') 10 10, crosshair !important;
|
|
176
158
|
}
|
|
177
159
|
|
|
178
|
-
.cursor-resize-nwse,
|
|
179
|
-
.cursor-resize-nwse * {
|
|
160
|
+
:where(:root:not([data-theme="light"])) .cursor-resize-nwse, :where(:root:not([data-theme="light"])) .cursor-resize-nwse * {
|
|
180
161
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 18H12V15H15V12H18V18ZM9 3V6H6V9H3V3H9Z" fill="%23EFEFEF"/></svg>') 10 10, nwse-resize !important;
|
|
181
162
|
}
|
|
182
163
|
|
|
183
|
-
.cursor-resize-nesw,
|
|
184
|
-
.cursor-resize-nesw * {
|
|
164
|
+
:where(:root:not([data-theme="light"])) .cursor-resize-nesw, :where(:root:not([data-theme="light"])) .cursor-resize-nesw * {
|
|
185
165
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 15H9V18H3V12H6V15ZM18 9H15V6H12V3H18V9Z" fill="%23EFEFEF"/></svg>') 10 10, nesw-resize !important;
|
|
186
166
|
}
|
|
187
167
|
|
|
188
|
-
input:disabled,
|
|
189
|
-
textarea:disabled,
|
|
190
|
-
button:disabled,
|
|
191
|
-
select:disabled,
|
|
192
|
-
.disabled,
|
|
193
|
-
.disabled * {
|
|
168
|
+
:where(:root:not([data-theme="light"])) input:disabled, :where(:root:not([data-theme="light"])) textarea:disabled, :where(:root:not([data-theme="light"])) button:disabled, :where(:root:not([data-theme="light"])) select:disabled, :where(:root:not([data-theme="light"])) .disabled, :where(:root:not([data-theme="light"])) .disabled * {
|
|
194
169
|
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 6H18V15H15V18H6V15H3V6H6V3H15V6ZM6 12H15V9H6V12Z" fill="%23EFEFEF"/></svg>') 10 10, not-allowed !important;
|
|
195
170
|
}
|
|
196
171
|
}
|
|
172
|
+
:where(:root[data-theme="dark"]) * {
|
|
173
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 3H15V6H18V9H12V15H9V12H6V6H3V0H9V3Z" fill="%23EFEFEF"/></svg>') 3 0, auto !important;
|
|
174
|
+
}
|
|
175
|
+
:where(:root[data-theme="dark"]) p, :where(:root[data-theme="dark"]) h1, :where(:root[data-theme="dark"]) h2, :where(:root[data-theme="dark"]) h3, :where(:root[data-theme="dark"]) h4, :where(:root[data-theme="dark"]) h5, :where(:root[data-theme="dark"]) h6, :where(:root[data-theme="dark"]) td, :where(:root[data-theme="dark"]) th, :where(:root[data-theme="dark"]) input, :where(:root[data-theme="dark"]) textarea {
|
|
176
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18H6V15H9V18ZM15 18H12V15H15V18ZM12 15H9V6H12V15ZM9 6H6V3H9V6ZM15 6H12V3H15V6Z" fill="%23EFEFEF"/></svg>') 10 10, text !important;
|
|
177
|
+
}
|
|
178
|
+
:where(:root[data-theme="dark"]) a, :where(:root[data-theme="dark"]) button, :where(:root[data-theme="dark"]) input[type="radio"], :where(:root[data-theme="dark"]) input[type="checkbox"], :where(:root[data-theme="dark"]) input[type="submit"], :where(:root[data-theme="dark"]) input[type="button"], :where(:root[data-theme="dark"]) input[type="range"], :where(:root[data-theme="dark"]) select {
|
|
179
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
180
|
+
}
|
|
181
|
+
:where(:root[data-theme="dark"]) a *, :where(:root[data-theme="dark"]) button * {
|
|
182
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
183
|
+
}
|
|
184
|
+
:where(:root[data-theme="dark"]) .cursor-pointer, :where(:root[data-theme="dark"]) .cursor-pointer * {
|
|
185
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
186
|
+
}
|
|
187
|
+
:where(:root[data-theme="dark"]) .cursor-text, :where(:root[data-theme="dark"]) .cursor-text * {
|
|
188
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 18H6V15H9V18ZM15 18H12V15H15V18ZM12 15H9V6H12V15ZM9 6H6V3H9V6ZM15 6H12V3H15V6Z" fill="%23EFEFEF"/></svg>') 10 10, text !important;
|
|
189
|
+
}
|
|
190
|
+
:where(:root[data-theme="dark"]) .cursor-resize-col, :where(:root[data-theme="dark"]) .cursor-resize-col * {
|
|
191
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V3H12V18ZM6 15H3V12H6V15ZM18 15H15V12H18V15ZM3 12H0V9H3V12ZM21 12H18V9H21V12ZM6 9H3V6H6V9ZM18 9H15V6H18V9Z" fill="%23EFEFEF"/></svg>') 10 10, col-resize !important;
|
|
192
|
+
}
|
|
193
|
+
:where(:root[data-theme="dark"]) .cursor-resize-ew, :where(:root[data-theme="dark"]) .cursor-resize-ew * {
|
|
194
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M9 15H6V12H9V15ZM15 15H12V12H15V15ZM6 12H3V9H6V12ZM18 12H15V9H18V12ZM9 9H6V6H9V9ZM15 9H12V6H15V9Z" fill="%23EFEFEF"/></svg>') 10 10, ew-resize !important;
|
|
195
|
+
}
|
|
196
|
+
:where(:root[data-theme="dark"]) .cursor-resize-ns, :where(:root[data-theme="dark"]) .cursor-resize-ns * {
|
|
197
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V15H12V18ZM9 15H6V12H9V15ZM15 12V15H12V12H15ZM9 9H6V6H9V9ZM15 9H12V6H15V9ZM12 6H9V3H12V6Z" fill="%23EFEFEF"/></svg>') 10 10, ns-resize !important;
|
|
198
|
+
}
|
|
199
|
+
:where(:root[data-theme="dark"]) .cursor-not-allowed, :where(:root[data-theme="dark"]) .cursor-not-allowed * {
|
|
200
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 6H18V15H15V18H6V15H3V6H6V3H15V6ZM6 12H15V9H6V12Z" fill="%23EFEFEF"/></svg>') 10 10, not-allowed !important;
|
|
201
|
+
}
|
|
202
|
+
:where(:root[data-theme="dark"]) .cursor-wait, :where(:root[data-theme="dark"]) .cursor-wait * {
|
|
203
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M6 3H3V6H6V9H9V12H6V15H3V18H6H9H12H15H18V15H15V12H12V9H15V6H18V3H15H12H9H6ZM12 9H9V6H12V9Z" fill="%23EFEFEF"/></svg>') 10 10, wait !important;
|
|
204
|
+
}
|
|
205
|
+
:where(:root[data-theme="dark"]) .cursor-help, :where(:root[data-theme="dark"]) .cursor-help * {
|
|
206
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V15H12V18ZM12 12H9V9H12V12ZM15 9H12V6H15V9ZM12 3V6H6V3H12Z" fill="%23EFEFEF"/></svg>') 10 10, help !important;
|
|
207
|
+
}
|
|
208
|
+
:where(:root[data-theme="dark"]) .cursor-move, :where(:root[data-theme="dark"]) .cursor-move * {
|
|
209
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V15H12V18ZM6 12H3V9H6V12ZM12 12H9V9H12V12ZM18 12H15V9H18V12ZM12 6H9V3H12V6Z" fill="%23EFEFEF"/></svg>') 10 10, move !important;
|
|
210
|
+
}
|
|
211
|
+
:where(:root[data-theme="dark"]) .cursor-crosshair, :where(:root[data-theme="dark"]) .cursor-crosshair * {
|
|
212
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M12 18H9V12H12V18ZM9 12H3V9H9V12ZM18 9V12H12V9H18ZM12 9H9V3H12V9Z" fill="%23EFEFEF"/></svg>') 10 10, crosshair !important;
|
|
213
|
+
}
|
|
214
|
+
:where(:root[data-theme="dark"]) .cursor-resize-nwse, :where(:root[data-theme="dark"]) .cursor-resize-nwse * {
|
|
215
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M18 18H12V15H15V12H18V18ZM9 3V6H6V9H3V3H9Z" fill="%23EFEFEF"/></svg>') 10 10, nwse-resize !important;
|
|
216
|
+
}
|
|
217
|
+
:where(:root[data-theme="dark"]) .cursor-resize-nesw, :where(:root[data-theme="dark"]) .cursor-resize-nesw * {
|
|
218
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M6 15H9V18H3V12H6V15ZM18 9H15V6H12V3H18V9Z" fill="%23EFEFEF"/></svg>') 10 10, nesw-resize !important;
|
|
219
|
+
}
|
|
220
|
+
:where(:root[data-theme="dark"]) input:disabled, :where(:root[data-theme="dark"]) textarea:disabled, :where(:root[data-theme="dark"]) button:disabled, :where(:root[data-theme="dark"]) select:disabled, :where(:root[data-theme="dark"]) .disabled, :where(:root[data-theme="dark"]) .disabled * {
|
|
221
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path d="M15 6H18V15H15V18H6V15H3V6H6V3H15V6ZM6 12H15V9H6V12Z" fill="%23EFEFEF"/></svg>') 10 10, not-allowed !important;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
/* A switch, a checkbox or a radio inside its label (ToggleSwitch, Checkbox, RadioButton): the whole
|
|
225
|
+
label is the target, so it takes the pointer, which the catch-all above would deny it. So does a
|
|
226
|
+
table row that opens in place (Records, Admin teams), whose cells would otherwise take the I-beam. */
|
|
227
|
+
label:has(> input[type="checkbox"]),
|
|
228
|
+
label:has(> input[type="checkbox"]) *,
|
|
229
|
+
label:has(> input[type="radio"]),
|
|
230
|
+
label:has(> input[type="radio"]) *,
|
|
231
|
+
tr[aria-expanded],
|
|
232
|
+
tr[aria-expanded] * {
|
|
233
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%231A1A21"/></svg>') 6 0, pointer !important;
|
|
234
|
+
}
|
|
235
|
+
@media (prefers-color-scheme: dark) {
|
|
236
|
+
:where(:root:not([data-theme="light"])) label:has(> input[type="checkbox"]),
|
|
237
|
+
:where(:root:not([data-theme="light"])) label:has(> input[type="checkbox"]) *,
|
|
238
|
+
:where(:root:not([data-theme="light"])) label:has(> input[type="radio"]),
|
|
239
|
+
:where(:root:not([data-theme="light"])) label:has(> input[type="radio"]) *,
|
|
240
|
+
:where(:root:not([data-theme="light"])) tr[aria-expanded],
|
|
241
|
+
:where(:root:not([data-theme="light"])) tr[aria-expanded] * {
|
|
242
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
243
|
+
}
|
|
244
|
+
}
|
|
245
|
+
:where(:root[data-theme="dark"]) label:has(> input[type="checkbox"]),
|
|
246
|
+
:where(:root[data-theme="dark"]) label:has(> input[type="checkbox"]) *,
|
|
247
|
+
:where(:root[data-theme="dark"]) label:has(> input[type="radio"]),
|
|
248
|
+
:where(:root[data-theme="dark"]) label:has(> input[type="radio"]) *,
|
|
249
|
+
:where(:root[data-theme="dark"]) tr[aria-expanded],
|
|
250
|
+
:where(:root[data-theme="dark"]) tr[aria-expanded] * {
|
|
251
|
+
cursor: url('data:image/svg+xml,<svg width="21" height="21" viewBox="0 0 21 21" fill="none" xmlns="http://www.w3.org/2000/svg"><path fill-rule="evenodd" clip-rule="evenodd" d="M9 0V3V6V9V12H6V9H3V12H6V15H9H12H15H18V12V9V6H15H12V3V0H9Z" fill="%23EFEFEF"/></svg>') 6 0, pointer !important;
|
|
252
|
+
}
|