mirror of
https://github.com/Icinga/icingaweb2.git
synced 2025-07-28 00:04:04 +02:00
Move notification related css into footer-elements.less..
..and fix the border and z-index.
This commit is contained in:
parent
460ea75e42
commit
858c015d4c
@ -5,4 +5,42 @@ div#footer {
|
|||||||
left: 0px;
|
left: 0px;
|
||||||
right: 0px;
|
right: 0px;
|
||||||
bottom: 0px;
|
bottom: 0px;
|
||||||
|
z-index: 9999;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
/** Notifications **/
|
||||||
|
|
||||||
|
#notifications {
|
||||||
|
margin: 0;
|
||||||
|
padding: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notifications > li {
|
||||||
|
list-style-type: none;
|
||||||
|
display: block;
|
||||||
|
border-top: 1px solid #999;
|
||||||
|
color: white;
|
||||||
|
line-height: 2.5em;
|
||||||
|
padding-left: 3em;
|
||||||
|
background-repeat: no-repeat;
|
||||||
|
background-position: 1em center;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notifications > li.info {
|
||||||
|
background-color: @colorFormNotificationInfo;
|
||||||
|
}
|
||||||
|
|
||||||
|
#notifications > li.warning {
|
||||||
|
background-color: @colorWarningHandled;
|
||||||
|
}
|
||||||
|
#notifications > li.error {
|
||||||
|
background-color: @colorCritical;
|
||||||
|
background-image: url(../img/icons/error_white.png);
|
||||||
|
}
|
||||||
|
|
||||||
|
#notifications > li.success {
|
||||||
|
background-color: #fe6;
|
||||||
|
background-image: url(../img/icons/success.png);
|
||||||
|
color: #333;
|
||||||
|
}
|
||||||
|
/** END of Notifications **/
|
||||||
|
@ -23,47 +23,6 @@ img.icon {
|
|||||||
border: none;
|
border: none;
|
||||||
}
|
}
|
||||||
|
|
||||||
/** Notifications **/
|
|
||||||
|
|
||||||
#notifications {
|
|
||||||
margin: 0;
|
|
||||||
padding: 0;
|
|
||||||
|
|
||||||
li:first-child {
|
|
||||||
border-top: 2px solid @colorPetrol;
|
|
||||||
}
|
|
||||||
}
|
|
||||||
|
|
||||||
#notifications > li {
|
|
||||||
list-style-type: none;
|
|
||||||
display: block;
|
|
||||||
border-bottom: 1px solid #999;
|
|
||||||
color: white;
|
|
||||||
line-height: 2.5em;
|
|
||||||
padding-left: 3em;
|
|
||||||
background-repeat: no-repeat;
|
|
||||||
background-position: 1em center;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notifications > li.info {
|
|
||||||
background-color: @colorFormNotificationInfo;
|
|
||||||
}
|
|
||||||
|
|
||||||
#notifications > li.warning {
|
|
||||||
background-color: @colorWarningHandled;
|
|
||||||
}
|
|
||||||
#notifications > li.error {
|
|
||||||
background-color: @colorCritical;
|
|
||||||
background-image: url(../img/icons/error_white.png);
|
|
||||||
}
|
|
||||||
|
|
||||||
#notifications > li.success {
|
|
||||||
background-color: #fe6;
|
|
||||||
background-image: url(../img/icons/success.png);
|
|
||||||
color: #333;
|
|
||||||
}
|
|
||||||
/** END of Notifications **/
|
|
||||||
|
|
||||||
/* TODO: Remove once there is no more module container */
|
/* TODO: Remove once there is no more module container */
|
||||||
.container > div > pre {
|
.container > div > pre {
|
||||||
margin: 1em;
|
margin: 1em;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user