Small improvements to dashboard alerts, less intrusive, do not push down page anymore, Closes #822

This commit is contained in:
Torkel Ödegaard
2014-09-18 15:07:49 +02:00
parent f2a6fc4d5a
commit a68a179c1e
4 changed files with 45 additions and 15 deletions
+1 -1
View File
@@ -59,6 +59,7 @@ a.text-success:hover { color: darken(@green, 10%); }
}
.brand {
padding: 0px 15px;
&:hover {
color: @navbarLinkColorHover;
@@ -461,7 +462,6 @@ legend {
// -----------------------------------------------------
.alert {
.border-radius(0);
text-shadow: none;
&-heading, h1, h2, h3, h4, h5, h6 {
+31 -6
View File
@@ -317,13 +317,38 @@ div.flot-text {
color: @textColor !important;
}
.dashboard-notice {
.page-alert-list {
z-index:8000;
margin-left:0px;
padding:3px 0px 3px 0px;
width:100%;
padding-left:20px;
color: @white;
min-width: 300px;
max-width: 300px;
position: fixed;
right: 20px;
top: 56px;
.alert {
color: @white;
padding-bottom: 13px;
position: relative;
}
.alert-close {
position: absolute;
top: -4px;
right: -2px;
width: 19px;
height: 19px;
padding: 0;
background: @grayLighter;
border-radius: 50%;
border: none;
font-size: 1.1rem;
color: @grayDarker;
}
.alert-title {
font-weight: bold;
padding-bottom: 2px;
}
}