revert browser newux changes (#5714)

This commit is contained in:
Kanagaraj M
2018-03-27 01:19:12 +05:30
committed by Dee Koder
parent 35e64573fa
commit 19451e374a
186 changed files with 4507 additions and 16033 deletions

View File

@@ -1,20 +1,20 @@
.alert {
border: 0;
position: fixed;
box-shadow: 0 2px 5px rgba(0, 0, 0, 0.1);
max-width: 500px;
margin: 0;
box-shadow: 0 4px 5px rgba(0, 0, 0, 0.1);
color: @white;
width: 100%;
padding: 1.5rem 4rem 1.5rem 2rem;
z-index: 1000000;
right: 20px;
border-radius: 3px;
padding: 17px 50px 17px 17px;
z-index: 10010;
.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;
&:not(.progress) {
top: 20px;
@media(min-width: (@screen-sm-min)) {
left: 50%;
@@ -22,17 +22,35 @@
}
}
&.progress {
bottom: 20px;
right: 20px;
}
&.alert-danger {
background: @red;
}
&.alert-success {
background: @green;
}
&.alert-info {
background: @blue;
}
@media(max-width: (@screen-xs-max)) {
left: 1.5rem;
width: ~"calc(100% - 4rem)";
left: 20px;
width: ~"calc(100% - 40px)";
max-width: 100%;
}
.progress {
margin: 0.75rem 0;
height: 0.25rem;
margin: 10px 10px 8px 0;
height: 5px;
box-shadow: none;
background-color: rgba(255,255,255,0.2);
border-radius: 1px;
background-color: @blue;
border-radius: 2px;
overflow: hidden;
}
@@ -44,27 +62,7 @@
}
.close {
top: 1.3rem;
right: 1.5rem;
position: absolute;
top: 15px;
}
}
.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);
}