aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-26 01:56:35 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-26 01:56:35 +0000
commitc5c39aee68899d94d984b4bd4df1150d64197a53 (patch)
tree9e2cf154ed5a35a2a47a84b6bd765b58ee450688 /template/yoga
parent2b9d9597f788c759dce863acf8a12b123452a5e3 (diff)
merge -r1273 from branch-1_6 to trunk
reduced the horizontal spacing between tags on the search page when clicking today on search page, the page is not scrolled to top git-svn-id: http://piwigo.org/svn/trunk@1274 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to '')
-rw-r--r--template/yoga/default-layout.css5
-rw-r--r--template/yoga/search.tpl6
2 files changed, 8 insertions, 3 deletions
diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css
index 62cfd7a13..01f7afb29 100644
--- a/template/yoga/default-layout.css
+++ b/template/yoga/default-layout.css
@@ -158,6 +158,7 @@ FORM.filter FIELDSET LI LABEL {
FORM.filter FIELDSET UL.tagSelection LABEL {
display: inline;
float: none;
+ margin-right:0.5em;/*reduce from above*/
}
/* cannot use FIELDSET>LABEL because of IE<=6 */
@@ -179,6 +180,10 @@ FORM.filter FIELDSET LABEL SPAN TEXTAREA {
margin: 0 0.5em 0 0;
}
+FORM.filter FIELDSET UL.tagSelection LI LABEL INPUT {
+ margin-right:0;
+}
+
/* following declaration is important to avoid strange FF behaviour */
FORM.filter FIELDSET LABEL SPAN SELECT {
margin: 0;
diff --git a/template/yoga/search.tpl b/template/yoga/search.tpl
index 8de689664..d2089a756 100644
--- a/template/yoga/search.tpl
+++ b/template/yoga/search.tpl
@@ -70,7 +70,7 @@
<input name="start_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';">
</li>
<li>
- <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};">{lang:today}</a>
+ <a href="#" onClick="document.search.start_day.value={TODAY_DAY};document.search.start_month.value={TODAY_MONTH};document.search.start_year.value={TODAY_YEAR};return false;">{lang:today}</a>
</li>
</ul>
<ul>
@@ -89,7 +89,7 @@
<input name="end_year" type="text" size="4" maxlength="4" onfocus="this.className='focus';" onblur="this.className='nofocus';">
</li>
<li>
- <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};">{lang:today}</a>
+ <a href="#" onClick="document.search.end_day.value={TODAY_DAY};document.search.end_month.value={TODAY_MONTH};document.search.end_year.value={TODAY_YEAR};return false;">{lang:today}</a>
</li>
</ul>
</fieldset>
@@ -97,7 +97,7 @@
<fieldset>
<legend>{lang:search_options}</legend>
<label>{lang:search_categories}
- <select style="width:200px" name="cat[]" multiple="multiple" size="8" onfocus="this.className='focus';" onblur="this.className='nofocus';">
+ <select style="width:250px" name="cat[]" multiple="multiple" size="8" onfocus="this.className='focus';" onblur="this.className='nofocus';">
<!-- BEGIN category_option -->
<option value="{category_option.VALUE}">{category_option.OPTION}</option>
<!-- END category_option -->