дзеркало
https://github.com/l0ng-ai/openidea.git
синхронізовано 2026-12-04 09:11:10 +02:00
The frameless Windows window has no native resize borders, so it couldn't be resized from its edges. Invisible hit areas along the edges and corners start a native resize drag (minimum size and snapping handled by the system); they're omitted while the window is maximized or full screen. Not verified on a real Windows machine. Refs #410 Co-authored-by: a-rookie-of-C-language <[email protected]>
69 рядки
703 B
CSS
69 рядки
703 B
CSS
/* Invisible resize hit areas hugging the frameless window's edges. */
|
|
.n,
|
|
.s,
|
|
.e,
|
|
.w,
|
|
.ne,
|
|
.nw,
|
|
.se,
|
|
.sw {
|
|
position: fixed;
|
|
z-index: 9999;
|
|
pointer-events: auto;
|
|
}
|
|
.n,
|
|
.s {
|
|
left: 8px;
|
|
right: 8px;
|
|
height: 6px;
|
|
}
|
|
.e,
|
|
.w {
|
|
top: 8px;
|
|
bottom: 8px;
|
|
width: 6px;
|
|
}
|
|
.ne,
|
|
.nw,
|
|
.se,
|
|
.sw {
|
|
width: 12px;
|
|
height: 12px;
|
|
}
|
|
.n {
|
|
top: 0;
|
|
cursor: ns-resize;
|
|
}
|
|
.s {
|
|
bottom: 0;
|
|
cursor: ns-resize;
|
|
}
|
|
.e {
|
|
right: 0;
|
|
cursor: ew-resize;
|
|
}
|
|
.w {
|
|
left: 0;
|
|
cursor: ew-resize;
|
|
}
|
|
.ne {
|
|
top: 0;
|
|
right: 0;
|
|
cursor: nesw-resize;
|
|
}
|
|
.nw {
|
|
top: 0;
|
|
left: 0;
|
|
cursor: nwse-resize;
|
|
}
|
|
.se {
|
|
bottom: 0;
|
|
right: 0;
|
|
cursor: nwse-resize;
|
|
}
|
|
.sw {
|
|
bottom: 0;
|
|
left: 0;
|
|
cursor: nesw-resize;
|
|
}
|