1
0
Fork 0

- No hover effects for disabled elements

- Use full table width for notice about empty database
Dieser Commit ist enthalten in:
JanRei 2011-07-15 17:23:08 +00:00
Ursprung d50ef4adba
Commit 65bfb9743b
3 geänderte Dateien mit 9 neuen und 4 gelöschten Zeilen

Datei anzeigen

@ -35,7 +35,7 @@ if ($this->pageCount) {
</a> </a>
<?php <?php
} else { ?> } else { ?>
<button class="Formbutton"><?php echo $this->getIcon('ForwardDisabled', '', 16);?></button> <button class="Formbutton" disabled="disabled"><?php echo $this->getIcon('ForwardDisabled', '', 16);?></button>
<?php <?php
} }
@ -45,7 +45,7 @@ if ($this->pageCount) {
</a> </a>
<?php <?php
} else { ?> } else { ?>
<button disabled="disabled" class="Formbutton"><?php echo $this->getIcon('LastDisabled', '', 16);?></button> <button class="Formbutton" disabled="disabled"><?php echo $this->getIcon('LastDisabled', '', 16);?></button>
<?php <?php
} }
} ?> } ?>

Datei anzeigen

@ -220,7 +220,7 @@ if ($this->tables->getTotalItemCount() >= 1) {
$i++; $i++;
endforeach; endforeach;
if ($this->tables->getTotalItemCount() <= 0) { ?> if ($this->tables->getTotalItemCount() <= 0) { ?>
<tr><td colspan="12" class="error"><?php echo $this->lang->L_INFO_DBEMPTY;?></td></tr> <tr><td colspan="15" class="error"><?php echo $this->lang->L_INFO_DBEMPTY;?></td></tr>
<?php } <?php }
echo $this->partial('/sql/tables/table-header.phtml', echo $this->partial('/sql/tables/table-header.phtml',
array('lang' => $this->lang)); array('lang' => $this->lang));

Datei anzeigen

@ -80,6 +80,10 @@ a:hover {
text-decoration: none; text-decoration: none;
} }
a[disabled] {
cursor: default;
}
img { img {
display: inline; display: inline;
border: 0px; border: 0px;
@ -379,10 +383,11 @@ a.Formbutton:hover,button.Formbutton:hover,input.Formbutton:hover {
color: #256777 !important; color: #256777 !important;
} }
.Formbutton:disabled { .Formbutton:disabled,.Formbutton:disabled:hover {
color: #888 !important; color: #888 !important;
cursor: default; cursor: default;
} }
/********** breadcrumb *******/ /********** breadcrumb *******/
#breadcrumb ul { #breadcrumb ul {
list-style: none; list-style: none;