From 0b52d752f8419f16d1c65a6584fa08c846218183 Mon Sep 17 00:00:00 2001 From: Jochem Smit Date: Sun, 20 Mar 2022 16:10:23 +0100 Subject: [PATCH] updated light theme css --- pyhdx/web/jinja_base.html | 11 ++++++++-- .../static/extendedgoldentemplate/default.css | 20 ++++++++++++++++++- 2 files changed, 28 insertions(+), 3 deletions(-) diff --git a/pyhdx/web/jinja_base.html b/pyhdx/web/jinja_base.html index 39ba9508..db5bd38e 100644 --- a/pyhdx/web/jinja_base.html +++ b/pyhdx/web/jinja_base.html @@ -75,7 +75,6 @@ model: '', width: 350, }, - width: 20, isClosable: false }, $main_body @@ -84,7 +83,15 @@ ], settings: { showPopoutIcon: false - } + }, + dimensions: { + borderWidth: 5, + minItemHeight: 10, + minItemWidth: 10, + headerHeight: 35, + dragProxyWidth: 300, + dragProxyHeight: 200 + }, }; var myLayout = new GoldenLayout(config, $$('#main-content')); diff --git a/pyhdx/web/static/extendedgoldentemplate/default.css b/pyhdx/web/static/extendedgoldentemplate/default.css index e69486cd..8ccee572 100644 --- a/pyhdx/web/static/extendedgoldentemplate/default.css +++ b/pyhdx/web/static/extendedgoldentemplate/default.css @@ -14,14 +14,32 @@ .lm_header .lm_tab { background-color: #efefef; + padding-top: 3px; padding-bottom: 4px !important; + height: 30px !important; + line-height: 28px; + font-size: 17px; } .lm_header .lm_tab.lm_active { + padding-top: 0px; + border-top: 3px #52BDEC solid; background-color: #ffffff; - padding-bottom: 5px !important; + padding-bottom: 3px !important; } .lm_header { background-color: white; } + +/* works but shows up briefly */ +.lm_splitter { + background: #116E8A; + opacity: .001; + transition: opacity 1000ms ease +} + +.lm_splitter:hover { + opacity: 1; + background: #00407A !important; +} \ No newline at end of file