2017-01-23 21:07:22 -05:00
|
|
|
.alert {
|
2018-03-26 15:49:12 -04:00
|
|
|
border: 0;
|
2017-01-23 21:07:22 -05:00
|
|
|
position: fixed;
|
2018-03-26 15:49:12 -04:00
|
|
|
max-width: 500px;
|
|
|
|
margin: 0;
|
|
|
|
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
|
2017-01-23 21:07:22 -05:00
|
|
|
color: @white;
|
|
|
|
width: 100%;
|
2018-03-26 15:49:12 -04:00
|
|
|
right: 20px;
|
|
|
|
border-radius: 3px;
|
|
|
|
padding: 17px 50px 17px 17px;
|
|
|
|
z-index: 10010;
|
2017-01-23 21:07:22 -05:00
|
|
|
.animation-duration(800ms);
|
|
|
|
.animation-fill-mode(both);
|
|
|
|
|
2018-03-26 15:49:12 -04:00
|
|
|
&:not(.progress) {
|
|
|
|
top: 20px;
|
2017-01-23 21:07:22 -05:00
|
|
|
|
|
|
|
@media(min-width: (@screen-sm-min)) {
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -250px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2018-03-26 15:49:12 -04:00
|
|
|
&.progress {
|
|
|
|
bottom: 20px;
|
|
|
|
right: 20px;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.alert-danger {
|
|
|
|
background: @red;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.alert-success {
|
|
|
|
background: @green;
|
|
|
|
}
|
|
|
|
|
|
|
|
&.alert-info {
|
|
|
|
background: @blue;
|
|
|
|
}
|
|
|
|
|
2017-01-23 21:07:22 -05:00
|
|
|
@media(max-width: (@screen-xs-max)) {
|
2018-03-26 15:49:12 -04:00
|
|
|
left: 20px;
|
|
|
|
width: ~"calc(100% - 40px)";
|
2017-01-23 21:07:22 -05:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
2018-03-26 15:49:12 -04:00
|
|
|
margin: 10px 10px 8px 0;
|
|
|
|
height: 5px;
|
2017-01-23 21:07:22 -05:00
|
|
|
box-shadow: none;
|
2018-03-26 15:49:12 -04:00
|
|
|
border-radius: 1px;
|
|
|
|
background-color: @blue;
|
2017-01-23 21:07:22 -05:00
|
|
|
border-radius: 2px;
|
|
|
|
overflow: hidden;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress-bar {
|
|
|
|
box-shadow: none;
|
|
|
|
background-color: @white;
|
|
|
|
height: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.close {
|
2018-03-26 15:49:12 -04:00
|
|
|
position: absolute;
|
|
|
|
top: 15px;
|
2017-01-23 21:07:22 -05:00
|
|
|
}
|
|
|
|
}
|