дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-11-28 13:32:29 +02:00
WebKit on macOS 26.2 renders ew-resize/ns-resize as the default arrow, so dividers gave no hover feedback. Dividers (tool window gaps and splits, editor splits, side tabs, diff gutter, column resizers, review handles) and the drag-time cursor lock now use col-resize/row-resize. Window and popup edge handles are unchanged.
73 рядки
1.5 KiB
CSS
73 рядки
1.5 KiB
CSS
.group {
|
|
min-width: 0;
|
|
min-height: 0;
|
|
}
|
|
.panel {
|
|
display: flex;
|
|
flex-direction: column;
|
|
min-width: 0;
|
|
min-height: 0;
|
|
height: 100%;
|
|
}
|
|
.handle {
|
|
position: relative;
|
|
flex: none;
|
|
background: var(--border);
|
|
outline: none;
|
|
transition: background var(--dur) var(--ease);
|
|
}
|
|
/* Dividers use col-/row-resize: WebKit on macOS 26.2 shows the arrow for ew-/ns-resize. */
|
|
.handle[aria-orientation="vertical"] {
|
|
width: 1px;
|
|
cursor: col-resize;
|
|
}
|
|
.handle[aria-orientation="horizontal"] {
|
|
height: 1px;
|
|
cursor: row-resize;
|
|
}
|
|
.handle::after {
|
|
content: "";
|
|
position: absolute;
|
|
z-index: var(--z-panel);
|
|
}
|
|
.handle[aria-orientation="vertical"]::after {
|
|
inset: 0 -3px;
|
|
}
|
|
.handle[aria-orientation="horizontal"]::after {
|
|
inset: -3px 0;
|
|
}
|
|
.handle[data-separator="hover"],
|
|
.handle:focus-visible {
|
|
background: var(--border-strong);
|
|
}
|
|
.handle[data-separator="active"] {
|
|
background: var(--border-strong);
|
|
}
|
|
.handle[data-separator="disabled"] {
|
|
cursor: default;
|
|
}
|
|
|
|
.invisible,
|
|
.invisible[data-separator] {
|
|
background: none;
|
|
}
|
|
.invisible[aria-orientation="vertical"] {
|
|
width: 0;
|
|
}
|
|
.invisible[aria-orientation="horizontal"] {
|
|
height: 0;
|
|
}
|
|
/* Islands gaps: nothing is drawn while dragging; keyboard focus still shows. */
|
|
.invisible:focus-visible::after {
|
|
background: color-mix(in srgb, var(--focus-ring) 55%, transparent);
|
|
}
|
|
.handle[data-separator="disabled"]::after {
|
|
display: none;
|
|
}
|
|
|
|
@media (prefers-reduced-motion: reduce) {
|
|
.handle {
|
|
transition: none;
|
|
}
|
|
}
|