From: paul Date: Wed, 19 Aug 2015 10:45:12 +0000 (+0000) Subject: css transitions for panels X-Git-Url: https://git.plutz.net/?a=commitdiff_plain;h=6791cf7e5c508a189bc849823f55b941c14b8d96;p=serve0 css transitions for panels svn path=/trunk/; revision=83 --- diff --git a/templates/advfilter.html.sh b/templates/advfilter.html.sh index 74860bc..ec2e5e7 100755 --- a/templates/advfilter.html.sh +++ b/templates/advfilter.html.sh @@ -60,7 +60,7 @@ cat < - Hide + Hide

Up to 10 filter boxes will appear as you start selecting tags. You can select multiple tags in each box by holding down the Ctrl-key. Click the "Filter!" button when you are ready.

$(filterbox {0..9}) diff --git a/templates/common.css.sh b/templates/common.css.sh index b8c7ec4..f870219 100755 --- a/templates/common.css.sh +++ b/templates/common.css.sh @@ -62,36 +62,57 @@ textarea { border-width: 1px; border-style: none none solid none; } -.panel.footer { + +#advfilter { + position: absolute; + top: 0; +} +#preferences, +#tagger, +#foot { position: fixed; - min-height: 2em; bottom: 0px; + min-height: 2em; border-style: solid none none none; } -.panel .help { display: block;} -a.panel { font-weight: bold; } -a.clearsearch, a.show, .pagination_nav { - display: inline; - border: none; +#advfilter, +#tagger, +#preferences { + z-index: 1; + overflow: hidden; + min-height: 0; max-height: 0; + padding-top: 0; padding-bottom: 0; + transition: all .3s linear; } -.pagination_nav { - position: absolute; - right: 1em; - padding-top: .125em; +#advfilter:target, +#tagger:target, +#preferences:target { + max-height: 100%; + overflow-y: scroll; } -.footer a.panel { +.panel .help { display: block;} +a.panel { font-weight: bold; } + +#preferences a.panel, +#tagger a.panel { border-style: solid none none none; border-width: 1px; margin-top: .5em; } -#advfilter { display: none; } -#advfilter:target { - display: block; +#search a.toggle, +#foot a.toggle, +a.clearsearch, +.pagination_nav { + display: inline; + border: none; +} +.pagination_nav { position: absolute; - top: 0; + right: 1em; + padding-top: .125em; } #advfilter .quicklinks, @@ -187,17 +208,6 @@ a.clearsearch, a.show, .pagination_nav { margin: .75em .5em; } -#tagger, -#preferences { - display: none; -} -#tagger:target, -#preferences:target { - display: block; - z-index: 1; - max-height: 100%; - overflow-y: scroll; -} #tagger .newtag select, #tagger .newtag .label{ display: block; diff --git a/templates/list.html.sh b/templates/list.html.sh index a03c4da..06d4110 100755 --- a/templates/list.html.sh +++ b/templates/list.html.sh @@ -16,8 +16,7 @@ # along with Serve0 If not, see . cat < +