11/* App.css */
22
33/* General styles */
4- body {
5- font-family : Arial, sans-serif;
6- background-color : # e0e0e0 ;
7- color : # 333 ;
8- display : flex;
9- justify-content : center;
10- align-items : flex-start;
11- min-height : 100vh ;
12- margin : 0 ;
13- padding : 10px ;
14- }
15-
16- .App {
17- width : 100% ;
18- max-width : 1000px ;
19- color : # 333 ;
20- }
21-
22- /* Header styles */
23- .app-header {
24- text-align : center;
25- margin-bottom : 20px ;
26- }
27-
28- .app-header h1 {
29- font-size : 2em ;
30- color : # 424242 ;
31- border-bottom : 2px solid # 757575 ;
32- padding-bottom : 10px ;
33- margin : 0 ;
34- }
35-
36- /* Form styles */
37- form {
38- display : flex;
39- flex-direction : column;
40- margin-bottom : 20px ;
41- }
42-
43- label {
44- margin-bottom : 8px ;
45- font-weight : bold;
46- color : # 555 ;
47- }
48-
49- input [type = "text" ],
50- input [type = "number" ],
51- select {
52- padding : 8px ;
53- border : 1px solid # ccc ;
54- border-radius : 4px ;
55- width : 100% ;
56- margin-top : 4px ;
57- font-size : 16px ;
58- background-color : # fafafa ;
59- box-sizing : border-box;
60- }
61-
62- button {
63- padding : 10px ;
64- font-size : 16px ;
65- font-weight : bold;
66- color : white;
67- background-color : # 757575 ;
68- border : none;
69- border-radius : 4px ;
70- cursor : pointer;
71- transition : background-color 0.3s ease;
72- margin : 5px 0 ;
73- }
74-
75- button : hover {
76- background-color : # 5e5e5e ;
77- }
78-
79- /* Order table styles */
80- .order-table {
81- width : 100% ;
82- border-collapse : collapse;
83- margin-top : 20px ;
84- }
85-
86- .order-table thead {
87- background-color : # 757575 ;
88- color : white;
89- }
90-
91- .order-table th ,
92- .order-table td {
93- padding : 10px ;
94- border : 1px solid # ddd ;
95- text-align : left;
96- }
97-
98- .order-table th {
99- font-weight : bold;
100- }
101-
102- .order-table tbody tr : nth-child (even) {
103- background-color : # f0f0f0 ;
104- }
105-
106- .order-table button {
107- background-color : # b71c1c ;
108- padding : 6px 10px ;
109- font-size : 14px ;
110- color : white;
111- border-radius : 4px ;
112- }
113-
114- .order-table button : hover {
115- background-color : # a31515 ;
116- }
117-
118- /* Export button container */
119- .App > div {
120- display : flex;
121- justify-content : flex-start;
122- gap : 10px ;
123- margin-top : 10px ;
124- }
125-
126- .App > div button {
127- flex-grow : 1 ;
128- }
129-
130- /* Responsive styles */
131- @media (max-width : 768px ) {
132- .App {
133- width : 100% ;
134- padding : 0 ;
135- }
136-
137- form ,
138- .App > div {
139- margin-bottom : 15px ;
140- }
141-
142- label ,
143- input [type = "text" ],
144- input [type = "number" ],
145- select {
146- font-size : 14px ;
147- }
148-
149- button {
150- font-size : 14px ;
151- padding : 8px ;
152- }
153-
154- .App > div {
155- flex-direction : column;
156- }
157-
158- .App > div button {
159- width : 100% ;
160- margin-bottom : 8px ;
161- }
162- }
163-
164- @media (max-width : 480px ) {
165- input [type = "text" ],
166- input [type = "number" ],
167- select {
168- font-size : 14px ;
169- padding : 6px ;
170- }
171-
172- .order-table th ,
173- .order-table td {
174- padding : 8px ;
175- }
176-
177- button {
178- font-size : 12px ;
179- padding : 6px ;
180- }
181-
182- .order-table button {
183- font-size : 12px ;
184- padding : 5px 8px ;
185- }
186- }
187- /* App.css - Minimalist Design */
188-
1894body {
1905 font-family : 'Helvetica Neue' , Arial, sans-serif;
1916 background-color : # f8f9fa ; /* Light grey background for contrast */
192- color : # 333 ; /* Dark grey text for readability */
193- margin : 0 ;
7+ color : # 333 ;
1948 display : flex;
1959 justify-content : center;
19610 align-items : flex-start;
19711 min-height : 100vh ;
12+ margin : 0 ;
19813 padding : 20px ;
19914 box-sizing : border-box;
20015}
20116
20217.App {
20318 width : 100% ;
20419 max-width : 800px ;
20+ color : # 333 ;
20521}
20622
207- /* Header Styles */
23+ /* Header styles */
20824.app-header {
20925 text-align : center;
21026 margin-bottom : 20px ;
@@ -219,7 +35,7 @@ body {
21935 border-bottom : 1px solid # e0e0e0 ; /* Subtle underline */
22036}
22137
222- /* Form Styles */
38+ /* Form styles */
22339form {
22440 display : flex;
22541 flex-direction : column;
@@ -229,7 +45,9 @@ form {
22945
23046label {
23147 font-size : 1rem ;
48+ font-weight : bold;
23249 color : # 555 ;
50+ margin-bottom : 8px ;
23351}
23452
23553input [type = "text" ],
@@ -238,11 +56,14 @@ select {
23856 padding : 10px ;
23957 border : 1px solid # ddd ;
24058 border-radius : 4px ;
59+ width : 100% ;
60+ margin-top : 4px ;
24161 font-size : 1rem ;
24262 background-color : # fafafa ;
24363 color : # 333 ;
24464 outline : none;
24565 transition : border-color 0.2s ;
66+ box-sizing : border-box;
24667}
24768
24869input [type = "text" ]: focus ,
@@ -254,6 +75,7 @@ select:focus {
25475button {
25576 padding : 12px ;
25677 font-size : 1rem ;
78+ font-weight : bold;
25779 color : # fff ;
25880 background-color : # 333 ;
25981 border : none;
@@ -267,13 +89,17 @@ button:hover {
26789 background-color : # 555 ;
26890}
26991
270- /* Table Styles */
27192.order-table {
27293 width : 100% ;
27394 border-collapse : collapse;
27495 margin-top : 20px ;
27596}
27697
98+ .order-table thead {
99+ background-color : # f0f0f0 ;
100+ color : rgb (128 , 128 , 128 );
101+ }
102+
277103.order-table th ,
278104.order-table td {
279105 padding : 12px ;
@@ -282,10 +108,6 @@ button:hover {
282108 border-bottom : 1px solid # e0e0e0 ;
283109}
284110
285- .order-table thead {
286- background-color : # f0f0f0 ;
287- }
288-
289111.order-table tbody tr : nth-child (even) {
290112 background-color : # f9f9f9 ;
291113}
@@ -298,10 +120,12 @@ button:hover {
298120 border : none;
299121 cursor : pointer;
300122 transition : color 0.2s ;
123+ margin-top : -3px ;
301124}
302125
303126.order-table button : hover {
304- color : # a31515 ;
127+ background-color : # a31515 ;
128+ color : # ebebeb ;
305129}
306130
307131/* Export Button Container */
@@ -318,49 +142,49 @@ button:hover {
318142/* Responsive Styles */
319143@media (max-width : 768px ) {
320144 .App {
321- padding : 0 ;
145+ padding : 0 ;
322146 }
323147
324148 .order-table th ,
325149 .order-table td {
326- padding : 10px ;
150+ padding : 10px ;
327151 }
328152
329153 button {
330- font-size : 0.9rem ;
331- padding : 10px ;
154+ font-size : 0.9rem ;
155+ padding : 10px ;
332156 }
333157
334158 .App > div {
335- flex-direction : column;
159+ flex-direction : column;
336160 }
337161
338162 .App > div button {
339- width : 100% ;
340- margin-bottom : 10px ;
163+ width : 100% ;
164+ margin-bottom : 10px ;
341165 }
342166}
343167
344168@media (max-width : 480px ) {
345169 input [type = "text" ],
346170 input [type = "number" ],
347171 select {
348- font-size : 0.9rem ;
349- padding : 8px ;
172+ font-size : 0.9rem ;
173+ padding : 8px ;
350174 }
351175
352176 .order-table th ,
353177 .order-table td {
354- padding : 8px ;
178+ padding : 8px ;
355179 }
356180
357181 button {
358- font-size : 0.9rem ;
359- padding : 8px ;
182+ font-size : 0.9rem ;
183+ padding : 8px ;
360184 }
361185
362186 .order-table button {
363- font-size : 0.8rem ;
364- padding : 5px ;
187+ font-size : 0.8rem ;
188+ padding : 5px ;
365189 }
366190}
0 commit comments