From c6415a3b395f8caf5da4aa91d05e4e294715b775 Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Wed, 24 Jul 2024 11:31:25 -0400 Subject: [PATCH 1/3] fix: adjust styles for user account btn in the navbar - Avoid customize boostrap class Refs: #135 --- web-app/django/VIM/static/css/app.css | 11 ++++++++--- web-app/django/VIM/templates/base.html | 13 ++++++++----- 2 files changed, 16 insertions(+), 8 deletions(-) diff --git a/web-app/django/VIM/static/css/app.css b/web-app/django/VIM/static/css/app.css index c46c7b3..f05577c 100644 --- a/web-app/django/VIM/static/css/app.css +++ b/web-app/django/VIM/static/css/app.css @@ -55,17 +55,22 @@ header { font-family: 'Noto Sans', sans-serif; } -.login-btn:hover { +.login-btn:hover, +.login-btn:focus { color: #435334; border: 1px solid #faf1e4; background-color: #faf1e4; } -.dropdown-menu { +.umil-dropdown-menu { background-color: #faf1e4; } -.dropdown-item:hover { +.umil-dropdown-item { + color: #435334; +} + +.umil-dropdown-item:hover { background-color: #cedebd; } diff --git a/web-app/django/VIM/templates/base.html b/web-app/django/VIM/templates/base.html index 33d22b1..ef2ad00 100644 --- a/web-app/django/VIM/templates/base.html +++ b/web-app/django/VIM/templates/base.html @@ -52,17 +52,20 @@
{% if user.is_authenticated %} - From 514c4ddde0fccda5fffad16374e0dc0506ae6ada Mon Sep 17 00:00:00 2001 From: Yinan Zhou Date: Wed, 24 Jul 2024 11:32:51 -0400 Subject: [PATCH 2/3] fix: de-activate dropdown on click-away && fix tooltip - Remove dropdown from tooltip list Refs: #135 --- .../instruments/templates/instruments/index.html | 12 +++++++++--- web-app/django/VIM/static/js/LanguageTooltip.js | 2 +- 2 files changed, 10 insertions(+), 4 deletions(-) diff --git a/web-app/django/VIM/apps/instruments/templates/instruments/index.html b/web-app/django/VIM/apps/instruments/templates/instruments/index.html index 9523360..42bc80a 100644 --- a/web-app/django/VIM/apps/instruments/templates/instruments/index.html +++ b/web-app/django/VIM/apps/instruments/templates/instruments/index.html @@ -79,7 +79,12 @@

######

INSTRUMENT LIST

-