Skip to content

Commit 5645b5a

Browse files
committed
allow usage of dropdown menu in detail view
1 parent e93c980 commit 5645b5a

File tree

2 files changed

+41
-1
lines changed

2 files changed

+41
-1
lines changed

client/scss/_dropdown.scss

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -48,7 +48,7 @@
4848
background-color: $selected-row-color;
4949

5050
&::after {
51-
content: "";
51+
content: "";
5252
position: absolute;
5353
right: 10px;
5454
}

client/scss/finder-admin.scss

Lines changed: 40 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -690,6 +690,46 @@ ul.messagelist {
690690
width: 20px;
691691
}
692692
}
693+
[role="combobox"] {
694+
font-weight: 400;
695+
border-radius: 4px;
696+
padding: 5px 15px;
697+
line-height: 25px;
698+
color: var(--button-fg);
699+
background: var(--default-button-bg);
700+
margin-right: 10px;
701+
margin-bottom: 10px;
702+
&[aria-expanded="false"] {
703+
cursor: pointer;
704+
&:hover {
705+
background: var(--default-button-hover-bg);
706+
}
707+
}
708+
&::after {
709+
margin-left: 10px;
710+
border-top-color: var(--button-fg);
711+
}
712+
[role="listbox"] {
713+
color: inherit;
714+
background-color: inherit;
715+
padding: 5px;
716+
> li {
717+
padding: 0 30px 0 10px;
718+
cursor: pointer;
719+
&:hover {
720+
background-color: var(--default-button-hover-bg);
721+
}
722+
&[aria-selected=true] {
723+
color: $selected-row-color;
724+
background-color: inherit;
725+
726+
&::after {
727+
content: "";
728+
}
729+
}
730+
}
731+
}
732+
}
693733
}
694734
}
695735

0 commit comments

Comments
 (0)