Icones du menu en CSS

Merci Manu :)
This commit is contained in:
Alan Garcia 2013-04-29 09:19:15 +00:00
parent 7f16d7819a
commit 50c8877498
11 changed files with 133 additions and 4 deletions

2
.gitattributes vendored
View File

@ -129,9 +129,11 @@ bureau/admin/hta_edit.php -text
bureau/admin/hta_edituser.php -text
bureau/admin/hta_list.php -text
bureau/admin/icon/add.png -text
bureau/admin/icon/back.png -text
bureau/admin/icon/browse.png -text
bureau/admin/icon/cancel.png -text
bureau/admin/icon/configure.png -text
bureau/admin/icon/delete.png -text
bureau/admin/icon/delfile.png -text
bureau/admin/icon/doc.png -text
bureau/admin/icon/down.png -text

BIN
bureau/admin/icon/back.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 487 B

Binary file not shown.

After

Width:  |  Height:  |  Size: 802 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 3.3 KiB

After

Width:  |  Height:  |  Size: 3.3 KiB

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.0 KiB

After

Width:  |  Height:  |  Size: 956 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.6 KiB

After

Width:  |  Height:  |  Size: 673 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 686 B

After

Width:  |  Height:  |  Size: 661 B

Binary file not shown.

Before

Width:  |  Height:  |  Size: 1.8 KiB

After

Width:  |  Height:  |  Size: 920 B

View File

@ -41,12 +41,12 @@ if ( empty($logo) || ! $logo ) { $logo = 'images/logo3.png'; }
$obj_menu = $menu->getmenu();
foreach ($obj_menu as $k => $m ) {
echo "<div class='menu-box ".(!empty($m['divclass'])?$m['divclass']:'')."'>\n";
echo "<div class='menu-box {$k}-menu ".(!empty($m['divclass'])?$m['divclass']:'')."'>\n";
echo " <a href=\"".$m['link']."\"";
if (!empty($m['target'])) echo " target='". $m['target']."' ";
echo ">\n";
echo " <span class='menu-title'>\n";
echo " <img src='".$m['ico']."' alt=\"".$m['title']."\" width='16px' height='16px' />&nbsp;";
//echo " <img src='".$m['ico']."' alt=\"".$m['title']."\" width='16px' height='16px' />&nbsp;";
echo " <span class='";
if (!empty($m['class'])) echo $m['class']." ";
echo "'>"; // fin span ouvrant

View File

@ -91,7 +91,7 @@ if(!isset($r['user'])){
echo "<p class=\"error\">";__("You changed the MySQL User base configuration. Please refer to your configuration");echo"</p><p>&nbsp;</p>";
}
?>
<p><span class="ina"><a href="sql_list.php"><?php __("Back to the MySQL database list"); ?></a></span></p>
<p><span class="ina back"><a href="sql_list.php"><?php __("Back to the MySQL database list"); ?></a></span></p>
<?php

View File

@ -353,6 +353,7 @@ img {
}
.menu-box a .menu-title {
min-height: 16px;
}
.menu-box .menu-conmargin {
@ -635,7 +636,7 @@ input#dir, input#sub_local {
}
.delete a, a.delete, input.delete {
background-image: url(../images/delete.png);
background-image: url(../icon/delete.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
@ -704,3 +705,129 @@ input#dir, input#sub_local {
padding-left: 30px;
}
.back a, a.back, input.back {
background-image: url(../icon/back.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.admin a, a.admin, input.admin, .admin-menu .menu-title {
background-image: url(../images/admin.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.home a, a.home, input.home, .home-menu .menu-title {
background-image: url(../images/home.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.dom a, a.dom, input.dom, .dom-menu .menu-title {
background-image: url(../images/dom.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.mail a, a.mail, input.mail, .mail-menu .menu-title {
background-image: url(../images/mail.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.bro a, a.bro, input.bro, .bro-menu .menu-title {
background-image: url(../images/folder.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.hta a, a.hta, input.hta, .hta-menu .menu-title {
background-image: url(../images/password.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.ftp a, a.ftp, input.ftp, .ftp-menu .menu-title {
background-image: url(../images/ftp.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.cron a, a.cron, input.cron, .cron-menu .menu-title {
background-image: url(../images/schedule.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.lxc a, a.lxc, input.lxc, .lxc-menu .menu-title {
background-image: url(../images/ssh.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.mysql a, a.mysql, input.mysql, .mysql-menu .menu-title {
background-image: url(../images/mysql.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.quota a, a.quota, input.quota, .quota-menu .menu-title {
background-image: url(../images/quota.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.authip a, a.authip, input.authip, .authip-menu .menu-title {
background-image: url(../images/ip.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.log a, a.log, input.log, .log-menu .menu-title {
background-image: url(../images/logs.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.help a, a.help, input.help, .help-menu .menu-title {
background-image: url(../images/help.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.lang a, a.lang, input.lang, .lang-menu .menu-title {
background-image: url(../images/lang.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.mem a, a.mem, input.mem, .mem-menu .menu-title {
background-image: url(../images/config.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}
.logout a, a.logout, input.logout, .logout-menu .menu-title {
background-image: url(../images/exit.png);
background-repeat: no-repeat;
background-position: 8px 3px;
padding-left: 30px;
}