Update static/style.css
Browse files- static/style.css +96 -97
static/style.css
CHANGED
@@ -27,6 +27,7 @@
|
|
27 |
--aqua: #8ec07c;
|
28 |
}
|
29 |
|
|
|
30 |
body {
|
31 |
background-color: var(--bg0);
|
32 |
color: var(--fg0);
|
@@ -58,137 +59,135 @@ button:hover {
|
|
58 |
color: var(--fg0) !important;
|
59 |
}
|
60 |
|
61 |
-
|
62 |
-
|
|
|
63 |
overflow: visible;
|
64 |
-
|
|
|
|
|
|
|
65 |
}
|
66 |
|
67 |
-
.
|
68 |
-
|
69 |
-
|
70 |
-
|
71 |
-
transform: translateX(-50%);
|
72 |
-
width: 240px;
|
73 |
-
z-index: 9999;
|
74 |
-
background-color: var(--bg-statusline1) !important;
|
75 |
-
color: var(--fg0);
|
76 |
-
backdrop-filter: none !important;
|
77 |
-
-webkit-backdrop-filter: none !important;
|
78 |
-
box-shadow: 0 4px 8px rgba(0,0,0,0.25) !important;
|
79 |
-
scrollbar-width: thin;
|
80 |
-
scrollbar-color: #665c54 var(--bg-statusline1);
|
81 |
-
border-radius: 0.5rem;
|
82 |
-
white-space: nowrap;
|
83 |
-
text-align: center;
|
84 |
}
|
85 |
|
86 |
-
.
|
87 |
-
|
88 |
-
|
89 |
-
|
90 |
-
|
91 |
-
border-radius: 0.25rem;
|
92 |
-
}
|
93 |
-
.options::-webkit-scrollbar-thumb {
|
94 |
-
background-color: #665c54 !important;
|
95 |
-
border-radius: 4px;
|
96 |
-
border: 2px solid var(--bg-statusline1);
|
97 |
-
}
|
98 |
-
.options::-webkit-scrollbar-thumb:hover {
|
99 |
-
background-color: #7c6f64 !important;
|
100 |
}
|
101 |
-
|
102 |
-
|
103 |
-
|
104 |
-
font-weight: 600;
|
105 |
-
cursor: pointer;
|
106 |
}
|
107 |
-
|
108 |
-
|
109 |
-
|
|
|
|
|
110 |
}
|
111 |
|
112 |
-
|
113 |
-
|
114 |
-
|
115 |
-
|
116 |
-
|
117 |
-
opacity: 0.7;
|
118 |
}
|
119 |
|
120 |
-
|
121 |
-
|
122 |
}
|
123 |
|
124 |
-
|
125 |
-
|
126 |
-
|
127 |
-
|
128 |
-
40% {
|
129 |
-
transform: scale(1);
|
130 |
-
}
|
131 |
}
|
132 |
|
133 |
-
|
134 |
-
|
135 |
-
|
136 |
-
|
137 |
-
|
138 |
-
|
139 |
-
animation: bounce 1.4s infinite ease-in-out both;
|
140 |
}
|
141 |
|
142 |
-
|
143 |
-
|
|
|
144 |
}
|
145 |
-
|
146 |
-
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
147 |
}
|
148 |
-
|
149 |
-
|
|
|
|
|
150 |
}
|
151 |
|
152 |
-
|
153 |
-
|
154 |
-
|
155 |
-
transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
|
156 |
-
display: flex;
|
157 |
-
justify-content: space-around;
|
158 |
}
|
159 |
|
160 |
-
|
161 |
-
|
162 |
-
|
|
|
|
|
|
|
|
|
163 |
}
|
164 |
|
165 |
-
|
166 |
-
|
167 |
-
|
|
|
|
|
|
|
|
|
168 |
}
|
169 |
|
170 |
-
|
171 |
-
|
|
|
|
|
|
|
|
|
172 |
}
|
173 |
|
174 |
-
|
175 |
-
|
176 |
-
display: block;
|
177 |
}
|
178 |
|
179 |
-
.
|
180 |
-
|
181 |
-
flex-direction: column;
|
182 |
-
align-items: center;
|
183 |
-
text-align: center;
|
184 |
}
|
185 |
|
186 |
-
|
187 |
-
|
188 |
-
|
|
|
|
|
|
|
189 |
}
|
190 |
|
|
|
191 |
#chatContainer {
|
192 |
-
|
193 |
-
|
194 |
}
|
|
|
27 |
--aqua: #8ec07c;
|
28 |
}
|
29 |
|
30 |
+
/* Base Styling */
|
31 |
body {
|
32 |
background-color: var(--bg0);
|
33 |
color: var(--fg0);
|
|
|
59 |
color: var(--fg0) !important;
|
60 |
}
|
61 |
|
62 |
+
/* === Config Panel Behavior === */
|
63 |
+
#configPanel {
|
64 |
+
max-height: 1000px;
|
65 |
overflow: visible;
|
66 |
+
transition: max-height 0.5s ease, padding 0.5s ease, opacity 0.5s ease;
|
67 |
+
display: flex;
|
68 |
+
flex-direction: column;
|
69 |
+
gap: 1rem;
|
70 |
}
|
71 |
|
72 |
+
#configPanel.minimal .model-label,
|
73 |
+
#configPanel.minimal .dropdown,
|
74 |
+
#configPanel.minimal .options {
|
75 |
+
display: none !important;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
76 |
}
|
77 |
|
78 |
+
#configPanel.minimal .model-name {
|
79 |
+
display: block;
|
80 |
+
font-weight: bold;
|
81 |
+
margin-top: 0.25rem;
|
82 |
+
text-align: center;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
83 |
}
|
84 |
+
|
85 |
+
#configPanel.minimal .loader {
|
86 |
+
display: none;
|
|
|
|
|
87 |
}
|
88 |
+
|
89 |
+
#configPanel.minimal .model-zone.loading .loader {
|
90 |
+
display: flex;
|
91 |
+
justify-content: center;
|
92 |
+
margin-top: 0.5rem;
|
93 |
}
|
94 |
|
95 |
+
/* Expanded mode: show everything */
|
96 |
+
#configPanel.expanded .model-label,
|
97 |
+
#configPanel.expanded .dropdown,
|
98 |
+
#configPanel.expanded .model-name {
|
99 |
+
display: block;
|
|
|
100 |
}
|
101 |
|
102 |
+
#configPanel.expanded .loader {
|
103 |
+
display: none;
|
104 |
}
|
105 |
|
106 |
+
#configPanel.expanded .model-zone.loading .loader {
|
107 |
+
display: flex;
|
108 |
+
justify-content: center;
|
109 |
+
margin-top: 0.5rem;
|
|
|
|
|
|
|
110 |
}
|
111 |
|
112 |
+
/* Model zone layout */
|
113 |
+
.model-zone {
|
114 |
+
display: flex;
|
115 |
+
flex-direction: column;
|
116 |
+
align-items: center;
|
117 |
+
text-align: center;
|
|
|
118 |
}
|
119 |
|
120 |
+
/* Dropdown */
|
121 |
+
.model-dropdown {
|
122 |
+
width: 100%;
|
123 |
}
|
124 |
+
|
125 |
+
.options {
|
126 |
+
background-color: var(--bg-statusline1);
|
127 |
+
color: var(--fg0);
|
128 |
+
box-shadow: 0 4px 8px rgba(0,0,0,0.25);
|
129 |
+
border-radius: 0.5rem;
|
130 |
+
max-height: 200px;
|
131 |
+
overflow-y: auto;
|
132 |
+
position: absolute;
|
133 |
+
z-index: 9999;
|
134 |
+
margin-top: 0.5rem;
|
135 |
}
|
136 |
+
|
137 |
+
.options div {
|
138 |
+
padding: 0.5rem;
|
139 |
+
cursor: pointer;
|
140 |
}
|
141 |
|
142 |
+
.options div:hover {
|
143 |
+
background-color: var(--blue);
|
144 |
+
color: var(--fg1);
|
|
|
|
|
|
|
145 |
}
|
146 |
|
147 |
+
/* Loader dots */
|
148 |
+
.loader {
|
149 |
+
display: flex;
|
150 |
+
justify-content: center;
|
151 |
+
align-items: center;
|
152 |
+
flex-direction: row;
|
153 |
+
gap: 0.5rem;
|
154 |
}
|
155 |
|
156 |
+
@keyframes bounce {
|
157 |
+
0%, 80%, 100% {
|
158 |
+
transform: scale(0);
|
159 |
+
}
|
160 |
+
40% {
|
161 |
+
transform: scale(1);
|
162 |
+
}
|
163 |
}
|
164 |
|
165 |
+
.dot {
|
166 |
+
width: 8px;
|
167 |
+
height: 8px;
|
168 |
+
background-color: var(--aqua);
|
169 |
+
border-radius: 50%;
|
170 |
+
animation: bounce 1.4s infinite ease-in-out both;
|
171 |
}
|
172 |
|
173 |
+
.animation-delay-150 {
|
174 |
+
animation-delay: 0.15s;
|
|
|
175 |
}
|
176 |
|
177 |
+
.animation-delay-300 {
|
178 |
+
animation-delay: 0.3s;
|
|
|
|
|
|
|
179 |
}
|
180 |
|
181 |
+
/* Footer */
|
182 |
+
footer {
|
183 |
+
margin-top: 1rem;
|
184 |
+
font-size: 0.875rem;
|
185 |
+
color: var(--fg1);
|
186 |
+
opacity: 0.7;
|
187 |
}
|
188 |
|
189 |
+
/* Chat container */
|
190 |
#chatContainer {
|
191 |
+
position: relative;
|
192 |
+
z-index: 0;
|
193 |
}
|