lokesh341 commited on
Commit
6fa4c20
·
verified ·
1 Parent(s): 41550d1

Update static/styles.css

Browse files
Files changed (1) hide show
  1. static/styles.css +39 -79
static/styles.css CHANGED
@@ -24,7 +24,7 @@ body {
24
  }
25
 
26
  .chat-header {
27
- background-color: #4caf50; /* Changed to green */
28
  color: white;
29
  padding: 10px;
30
  text-align: center;
@@ -79,14 +79,14 @@ body {
79
  box-sizing: border-box;
80
  font-size: 14px;
81
  min-height: 40px;
82
- resize: none; /* Prevents resizing */
83
- overflow-y: hidden; /* Prevents scrolling in input */
84
  }
85
 
86
  .chat-input button {
87
  padding: 8px 15px;
88
  margin-left: 10px;
89
- background-color: #ffbd80; /* Changed to light orange */
90
  color: white;
91
  border: none;
92
  border-radius: 5px;
@@ -97,42 +97,10 @@ body {
97
  }
98
 
99
  .chat-input button:hover {
100
- background-color: #ffa550; /* Slightly darker light orange for hover */
101
- }
102
-
103
- /* Rest of your existing CSS remains the same, just updating colors where needed */
104
- .option-button {
105
- display: inline-block;
106
- padding: 10px 15px;
107
- margin: 5px;
108
- background-color: #9c27b0;
109
- color: white;
110
- border: none;
111
- border-radius: 5px;
112
- cursor: pointer;
113
- transition: background-color 0.3s;
114
- font-size: 14px;
115
- min-width: 100px;
116
- text-align: center;
117
- }
118
-
119
- .option-button.green {
120
- background-color: #4caf50;
121
- }
122
-
123
- .option-button.red {
124
- background-color: #f44336;
125
  }
126
 
127
- .option-button.gray {
128
- background-color: #9e9e9e;
129
- }
130
-
131
- .option-button:hover {
132
- opacity: 0.9;
133
- }
134
-
135
- .ingredients-list {
136
  max-height: 150px;
137
  overflow-x: auto;
138
  overflow-y: hidden;
@@ -145,21 +113,22 @@ body {
145
  gap: 10px;
146
  }
147
 
148
- .ingredients-list .ingredient-item {
149
  display: inline-flex;
150
  flex-direction: column;
151
  align-items: center;
152
  margin-right: 15px;
 
153
  }
154
 
155
- .ingredients-list img {
156
  width: 60px;
157
  height: 60px;
158
  object-fit: cover;
159
  border-radius: 5px;
160
  }
161
 
162
- .ingredients-list button {
163
  padding: 5px 10px;
164
  margin-top: 5px;
165
  background-color: #4caf50;
@@ -170,51 +139,42 @@ body {
170
  font-size: 12px;
171
  }
172
 
173
- .ingredients-list button:hover {
174
- background-color: #45a049;
 
 
 
 
 
 
 
 
 
175
  }
176
 
177
- .selected-ingredients {
178
- padding: 10px;
 
 
 
 
 
179
  margin: 10px 0;
180
- border: 1px solid #ccc;
 
 
181
  border-radius: 5px;
182
- background-color: #f0f0f0;
183
- overflow-y: auto;
184
- max-height: 80px;
185
  }
186
 
187
- .selected-ingredients div {
188
- margin: 5px 0;
189
- word-wrap: break-word;
190
  }
191
 
192
- /* Mobile-specific adjustments */
193
  @media (max-width: 768px) {
194
- .chat-container {
195
- max-width: 100%;
196
- height: 100vh;
197
- margin: 0;
198
- }
199
-
200
- .chat-header {
201
- font-size: 18px;
202
- }
203
-
204
- .chat-messages {
205
- padding: 10px;
206
- }
207
-
208
- .chat-input input,
209
- .chat-input button {
210
- padding: 6px;
211
- font-size: 12px;
212
- min-height: 35px;
213
- }
214
-
215
- .option-button {
216
- padding: 8px 12px;
217
- font-size: 12px;
218
- min-width: 90px;
219
- }
220
  }
 
24
  }
25
 
26
  .chat-header {
27
+ background-color: #4caf50;
28
  color: white;
29
  padding: 10px;
30
  text-align: center;
 
79
  box-sizing: border-box;
80
  font-size: 14px;
81
  min-height: 40px;
82
+ resize: none;
83
+ overflow-y: hidden;
84
  }
85
 
86
  .chat-input button {
87
  padding: 8px 15px;
88
  margin-left: 10px;
89
+ background-color: #ffbd80;
90
  color: white;
91
  border: none;
92
  border-radius: 5px;
 
97
  }
98
 
99
  .chat-input button:hover {
100
+ background-color: #ffa550;
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
101
  }
102
 
103
+ .suggestions-list, .ingredients-list {
 
 
 
 
 
 
 
 
104
  max-height: 150px;
105
  overflow-x: auto;
106
  overflow-y: hidden;
 
113
  gap: 10px;
114
  }
115
 
116
+ .suggestion-item, .ingredient-item {
117
  display: inline-flex;
118
  flex-direction: column;
119
  align-items: center;
120
  margin-right: 15px;
121
+ cursor: pointer;
122
  }
123
 
124
+ .suggestions-list img, .ingredients-list img {
125
  width: 60px;
126
  height: 60px;
127
  object-fit: cover;
128
  border-radius: 5px;
129
  }
130
 
131
+ .suggestions-list button, .ingredients-list button {
132
  padding: 5px 10px;
133
  margin-top: 5px;
134
  background-color: #4caf50;
 
139
  font-size: 12px;
140
  }
141
 
142
+ .option-button {
143
+ display: inline-block;
144
+ padding: 10px 15px;
145
+ margin: 5px;
146
+ background-color: #9c27b0;
147
+ color: white;
148
+ border: none;
149
+ border-radius: 5px;
150
+ cursor: pointer;
151
+ transition: background-color 0.3s;
152
+ font-size: 14px;
153
  }
154
 
155
+ .option-button.green { background-color: #4caf50; }
156
+ .option-button.red { background-color: #f44336; }
157
+ .option-button.gray { background-color: #9e9e9e; }
158
+ .option-button:hover { opacity: 0.9; }
159
+
160
+ .submit-button {
161
+ padding: 10px 15px;
162
  margin: 10px 0;
163
+ background-color: #2196f3;
164
+ color: white;
165
+ border: none;
166
  border-radius: 5px;
167
+ cursor: pointer;
168
+ font-size: 14px;
 
169
  }
170
 
171
+ .submit-button:hover {
172
+ background-color: #1976d2;
 
173
  }
174
 
 
175
  @media (max-width: 768px) {
176
+ .chat-container { height: 100vh; margin: 0; }
177
+ .chat-header { font-size: 18px; }
178
+ .chat-messages { padding: 10px; }
179
+ .chat-input input, .chat-input button { padding: 6px; font-size: 12px; min-height: 35px; }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
180
  }