This is an automated email from the ASF dual-hosted git repository.

hcr pushed a commit to branch main
in repository https://gitbox.apache.org/repos/asf/mahout.git


The following commit(s) were added to refs/heads/main by this push:
     new 858704856 style: update dropdown menu background and add border 
styling (#949)
858704856 is described below

commit 858704856074bfc6695da053d87ed50653eaf760
Author: Ryan Huang <[email protected]>
AuthorDate: Mon Jan 26 15:57:32 2026 +0800

    style: update dropdown menu background and add border styling (#949)
---
 website/src/css/custom.css | 14 ++++++++------
 1 file changed, 8 insertions(+), 6 deletions(-)

diff --git a/website/src/css/custom.css b/website/src/css/custom.css
index 03c27adc5..1280369d5 100644
--- a/website/src/css/custom.css
+++ b/website/src/css/custom.css
@@ -97,9 +97,12 @@
   color: white;
 }
 
-/* Dropdown menu keeps light background */
+/* Dropdown menu - solid opaque background */
 .dropdown__menu {
-  background-color: var(--ifm-background-color);
+  background-color: #ffffff;
+  border-radius: 8px;
+  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.15);
+  border: 1px solid rgba(0, 0, 0, 0.1);
 }
 
 .dropdown__link {
@@ -112,10 +115,9 @@
   --ifm-navbar-background-color: #00838f;
 }
 
-/* Dropdown menu styling */
-.dropdown__menu {
-  border-radius: 8px;
-  box-shadow: 0 4px 12px rgba(0, 0, 0, 0.1);
+[data-theme='dark'] .dropdown__menu {
+  background-color: #1e1e1e;
+  border: 1px solid rgba(255, 255, 255, 0.1);
 }
 
 /* Footer styling */

Reply via email to