Commit 86ae40e3 authored by vogelor's avatar vogelor
Browse files

some small improvements of the gui

parent 1a0b514f
...@@ -24,19 +24,25 @@ ...@@ -24,19 +24,25 @@
} }
#topNav li { #topNav li {
display: inline; display: inline-block;
margin: 0 2px 0 0; margin: 0 2px 0 0;
} }
#topNav a { #topNav a {
padding: 0 1.5em; background-color: #D3D3D3;
text-decoration: none; background-position: center top;
color: black; background-repeat: no-repeat;
background: #d3d3d3; color:black;
display:block;
height:20px;
padding-top:68px;
text-align:center;
text-decoration:none;
width:97px;
} }
#topNav a:hover { #topNav a:hover {
background: #fc0; background-color: #fc0;
color: #540; color: #540;
} }
...@@ -46,7 +52,39 @@ ...@@ -46,7 +52,39 @@
#topNav #topNav_current a { #topNav #topNav_current a {
padding-bottom: 2px; padding-bottom: 2px;
font-weight: bold; font-weight: bold;
color: #ff6600; color: black;
background: #ffffff; background-color: #ffffff;
}
.topnav-admin {
background-image: url('../../icons/x64/system.png') !important;
}
.topnav-client {
background-image: url('../../icons/x64/client.png') !important;
}
.topnav-mail {
background-image: url('../../icons/x64/email.png') !important;
}
.topnav-monitor {
background-image: url('../../icons/x64/monitor.png') !important;
}
.topnav-sites {
background-image: url('../../icons/x64/sites.png') !important;
}
.topnav-dns {
background-image: url('../../icons/x64/dns.png') !important;
}
.topnav-tools {
background-image: url('../../icons/x64/tools.png') !important;
}
.topnav-help {
background-image: url('../../icons/x64/help.png') !important;
} }
} }
\ No newline at end of file
...@@ -74,7 +74,7 @@ ...@@ -74,7 +74,7 @@
/* (en) adjustment of main navigation */ /* (en) adjustment of main navigation */
/* (de) Anpassung der Hauptnavigation */ /* (de) Anpassung der Hauptnavigation */
#nav ul { margin-left: 200px; } #nav ul { margin-left: 20px; }
#nav_main { background: #9a9a9a repeat-x top left; } #nav_main { background: #9a9a9a repeat-x top left; }
#main { background: #fff;padding:10px 0; } #main { background: #fff;padding:10px 0; }
......
<ul id="topmenu"> <ul id="topmenu">
<tmpl_loop name="nav_top"> <tmpl_loop name="nav_top">
<tmpl_if name="active"> <tmpl_if name="active">
<li id="topNav_current"><a href="#"><tmpl_var name="title"></a></li> <li id="topNav_current"><a href="#" class="topnav topnav-<tmpl_var name='module'>"><tmpl_var name="title"></a></li>
<tmpl_else> <tmpl_else>
<li><a href="#" onClick="capp('<tmpl_var name='module'>')"><tmpl_var name="title"></a></li> <li><a href="#" onClick="capp('<tmpl_var name='module'>')" class="topnav topnav-<tmpl_var name='module'>"><tmpl_var name="title"></a></li>
</tmpl_if> </tmpl_if>
</tmpl_loop> </tmpl_loop>
</ul> </ul>
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment