SathvikGanta commited on
Commit
4c41e32
·
verified ·
1 Parent(s): 6c55e57

Update components/styles.py

Browse files
Files changed (1) hide show
  1. components/styles.py +6 -23
components/styles.py CHANGED
@@ -22,25 +22,8 @@ button:hover {
22
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
23
  }
24
 
25
- /* Popup container styling */
26
- .popup-area {
27
- display: none;
28
- position: fixed;
29
- top: 0;
30
- left: 0;
31
- width: 100vw;
32
- height: 100vh;
33
- background-color: rgba(0, 0, 0, 0.5);
34
- justify-content: center;
35
- align-items: center;
36
- z-index: 1000;
37
- }
38
-
39
- .popup-area.visible {
40
- display: flex;
41
- }
42
-
43
- .food-card {
44
  width: 400px;
45
  max-width: 90%;
46
  background-color: #fff;
@@ -51,25 +34,25 @@ button:hover {
51
  position: relative;
52
  }
53
 
54
- .food-card img {
55
  width: 100%;
56
  max-height: 200px;
57
  object-fit: cover;
58
  border-radius: 12px 12px 0 0;
59
  }
60
 
61
- .food-card h3 {
62
  margin-top: 20px;
63
  font-size: 24px;
64
  }
65
 
66
- .food-card table {
67
  width: 100%;
68
  margin-top: 10px;
69
  border-collapse: collapse;
70
  }
71
 
72
- .food-card table td {
73
  padding: 10px;
74
  border: 1px solid #ddd;
75
  }
 
22
  box-shadow: 0 4px 6px rgba(0, 0, 0, 0.1);
23
  }
24
 
25
+ /* Modal styles */
26
+ .modal-content {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
27
  width: 400px;
28
  max-width: 90%;
29
  background-color: #fff;
 
34
  position: relative;
35
  }
36
 
37
+ .modal-content img {
38
  width: 100%;
39
  max-height: 200px;
40
  object-fit: cover;
41
  border-radius: 12px 12px 0 0;
42
  }
43
 
44
+ .modal-content h3 {
45
  margin-top: 20px;
46
  font-size: 24px;
47
  }
48
 
49
+ .modal-content table {
50
  width: 100%;
51
  margin-top: 10px;
52
  border-collapse: collapse;
53
  }
54
 
55
+ .modal-content table td {
56
  padding: 10px;
57
  border: 1px solid #ddd;
58
  }