summaryrefslogtreecommitdiff
path: root/packages/web/src/components/grid/index.css
diff options
context:
space:
mode:
authorJosh Kingsley <josh@joshkingsley.me>2025-11-24 15:46:22 +0200
committerJosh Kingsley <josh@joshkingsley.me>2025-11-24 15:46:22 +0200
commitd724cc0bf6ff6d351319e6fb00f5184a04e16ac0 (patch)
treecb43253479df5db8f4844e17e68a48ea5a212df4 /packages/web/src/components/grid/index.css
parent7c966e105cd9f65853de1aba0ecce63aa56aca0b (diff)
chore: improve dev tasks
Diffstat (limited to 'packages/web/src/components/grid/index.css')
-rw-r--r--packages/web/src/components/grid/index.css49
1 files changed, 0 insertions, 49 deletions
diff --git a/packages/web/src/components/grid/index.css b/packages/web/src/components/grid/index.css
deleted file mode 100644
index c29f55d..0000000
--- a/packages/web/src/components/grid/index.css
+++ /dev/null
@@ -1,49 +0,0 @@
-@layer components {
- ntv-grid {
- display: block;
- position: relative;
-
- --grid-bg-fill: var(--color-neutral-900);
- --grid-border-stroke: var(--color-neutral-700);
- --grid-cell-stroke: var(--color-neutral-800);
- --grid-active-cell-stroke: var(--color-green-400);
- --grid-selection-range-fill: color-mix(
- in oklab,
- var(--color-green-400) 10%,
- transparent
- );
- --grid-selection-range-stroke: var(--color-green-400);
- font-size: 14px;
- }
-
- ntv-grid > canvas {
- display: block;
- }
-
- ntv-grid > canvas[data-selection] {
- position: absolute;
- top: 0;
- left: 0;
- pointer-events: none;
- }
-
- :has(ntv-grid:state(selecting))
- > ntv-grid:not(:state(selecting))
- > canvas[data-selection] {
- display: none;
- }
-
- ntv-grid input[data-edit] {
- position: absolute;
- vertical-align: baseline;
- background: var(--color-neutral-800);
- padding-right: 1px;
- padding-bottom: 1px;
- color: white;
- text-align: center;
- }
-
- ntv-grid input[data-edit]:focus-visible {
- outline: none;
- }
-}