From f29807a913746c6bdb2e3205f63fb81e93681129 Mon Sep 17 00:00:00 2001 From: Egor Savkin Date: Mon, 21 Oct 2024 17:46:40 +0800 Subject: [PATCH] Optimize the download button Replace download button with windows icon (just four squares). Make the download button last so on certain screens it wouldn't cause additional empty-ish lines. Redo the wording so the button is shorter, but the dropdown menu is filled. Signed-off-by: Egor Savkin --- sass/css/_base.scss | 2 ++ static/images/icons/icon-windows.svg | 1 + templates/index.html | 21 ++++++++++++++------- 3 files changed, 17 insertions(+), 7 deletions(-) create mode 100644 static/images/icons/icon-windows.svg diff --git a/sass/css/_base.scss b/sass/css/_base.scss index ac8f359..cd787da 100644 --- a/sass/css/_base.scss +++ b/sass/css/_base.scss @@ -225,6 +225,8 @@ ul:not(.navbar-nav) li { &:after { align-self: center; } + } + button { &[aria-expanded='true']:after { transform: rotate(-180deg); } diff --git a/static/images/icons/icon-windows.svg b/static/images/icons/icon-windows.svg new file mode 100644 index 0000000..f6432e3 --- /dev/null +++ b/static/images/icons/icon-windows.svg @@ -0,0 +1 @@ + diff --git a/templates/index.html b/templates/index.html index ce7ec9e..4afcd58 100644 --- a/templates/index.html +++ b/templates/index.html @@ -53,22 +53,29 @@ Order hardware Manual Forum + More... - More... -