#prefs, #bookmarks, #multitag, #advsearch {
display: block; position: absolute;
- height: 0; width: 100%; max-width: 100%;
+ max-height: 0; width: 100%; max-width: 100%;
margin-top: -1px;
padding: 0 1em;
border: 1px none;
overflow: hidden;
background-color: #333;
+ transition: max-height .3s linear;
z-index: 1;
}
#bookmarks {
#advsearch:target, #multitag:target,
#prefs:target, #bookmarks:target {
- height: auto; overflow: visible;
+ max-height: 50em; overflow: visible;
}
#advsearch:target { border-style: none none solid none; }
#prefs:target { border-style: none none solid solid; }
#bookmarks:target { border-style: none solid solid none; }
+#advsearch:target, #multitag:target { max-height: 500em; }
#advsearch a[href="#"],
#multitag a[href="#"],
#prefs a[href="#"] {
display: block;
position: absolute;
- top: -2em; line-height: 2em;
+ margin-top: -2em; line-height: 2em;
padding: 0 .75em;
font-weight: bold;
background-color: inherit;
#advsearch input.and {display: none;}
#advsearch input.and + label {display: none}
-#advsearch input.and + label + .select {display: none;}
+#advsearch input.and + label + .select {
+ display: inline-block;
+ position: relative;
+ width: 100%; min-width: 0; max-width: 0;
+ min-height: 12em;
+ overflow: hidden;
+ vertical-align: top;
+ border: none;
+ transition: max-width .3s linear;
+}
+#advsearch .submit {
+ display: inline-block;
+ width: 100%;
+ vertical-align: top;
+}
#advsearch input.and + label:nth-of-type(2),
#advsearch input.and:checked + label + .select + input + label {
#advsearch input.and:checked + label:nth-of-type(2),
#advsearch input.and:checked + label { display: none; }
-#advsearch .submit,
#advsearch input.and + label + .select:first-of-type,
#advsearch input.and:checked + label + .select {
- display: inline-block;
- position: relative;
- width: 100%;
+ min-width: 200px; max-width: 100%;
margin: 0 .5% 1em .5%;
- min-height: 12em;
- overflow: hidden;
- vertical-align: top;
+ border: 1px solid;
}
@media (min-width: 460px){
#advsearch .submit,
#advsearch input.and + label + .select:first-of-type,
#advsearch input.and:checked + label + .select {
- width: 49%; min-width: 200px;
+ width: 49%;
} }
@media (min-width: 660px){
#advsearch .submit,
padding: .25em .5em;
word-break: break-word;
background-color: #222;
+ overflow: hidden;
}
.list.file .time, .list.file .dim {