2017-01-23 21:07:22 -05:00
|
|
|
.alert {
|
|
|
|
position: fixed;
|
2018-03-21 14:09:23 -04:00
|
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
2017-01-23 21:07:22 -05:00
|
|
|
color: @white;
|
|
|
|
width: 100%;
|
2018-03-23 02:49:27 -04:00
|
|
|
padding: 1.5rem 4rem 1.5rem 2rem;
|
2018-03-21 14:09:23 -04:00
|
|
|
z-index: 1000000;
|
2017-01-23 21:07:22 -05:00
|
|
|
.animation-duration(800ms);
|
|
|
|
.animation-fill-mode(both);
|
2018-03-21 14:09:23 -04:00
|
|
|
font-size: @font-size-small;
|
2018-03-23 02:49:27 -04:00
|
|
|
word-wrap: break-word;
|
2017-01-23 21:07:22 -05:00
|
|
|
|
2018-03-21 14:09:23 -04:00
|
|
|
&:not(.alert--upload) {
|
2018-03-23 02:49:27 -04:00
|
|
|
text-align: center;
|
2018-03-21 14:09:23 -04:00
|
|
|
top: 1.5rem;
|
|
|
|
max-width: 500px;
|
|
|
|
border-radius: @border-radius-base;
|
2017-01-23 21:07:22 -05:00
|
|
|
|
|
|
|
@media(min-width: (@screen-sm-min)) {
|
|
|
|
left: 50%;
|
|
|
|
margin-left: -250px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
@media(max-width: (@screen-xs-max)) {
|
2018-03-21 14:09:23 -04:00
|
|
|
left: 1.5rem;
|
2018-03-23 02:49:27 -04:00
|
|
|
width: ~"calc(100% - 4rem)";
|
2017-01-23 21:07:22 -05:00
|
|
|
max-width: 100%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.progress {
|
2018-03-21 14:09:23 -04:00
|
|
|
margin: 0.75rem 0;
|
|
|
|
height: 0.25rem;
|
2017-01-23 21:07:22 -05:00
|
|
|
box-shadow: none;
|
2018-03-21 14:09:23 -04:00
|
|
|
background-color: rgba(255,255,255,0.2);
|
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-21 14:09:23 -04:00
|
|
|
top: 1.3rem;
|
|
|
|
right: 1.5rem;
|
2017-01-23 21:07:22 -05:00
|
|
|
}
|
2018-03-21 14:09:23 -04:00
|
|
|
}
|
|
|
|
|
|
|
|
.alert-danger {
|
|
|
|
background: @red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-success {
|
|
|
|
background: @green;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert-info {
|
|
|
|
background: @blue;
|
|
|
|
}
|
|
|
|
|
|
|
|
.alert--upload {
|
|
|
|
bottom: 0;
|
|
|
|
left: 0;
|
|
|
|
width: 100%;
|
|
|
|
max-width: 100%;
|
|
|
|
box-shadow: 0 -2px 5px rgba(0,0,0,0.15);
|
2017-01-23 21:07:22 -05:00
|
|
|
}
|