Spaces:
Sleeping
Sleeping
Update app.py
Browse files
app.py
CHANGED
@@ -34,7 +34,6 @@ light_css = """
|
|
34 |
font-family: 'Arial', sans-serif;
|
35 |
padding: 20px;
|
36 |
}
|
37 |
-
|
38 |
#chatbox {
|
39 |
background-color: white;
|
40 |
border-radius: 10px;
|
@@ -43,7 +42,6 @@ light_css = """
|
|
43 |
height: 400px;
|
44 |
overflow-y: auto;
|
45 |
}
|
46 |
-
|
47 |
#input-container {
|
48 |
display: flex;
|
49 |
align-items: center;
|
@@ -52,7 +50,6 @@ light_css = """
|
|
52 |
padding: 5px;
|
53 |
background-color: white;
|
54 |
}
|
55 |
-
|
56 |
#message-input {
|
57 |
flex-grow: 1;
|
58 |
border: none;
|
@@ -60,23 +57,20 @@ light_css = """
|
|
60 |
font-size: 14px;
|
61 |
outline: none;
|
62 |
}
|
63 |
-
|
64 |
#send-button {
|
65 |
border: none;
|
66 |
background: none;
|
67 |
cursor: pointer;
|
68 |
-
padding:
|
69 |
font-size: 12px;
|
70 |
-
width:
|
71 |
-
height:
|
72 |
color: #007BFF;
|
73 |
transition: opacity 0.3s;
|
74 |
}
|
75 |
-
|
76 |
#send-button:hover {
|
77 |
opacity: 0.7;
|
78 |
}
|
79 |
-
|
80 |
#settings-container {
|
81 |
margin-top: 20px;
|
82 |
}
|
@@ -88,22 +82,18 @@ dark_css = """
|
|
88 |
background-color: #1e1e1e; /* Dark background */
|
89 |
color: white; /* Light text color */
|
90 |
}
|
91 |
-
|
92 |
#chatbox {
|
93 |
background-color: #2e2e2e; /* Dark chatbox */
|
94 |
color: white; /* Light text color */
|
95 |
}
|
96 |
-
|
97 |
#input-container {
|
98 |
background-color: #2e2e2e; /* Dark input container */
|
99 |
border: 1px solid #444; /* Dark border */
|
100 |
}
|
101 |
-
|
102 |
#message-input {
|
103 |
background-color: #3e3e3e; /* Dark input field */
|
104 |
color: white; /* Light text color */
|
105 |
}
|
106 |
-
|
107 |
#send-button {
|
108 |
color: #007BFF; /* Button text color */
|
109 |
}
|
|
|
34 |
font-family: 'Arial', sans-serif;
|
35 |
padding: 20px;
|
36 |
}
|
|
|
37 |
#chatbox {
|
38 |
background-color: white;
|
39 |
border-radius: 10px;
|
|
|
42 |
height: 400px;
|
43 |
overflow-y: auto;
|
44 |
}
|
|
|
45 |
#input-container {
|
46 |
display: flex;
|
47 |
align-items: center;
|
|
|
50 |
padding: 5px;
|
51 |
background-color: white;
|
52 |
}
|
|
|
53 |
#message-input {
|
54 |
flex-grow: 1;
|
55 |
border: none;
|
|
|
57 |
font-size: 14px;
|
58 |
outline: none;
|
59 |
}
|
|
|
60 |
#send-button {
|
61 |
border: none;
|
62 |
background: none;
|
63 |
cursor: pointer;
|
64 |
+
padding: 2px; /* Reduced padding for smaller button */
|
65 |
font-size: 12px;
|
66 |
+
width: 25px; /* Adjusted width for smaller button */
|
67 |
+
height: 25px; /* Adjusted height for smaller button */
|
68 |
color: #007BFF;
|
69 |
transition: opacity 0.3s;
|
70 |
}
|
|
|
71 |
#send-button:hover {
|
72 |
opacity: 0.7;
|
73 |
}
|
|
|
74 |
#settings-container {
|
75 |
margin-top: 20px;
|
76 |
}
|
|
|
82 |
background-color: #1e1e1e; /* Dark background */
|
83 |
color: white; /* Light text color */
|
84 |
}
|
|
|
85 |
#chatbox {
|
86 |
background-color: #2e2e2e; /* Dark chatbox */
|
87 |
color: white; /* Light text color */
|
88 |
}
|
|
|
89 |
#input-container {
|
90 |
background-color: #2e2e2e; /* Dark input container */
|
91 |
border: 1px solid #444; /* Dark border */
|
92 |
}
|
|
|
93 |
#message-input {
|
94 |
background-color: #3e3e3e; /* Dark input field */
|
95 |
color: white; /* Light text color */
|
96 |
}
|
|
|
97 |
#send-button {
|
98 |
color: #007BFF; /* Button text color */
|
99 |
}
|