* {
-moz-box-sizing: border-box;
box-sizing: border-box;
- -moz-transition: all .3s linear;
- transition: all .3s linear;
+ -moz-transition: all .25s linear;
+ transition: all .25s linear;
}
body {
background-color: #333;
text-align: right;
}
-.panel:after { content: ''; display: block; clear: both;}
.pagination_nav a {
display: none;
text-decoration: none;
}
.pagination_nav:hover a { display: inline; }
+
/* == Panels == */
-.panel {
- position: relative;
+.panel#search select { margin-right: .5em; }
+.panel#search:after {
+ display: block; content: '';
+ clear: both;
+}
+
+.panel#search, .panel#foot,
+.panel.top, .panel.bottom {
display: block;
width: 100%;
margin: 0;
padding: .25em .5em;
background-color: #333;
border-width: 1px;
- border-style: none none solid none;
-}
-
-a.panel {
- font-weight: bold;
- display: inline-block;
- border: none;
- width: auto;
- padding: 0;
- margin: auto 1em 1ex 0;
+ z-index: 1;
}
-.panel .help { display: block;}
-
-/* == Top Panel == */
-
-.panel#advfilter { position: absolute; top: 0; }
-.panel#search select { margin-right: .5em; }
-
-body.playctl .panel#advfilter,
-body.playctl .panel#search {
- margin-top: 1.25em;
- border-top: 1px solid #FFF;
+.panel#search, .panel.top {
+ position: relative; top: 0;
+ border-style: none none solid none;
}
-
-/* == Bottom Panels == */
-.panel#preferences,
-.panel#tagger,
-.panel#foot {
+.panel.top.switchable { position: absolute; }
+.panel#foot, .panel.bottom {
position: fixed;
- bottom: 0px;
+ bottom: 0;
border-style: solid none none none;
}
-
-/* == Switchable Panels == */
-
-form.panel,
-div.panel {
- z-index: 1;
+.panel.switchable {
+ max-height: 0;
overflow: hidden;
- min-height: 0; max-height: 0;
- padding-top: 0; padding-bottom: 0;
+ margin: 0; padding: 0;
+ border-width: 0;
}
-
-.panel#search,
-.panel#foot {
- max-height: 100%;
- z-index: 0;
- padding: .25em .5em 0 .5em;
- overflow: visible;
+.panel.switchable:target {
+ max-height: 80%;
+ overflow-y: scroll;
+ padding: .25em .5em;
+ border-width: 1px;
+ z-index: 2;
}
body.playctl .panel#search,
-body.playctl .panel#foot { padding-right: .25em; }
-
-.panel:target {
- max-height: 100%;
- overflow-y: scroll;
+body.playctl .panel.top {
+ margin-top: 1.25em;
+ border-top: 1px solid #FFF;
}
-.panel#advfilter:target{ padding-bottom: 1em; }
-/* == Panel Switches == */
+.panel#search > a, .panel#foot > a,
+.panel.top > a, .panel.bottom > a{
+ display: inline-block;
+ font-weight: bold;
+ text-decoration: none;
+ margin: .25em .5em 0 0;
+}
-.panel#playctl a.panel,
-.panel#advfilter a.panel,
-.panel#preferences a.panel,
-.panel#tagger a.panel {
+.panel.switchable.top a:first-of-type {
display: block;
- border-style: none none solid none;
- border-width: 1px;
+ margin-bottom: .5em;
+ border-bottom: 1px solid #FFF;
}
-.panel#preferences a.panel,
-.panel#tagger a.panel {
- border-style: solid none none none;
+.panel.switchable.bottom a:last-of-type {
+ display: block;
margin-top: .5em;
+ border-top: 1px solid #FFF;
}
/* == Panel Elements == */
-.panel#advfilter .quicklinks,
-.panel#advfilter .filter,
-.panel#tagger .newtag,
-.panel#tagger input[type=submit],
-.panel#preferences > * {
+.panel.switchable > fieldset,
+.panel.switchable > input[type=submit] {
+ border: none;
display: inline-block;
vertical-align: top;
margin-top: 1em;
+ max-width: 48%;
}
+.panel.switchable > fieldset.additional,
+.panel.switchable > fieldset.description {
+ max-width: 100%;
+}
/* == Advanced Filters == */
margin-left: 1em;
}
-#advfilter .quicklinks {width: 100%;}
/* == Recent filters == */