@trackunit/css-core 1.7.63 → 1.7.70
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/package.json +1 -1
- package/src/lib/core.css +20 -8
package/package.json
CHANGED
package/src/lib/core.css
CHANGED
|
@@ -84,26 +84,38 @@ tr > td[data-pinned=""] + td[data-pinned="right"] {
|
|
|
84
84
|
border-left-width: 2px;
|
|
85
85
|
}
|
|
86
86
|
|
|
87
|
-
|
|
88
|
-
|
|
87
|
+
/* Row focus (body rows only) */
|
|
88
|
+
.row-focus:has(:focus-visible):not(:has([data-selection-cell] :focus-visible)) {
|
|
89
89
|
box-shadow: inset 0 0 0 2px rgb(var(--color-primary-600));
|
|
90
90
|
outline: none !important;
|
|
91
91
|
}
|
|
92
92
|
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
outline: none !important;
|
|
93
|
+
/* LEFT pinned — first cell in the block: left + top + bottom */
|
|
94
|
+
.row-focus:has(:focus-visible) > td[data-pinned="left"] {
|
|
96
95
|
box-shadow:
|
|
97
96
|
inset 2px 0 0 rgb(var(--color-primary-600)),
|
|
98
97
|
inset 0 2px 0 rgb(var(--color-primary-600)),
|
|
99
98
|
inset 0 -2px 0 rgb(var(--color-primary-600));
|
|
100
99
|
}
|
|
101
100
|
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
101
|
+
/* LEFT pinned — all following cells in the block: only top + bottom (no inner vertical line) */
|
|
102
|
+
.row-focus:has(:focus-visible) > td[data-pinned="left"] + td[data-pinned="left"] {
|
|
103
|
+
box-shadow:
|
|
104
|
+
inset 0 2px 0 rgb(var(--color-primary-600)),
|
|
105
|
+
inset 0 -2px 0 rgb(var(--color-primary-600));
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
/* RIGHT pinned — last cell in the block: right + top + bottom */
|
|
109
|
+
.row-focus:has(:focus-visible) > td[data-pinned="right"] {
|
|
105
110
|
box-shadow:
|
|
106
111
|
inset -2px 0 0 rgb(var(--color-primary-600)),
|
|
107
112
|
inset 0 2px 0 rgb(var(--color-primary-600)),
|
|
108
113
|
inset 0 -2px 0 rgb(var(--color-primary-600));
|
|
109
114
|
}
|
|
115
|
+
|
|
116
|
+
/* RIGHT pinned — all cells that have another right pinned cell on their right: only top + bottom */
|
|
117
|
+
.row-focus:has(:focus-visible) > td[data-pinned="right"]:has(+ td[data-pinned="right"]) {
|
|
118
|
+
box-shadow:
|
|
119
|
+
inset 0 2px 0 rgb(var(--color-primary-600)),
|
|
120
|
+
inset 0 -2px 0 rgb(var(--color-primary-600));
|
|
121
|
+
}
|