* {
-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;
- text-decoration: none;
-}
-
-.panel .help { display: block;}
-
-/* == Top Panel == */
-
-.panel.switchable.top {
- position: absolute;
- top: 0;
+ z-index: 1;
}
-body.playctl .panel#advfilter,
-body.playctl .panel#morelinks,
-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;
}
-
-.panel#search select { margin-right: .5em; }
-
-/* == Bottom Panels == */
-.panel.bottom,
-.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 == */
-
.panel.switchable {
- z-index: 1;
+ 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.switchable:target {
- max-height: 100%;
+ max-height: 80%;
overflow-y: scroll;
-}
-.panel.switchable.top:target{ padding-bottom: 1em; }
-
-.panel#search,
-.panel#foot {
- max-height: 100%;
- z-index: 0;
- padding: .25em .5em 0 .5em;
- overflow: visible;
+ padding: .25em .5em;
+ border-width: 1px;
+ z-index: 2;
}
body.playctl .panel#search,
-body.playctl .panel#foot { padding-right: .25em; }
-
+body.playctl .panel.top {
+ margin-top: 1.25em;
+ border-top: 1px solid #FFF;
+}
-/* == 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.switchable.bottom a.panel:last-of-type,
-.panel.switchable.top a.panel:first-of-type {
+.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.switchable.bottom a.panel:last-of-type {
- 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 .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 == */