From ea7be6c7005193bff1d3aef27c7d930d27154b32 Mon Sep 17 00:00:00 2001 From: JezerM Date: Sat, 21 Aug 2021 19:24:21 -0600 Subject: [PATCH] Added Layouts support to dracula theme. Improved performance --- themes/dracula/css/style.css | 23 ++++++++++++++++++++++- themes/dracula/index.html | 20 +++++++++++++++----- themes/dracula/js/backgrounds.js | 4 ++++ themes/dracula/js/index.js | 6 ++++-- 4 files changed, 45 insertions(+), 8 deletions(-) diff --git a/themes/dracula/css/style.css b/themes/dracula/css/style.css index 1ec2d23..ef3bca5 100644 --- a/themes/dracula/css/style.css +++ b/themes/dracula/css/style.css @@ -332,6 +332,10 @@ button { background-color: var(--orange); } +.button-group .hide { + display: none; +} + /* Auth message */ #auth-message { @@ -566,8 +570,25 @@ button { backdrop-filter: blur(20px); border-radius: 2px; } -#system-bar > *:hover { +#system-bar > *:hover, #system-bar > *:focus { background-color: #2828280e; + backdrop-filter: blur(50px); +} + +#layouts-list { + padding: 0; +} +#layouts-button { + all: unset; + cursor: pointer; + padding: 8px; +} +#layouts-dropdown { + position: absolute; + margin: 2px; + bottom: 100%; + display: flex; + flex-direction: column-reverse; } /* Animations */ diff --git a/themes/dracula/index.html b/themes/dracula/index.html index 71839de..8188d33 100644 --- a/themes/dracula/index.html +++ b/themes/dracula/index.html @@ -15,7 +15,6 @@
-
-
+
+ + +
+
+ +