Modify top bar and menu style

This commit is contained in:
Bernd Erk 2013-10-22 14:12:25 +02:00
parent 80fefe27dc
commit 6d112b56bf
5 changed files with 63 additions and 37 deletions

View File

@ -17,20 +17,33 @@ Services.title = "Services"
Services.route = "/monitoring/list/services" Services.route = "/monitoring/list/services"
Services.iconClass = "icinga-icon-service-petrol" Services.iconClass = "icinga-icon-service-petrol"
Downtimes = "/monitoring/list/downtimes" Downtimes.title = "Downtimes"
Notifications = "/monitoring/list/notifications" Downtimes.route = "/monitoring/list/downtimes"
Comments = "/monitoring/list/comments" Downtimes.iconClass = "icinga-icon-down-petrol"
Notifications.title = "Notifications"
Notifications.route = "/monitoring/list/notifications"
Notifications.iconClass = "icinga-icon-notification-petrol"
Comments.title = "Comments"
Comments.route = "/monitoring/list/comments"
Comments.iconClass = "icinga-icon-comment-petrol"
Contacts = "/monitoring/list/contacts" Contacts = "/monitoring/list/contacts"
Contact Groups = "/monitoring/list/contactgroups" Contact Groups = "/monitoring/list/contactgroups"
Servicegroups.title = "Servicegroups" Servicegroups.title = "Servicegroups"
Servicegroups.route = "/monitoring/list/servicegroups" Servicegroups.route = "/monitoring/list/servicegroups"
Servicegroups.iconClass = "icinga-icon-servicegroup-petrol"
Hostgroups.title = "Hostgroups" Hostgroups.title = "Hostgroups"
Hostgroups.route = "/monitoring/list/hostgroups" Hostgroups.route = "/monitoring/list/hostgroups"
Hostgroups.iconClass = "icinga-icon-hostgroup-petrol"
History.title = "History" History.title = "History"
History.route = "/monitoring/list/eventhistory" History.route = "/monitoring/list/eventhistory"
History.iconClass = "icinga-icon-history-petrol"
Performance.title = "Performance" Performance.title = "Performance"
Performance.route ="/monitoring/process/performance" Performance.route ="/monitoring/process/performance"

View File

@ -28,7 +28,7 @@
@white : white; @white : white;
@black : #262625; @black : #262625;
@petrol : #049baf; @petrol : #049baf;
@lightgrey : #ddd; @lightgrey : #dddddd;
@darkgrey : #555555; @darkgrey : #555555;
/* ========================================================================= /* =========================================================================
@ -151,7 +151,7 @@ p {
========================================================================= */ ========================================================================= */
.icinga-logo { .icinga-logo {
background: transparent url("@{baseurl}/img/logo_icinga.png") center center no-repeat; background: transparent url("@{baseurl}/img/logo_icinga-inv.png") center center no-repeat;
width: 94px; width: 94px;
height: 33px; height: 33px;
display: block; display: block;

View File

@ -23,9 +23,15 @@
* @author Icinga Development Team <info@icinga.org> * @author Icinga Development Team <info@icinga.org>
*/ */
@white: #ffffff;
@lightgrey : #dddddd;
/* ========================================================================= /* =========================================================================
Icinga Navigation Icinga Navigation
========================================================================= */ ========================================================================= */
.navbar {
background-image: linear-gradient(to bottom, #444444, #333333);
}
.navigation-tile-mixin { .navigation-tile-mixin {
border-style: solid; border-style: solid;
@ -41,7 +47,6 @@
} }
.nav-stacked { .nav-stacked {
background-color: @lightgrey;
} }
.icinga-subnavigation { .icinga-subnavigation {
@ -49,26 +54,34 @@
} }
.nav-stacked > li { .nav-stacked > li {
padding-left: 8px; padding-left: 4px;
padding-top: 1px; padding-top: 10px;
padding-bottom: 1px; padding-bottom: 10px;
border-bottom: 1px dotted @petrol; border-bottom: 1px solid @lightgrey;
border-right: 1px dotted @petrol; border-right: 1px solid @lightgrey;
font-size: 11px;
background-color: rgb(248, 248, 248);
background-image: linear-gradient(rgb(255, 255, 255) 0px, rgb(248, 248, 248) 100%);
} }
.nav-stacked > li > a {
letter-spacing: 1px;
padding-top: 0px;
padding-bottom: 3px;
}
.nav-stacked > li:first-child { .nav-stacked > li:first-child {
border-top: 1px dotted @petrol;
} }
.icinga-subnavigation > li { .icinga-subnavigation > li {
padding-top: 8px; padding-top: 8px;
padding-bottom: 8px; padding-bottom: 8px;
border-bottom: 1px dotted @petrol; border-bottom: 1px solid @lightgrey;
border-right: 1px dotted @petrol; border-right: 1px solid @lightgrey;
} }
ul.icinga-subnavigation { ul.icinga-subnavigation {
border-bottom: 1px dotted @petrol; border-bottom: 1px solid @lightgrey;
margin-left: 0; margin-left: 0;
padding-left: 15px; padding-left: 15px;
} }
@ -81,9 +94,9 @@ ul.icinga-subnavigation {
.nav-stacked > li > a, .nav-stacked > li > a,
.icinga-subnavigation > li > a { .icinga-subnavigation > li > a {
padding-left: 40px; padding-left: 20px;
padding-right: 3px; padding-right: 3px;
border-left: 6px solid @petrol; /* border-left: 6px solid @petrol; */
display: inline-block; display: inline-block;
} }
@ -108,8 +121,8 @@ ul.icinga-subnavigation {
.nav-stacked > li.active, .nav-stacked > li.active,
.icinga-subnavigation > li.active { .icinga-subnavigation > li.active {
background-color: @white; background: none;
border-right: 0; border-right: none;
} }
.badge-container-nav { .badge-container-nav {

Binary file not shown.

After

Width:  |  Height:  |  Size: 6.4 KiB