Skip to content

Commit b3a85b9

Browse files
committed
Fix dropdown alignment and styling to match nav links
1 parent efea240 commit b3a85b9

File tree

1 file changed

+18
-2
lines changed

1 file changed

+18
-2
lines changed

assets/css/bpd.css

Lines changed: 18 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -594,13 +594,28 @@ ul.speaking-list {
594594
padding: 0;
595595
margin: 0;
596596
border: none;
597+
background: transparent !important;
598+
box-shadow: none !important;
599+
width: auto;
597600
}
598601

599602
.menu-item details summary {
600603
cursor: pointer;
601604
list-style: none;
602605
margin-bottom: 0;
603606
padding: 5px 0;
607+
background: transparent !important;
608+
border: none !important;
609+
box-shadow: none !important;
610+
color: #868e96;
611+
font-weight: 700;
612+
font-size: 0.88889rem;
613+
}
614+
615+
.menu-item details summary:hover,
616+
.menu-item details[open] summary {
617+
color: #3588ff;
618+
background: transparent !important;
604619
}
605620

606621
.menu-item details summary::-webkit-details-marker {
@@ -619,15 +634,16 @@ ul.speaking-list {
619634
.menu-item details ul {
620635
position: absolute;
621636
top: 100%;
622-
left: 0;
637+
right: 0;
638+
left: auto;
623639
min-width: 200px;
624640
background-color: #222;
625641
border: 1px solid #d7d7d7;
626642
padding: 0.5rem 0;
627643
margin: 0;
628644
z-index: 1000;
629645
display: flex;
630-
flex-direction: column;
646+
flex-direction: column !important;
631647
box-shadow: 0 4px 8px rgba(0,0,0,0.2);
632648
}
633649

0 commit comments

Comments
 (0)