Skip to content

Commit 95c63d9

Browse files
committed
fullish resizeable windows
- left resize - right resize - top/bottom resize - bottom left and right resize
1 parent d657b84 commit 95c63d9

2 files changed

Lines changed: 333 additions & 8 deletions

File tree

static/index.css

Lines changed: 89 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -154,6 +154,7 @@
154154
--dock-alert-background: #47ca6360;
155155
--dock-button-boxshadow: #242424;
156156
--dock-icon-color: #47CA64;
157+
--dock-icon-color2: #419854;
157158
--dock-button-inactive-span: #424242;
158159

159160
/* context menu */
@@ -252,6 +253,7 @@
252253
--dock-alert-background: #fff7a560;
253254
--dock-button-boxshadow: #110d44;
254255
--dock-icon-color: #fff7a5;
256+
--dock-icon-color2: #d1ca7a;
255257
--dock-button-inactive-span: #594dee;
256258

257259
/* context menu */
@@ -350,6 +352,7 @@
350352
--dock-alert-background: #FF40F760;
351353
--dock-button-boxshadow: #282828;
352354
--dock-icon-color: #FF40F7;
355+
--dock-icon-color2: #cc2ec4;
353356
--dock-button-inactive-span: #606060;
354357

355358
/* context menu */
@@ -1475,9 +1478,9 @@ main > .inputAppSearch {
14751478
min-width: 32px;
14761479
}
14771480

1478-
.dockbtn.alert {
1481+
/* .dockbtn.alert {
14791482
animation: blink 1s infinite ease-in-out;
1480-
}
1483+
} */
14811484

14821485
.dockbtn:hover {
14831486
cursor: var(--cursorHand);
@@ -1506,6 +1509,10 @@ main > .inputAppSearch {
15061509
fill: var(--dock-icon-color);
15071510
}
15081511

1512+
.fill2 {
1513+
fill: var(--dock-icon-color2);
1514+
}
1515+
15091516
.iconFill1 {
15101517
fill: var(--iconFill2);
15111518
}
@@ -1559,13 +1566,13 @@ main > .inputAppSearch {
15591566
}
15601567

15611568
.winNotFocus {
1562-
z-index: 1;
1569+
z-index: 3;
15631570
opacity: 0.98;
15641571
filter: blur(1px);
15651572
}
15661573

15671574
.winFocus {
1568-
z-index: 2;
1575+
z-index: 4;
15691576
opacity: 1;
15701577
filter: blur(0px);
15711578
}
@@ -1582,10 +1589,6 @@ main > .inputAppSearch {
15821589
box-shadow: none !important;
15831590
}
15841591

1585-
.maxiN {
1586-
resize: both;
1587-
}
1588-
15891592
.maxiY {
15901593
top: 37px !important;
15911594
left: 0 !important;
@@ -2489,3 +2492,81 @@ mark {
24892492
color: var(--version);
24902493
height: 16px;
24912494
}
2495+
2496+
.rightResize {
2497+
position: absolute;
2498+
right: 0;
2499+
top: 0;
2500+
width: 8px;
2501+
height: 100%;
2502+
cursor: e-resize;
2503+
}
2504+
2505+
.bottomResize {
2506+
position: absolute;
2507+
bottom: 0;
2508+
left: 0;
2509+
width: 100%;
2510+
height: 8px;
2511+
cursor: s-resize;
2512+
}
2513+
2514+
.bottomRightResize {
2515+
position: absolute;
2516+
bottom: 0;
2517+
right: 0;
2518+
width: 8px;
2519+
height: 8px;
2520+
cursor: se-resize;
2521+
}
2522+
2523+
.topResize {
2524+
position: absolute;
2525+
top: 0;
2526+
left: 0;
2527+
width: 100%;
2528+
height: 8px;
2529+
cursor: n-resize;
2530+
}
2531+
2532+
.leftResize {
2533+
position: absolute;
2534+
left: 0;
2535+
top: 0;
2536+
width: 8px;
2537+
height: 100%;
2538+
cursor: w-resize;
2539+
}
2540+
2541+
.bottomLeftResize {
2542+
position: absolute;
2543+
bottom: 0;
2544+
left: 0;
2545+
width: 8px;
2546+
height: 8px;
2547+
cursor: sw-resize;
2548+
}
2549+
2550+
.maxiY .bottomLeftResize {
2551+
cursor: var(--cursorNormal);
2552+
}
2553+
2554+
.maxiY .bottomRightResize {
2555+
cursor: var(--cursorNormal);
2556+
}
2557+
2558+
.maxiY .topResize {
2559+
cursor: var(--cursorNormal);
2560+
}
2561+
2562+
.maxiY .leftResize {
2563+
cursor: var(--cursorNormal);
2564+
}
2565+
2566+
.maxiY .rightResize {
2567+
cursor: var(--cursorNormal);
2568+
}
2569+
2570+
.maxiY .bottomResize {
2571+
cursor: var(--cursorNormal);
2572+
}

0 commit comments

Comments
 (0)