[ticket/12769] More dropdown refactoring

This commit is contained in:
Michael Miday 2015-09-16 17:18:23 +02:00
parent bc18985bd4
commit 47eb88e877

View file

@ -379,6 +379,7 @@ ul.linklist.bulletin > li.no-bulletin:before {
} }
.dropdown { .dropdown {
display: none;
position: absolute; position: absolute;
left: 0; left: 0;
top: 1.2em; top: 1.2em;
@ -472,7 +473,6 @@ ul.linklist.bulletin > li.no-bulletin:before {
border-radius: 5px; border-radius: 5px;
padding: 5px; padding: 5px;
position: relative; position: relative;
min-width: 40px;
max-height: 300px; max-height: 300px;
} }
@ -518,15 +518,27 @@ ul.linklist.bulletin > li.no-bulletin:before {
width: 20px; width: 20px;
} }
.dropdown-contents a {
display: block;
padding: 5px;
}
.jumpbox .dropdown-select {
margin: 0;
}
.jumpbox .dropdown-contents a {
text-decoration: none;
}
.dropdown li { .dropdown li {
display: list-item;
border-top: 1px dotted transparent; border-top: 1px dotted transparent;
float: none !important; float: none !important;
line-height: normal !important; line-height: normal !important;
font-size: 1em !important; font-size: 1em !important;
list-style: none; list-style: none;
margin: 0; margin: 0;
padding-top: 4px;
padding-bottom: 4px;
white-space: nowrap; white-space: nowrap;
text-align: left; text-align: left;
} }
@ -562,7 +574,6 @@ ul.linklist.bulletin > li.no-bulletin:before {
.dropdown li.separator { .dropdown li.separator {
border-top: 1px solid transparent; border-top: 1px solid transparent;
margin: 4px 0;
padding: 0; padding: 0;
} }