@plexui/styles 0.1.16 → 0.1.17
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.
|
@@ -5,8 +5,8 @@
|
|
|
5
5
|
}/* An item that takes the keyboard itself: arrow keys move it */.Sortable > [tabindex]:focus-visible {
|
|
6
6
|
outline: 2px solid var(--color-ring);
|
|
7
7
|
outline-offset: 2px;
|
|
8
|
-
}/* Without a grip in sight an item drags from anywhere but a control */.Sortable:not([data-disabled]):not(tbody):not([data-handles="true"]) >
|
|
9
|
-
.Sortable:not([data-disabled])[data-handles="false"] >
|
|
8
|
+
}/* Without a grip in sight an item drags from anywhere but a control */.Sortable:not([data-disabled]):not(tbody):not([data-handles="true"]) > :not([data-sortable-static]),
|
|
9
|
+
.Sortable:not([data-disabled])[data-handles="false"] > :not([data-sortable-static]) {
|
|
10
10
|
cursor: grab;
|
|
11
11
|
}/* While a drag runs the neighbours of the gap slide apart */.Sortable[data-dragging] > * {
|
|
12
12
|
transition: transform 200ms var(--cubic-enter);
|
|
@@ -173,6 +173,11 @@
|
|
|
173
173
|
.Line[hidden] {
|
|
174
174
|
display: none;
|
|
175
175
|
}/* =============================================
|
|
176
|
+
Target (a place outside the lists that takes an item whole)
|
|
177
|
+
============================================= */.Target[data-over] {
|
|
178
|
+
border-radius: var(--sortable-slot-radius);
|
|
179
|
+
background: var(--sortable-slot-background);
|
|
180
|
+
}/* =============================================
|
|
176
181
|
Screen reader announcements
|
|
177
182
|
============================================= */.Live {
|
|
178
183
|
position: absolute;
|
|
@@ -188,5 +193,9 @@
|
|
|
188
193
|
-webkit-user-select: none;
|
|
189
194
|
-moz-user-select: none;
|
|
190
195
|
user-select: none;
|
|
196
|
+
}/* Items under the pointer stay still while a drag runs: no hover, no row actions */.Sortable[data-dragging] > * {
|
|
197
|
+
pointer-events: none;
|
|
198
|
+
}.Sortable[data-dragging] .Target {
|
|
199
|
+
pointer-events: auto;
|
|
191
200
|
}
|
|
192
201
|
}
|