Save
This commit is contained in:
1
pracowniatadam.pl/styles.css
Normal file
1
pracowniatadam.pl/styles.css
Normal file
@@ -0,0 +1 @@
|
||||
form.form-basket .cart-active__addtobasket.cart-fixed>section{position:fixed;bottom:90px;left:50%;transform:translateX(-50%);z-index:10;margin:0;padding:10px 15px;border-radius:8px;background:#fff;border:1px solid #d0d0d0;animation:cart-fixed .3s ease-in-out}@keyframes cart-fixed{0%{opacity:0;transform:translateX(-50%) translateY(80px)}100%{opacity:1;transform:translateX(-50%) translateY(0)}}/*# sourceMappingURL=styles.css.map */
|
||||
1
pracowniatadam.pl/styles.css.map
Normal file
1
pracowniatadam.pl/styles.css.map
Normal file
@@ -0,0 +1 @@
|
||||
{"version":3,"sources":["styles.scss"],"names":[],"mappings":"AAGG,8DACC,cAAA,CACA,WAAA,CACA,QAAA,CACA,0BAAA,CACA,UAAA,CACA,QAAA,CACA,iBAAA,CACA,iBAAA,CACA,eAAA,CACA,wBAAA,CACA,oCAAA,CAKH,sBACC,GACC,SAAA,CACA,2CAAA,CAED,KACC,SAAA,CACA,wCAAA,CAAA","file":"styles.css"}
|
||||
30
pracowniatadam.pl/styles.scss
Normal file
30
pracowniatadam.pl/styles.scss
Normal file
@@ -0,0 +1,30 @@
|
||||
form.form-basket {
|
||||
.cart-active__addtobasket {
|
||||
&.cart-fixed {
|
||||
> section {
|
||||
position: fixed;
|
||||
bottom: 90px;
|
||||
left: 50%;
|
||||
transform: translateX(-50%);
|
||||
z-index: 10;
|
||||
margin: 0;
|
||||
padding: 10px 15px;
|
||||
border-radius: 8px;
|
||||
background: #fff;
|
||||
border: 1px solid #d0d0d0;
|
||||
animation: cart-fixed 0.3s ease-in-out;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
@keyframes cart-fixed {
|
||||
0% {
|
||||
opacity: 0;
|
||||
transform: translateX(-50%) translateY(80px);
|
||||
}
|
||||
100% {
|
||||
opacity: 1;
|
||||
transform: translateX(-50%) translateY(0);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user