From beab333d4a54ddf9ea64fa2e849124380b3d6c20 Mon Sep 17 00:00:00 2001 From: chrisaga Date: Tue, 25 Apr 2006 19:25:43 +0000 Subject: - merge branch 1.6 r1266:1267 into trunk git-svn-id: http://piwigo.org/svn/trunk@1268 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/default-layout.css | 27 ++++++++++--- template/yoga/search.tpl | 83 ++++++++++++++++++++++++---------------- 2 files changed, 71 insertions(+), 39 deletions(-) diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index b1256e1bc..62cfd7a13 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -125,7 +125,8 @@ FORM#cat_modify TABLE { width: auto; } /** * Filter forms are displayed label by label with the input (or select...) - * below the label. Use a SPAN to group objects in a single line. + * below the label. Use an UL to make a group (radiobox for instance). + * Use a SPAN to group objects in line */ FIELDSET { padding: 1em; @@ -133,14 +134,28 @@ FIELDSET { overflow: hidden; /* <- makes Opera happy */ } +FORM.filter FIELDSET UL { + margin: 0; +} +FORM.filter FIELDSET UL, FORM.filter FIELDSET LABEL { display: block; float: left; - width: auto; margin-right: 1em; padding: 0; } -FORM.filter FIELDSET UL LABEL { + +FORM.filter FIELDSET LI { + list-style: none; + margin-bottom: 0.5em; +} + +FORM.filter FIELDSET LI LABEL { + display: inline; + float: none; +} + +FORM.filter FIELDSET UL.tagSelection LABEL { display: inline; float: none; } @@ -154,11 +169,11 @@ FORM.filter FIELDSET LABEL TEXTAREA { margin: 0.5em 0; } FORM.filter FIELDSET * LABEL INPUT, -FORM.filter FIELDSET LABEL * INPUT, FORM.filter FIELDSET * LABEL SELECT, -FORM.filter FIELDSET LABEL * SELECT, FORM.filter FIELDSET * LABEL TEXTAREA, -FORM.filter FIELDSET LABEL * TEXTAREA { +FORM.filter FIELDSET LABEL SPAN INPUT, +FORM.filter FIELDSET LABEL SPAN SELECT, +FORM.filter FIELDSET LABEL SPAN TEXTAREA { display: inline; vertical-align: top; margin: 0 0.5em 0 0; diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index b38bb115b..8de689664 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -24,10 +24,14 @@ - + @@ -41,16 +45,18 @@
{lang:search_date} -
@@ -92,18 +103,24 @@ - - + +

@@ -112,7 +129,7 @@ -- cgit v1.2.3