- css sprites work for ie6

- simplify/remove css

git-svn-id: http://piwigo.org/svn/trunk@8362 68402e56-0260-453c-a942-63ccdbb3a9ee
This commit is contained in:
rvelices
2010-12-28 18:56:09 +00:00
parent faf97e2d6b
commit dfea79ee55
7 changed files with 16 additions and 41 deletions
+1 -7
View File
@@ -135,7 +135,7 @@ BODY {
#menubar #mbIdentification form {
background:transparent url(images/menuId_sides.gif) repeat-y scroll left bottom;
}
#menubar #mbIdentification .actions, #menubar #mbIdentification form p {
#menubar #mbIdentification form p {
background:transparent none repeat-y scroll left bottom;
}
#menubar #mbIdentification p {
@@ -301,12 +301,6 @@ input[type="radio"], input[type="checkbox"], input[type="button"].rateButtonStar
background-color:#111;
border:1px solid #ff3363; /* thumbnails border color when mouse cursor is over it */
}
#comments .actions li, #comments .actions li:hover {
background:transparent none;
margin-right: 22px;
clear:both;
list-style-type:none;
}
.calItem {
border:1px solid #666;
margin:0 5px;
+1 -1
View File
@@ -50,5 +50,5 @@ H1, #theHeader {
}
.pwg-icon {
display: inline;
display: block;
}
+1 -1
View File
@@ -10,7 +10,7 @@ function correctPNG()
for(var i=0; i<document.images.length; i++)
{
var img = document.images[i]
if (img.className == "button" || img.className == "icon")
//if (img.className == "button" || img.className == "icon")
{
var imgName = img.src.toUpperCase()
if (imgName.substring(imgName.length-3, imgName.length) == "PNG")
+5 -11
View File
@@ -12,29 +12,23 @@
{/if}
<div class="description"{if isset($comment.IN_EDIT)} style="height:200px"{/if}>
{if isset($comment.U_DELETE) or isset($comment.U_VALIDATE) or isset($comment.U_EDIT) }
<ul class="actions" style="float:right">
<div class="actions" style="float:right">
{if isset($comment.U_DELETE)}
<li>
<a href="{$comment.U_DELETE}" title="{'delete this comment'|@translate}" onclick="return confirm('{'Are you sure?'|@translate|@escape:javascript}');">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" class="button" alt="[delete]">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/delete.png" alt="[delete]">
</a>
</li>
{/if}
{if isset($comment.U_EDIT) and !isset($comment.IN_EDIT)}
<li>
<a class="editComment" href="{$comment.U_EDIT}#edit_comment" title="{'edit this comment'|@translate}">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" class="button" alt="[edit]">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/edit.png" alt="[edit]">
</a>
</li>
{/if}
{if isset($comment.U_VALIDATE)}
<li>
<a href="{$comment.U_VALIDATE}" title="{'validate this comment'|@translate}">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" class="button" alt="[validate]">
<img src="{$ROOT_URL}{$themeconf.icon_dir}/validate_s.png" alt="[validate]">
</a>
</li>
{/if}
</ul>
</div>
{/if}
<span class="author">{$comment.AUTHOR}</span> - <span class="date">{$comment.DATE}</span>
@@ -12,7 +12,7 @@
<h3>
<a href="{$cat.URL}">{$cat.NAME}</a>
{if !empty($cat.icon_ts)}
<img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" class="icon" alt="(!)">
<img title="{$cat.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent{if $cat.icon_ts.IS_CHILD_DATE}_by_child{/if}.png" alt="(!)">
{/if}
</h3>
<div class="text">
+1 -1
View File
@@ -12,7 +12,7 @@
<span class="thumbLegend">
{if isset($thumbnail.NAME)}{$thumbnail.NAME}{/if}
{if !empty($thumbnail.icon_ts)}
<img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" class="icon" alt="(!)">
<img title="{$thumbnail.icon_ts.TITLE}" src="{$ROOT_URL}{$themeconf.icon_dir}/recent.png" alt="(!)">
{/if}
{if isset($thumbnail.NB_COMMENTS)}
<span class="{if 0==$thumbnail.NB_COMMENTS}zero {/if}nb-comments">
+6 -19
View File
@@ -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;