From ce2e87d4031262e81ff0b41859dd0e283ab25b9e Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 22 Apr 2006 14:08:25 +0000 Subject: - merge trunk r1254:1255 into branch 1.6 (isearch.tpl anf FORM.filter) git-svn-id: http://piwigo.org/svn/branches/branch-1_6@1256 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/default-layout.css | 30 ++++++- template/yoga/menubar.css | 3 +- template/yoga/search.tpl | 184 ++++++++++++++++++--------------------- 3 files changed, 111 insertions(+), 106 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index 413f28181..5825e9eda 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -125,11 +125,12 @@ FORM#cat_modify TABLE { width: auto; } /** * Filter forms are displayed label by label with the input (or select...) - * below the label + * below the label. Use a SPAN to group objects in a single line. */ FIELDSET { padding: 1em; margin: 1em; + overflow: hidden; /* <- makes Opera happy */ } FORM.filter FIELDSET LABEL { @@ -139,17 +140,37 @@ FORM.filter FIELDSET LABEL { margin-right: 10px; padding: 0; } +FORM.filter FIELDSET UL LABEL { + display: inline; + float: none; +} +/* cannot use FIELDSET>LABEL because of IE<=6 */ FORM.filter FIELDSET LABEL INPUT, FORM.filter FIELDSET LABEL SELECT, +FORM.filter FIELDSET LABEL SPAN, FORM.filter FIELDSET LABEL TEXTAREA { display: block; 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 { + display: inline; + vertical-align: baseline; + margin: 0 0.5em 0 0; +} + +/* following declaration is important to avoid strange FF behaviour */ +FORM.filter FIELDSET LABEL SPAN SELECT { + margin: 0; +} FORM.filter FIELDSET P, -FORM.filter FIELDSET INPUT, -FORM.filter FIELDSET TEXTAREA { +{ clear: left; display: block; } @@ -239,7 +260,8 @@ UL.actions A { } UL.tagSelection { - width: 500px; + width: 40em; + margin: 1em 0 1em 0; padding: 0; } diff --git a/template/yoga/menubar.css b/template/yoga/menubar.css index c965d0753..43eb8dbf3 100644 --- a/template/yoga/menubar.css +++ b/template/yoga/menubar.css @@ -75,6 +75,7 @@ FORM#quickconnect FIELDSET { FORM#quickconnect P { float: left; + clear: left; } FORM#quickconnect P INPUT { @@ -103,4 +104,4 @@ FORM#quickconnect LABEL { #menubar #menuTagCloud LI { display: inline; -} \ No newline at end of file +} diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl index c43305c17..a871b07f6 100644 --- a/template/yoga/search.tpl +++ b/template/yoga/search.tpl @@ -9,8 +9,7 @@

{lang:Search}

- -
+
    @@ -20,109 +19,92 @@
- - - - - - - +
+ {lang:Filter} + + + +
+
+ {lang:Search tags} + {TAG_SELECTION} + + +
- - - - +
+ {lang:search_date} + + + +
- - - - - - - - - - - - - - - - - - - -
{lang:search_keywords} : - - -
- {lang:search_mode_and}
- {lang:search_mode_or} -
{lang:search_author} : - - -
{lang:Search tags} : - {TAG_SELECTION} -
-
-
{lang:search_date} : - - - - - - - - - - -
{lang:search_date_from} : - - -   - {lang:today} -
{lang:search_date_to} : - - -   - {lang:today} -
-
{lang:search_options}
{lang:search_categories} : - - - + - - {lang:search_subcats_included} : - {lang:yes}   - {lang:no} -
{lang:search_date_type} : - {lang:Creation date}
- {lang:Post date} -
{lang:search_sort} : - {lang:search_ascending}
- {lang:search_descending} -
-   - -
+ + + + + +

+ + +