beautified iconic buttons

This commit is contained in:
Alexander M. Turek
2003-07-28 20:56:15 +00:00
parent 0a25f6f2b3
commit b6e7259ae1
3 changed files with 11 additions and 5 deletions

View File

@@ -6,7 +6,8 @@ $Id$
$Source$ $Source$
2003-07-28 Alexander M. Turek <rabus@users.sourceforge.net> 2003-07-28 Alexander M. Turek <rabus@users.sourceforge.net>
* tbl_properties_structure.php3: Use icons for multi-submit buttons. * tbl_properties_structure.php3, css/phpmyadmin.css.php3: Use icons for
multi-submit buttons.
2003-07-28 Garvin Hicking <me@supergarv.de> 2003-07-28 Garvin Hicking <me@supergarv.de>
* sql.php3, libraries/common.lib.php3 - when $cfg['SQP']['fmtType'] * sql.php3, libraries/common.lib.php3 - when $cfg['SQP']['fmtType']

View File

@@ -190,6 +190,11 @@ fieldset fieldset {
margin: 0.8em; margin: 0.8em;
} }
button.mult_submit {
border: none;
background-color: transparent;
}
.pdflayout { .pdflayout {
overflow: hidden; overflow: hidden;
clip: inherit; clip: inherit;

View File

@@ -376,12 +376,12 @@ $checkall_url = 'tbl_properties_structure.php3?' . PMA_generate_common_url($db,$
if ($cfg['PropertiesIconic']) { if ($cfg['PropertiesIconic']) {
/* Opera has trouble with <input type="image"> */ /* Opera has trouble with <input type="image"> */
echo ' <button type="submit" name="submit_mult" value="' . $strChange . '" title="' . $strChange . '">' . "\n" echo ' <button class="mult_submit" type="submit" name="submit_mult" value="' . $strChange . '" title="' . $strChange . '">' . "\n"
. ' <img src="./images/button_edit.png" title="' . $strChange . '" alt="' . $strChange . '" width="12" height="13" />' . "\n" . ' <img src="./images/button_edit.png" title="' . $strChange . '" alt="' . $strChange . '" width="12" height="13" />' . "\n"
. ' </button>' . "\n"; . ' </button>' . "\n";
// Drop button if there is at least two fields // Drop button if there is at least two fields
if ($fields_cnt > 1) { if ($fields_cnt > 1) {
echo ' <button type="submit" name="submit_mult" value="' . $strDrop . '" title="' . $strDrop . '">' . "\n" echo ' <button class="mult_submit" type="submit" name="submit_mult" value="' . $strDrop . '" title="' . $strDrop . '">' . "\n"
. ' <img src="./images/button_drop.png" title="' . $strDrop . '" alt="' . $strDrop . '" width="11" height="13" />' . "\n" . ' <img src="./images/button_drop.png" title="' . $strDrop . '" alt="' . $strDrop . '" width="11" height="13" />' . "\n"
. ' </button>' . "\n"; . ' </button>' . "\n";
} }