|
19 | 19 |
|
20 | 20 |
|
21 | 21 | .shopping-container { |
22 | | -position: relative; |
23 | | -margin: auto; |
24 | | -width: 80%; |
| 22 | +position: absolute; |
| 23 | +display: inline-block; |
| 24 | +height: 80vh; |
| 25 | +width: 80vw; |
| 26 | +margin: 10% 10% 5% 10%; |
25 | 27 | } |
26 | 28 |
|
27 | 29 | .shopping-cart { |
28 | | -position: absolute; |
29 | | -display: none; |
30 | | -z-index: -5; |
| 30 | +position: relative; |
| 31 | +/* display: none; |
| 32 | +z-index: -5; */ |
31 | 33 |
|
32 | | -max-height: 80vh; |
33 | | -width: 320px; |
34 | | -right: 0px; |
| 34 | +height: 100%; |
| 35 | +width: 65%; |
35 | 36 | padding: 20px; |
36 | | -margin: 20px 0; |
| 37 | +left: 0%; |
37 | 38 |
|
38 | | -float: right; |
| 39 | +float: left; |
39 | 40 | overflow: hidden; |
40 | | -border-radius: 10px; |
| 41 | +border-radius: 10px 0px 0px 10px; |
41 | 42 | backdrop-filter: blur(20px); |
42 | 43 | background: rgba(0, 0, 0, 0.500); |
| 44 | +box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.650); |
43 | 45 | } |
44 | 46 |
|
45 | 47 | .badge { |
|
56 | 58 | } |
57 | 59 |
|
58 | 60 | .shopping-cart .shopping-cart-header { |
| 61 | +height: 10%; |
59 | 62 | border-bottom: 1px solid #e8e8e852; |
60 | 63 | padding-bottom: 15px; |
61 | 64 | } |
|
64 | 67 | } |
65 | 68 | .shopping-cart .shopping-cart-items { |
66 | 69 | display: flex; |
| 70 | +height: 100%; |
67 | 71 | flex-direction: column; |
68 | 72 | justify-content:space-between; |
69 | | -padding: 20px; |
| 73 | +padding: 45px 45px 45px 20px; |
70 | 74 | margin: 0; |
71 | 75 | } |
72 | | -.shopping-cart .shopping-cart-items li { |
73 | | -list-style-type: none; |
74 | | -margin-bottom: 18px; |
75 | | -} |
76 | 76 | .shopping-cart .shopping-cart-items img { |
77 | 77 | float: left; |
78 | 78 | height: 100%; |
|
123 | 123 | } |
124 | 124 |
|
125 | 125 | .checkout-button { |
| 126 | +width: 100%; |
126 | 127 | background: #6394F8; |
127 | 128 | color: white; |
128 | 129 | text-align: center; |
|
144 | 145 | } |
145 | 146 |
|
146 | 147 | .clearfix { |
147 | | -height: 75px; |
148 | | -margin-bottom: 20px; |
| 148 | +height: 30% !important; |
149 | 149 | overflow: hidden; |
| 150 | +list-style-type: none; |
150 | 151 | } |
151 | 152 |
|
152 | 153 | .clearfix .cart-data{ |
153 | 154 | overflow: hidden; |
154 | | -height: 75px; |
| 155 | +height: 100%; |
155 | 156 | } |
156 | 157 |
|
157 | | -#cart-button:focus ~ .shopping-container .shopping-cart{ |
| 158 | +/* #cart-button:focus ~ .shopping-container .shopping-cart{ |
158 | 159 | display:unset; |
159 | 160 | z-index: 5; |
160 | | -} |
| 161 | +} */ |
161 | 162 | #cart-button{ |
162 | 163 | position: absolute; |
163 | 164 | } |
164 | | - |
| 165 | +/* |
165 | 166 | .shopping-cart:hover{ |
166 | 167 | display:unset; |
167 | 168 | z-index: 5; |
168 | | -} |
| 169 | +} */ |
169 | 170 |
|
170 | 171 | .shopping-cart .quantity{ |
171 | 172 | display: flex; |
172 | 173 | justify-content: space-between; |
173 | 174 | } |
| 175 | + |
| 176 | + |
| 177 | + |
| 178 | + |
| 179 | + |
| 180 | + |
| 181 | +/* checkout container */ |
| 182 | + |
| 183 | +.checkout-container{ |
| 184 | +position: relative; |
| 185 | +height: 100%; |
| 186 | +width: 35%; |
| 187 | +right: 0%; |
| 188 | +float: right; |
| 189 | + |
| 190 | +display: flex; |
| 191 | +flex-direction: column; |
| 192 | +justify-content: center; |
| 193 | +align-items: center; |
| 194 | + |
| 195 | +border-radius: 0px 10px 10px 0px; |
| 196 | +backdrop-filter: blur(20px); |
| 197 | +background: rgba(255, 255, 255, 0.5); |
| 198 | +/* box-shadow: -10px 0px 15px -5px black; */ |
| 199 | +box-shadow: 0px 0px 25px 5px rgba(0, 0, 0, 0.650); |
| 200 | +padding: 20px; |
| 201 | +} |
| 202 | + |
| 203 | +.checkout-container .user-data{ |
| 204 | +position: relative; |
| 205 | +height: 80%; |
| 206 | +width: 100%; |
| 207 | + |
| 208 | +display: flex; |
| 209 | +flex-direction: column; |
| 210 | +justify-content:space-evenly; |
| 211 | +align-items:center; |
| 212 | +} |
| 213 | + |
| 214 | + |
| 215 | + |
| 216 | + |
| 217 | + |
| 218 | + |
| 219 | + |
| 220 | + |
| 221 | +/* vertical carousel */ |
| 222 | + |
| 223 | +.cart-carousel{ |
| 224 | +height: 90%; |
| 225 | +width: 100%; |
| 226 | +} |
| 227 | + |
| 228 | +.vertical.carousel.slide{ |
| 229 | +height: 100%; |
| 230 | +width: 100%; |
| 231 | +background-color:unset; |
| 232 | +} |
| 233 | + |
| 234 | + |
| 235 | +.vertical.carousel .carousel-control { |
| 236 | +display: flex; |
| 237 | +justify-content: center; |
| 238 | +align-items: center; |
| 239 | +bottom: auto; |
| 240 | +width: 30%; |
| 241 | +height: 15%; |
| 242 | +left: 0; |
| 243 | +right: 0; |
| 244 | +margin: auto; |
| 245 | +background-color:unset; |
| 246 | +background:unset; |
| 247 | +/* background: -webkit-gradient(linear, left top, left bottom, color-stop(0, rgba(0, 0, 0, 0.5)), to(rgba(0, 0, 0, 0))); |
| 248 | +background: -moz-linear-gradient(top, rgba(0,0,0,0.5) 0, rgba(0,0,0,0) 100%); |
| 249 | +background: linear-gradient(to bottom, rgba(0, 0, 0, 0.5) 0, rgba(0, 0, 0, 0) 100%); */ |
| 250 | +} |
| 251 | +.vertical.carousel .carousel-control.right { |
| 252 | + top: auto; |
| 253 | + bottom: 0; |
| 254 | + /* background: -webkit-gradient(linear, left top, left bottom, from(rgba(0, 0, 0, 0)), to(rgba(0, 0, 0, 0.5))); |
| 255 | + background: -moz-linear-gradient(top, rgba(0,0,0,0) 0%, rgba(0,0,0,0.5) 100%); |
| 256 | + background: linear-gradient(to bottom, rgba(0, 0, 0, 0) 0%, rgba(0, 0, 0, 0.5) 100%); */ |
| 257 | +} |
| 258 | +.vertical.carousel .carousel-control .glyphicon { |
| 259 | +-webkit-transform: rotate(90deg); |
| 260 | +transform: rotate(90deg); |
| 261 | + |
| 262 | +} |
| 263 | +.vertical.carousel .carousel-indicators { |
| 264 | + bottom: auto; |
| 265 | + top: 50%; |
| 266 | + height: fit-content; |
| 267 | + left: auto; |
| 268 | + right: 10px; |
| 269 | + width: 15px; |
| 270 | + margin: 0; |
| 271 | + -webkit-transform: translateY(-50%); |
| 272 | + transform: translateY(-50%); |
| 273 | +} |
| 274 | +.vertical.carousel .carousel-inner > .item { |
| 275 | + left: 0; |
| 276 | + top: 0; |
| 277 | +} |
| 278 | +.vertical.carousel .carousel-inner > .item > img { |
| 279 | + width: 100%; |
| 280 | +} |
| 281 | +.vertical.carousel .carousel-inner > .item.next, |
| 282 | +.vertical.carousel .carousel-inner > .item.active.right { |
| 283 | + -webkit-transform: translate3d(0, 100%, 0); |
| 284 | + transform: translate3d(0, 100%, 0); |
| 285 | + top: 0; |
| 286 | +} |
| 287 | +.vertical.carousel .carousel-inner > .item.prev, |
| 288 | +.vertical.carousel .carousel-inner > .item.active.left { |
| 289 | + -webkit-transform: translate3d(0, -100%, 0); |
| 290 | + transform: translate3d(0, -100%, 0); |
| 291 | + top: 0; |
| 292 | +} |
| 293 | +.vertical.carousel .carousel-inner > .item.next.left, |
| 294 | +.vertical.carousel .carousel-inner > .item.prev.right, |
| 295 | +.vertical.carousel .carousel-inner > .item.active { |
| 296 | + -webkit-transform: translate3d(0, 0, 0); |
| 297 | + transform: translate3d(0, 0, 0); |
| 298 | + top: 0; |
| 299 | +} |
| 300 | +.vertical.carousel .carousel-inner > .active, |
| 301 | +.vertical.carousel .carousel-inner > .next.left, |
| 302 | +.vertical.carousel .carousel-inner .prev.right { |
| 303 | + top: 0; |
| 304 | +} |
| 305 | +.vertical.carousel .carousel-inner > .next, |
| 306 | +.vertical.carousel .carousel-inner > .active.right { |
| 307 | + top: 100%; |
| 308 | + left: 0; |
| 309 | +} |
| 310 | +.vertical.carousel .carousel-inner > .prev, |
| 311 | +.vertical.carousel .carousel-inner > .active.left { |
| 312 | + top: -100%; |
| 313 | + left: 0; |
| 314 | +} |
0 commit comments