From a8c17fe66865c52190b94b13149c7e2764246be2 Mon Sep 17 00:00:00 2001 From: bfmvsa Date: Mon, 28 Oct 2024 09:51:54 +0100 Subject: [PATCH] Cleanup index.html file, removed style tag --- index.html | 21 --------------------- src/sass/_configurator.scss | 18 ++++++++++++++++++ 2 files changed, 18 insertions(+), 21 deletions(-) diff --git a/index.html b/index.html index 70c535a25..5692d72d0 100644 --- a/index.html +++ b/index.html @@ -52,29 +52,8 @@ - -
-
diff --git a/src/sass/_configurator.scss b/src/sass/_configurator.scss index 3f4643bcc..ae3ca0157 100644 --- a/src/sass/_configurator.scss +++ b/src/sass/_configurator.scss @@ -530,3 +530,21 @@ input::-webkit-inner-spin-button { -webkit-appearance: none; margin: 0; } + +.battery-wrapper { + --element-width: .25rem; + --element-height: .75rem; + position: relative; + border-radius: 2px; + width: 3rem; + height: 1.5rem; + margin-right: var(--element-width); +} +.battery-element { + width: var(--element-width); + height: var(--element-height); + background: var(--inav-secondary-border-subtle); + position: absolute; + right: calc(-2px - var(--element-width)); + top: calc(50% - var(--element-height) / 2); +} \ No newline at end of file