From ca6d558e6e28fe9e6fa2d269348b811dc3d29ce6 Mon Sep 17 00:00:00 2001 From: "Dixing (Dex) Xu" Date: Thu, 28 Nov 2024 10:21:24 +0800 Subject: [PATCH] :lipstick: Fix styling issue for webui (#30) --- aide/webui/style.css | 39 ++++++++++++++++++++++++++------------- 1 file changed, 26 insertions(+), 13 deletions(-) diff --git a/aide/webui/style.css b/aide/webui/style.css index d364651..2afbe54 100644 --- a/aide/webui/style.css +++ b/aide/webui/style.css @@ -1,15 +1,3 @@ -/* Main colors */ -:root { - --background: #F2F0E7; - --background-shaded: #FFFFFF; - --card: #FFFFFF; - --primary: #0D0F18; - --accent: #F04370; - --border: #D4D1C7; - --accent-hover: #E13D68; - --accent-light: #FEE5EC; -} - .stVerticalBlock { padding-top: 0rem; padding-bottom: 0rem; @@ -19,9 +7,34 @@ padding-top: 0rem; padding-bottom: 0rem; } -header.stAppHeader { + +[data-testid="stVerticalBlock"] { + padding-top: 0rem; + padding-bottom: 0rem; +} +.st-emotion-cache-40pabj{ + padding-top: 0rem; + padding-bottom: 0rem; +} +/* Make the toolbar transparent */ +.st-emotion-cache-18ni7ap { + pointer-events: none; + background: rgb(255 255 255 / 0%) + } + +.stAppHeader { + display: none; +} + +header {visibility: hidden;} +#MainMenu {visibility: hidden;} +[data-testid="stDecoration"] { display: none; } +#root > div:nth-child(1) > div > div > div > div > section > div { + padding-top: 0rem; +} + section.stMain .block-container { padding-top: 0rem; z-index: 1;