manage conflict (generic way) use toast to show error (#588)
* manage conflict (generic way) use toast to show error * fix httpservice after merge conflict, adapt to use new repository
This commit is contained in:
@@ -153,6 +153,53 @@ a, .btn-link {
|
||||
overflow: hidden !important;
|
||||
}
|
||||
|
||||
.toast {
|
||||
display: none;
|
||||
padding: 1.5rem;
|
||||
color: #fff;
|
||||
z-index: 99999;
|
||||
position: absolute;
|
||||
width: 25rem;
|
||||
top: 2rem;
|
||||
border-radius: 1rem;
|
||||
left: 50%;
|
||||
}
|
||||
|
||||
.toast-icon {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
justify-content: center;
|
||||
padding: 01rem;
|
||||
font-size: 2.5rem;
|
||||
}
|
||||
|
||||
.toast-body {
|
||||
display: flex;
|
||||
flex-direction: column;
|
||||
flex: 1;
|
||||
padding-left: 1rem;
|
||||
}
|
||||
|
||||
.toast-body p {
|
||||
margin-bottom: 0;
|
||||
}
|
||||
|
||||
.toast-visible {
|
||||
display: flex;
|
||||
flex-direction: row;
|
||||
animation: fadein 1.5s;
|
||||
}
|
||||
|
||||
@keyframes fadein {
|
||||
from {
|
||||
opacity: 0;
|
||||
}
|
||||
|
||||
to {
|
||||
opacity: 1;
|
||||
}
|
||||
}
|
||||
|
||||
@media (max-width: 767.98px) {
|
||||
.main .top-row:not(.auth) {
|
||||
display: none;
|
||||
|
||||
Reference in New Issue
Block a user