SathvikGanta commited on
Commit
b8a40ab
·
verified ·
1 Parent(s): 4c1180f

Update components/styles.py

Browse files
Files changed (1) hide show
  1. components/styles.py +7 -7
components/styles.py CHANGED
@@ -23,7 +23,7 @@ button:hover {
23
  }
24
 
25
  /* Popup container styling */
26
- #popup-container {
27
  display: none;
28
  position: fixed;
29
  top: 0;
@@ -36,11 +36,11 @@ button:hover {
36
  z-index: 1000;
37
  }
38
 
39
- #popup-container.active {
40
  display: flex;
41
  }
42
 
43
- #popup-content {
44
  width: 400px;
45
  max-width: 90%;
46
  background-color: #fff;
@@ -51,25 +51,25 @@ button:hover {
51
  position: relative;
52
  }
53
 
54
- #popup-content img {
55
  width: 100%;
56
  max-height: 200px;
57
  object-fit: cover;
58
  border-radius: 12px 12px 0 0;
59
  }
60
 
61
- #popup-content h3 {
62
  margin-top: 20px;
63
  font-size: 24px;
64
  }
65
 
66
- #popup-content table {
67
  width: 100%;
68
  margin-top: 10px;
69
  border-collapse: collapse;
70
  }
71
 
72
- #popup-content table td {
73
  padding: 10px;
74
  border: 1px solid #ddd;
75
  }
 
23
  }
24
 
25
  /* Popup container styling */
26
+ .popup-area {
27
  display: none;
28
  position: fixed;
29
  top: 0;
 
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
  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
  }