source: CookCraft-FrontEnd/CookCraft-FrontEnd-master/cookcraft-app/src/css/ShoppingCartCss/checkout-style.module.css@ d7b7f00

Last change on this file since d7b7f00 was d7b7f00, checked in by Gorazd Biskoski <gorazdbiskoskii@…>, 4 weeks ago

Add project

  • Property mode set to 100644
File size: 4.4 KB
Line 
1.checkoutContainer {
2 max-width: 1050px;
3 margin: 5em auto;
4 padding: 2em;
5 background-color: #f9f9f9;
6 border-radius: 24px;
7 box-shadow: 0 12px 30px rgba(0, 0, 0, 0.08);
8 animation: fadeIn 0.5s ease-in-out;
9 position: relative;
10}
11
12@keyframes fadeIn {
13 from {
14 opacity: 0;
15 transform: translateY(20px);
16 }
17 to {
18 opacity: 1;
19 transform: translateY(0);
20 }
21}
22
23.checkoutCard {
24 position: relative;
25 text-align: center;
26}
27
28.checkoutCard h2 {
29 font-size: 2.4em;
30 color: #444;
31 margin-bottom: 1em;
32 position: relative;
33 padding-bottom: 10px;
34}
35
36.checkoutCard h2::after {
37 content: '';
38 position: absolute;
39 left: 50%;
40 bottom: 0;
41 transform: translateX(-50%);
42 width: 70px;
43 height: 4px;
44 background-color: #FFA550;
45 transition: width 0.3s ease;
46}
47
48.checkoutCard h2:hover::after {
49 width: 100px;
50}
51
52.cartItems {
53 display: flex;
54 flex-direction: column;
55 gap: 1.5em;
56 margin-bottom: 2.5em;
57 width: 100%;
58}
59
60.cartItem {
61 display: flex;
62 justify-content: space-between;
63 align-items: center;
64 background-color: #ffffff;
65 padding: 1.2em;
66 margin: 10px;
67 border-radius: 18px;
68 box-shadow: 0 6px 20px rgba(0, 0, 0, 0.05);
69 transition: transform 0.3s ease, box-shadow 0.3s ease;
70 flex-wrap: wrap;
71}
72
73.cartItem:hover {
74 transform: translateY(-5px);
75 box-shadow: 0 12px 25px rgba(0, 0, 0, 0.1);
76}
77
78.cartItemIcon {
79 color: #FFA550;
80 margin-right: 1em;
81}
82
83.itemDetails {
84 display: flex;
85 flex-direction: column;
86 justify-content: center;
87 align-items: flex-start;
88 gap: 0.6em;
89 width: 60%;
90}
91
92.itemLabel {
93 font-size: 1.5em;
94 color: #333;
95 font-weight: 600;
96 margin-bottom: 0.3em;
97}
98
99.quantityInputContainer {
100 display: flex;
101 flex-direction: column;
102 align-items: flex-start;
103 width: 160px;
104}
105.quantityLabel{
106 color: #FFA550;
107}
108.quantityInput {
109 width: 120px;
110 text-align: center;
111 border: 1px solid #ddd;
112 border-radius: 8px;
113 padding: 0.5em;
114 font-size: 0.9em;
115 color: #333;
116}
117
118.gramsInfo {
119 font-size: 0.85em;
120 color: #999;
121 text-align: left;
122}
123
124.itemPrice {
125 font-size: 1.2em;
126 font-weight: bold;
127 color: #666;
128 background-color: #e8e8e8;
129 padding: 0.5em 1.2em;
130 border-radius: 10px;
131 min-width: 80px;
132 text-align: center;
133}
134
135.removeButton {
136 background-color: transparent;
137 border: none;
138 cursor: pointer;
139 font-size: 1.4em;
140 color: #FFA550;
141 transition: color 0.3s ease;
142}
143
144.removeButton:hover {
145 color: #FF5A5F;
146}
147
148.proceedButton {
149 display: inline-block;
150 padding: 0.8em 1.5em;
151 background-color: #FFA550;
152 color: #444;
153 border: none;
154 border-radius: 14px;
155 font-size: 1.3em;
156 font-weight: bold;
157 cursor: pointer;
158 transition: all 0.3s ease;
159 box-shadow: 0 6px 15px rgba(0, 0, 0, 0.08);
160 text-align: center;
161 margin-top: 2.5em;
162 width: 100%;
163 max-width: 350px;
164}
165
166.proceedButton:hover {
167 background-color: #FF8C00;
168 box-shadow: 0 10px 30px rgba(0, 0, 0, 0.1);
169}
170
171.disabledButton {
172 display: inline-block;
173 padding: 0.8em 1.5em;
174 background-color: #dddddd;
175 color: #999;
176 border: none;
177 border-radius: 14px;
178 font-size: 1.3em;
179 font-weight: bold;
180 cursor: not-allowed;
181 box-shadow: none;
182 text-align: center;
183 margin-top: 2.5em;
184 width: 100%;
185 max-width: 350px;
186}
187
188.backArrow {
189 position: absolute;
190 top: 0px;
191 left: 10px;
192 font-size: 2em;
193 color: #333;
194 cursor: pointer;
195 transition: all 0.3s ease;
196}
197
198.backArrow:hover {
199 color: #FFA550;
200 transform: translateX(-5px);
201}
202
203@media (max-width: 768px) {
204 .checkoutContainer {
205 padding: 2em;
206 max-width: 100%;
207 }
208
209 .cartItem {
210 flex-direction: column;
211 align-items: flex-start;
212 }
213
214 .itemDetails {
215 width: 100%;
216 }
217
218 .checkoutCard h2 {
219 font-size: 2em;
220 }
221
222 .quantityInputContainer {
223 align-items: flex-start;
224 width: 100%;
225 margin-top: 10px;
226 }
227
228 .quantityInput {
229 width: 100%;
230 }
231
232 .gramsInfo {
233 font-size: 0.85em;
234 color: #999;
235 margin-top: 0.3em;
236 margin-bottom: 1em;
237 text-align: left;
238 }
239
240 .cartItem p {
241 font-size: 1.1em;
242 }
243
244 .cartItem span {
245 font-size: 1em;
246 }
247
248 .proceedButton {
249 width: 100%;
250 padding: 1em;
251 }
252}
Note: See TracBrowser for help on using the repository browser.