maskaro commited on
Commit
e1f450d
·
verified ·
1 Parent(s): 86b7af8

Update style.css

Browse files
Files changed (1) hide show
  1. style.css +115 -51
style.css CHANGED
@@ -1,51 +1,115 @@
1
- body {
2
- font-family: Arial, sans-serif;
3
- margin: 0;
4
- padding: 0;
5
- }
6
-
7
- #app {
8
- padding: 20px;
9
- }
10
-
11
- .add-button, .control-button, .confirm-button, .category-button, .opcion-button, .back-button, .finalize-button {
12
- display: block;
13
- margin: 10px auto;
14
- padding: 10px 20px;
15
- font-size: 16px;
16
- cursor: pointer;
17
- }
18
-
19
- .mesa-input, .mesas-container, .mesa-controls, .pedidos-container, .opciones-container {
20
- margin-bottom: 20px;
21
- text-align: center;
22
- }
23
-
24
- .mesas-container {
25
- display: grid;
26
- grid-template-columns: repeat(auto-fit, minmax(150px, 1fr));
27
- gap: 15px;
28
- }
29
-
30
- .mesa-card {
31
- border: 1px solid #ccc;
32
- border-radius: 8px;
33
- padding: 15px;
34
- background: #f9f9f9;
35
- }
36
-
37
- .mesa-title {
38
- margin: 0;
39
- }
40
-
41
- .mesa-heading {
42
- font-size: 24px;
43
- margin-bottom: 20px;
44
- }
45
-
46
- .opciones-container {
47
- display: flex;
48
- flex-wrap: wrap;
49
- gap: 10px;
50
- justify-content: center;
51
- }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ /* Reset general */
2
+ * {
3
+ margin: 0;
4
+ padding: 0;
5
+ box-sizing: border-box;
6
+ }
7
+
8
+ body {
9
+ font-family: 'Arial', sans-serif;
10
+ background-color: #f4f7fb;
11
+ color: #333;
12
+ display: flex;
13
+ flex-direction: column;
14
+ align-items: center;
15
+ justify-content: flex-start;
16
+ height: 100vh;
17
+ padding: 20px;
18
+ }
19
+
20
+ #app {
21
+ width: 100%;
22
+ max-width: 600px;
23
+ padding: 20px;
24
+ background-color: #fff;
25
+ border-radius: 10px;
26
+ box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
27
+ text-align: center;
28
+ }
29
+
30
+ button {
31
+ padding: 12px;
32
+ margin: 10px;
33
+ font-size: 16px;
34
+ border-radius: 5px;
35
+ cursor: pointer;
36
+ width: 80%;
37
+ }
38
+
39
+ button:hover {
40
+ opacity: 0.8;
41
+ }
42
+
43
+ .add-button {
44
+ background-color: #4CAF50;
45
+ color: white;
46
+ border: none;
47
+ }
48
+
49
+ .category-button {
50
+ background-color: #009688;
51
+ color: white;
52
+ border: none;
53
+ }
54
+
55
+ .confirm-button {
56
+ background-color: #FF9800;
57
+ color: white;
58
+ }
59
+
60
+ .back-button {
61
+ background-color: #f44336;
62
+ color: white;
63
+ }
64
+
65
+ .finalize-button {
66
+ background-color: #2196F3;
67
+ color: white;
68
+ }
69
+
70
+ .mesa-card {
71
+ background-color: #f4f4f4;
72
+ padding: 15px;
73
+ margin: 10px 0;
74
+ border-radius: 8px;
75
+ box-shadow: 0 2px 5px rgba(0,0,0,0.1);
76
+ cursor: pointer;
77
+ text-align: left;
78
+ }
79
+
80
+ .mesa-card h5 {
81
+ margin: 0;
82
+ font-size: 18px;
83
+ }
84
+
85
+ .pedidos-container {
86
+ text-align: left;
87
+ margin: 10px 0;
88
+ font-size: 16px;
89
+ }
90
+
91
+ .cantidad-controls {
92
+ display: flex;
93
+ align-items: center;
94
+ justify-content: center;
95
+ margin-top: 10px;
96
+ }
97
+
98
+ .cantidad {
99
+ width: 40px;
100
+ text-align: center;
101
+ margin: 0 10px;
102
+ }
103
+
104
+ #qrcode {
105
+ margin: 20px 0;
106
+ display: flex;
107
+ justify-content: center;
108
+ }
109
+
110
+ /* Responsive */
111
+ @media (max-width: 600px) {
112
+ button {
113
+ width: 90%;
114
+ }
115
+ }