From cea37cf3701160806e4dd71c60e78047f26d2198 Mon Sep 17 00:00:00 2001 From: Fen Dweller Date: Tue, 15 Jan 2019 17:35:26 -0500 Subject: [PATCH] More formatting improvements --- gorge.css | 43 +++++++++++++++++++++++++++++++++++++++++-- 1 file changed, 41 insertions(+), 2 deletions(-) diff --git a/gorge.css b/gorge.css index 428182b..333b276 100644 --- a/gorge.css +++ b/gorge.css @@ -81,7 +81,7 @@ button { top: 50%; left: 50%; width: 50%; - height: 50%; + height: 45%; } } @@ -195,7 +195,7 @@ button { #upgrades-area { position: absolute; left: 50%; - height: 50%; + height: 35%; width: 50%; } } @@ -209,6 +209,9 @@ button { #upgrades-list { display: flex; flex-wrap: wrap; + height: 100%; + overflow-x: hidden; + overflow-y: scroll; } #upgrade-tooltip { @@ -331,3 +334,39 @@ button { opacity: 0; } } + + + +div::-webkit-scrollbar { + width: 3px; + height: 2px; +} +div::-webkit-scrollbar-button { + width: 0px; + height: 0px; +} +div::-webkit-scrollbar-thumb { + background: #e1e1e1; + border: 0px none #ffffff; + border-radius: 50px; +} +div::-webkit-scrollbar-thumb:hover { + background: #ffffff; +} +div::-webkit-scrollbar-thumb:active { + background: #000000; +} +div::-webkit-scrollbar-track { + background: #666666; + border: 0px none #ffffff; + border-radius: 50px; +} +div::-webkit-scrollbar-track:hover { + background: #666666; +} +div::-webkit-scrollbar-track:active { + background: #333333; +} +div::-webkit-scrollbar-corner { + background: transparent; +}