From dfea79ee5500254de94a73d6292dd893f9616869 Mon Sep 17 00:00:00 2001 From: rvelices Date: Tue, 28 Dec 2010 18:56:09 +0000 Subject: - css sprites work for ie6 - simplify/remove css git-svn-id: http://piwigo.org/svn/trunk@8362 68402e56-0260-453c-a942-63ccdbb3a9ee --- themes/default/fix-ie5-ie6.css | 2 +- themes/default/js/pngfix.js | 2 +- themes/default/template/comment_list.tpl | 16 +++++----------- themes/default/template/mainpage_categories.tpl | 2 +- themes/default/template/thumbnails.tpl | 2 +- themes/default/theme.css | 25 ++++++------------------- 6 files changed, 15 insertions(+), 34 deletions(-) (limited to 'themes/default') diff --git a/themes/default/fix-ie5-ie6.css b/themes/default/fix-ie5-ie6.css index f73bb4ad8..c529b3a8c 100644 --- a/themes/default/fix-ie5-ie6.css +++ b/themes/default/fix-ie5-ie6.css @@ -50,5 +50,5 @@ H1, #theHeader { } .pwg-icon { - display: inline; + display: block; } diff --git a/themes/default/js/pngfix.js b/themes/default/js/pngfix.js index 549761a1d..45f9b3e5b 100644 --- a/themes/default/js/pngfix.js +++ b/themes/default/js/pngfix.js @@ -10,7 +10,7 @@ function correctPNG() for(var i=0; i {if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) } - + {/if} {$comment.AUTHOR} - {$comment.DATE} diff --git a/themes/default/template/mainpage_categories.tpl b/themes/default/template/mainpage_categories.tpl index 3f68dd8f6..8506b0dfc 100644 --- a/themes/default/template/mainpage_categories.tpl +++ b/themes/default/template/mainpage_categories.tpl @@ -12,7 +12,7 @@

{$cat.NAME} {if !empty($cat.icon_ts)} - (!) + (!) {/if}

diff --git a/themes/default/template/thumbnails.tpl b/themes/default/template/thumbnails.tpl index 1061f77cd..cb00e915b 100644 --- a/themes/default/template/thumbnails.tpl +++ b/themes/default/template/thumbnails.tpl @@ -12,7 +12,7 @@ {if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if} {if !empty($thumbnail.icon_ts)} - (!) + (!) {/if} {if isset($thumbnail.NB_COMMENTS)} diff --git a/themes/default/theme.css b/themes/default/theme.css index 8939d747d..6bfcc4daa 100644 --- a/themes/default/theme.css +++ b/themes/default/theme.css @@ -79,12 +79,12 @@ padding: 0; } -#menubar #menuTagCloud { +#menuTagCloud { text-align: center; margin: 5px 0; } -#menubar #menuTagCloud SPAN { +#menuTagCloud SPAN { white-space: nowrap; margin-right: 5px; } @@ -372,15 +372,15 @@ TD.calDayHead { margin-left: 10px; } -TABLE.infoTable .label { +.infoTable .label { font-weight: bold; text-align: right; padding-right: 0.5em; } -TABLE.infoTable TD.value UL { +.infoTable UL { margin: 0; - padding: 0 0 0 1.5em; + padding: 0 0 0 1em; list-style-type: square; } @@ -585,13 +585,6 @@ FIELDSET { } /* button tools */ -.actions { - text-indent: 0; - list-style: none; -} -.actions LI { - display: inline; -} .actions A, .actions IMG { border: none; } @@ -722,14 +715,12 @@ INPUT[type="submit"], INPUT[type="reset"], INPUT[type="file"] { background-color: #d3d3d3; /* lightgrey */ } -INPUT.text, INPUT.password, INPUT.button, -INPUT.submit, INPUT.reset, INPUT.file, SELECT, TEXTAREA { color: #000; background-color: #d3d3d3; /* lightgrey */ } -INPUT:focus, SELECT:focus, TEXTAREA:focus, INPUT.focus, FORM .focus { +INPUT:focus, SELECT:focus, TEXTAREA:focus { background-color: #f5f5f5; /* whitesmoke */ } @@ -738,10 +729,6 @@ INPUT[type="radio"], INPUT[type="checkbox"] { border: none; /* <= Opera needs this */ } -INPUT.radio, INPUT.checkbox { - border: none; /* <= IE6 needs this */ -} - .errors { /* Errors display */ color: red; -- cgit v1.2.3