From f6d5aefa8b71dec9ab434edeef455bb286b4ac0c Mon Sep 17 00:00:00 2001 From: chrisaga Date: Sat, 22 Apr 2006 20:00:43 +0000 Subject: - improvement : minor improvements and bug fixes in template git-svn-id: http://piwigo.org/svn/trunk@1261 68402e56-0260-453c-a942-63ccdbb3a9ee --- template/yoga/content.css | 4 ++-- template/yoga/default-colors.css | 5 ++++- template/yoga/default-layout.css | 4 ++-- template/yoga/fix-ie5-ie6.css | 5 +++++ template/yoga/mainpage_categories.tpl | 3 ++- 5 files changed, 15 insertions(+), 6 deletions(-) (limited to 'template/yoga') diff --git a/template/yoga/content.css b/template/yoga/content.css index f76847f25..1d2c7c930 100644 --- a/template/yoga/content.css +++ b/template/yoga/content.css @@ -302,7 +302,7 @@ DIV.calImg { #content DIV.thumbnailCategory DIV.description { font-size: 90%; overflow: auto; - width: inherit; + /*width: inherit;*/ } #content DIV.thumbnailCategory DIV.description H3 { @@ -319,6 +319,6 @@ DIV.calImg { #content DIV.thumbnailCategory DIV.illustration { text-align: left; - margin: 2px 0 2px 2px; + margin: 2px 0 0 2px; float: left; } diff --git a/template/yoga/default-colors.css b/template/yoga/default-colors.css index 9613b0eaf..8b73f966b 100644 --- a/template/yoga/default-colors.css +++ b/template/yoga/default-colors.css @@ -30,7 +30,10 @@ INPUT, SELECT, TEXTAREA, FORM .nofocus { FORM .focus { background-color: #f5f5f5; /* whitesmoke */ } - +INPUT[type="radio"] { /* for Opera */ + border: none; + background-color: transparent; +} .errors { /* Errors display */ color: red; diff --git a/template/yoga/default-layout.css b/template/yoga/default-layout.css index 5825e9eda..b1256e1bc 100644 --- a/template/yoga/default-layout.css +++ b/template/yoga/default-layout.css @@ -137,7 +137,7 @@ FORM.filter FIELDSET LABEL { display: block; float: left; width: auto; - margin-right: 10px; + margin-right: 1em; padding: 0; } FORM.filter FIELDSET UL LABEL { @@ -160,7 +160,7 @@ FORM.filter FIELDSET LABEL * SELECT, FORM.filter FIELDSET * LABEL TEXTAREA, FORM.filter FIELDSET LABEL * TEXTAREA { display: inline; - vertical-align: baseline; + vertical-align: top; margin: 0 0.5em 0 0; } diff --git a/template/yoga/fix-ie5-ie6.css b/template/yoga/fix-ie5-ie6.css index 34195ebda..7f9d7c312 100644 --- a/template/yoga/fix-ie5-ie6.css +++ b/template/yoga/fix-ie5-ie6.css @@ -9,3 +9,8 @@ H1, #theHeader { height: 1em; /* for IE6 it's like min-height */ } +/* to get less hugly checkboxes at least in tagSelection */ +UL.tagSelection LI INPUT { + border: none; + background-color: transparent; +} diff --git a/template/yoga/mainpage_categories.tpl b/template/yoga/mainpage_categories.tpl index cb16d35cc..f39b7142e 100644 --- a/template/yoga/mainpage_categories.tpl +++ b/template/yoga/mainpage_categories.tpl @@ -1,4 +1,5 @@ +