File tree Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Expand file tree Collapse file tree 1 file changed +26
-0
lines changed Original file line number Diff line number Diff line change @@ -71,3 +71,29 @@ $hero-darken: $dark !default;
7171 border-radius : 4px ; /* Optional: Rounds corners */
7272}
7373
74+
75+ /* Full line hover effect */
76+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link {
77+ display : flex ; /* Ensure the entire line is clickable */
78+ align-items : center ; /* Center the text and arrow */
79+ justify-content : space-between ; /* Space the arrow and text */
80+ background-color : transparent ; /* Default background */
81+ color : #000000 ; /* Default font color */
82+ padding : 0.5rem 1rem ; /* Adjust padding for a full-line effect */
83+ }
84+
85+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link :hover {
86+ background-color : #f5f5f5 ; /* Light gray background for the entire line */
87+ color : #000000 ; /* Keep font black */
88+ }
89+
90+ /* Adjust arrow direction */
91+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown > .navbar-link ::after {
92+ content : " ▶" ; /* Right-pointing arrow */
93+ margin-left : 0.5rem ; /* Add spacing between text and arrow */
94+ transform : rotate (0deg ); /* Default: pointing right */
95+ }
96+
97+ .navbar-item.has-dropdown .navbar-dropdown .navbar-item.has-dropdown :hover > .navbar-link ::after {
98+ transform : rotate (0deg ); /* No rotation on hover, arrow stays pointing right */
99+ }
You can’t perform that action at this time.
0 commit comments