mirror of
https://github.com/minio/minio.git
synced 2024-12-27 15:45:55 -05:00
3805a055ab
- Center text on Alert component appearing on top - Change "Upload" to "Continue" on New UX Abort Upload modal - Fix issue where long bucket names were overflowing instead of continuing on the next line - Fix word wrap issue similar to the last one for the alerts that appear on top - Help fix the cluttering issue on #5690 as the right margin has been increased in alerts Fixes #5689, #5691 and #5695
70 lines
1.3 KiB
Plaintext
70 lines
1.3 KiB
Plaintext
.alert {
|
|
position: fixed;
|
|
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
|
|
color: @white;
|
|
width: 100%;
|
|
padding: 1.5rem 4rem 1.5rem 2rem;
|
|
z-index: 1000000;
|
|
.animation-duration(800ms);
|
|
.animation-fill-mode(both);
|
|
font-size: @font-size-small;
|
|
word-wrap: break-word;
|
|
|
|
&:not(.alert--upload) {
|
|
text-align: center;
|
|
top: 1.5rem;
|
|
max-width: 500px;
|
|
border-radius: @border-radius-base;
|
|
|
|
@media(min-width: (@screen-sm-min)) {
|
|
left: 50%;
|
|
margin-left: -250px;
|
|
}
|
|
}
|
|
|
|
@media(max-width: (@screen-xs-max)) {
|
|
left: 1.5rem;
|
|
width: ~"calc(100% - 4rem)";
|
|
max-width: 100%;
|
|
}
|
|
|
|
.progress {
|
|
margin: 0.75rem 0;
|
|
height: 0.25rem;
|
|
box-shadow: none;
|
|
background-color: rgba(255,255,255,0.2);
|
|
border-radius: 2px;
|
|
overflow: hidden;
|
|
}
|
|
|
|
.progress-bar {
|
|
box-shadow: none;
|
|
background-color: @white;
|
|
height: 100%;
|
|
}
|
|
|
|
.close {
|
|
top: 1.3rem;
|
|
right: 1.5rem;
|
|
}
|
|
}
|
|
|
|
.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);
|
|
} |