mirror of
https://github.com/ae-utbm/sith.git
synced 2025-01-08 16:11:17 +00:00
Add popup css class and display basket error messages with it on counter click
This commit is contained in:
parent
c80fe094a2
commit
138e1662c7
@ -337,12 +337,31 @@ body {
|
|||||||
margin-left: -125px;
|
margin-left: -125px;
|
||||||
box-sizing: border-box;
|
box-sizing: border-box;
|
||||||
position: fixed;
|
position: fixed;
|
||||||
z-index: 1;
|
z-index: 10;
|
||||||
|
/* to get on top of tomselect */
|
||||||
left: 50%;
|
left: 50%;
|
||||||
top: 60px;
|
top: 60px;
|
||||||
text-align: center;
|
text-align: center;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
.popup {
|
||||||
|
z-index: 10;
|
||||||
|
/* to get on top of tomselect */
|
||||||
|
display: inline-block;
|
||||||
|
text-align: center;
|
||||||
|
overflow: auto;
|
||||||
|
margin: auto;
|
||||||
|
position: fixed;
|
||||||
|
top: 0;
|
||||||
|
left: 0;
|
||||||
|
bottom: 0;
|
||||||
|
right: 0;
|
||||||
|
height: 20vh;
|
||||||
|
width: 20vw;
|
||||||
|
align-content: center;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
.tabs {
|
.tabs {
|
||||||
border-radius: 5px;
|
border-radius: 5px;
|
||||||
|
|
||||||
|
@ -33,7 +33,7 @@
|
|||||||
|
|
||||||
<p
|
<p
|
||||||
x-cloak
|
x-cloak
|
||||||
class="alert alert-red snackbar"
|
class="alert alert-red popup"
|
||||||
x-show="alertMessage.show"
|
x-show="alertMessage.show"
|
||||||
x-transition.duration.500ms
|
x-transition.duration.500ms
|
||||||
x-text="alertMessage.content"
|
x-text="alertMessage.content"
|
||||||
|
Loading…
Reference in New Issue
Block a user