@omnigrid/style 0.1.7 → 0.1.9
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/dist/index.css +36 -1
- package/package.json +1 -1
package/dist/index.css
CHANGED
|
@@ -76,6 +76,42 @@
|
|
|
76
76
|
color: var(--omnigrid-header-color);
|
|
77
77
|
}
|
|
78
78
|
|
|
79
|
+
.omnigrid-column-resize-handle {
|
|
80
|
+
position: absolute;
|
|
81
|
+
top: 0;
|
|
82
|
+
right: -8px;
|
|
83
|
+
width: 16px;
|
|
84
|
+
height: 100%;
|
|
85
|
+
cursor: col-resize;
|
|
86
|
+
opacity: 0;
|
|
87
|
+
pointer-events: auto;
|
|
88
|
+
transition: opacity 120ms ease, background-color 120ms ease;
|
|
89
|
+
background: color-mix(in srgb, var(--omnigrid-column-resize-color, #2563eb) 14%, transparent);
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
.omnigrid-column-resize-handle-left {
|
|
93
|
+
left: -8px;
|
|
94
|
+
right: auto;
|
|
95
|
+
}
|
|
96
|
+
|
|
97
|
+
.omnigrid-column-resize-handle::before {
|
|
98
|
+
background: var(--omnigrid-column-resize-color, #2563eb);
|
|
99
|
+
bottom: 0;
|
|
100
|
+
content: "";
|
|
101
|
+
display: block;
|
|
102
|
+
height: 100%;
|
|
103
|
+
left: 8px;
|
|
104
|
+
position: absolute;
|
|
105
|
+
top: 0;
|
|
106
|
+
transform: translateX(-50%);
|
|
107
|
+
width: 2px;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.omnigrid-column-resize-handle:hover,
|
|
111
|
+
.omnigrid-column-resize-handle:active {
|
|
112
|
+
opacity: 1;
|
|
113
|
+
}
|
|
114
|
+
|
|
79
115
|
/* Pinned panes have no border so their contents stay aligned to core-computed offsets. */
|
|
80
116
|
.omnigrid-pinned-right [role="cell"]:first-child,
|
|
81
117
|
.omnigrid-pinned-right [role="columnheader"]:first-child {
|
|
@@ -359,7 +395,6 @@
|
|
|
359
395
|
cursor: pointer;
|
|
360
396
|
}
|
|
361
397
|
|
|
362
|
-
.omnigrid:not(:has(.omnigrid-pinned-right)) .omnigrid-scrollable [role="columnheader"]:last-child,
|
|
363
398
|
.omnigrid-pinned-right [role="columnheader"]:last-child {
|
|
364
399
|
border-right: 0;
|
|
365
400
|
}
|