From e6ebe96c902d6c59625e910ab92cc20969dbb4e4 Mon Sep 17 00:00:00 2001 From: amy Date: Fri, 3 Feb 2023 14:12:32 -0600 Subject: bar, todo: fix scrolling issue --- display.html | 251 ++++++++++++++++++++++++++++++++++++++++++++++------------- readme.md | 4 +- 2 files changed, 200 insertions(+), 55 deletions(-) diff --git a/display.html b/display.html index 9f73bb8..6db8454 100644 --- a/display.html +++ b/display.html @@ -29,7 +29,7 @@ .head-border { width: calc(100%); - background: linear-gradient(90deg, rgba(1,0,129,1) 0%, rgba(0,128,128,1) 100%); + background: linear-gradient(90deg, rgba(1, 0, 129, 1) 0%, rgba(0, 128, 128, 1) 100%); height: 25px; position: absolute; top: 0; @@ -96,6 +96,7 @@ cursor: ew-resize; } + .resize-ne { position: absolute; right: -3px; @@ -106,6 +107,7 @@ cursor: ne-resize; } + .resize-es { position: absolute; right: -3px; @@ -116,6 +118,7 @@ cursor: se-resize; } + .resize-sw { position: absolute; left: -3px; @@ -126,6 +129,7 @@ cursor: sw-resize; } + .resize-nw { position: absolute; left: -3px; @@ -153,14 +157,125 @@ .scrollbar-point { width: 100%; - background-color: #919191; + background-color: #999999; + position: absolute; + top: 0; + outline: 2px outset; + outline-offset: -2px; + cursor: grab; + } + + #bar { + width: 100%; + height: 30px; + background-color: #c3c3c3; + position: absolute; + bottom: 0; + left: 0; + } + + .bar-item { + height: 80%; + background-color: #c3c3c3; + width: fit-content; + padding-left: 20px; + padding-right: 20px; + border-style: outset; + cursor: grab; + user-select: none; + display: block; position: absolute; top: 0; }