cat <<EOF
* {
- box-sizing: border-box;
-moz-box-sizing: border-box;
+ box-sizing: border-box;
+ -moz-transition: all .3s linear;
+ transition: all .3s linear;
}
body {
color: #DDD;
}
a { color: #EEE; }
-label, .label { font-weight: bold; }
+legend, label, .label { font-weight: bold; }
input.tabhandle { display: none; }
.tabcontent { display: none; }
background-color: #DBB;
}
+.pagination_nav {
+ display: inline;
+ border: none;
+ position: absolute;
+ right: 1em;
+ padding-top: .125em;
+}
+
+/* == Panels == */
+
.panel {
display: block;
width: 100%;
border-width: 1px;
border-style: none none solid none;
}
-.panel.footer {
- position: fixed;
- min-height: 2em;
- bottom: 0px;
- border-style: solid none none none;
-}
-.panel .help { display: block;}
-a.panel { font-weight: bold; }
-a.clearsearch, a.show, .pagination_nav {
+a.panel {
+ font-weight: bold;
display: inline;
border: none;
}
-.pagination_nav {
+
+.panel .help { display: block;}
+
+/* == Top Panel == */
+.panel#advfilter {
position: absolute;
- right: 1em;
- padding-top: .125em;
+ top: 0;
}
-.footer a.panel {
+/* == Bottom Panels == */
+.panel#preferences,
+.panel#tagger,
+.panel#foot {
+ position: fixed;
+ bottom: 0px;
+ min-height: 2em;
border-style: solid none none none;
- border-width: 1px;
- margin-top: .5em;
}
-#advfilter { display: none; }
-#advfilter:target {
+
+/* == Switchable Panels == */
+
+.panel#advfilter,
+.panel#tagger,
+.panel#preferences {
+ z-index: 1;
+ overflow: hidden;
+ min-height: 0; max-height: 0;
+ padding-top: 0; padding-bottom: 0;
+}
+.panel#advfilter:target,
+.panel#tagger:target,
+.panel#preferences:target {
+ max-height: 100%;
+ overflow-y: scroll;
+}
+.panel#advfilter:target{ padding-bottom: 1em; }
+
+
+/* == Panel Switches == */
+
+.panel#advfilter a.panel,
+.panel#preferences a.panel,
+.panel#tagger a.panel {
display: block;
- position: absolute;
- top: 0;
+ border-style: none none solid none;
+ border-width: 1px;
}
+.panel#preferences a.panel,
+.panel#tagger a.panel {
+ border-style: solid none none none;
+ margin-top: .5em;
+}
+
-#advfilter .quicklinks,
-#advfilter .filter,
-#tagger .newtag,
-#tagger input[type=submit] {
+/* == Panel Elements == */
+
+.panel#advfilter .quicklinks,
+.panel#advfilter .filter,
+.panel#tagger .newtag,
+.panel#tagger input[type=submit],
+.panel#preferences > * {
display: inline-block;
vertical-align: top;
margin-top: 1em;
}
+
+/* == Advanced Filters == */
+
+/* == Filter Boxes == */
#advfilter .filter {
border: solid 1px #FFF;
border-radius: .25em;
padding: .25em .5em;
}
-#advfilter > label.tabhandle {
- text-align: right;
- width: 4em;
- margin-left: 4em;
-}
-#advfilter > .tabhandle + label { display: none; }
-#advfilter > .tabhandle + label + .tabcontent { display: none; }
-#advfilter > .tabhandle:checked + label + .tabcontent { display: inline-block; }
-#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label{ display: inline-block; }
-#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label{ display: none; }
-
#advfilter .filter .tabcontainer {
position: relative;
width: 16em;
+ font-weight:normal;
+}
+#advfilter .filter .tabcontainer input + .category.tabhandle {
+ display: block;
+ width: 50%;
}
-#advfilter .filter .category.tabhandle { display: block; }
-#advfilter .filter input:checked + .category.tabhandle {
+#advfilter .filter .tabcontainer input:checked + .category.tabhandle {
background: #FFF;
color: #000;
}
-#advfilter .filter .category.tabcontent {
+#advfilter .filter .tabcontainer .category.tabcontent {
position: absolute;
top: 0; right: 0;
- width: 10em;
+ width: 50%;
height: 100%;
min-height: 4em;
+ border: 2px #FFF solid;
+ border-radius: 0 .25em .25em 0;
+}
+
+#advfilter > label.tabhandle {
+ text-align: right;
+ width: 4em;
+ margin-left: 4em;
+}
+
+/* == Dynamic Appearance of Boxes == */
+.panel#advfilter > .tabhandle + label { display: none; }
+.panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle + label { display: inline-block; }
+.panel#advfilter > .tabhandle:checked + label + .tabcontent + .tabhandle:checked + label { display: none; }
+.panel#advfilter > .tabhandle + label + .tabcontent {
+ display: inline-block;
+ overflow: hidden;
+ max-width: 0;
+ max-height: 0;
+ padding: 0;
+ border: none;
+}
+.panel#advfilter > .tabhandle:checked + label + .tabcontent {
+ max-width: 100%;
+ max-height: 100%;
+ padding: .25em .5em;
+ border: solid 1px #FFF;
}
#advfilter .filter.final {
word-wrap: break-word;
}
+
+/* == Thumblist == */
+
#thumblist {
width: 100%;
padding: .5em 0 3em 0;
vertical-align: top;
word-wrap: break-word;
}
-@media (min-width: 480px){#thumblist .thumb{width: 50%;}}
+@media (min-width: 480px){#thumblist .thumb{width: 49.5%;}}
@media (min-width: 640px){#thumblist .thumb{width: 33%;}}
@media (min-width: 1024px){#thumblist .thumb{width: 256px;}}
margin: .75em .5em;
}
-#preferences { display: none; }
-#preferences:target { display: block; z-index: 1; }
-
-#tagger { display: none; }
-#tagger:target {
+.panel#tagger .newtag select,
+.panel#tagger .newtag .label{
display: block;
- z-index: 1;
+ width: 10em;
}
-#tagger .newtag select,
-#tagger .newtag .label{
- display: block;
- width: 10em;
+.panel#preferences > fieldset {
+ border: solid 1px;
+ border-radius: .25em;
}
+.panel#preferences > input { display: block; }
#videoview a.panel {
position: absolute;