mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-25 14:54:24 +02:00
Modify top bar and menu style
This commit is contained in:
parent
80fefe27dc
commit
6d112b56bf
@ -40,7 +40,7 @@ $item = $this->navigation->keys("menu");
|
|||||||
<?php if ($iconClass): ?>
|
<?php if ($iconClass): ?>
|
||||||
<i class="<?= $iconClass; ?>"></i>
|
<i class="<?= $iconClass; ?>"></i>
|
||||||
<?php endif; ?>
|
<?php endif; ?>
|
||||||
<?= $itemName ?>
|
<?= $itemName ?>
|
||||||
</a>
|
</a>
|
||||||
</li>
|
</li>
|
||||||
<?php
|
<?php
|
||||||
|
@ -9,28 +9,41 @@
|
|||||||
;Changes.route = "/monitoring/list/services?sort=service_last_state_change"
|
;Changes.route = "/monitoring/list/services?sort=service_last_state_change"
|
||||||
;_1 = 1 ;Spacer after this section
|
;_1 = 1 ;Spacer after this section
|
||||||
|
|
||||||
Hosts.title = "Hosts"
|
Hosts.title = "Hosts"
|
||||||
Hosts.route = "/monitoring/list/hosts"
|
Hosts.route = "/monitoring/list/hosts"
|
||||||
Hosts.iconClass = "icinga-icon-host-petrol"
|
Hosts.iconClass = "icinga-icon-host-petrol"
|
||||||
|
|
||||||
Services.title = "Services"
|
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.title = "Downtimes"
|
||||||
|
Downtimes.route = "/monitoring/list/downtimes"
|
||||||
|
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"
|
||||||
|
|
||||||
Downtimes = "/monitoring/list/downtimes"
|
|
||||||
Notifications = "/monitoring/list/notifications"
|
|
||||||
Comments = "/monitoring/list/comments"
|
|
||||||
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"
|
||||||
|
@ -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;
|
||||||
@ -465,4 +465,4 @@ select.input-sm {
|
|||||||
width:45%;
|
width:45%;
|
||||||
padding:1%;
|
padding:1%;
|
||||||
margin:1%;
|
margin:1%;
|
||||||
}
|
}
|
||||||
|
@ -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 {
|
||||||
|
BIN
public/img/logo_icinga-inv.png
Normal file
BIN
public/img/logo_icinga-inv.png
Normal file
Binary file not shown.
After Width: | Height: | Size: 6.4 KiB |
Loading…
x
Reference in New Issue
Block a user