Files
Paradise/nano/styles/_fancy.less
tigercat2000 c75170b3e8 Fancy NanoUI Improvements - Mk2 (no broke edition)
This commit steals a bunch of code from goon to make fancy nanoUI
windows behave more consistently and more pretty-ly. Hopefully, this
time around, it won't be a broken mess, like version 1 was.

The Gulpfile for Nano has been rewritten from scratch and as many old
piece of shit libraries dumped as possible. This edition comes with
actual minified files, oh my!

Shit I tested and if this breaks so help me:
 - Safe functions perfectly
 - Security records are searchable
 - syndicateMode on everything works perfectly and uses svg art by me
 (it's shit, replace when possible)
 - Cargo console works 10/10 excellently
 - Scrolling is still shit but it was more or less like it was when I
 started, so if you say "you broke it" one more fuckin time why I
 oughta!!
 - PDA and NTOS both work flawlessly (in all the Apps I could test)
2018-11-21 00:07:28 -08:00

77 lines
1.2 KiB
Plaintext

.corner() {
position: fixed;
z-index: 101;
min-width: 30px;
min-height: 30px;
}
#uiCornerTL {
.corner;
top: 0;
left: 0;
background: data-uri('tl.png') no-repeat;
}
/* Resizing (Stolen from Goon CC-BY-NC-SA) */
@resize: 5px;
.resizeArea {
position: absolute;
z-index: 99999;
}
.resizeArea.top {
top: 0;
left: 10px;
right: 10px;
height: @resize;
cursor: n-resize;
}
.resizeArea.tr {
top: 0;
right: 0;
height: 10px;
width: 10px;
cursor: ne-resize;
}
.resizeArea.right {
top: 10px;
right: 0;
bottom: 10px;
width: @resize;
cursor: e-resize;
}
.resizeArea.br {
bottom: 0;
right: 0;
height: 10px;
width: 10px;
cursor: se-resize;
}
.resizeArea.bottom {
bottom: 0;
left: 10px;
right: 10px;
height: @resize;
cursor: s-resize;
}
.resizeArea.bl {
bottom: 0;
left: 0;
height: 10px;
width: 10px;
cursor: sw-resize;
}
.resizeArea.left {
top: 10px;
left: 0;
bottom: 10px;
width: @resize;
cursor: w-resize;
}
.resizeArea.tl {
top: 0;
left: 0;
height: 10px;
width: 10px;
cursor: nw-resize;
}
/* End Resizing */