@@ -17,6 +17,80 @@ $hero-darken: $dark !default;
1717@import " showcase" ;
1818@import " ../node_modules/bulma-block-list/src/block-list.scss" ;
1919
20- .gh-sponsor {
21- color : #ea4aaa ;
20+
21+ /* Position third-level dropdown */
22+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown .navbar-dropdown {
23+ display : none ; /* Hide third-level dropdown by default */
24+ position : absolute ;
25+ left : 100% ; /* Position it to the right of the second-level item */
26+ top : 0 ;
27+ background-color : #ffffff ; /* Match your dropdown background */
28+ z-index : 1000 ;
29+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.2 ); /* Optional: Add shadow for clarity */
30+ }
31+
32+ /* Show third-level dropdown on hover */
33+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown :hover .navbar-dropdown {
34+ display : block ;
35+ }
36+
37+ /* Ensure the second-level menu doesn't get disrupted */
38+ .navbar-item.has-dropdown .navbar-dropdown {
39+ position : absolute ;
40+ background-color : #ffffff ;
41+ z-index : 1000 ;
42+ top : 100% ;
43+ left : 0 ;
44+ box-shadow : 0 2px 8px rgba (0 , 0 , 0 , 0.2 );
45+ }
46+
47+ /* Prevent navbar height from expanding */
48+ .navbar-menu {
49+ overflow : visible ;
50+ position : relative ;
51+ height : auto ;
52+ }
53+
54+
55+
56+ /* Ensure second-level items with dropdowns have consistent styling */
57+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link {
58+ background-color : transparent ; /* Remove black highlight */
59+ color : #000000 ; /* Set text to black */
60+ }
61+
62+ /* Add hover effect for better interaction */
63+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link :hover {
64+ background-color : #f5f5f5 ; /* Light gray on hover */
65+ color : #000000 ; /* Keep text black */
66+ }
67+
68+ /* Optional: Ensure dropdown borders match overall style */
69+ .navbar-dropdown {
70+ border : 1px solid #e5e5e5 ; /* Add a subtle border */
71+ border-radius : 4px ; /* Optional: Rounds corners */
72+ }
73+
74+
75+ /* Full line hover effect for second-level items with dropdowns */
76+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link {
77+ display : flex ; /* Make the entire line interactive */
78+ align-items : center ; /* Align text and arrow */
79+ justify-content : space-between ; /* Space between text and arrow */
80+ padding : 0.25rem 1rem ; /* Same padding as other items */
81+ background-color : transparent ; /* Default background */
82+ color : #000000 ; /* Black text by default */
83+ }
84+
85+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link :hover {
86+ background-color : #f5f5f5 ; /* Light grey background for the entire line */
87+ color : #000000 ; /* Keep text black */
88+ }
89+
90+
91+ /* Fix text indentation to match other second-level items */
92+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link {
93+ text-indent : 0 ; /* Remove indentation */
94+ padding-left : 0rem ; /* Align padding with other items */
95+ padding-right : 2rem
2296}
0 commit comments