UntilDot commited on
Commit
de26570
·
verified ·
1 Parent(s): 1f909b5

Update static/style.css

Browse files
Files changed (1) hide show
  1. static/style.css +19 -38
static/style.css CHANGED
@@ -27,7 +27,6 @@
27
  --aqua: #8ec07c;
28
  }
29
 
30
- /* Base Styling */
31
  body {
32
  background-color: var(--bg0);
33
  color: var(--fg0);
@@ -59,7 +58,6 @@ button:hover {
59
  color: var(--fg0) !important;
60
  }
61
 
62
- /* === Custom Dropdown Styles === */
63
  .dropdown {
64
  position: relative;
65
  overflow: visible;
@@ -71,7 +69,7 @@ button:hover {
71
  top: 100%;
72
  left: 50%;
73
  transform: translateX(-50%);
74
- width: 220px;
75
  z-index: 9999;
76
  background-color: var(--bg-statusline1) !important;
77
  color: var(--fg0);
@@ -82,10 +80,9 @@ button:hover {
82
  scrollbar-color: #665c54 var(--bg-statusline1);
83
  border-radius: 0.5rem;
84
  white-space: nowrap;
85
- text-align: left;
86
  }
87
 
88
- /* Scrollbar WebKit */
89
  .options::-webkit-scrollbar {
90
  width: 8px;
91
  }
@@ -109,10 +106,9 @@ button:hover {
109
  }
110
  .options div {
111
  padding: 0.5rem 0.75rem;
112
- text-align: left;
113
  }
114
 
115
- /* Footer (Credits) */
116
  footer {
117
  margin-top: 1rem;
118
  padding-top: 1rem;
@@ -125,7 +121,6 @@ form#chatForm {
125
  margin-bottom: 0.5rem;
126
  }
127
 
128
- /* === Loader Dots Animation === */
129
  @keyframes bounce {
130
  0%, 80%, 100% {
131
  transform: scale(0);
@@ -154,7 +149,6 @@ form#chatForm {
154
  background-color: var(--aqua);
155
  }
156
 
157
- /* === Config Panel Behavior === */
158
  #configPanel {
159
  max-height: 1000px;
160
  overflow: visible;
@@ -163,48 +157,35 @@ form#chatForm {
163
  justify-content: space-around;
164
  }
165
 
166
- .model-zone {
167
- display: flex;
168
- flex-direction: column;
169
- align-items: center;
170
- text-align: center;
171
- }
172
-
173
- /* --- Minimal Mode --- */
174
- #configPanel.minimal .model-label,
175
- #configPanel.minimal .dropdown {
176
  display: none;
177
  }
178
 
179
- #configPanel.minimal .model-name {
180
- display: block;
181
- font-weight: bold;
182
- margin-top: 0.25rem;
183
  }
184
 
185
- #configPanel.minimal .loader {
186
  display: none;
187
- justify-content: center;
188
- margin-top: 0.25rem;
189
  }
190
 
191
- #configPanel.minimal .model-zone.loading .loader {
192
- display: flex;
193
- }
194
-
195
- /* --- Expanded Mode --- */
196
- #configPanel.expanded .model-label,
197
- #configPanel.expanded .dropdown,
198
- #configPanel.expanded .model-name {
199
  display: block;
200
  }
201
 
202
- #configPanel.expanded .loader {
203
- display: none;
 
 
 
204
  }
205
 
206
- #configPanel.expanded .model-zone.loading .loader {
207
- display: flex;
 
208
  }
209
 
210
  #chatContainer {
 
27
  --aqua: #8ec07c;
28
  }
29
 
 
30
  body {
31
  background-color: var(--bg0);
32
  color: var(--fg0);
 
58
  color: var(--fg0) !important;
59
  }
60
 
 
61
  .dropdown {
62
  position: relative;
63
  overflow: visible;
 
69
  top: 100%;
70
  left: 50%;
71
  transform: translateX(-50%);
72
+ width: 240px;
73
  z-index: 9999;
74
  background-color: var(--bg-statusline1) !important;
75
  color: var(--fg0);
 
80
  scrollbar-color: #665c54 var(--bg-statusline1);
81
  border-radius: 0.5rem;
82
  white-space: nowrap;
83
+ text-align: center;
84
  }
85
 
 
86
  .options::-webkit-scrollbar {
87
  width: 8px;
88
  }
 
106
  }
107
  .options div {
108
  padding: 0.5rem 0.75rem;
109
+ text-align: center;
110
  }
111
 
 
112
  footer {
113
  margin-top: 1rem;
114
  padding-top: 1rem;
 
121
  margin-bottom: 0.5rem;
122
  }
123
 
 
124
  @keyframes bounce {
125
  0%, 80%, 100% {
126
  transform: scale(0);
 
149
  background-color: var(--aqua);
150
  }
151
 
 
152
  #configPanel {
153
  max-height: 1000px;
154
  overflow: visible;
 
157
  justify-content: space-around;
158
  }
159
 
160
+ #configPanel.minimal .model-zone .model-label,
161
+ #configPanel.minimal .model-zone .dropdown {
 
 
 
 
 
 
 
 
162
  display: none;
163
  }
164
 
165
+ #configPanel.minimal .model-zone .model-name,
166
+ #configPanel.minimal .model-zone .loader {
167
+ display: inline-block;
 
168
  }
169
 
170
+ #configPanel.expanded .model-zone .model-name {
171
  display: none;
 
 
172
  }
173
 
174
+ #configPanel.expanded .model-zone .model-label,
175
+ #configPanel.expanded .model-zone .dropdown {
 
 
 
 
 
 
176
  display: block;
177
  }
178
 
179
+ .model-zone {
180
+ display: flex;
181
+ flex-direction: column;
182
+ align-items: center;
183
+ text-align: center;
184
  }
185
 
186
+ .model-name {
187
+ font-weight: bold;
188
+ padding: 0.5rem 0;
189
  }
190
 
191
  #chatContainer {