aboutsummaryrefslogtreecommitdiffstats
path: root/template/yoga
diff options
context:
space:
mode:
authorrvelices <rv-github@modusoptimus.com>2006-04-26 01:55:55 +0000
committerrvelices <rv-github@modusoptimus.com>2006-04-26 01:55:55 +0000
commit99fde2849d5813026a0b2a3b80ea8e5a9a0d9732 (patch)
tree836a6fdf5165ec063cce083462e4b3f10c44957b /template/yoga
parentc66b0cf1c545296f24a8f8346698ef349329ced2 (diff)
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/branches/branch-1_6@1273 68402e56-0260-453c-a942-63ccdbb3a9ee
Diffstat (limited to 'template/yoga')
-rw-r--r--template/yoga/default-layout.css5
-rw-r--r--template/yoga/search.tpl4
2 files changed, 7 insertions, 2 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..5fde2adcb 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>