|
16 | 16 | padding: 0 0 var(--padding-8px) 0; |
17 | 17 | } |
18 | 18 |
|
19 | | -.header { |
20 | | - display: flex; |
21 | | - justify-content: space-between; |
22 | | - align-items: center; |
23 | | - padding: var(--padding-3px) var(--padding-12px) var(--padding-4px) |
24 | | - var(--padding-12px); |
25 | | - gap: var(--padding-12px); |
26 | | - |
27 | | - &__left { |
28 | | - display: flex; |
29 | | - align-items: center; |
30 | | - gap: var(--padding-4px); |
31 | | - |
32 | | - &__home-view-type { |
33 | | - font-weight: 600; |
34 | | - } |
35 | | - |
36 | | - &__toggler { |
37 | | - font-weight: 600; |
38 | | - display: flex; |
39 | | - align-items: center; |
40 | | - justify-content: center; |
41 | | - border-radius: var(--border-radius-5px); |
42 | | - --padding: var(--padding-6px); |
43 | | - padding: 0 var(--padding); |
44 | | - margin: 0 calc(var(--padding) * -1); |
45 | | - height: 20px; |
46 | | - color: var(--vscode-icon-foreground); |
47 | | - white-space: nowrap; |
48 | | - |
49 | | - &:focus { |
50 | | - outline: none; |
51 | | - } |
52 | | - |
53 | | - &:hover { |
54 | | - background-color: var(--vscode-toolbar-hoverBackground); |
55 | | - } |
56 | | - } |
57 | | - } |
58 | | - |
59 | | - &__right { |
60 | | - flex: 1; |
61 | | - display: flex; |
62 | | - align-items: center; |
63 | | - gap: var(--padding-8px); |
64 | | - |
65 | | - &__dropdown { |
66 | | - width: 100%; |
67 | | - } |
68 | | - |
69 | | - &__settings { |
70 | | - display: flex; |
71 | | - align-items: center; |
72 | | - justify-content: center; |
73 | | - flex-shrink: 0; |
74 | | - --size: 20px; |
75 | | - width: var(--size); |
76 | | - height: var(--size); |
77 | | - color: var(--vscode-icon-foreground); |
78 | | - cursor: pointer; |
79 | | - text-decoration: none; |
80 | | - background: none; |
81 | | - border: none; |
82 | | - padding: 0; |
83 | | - border-radius: var(--border-radius-5px); |
84 | | - |
85 | | - &:hover { |
86 | | - background-color: var(--vscode-toolbar-hoverBackground); |
87 | | - > span { |
88 | | - animation: rotate 4s linear infinite; |
89 | | - } |
90 | | - } |
91 | | - } |
92 | | - } |
93 | | -} |
94 | | - |
95 | 19 | .responses { |
96 | 20 | margin: 0 var(--padding-16px); |
97 | 21 | display: flex; |
|
158 | 82 | } |
159 | 83 | } |
160 | 84 |
|
161 | | -.footer { |
162 | | - position: relative; |
163 | | - z-index: -1; // Makes context menu of a preset appear above |
164 | | - display: flex; |
165 | | - justify-content: space-between; |
166 | | - gap: var(--padding-4px); |
167 | | - padding: var(--padding-8px) var(--padding-12px); |
168 | | - border-top: 1px solid var(--vscode-sideBarSectionHeader-border); |
169 | | - |
170 | | - &__right { |
171 | | - display: flex; |
172 | | - gap: var(--padding-4px); |
173 | | - } |
174 | | - |
175 | | - &__button { |
176 | | - display: flex; |
177 | | - align-items: center; |
178 | | - flex-shrink: 0; |
179 | | - gap: var(--padding-4px); |
180 | | - height: 24px; |
181 | | - padding: 0 var(--padding-5px); |
182 | | - border-radius: var(--border-radius-4px); |
183 | | - color: var(--vscode-foreground); |
184 | | - |
185 | | - &:disabled { |
186 | | - opacity: var(--disabled-opacity); |
187 | | - } |
188 | | - |
189 | | - > svg { |
190 | | - flex-shrink: 0; |
191 | | - fill: var(--vscode-icon-foreground); |
192 | | - width: 16px; |
193 | | - height: 16px; |
194 | | - } |
195 | | - |
196 | | - &--buy-me-a-coffee { |
197 | | - background-color: #f7d600; |
198 | | - transition: transform var(--transition-duration-150) |
199 | | - var(--transition-timing-function); |
200 | | - |
201 | | - &:hover { |
202 | | - transform: scale(0.95); |
203 | | - } |
204 | | - |
205 | | - > svg { |
206 | | - fill: black; |
207 | | - } |
208 | | - } |
209 | | - |
210 | | - &--filled { |
211 | | - background-color: var(--vscode-list-hoverBackground); |
212 | | - &:hover { |
213 | | - background-color: var(--vscode-toolbar-hoverBackground); |
214 | | - } |
215 | | - } |
216 | | - |
217 | | - &--outlined { |
218 | | - border: 1px solid var(--vscode-commandCenter-inactiveBorder); |
219 | | - &:hover:not(:disabled) { |
220 | | - border-color: var(--vscode-commandCenter-activeBorder); |
221 | | - } |
222 | | - } |
223 | | - } |
224 | | - |
225 | | - &__heart { |
226 | | - position: absolute; |
227 | | - z-index: 11; |
228 | | - bottom: 32px; |
229 | | - animation-name: float-up; |
230 | | - animation-timing-function: ease-out; |
231 | | - animation-fill-mode: forwards; |
232 | | - pointer-events: none; |
233 | | - opacity: 0; |
234 | | - } |
235 | | -} |
236 | | - |
237 | | -@keyframes float-up { |
238 | | - from { |
239 | | - transform: translateY(0); |
240 | | - opacity: 0; |
241 | | - } |
242 | | - 10% { |
243 | | - opacity: 1; |
244 | | - } |
245 | | - 40% { |
246 | | - opacity: 1; |
247 | | - } |
248 | | - to { |
249 | | - transform: translateY(-40px); |
250 | | - opacity: 0; |
251 | | - } |
252 | | -} |
253 | | - |
254 | 85 | .chat-input-container { |
255 | 86 | display: flex; |
256 | 87 | flex-direction: column; |
|
274 | 105 | padding: 0 var(--padding-16px); |
275 | 106 | position: relative; |
276 | 107 | } |
277 | | - |
278 | | -@keyframes rotate { |
279 | | - from { |
280 | | - transform: rotate(0deg); |
281 | | - } |
282 | | - to { |
283 | | - transform: rotate(360deg); |
284 | | - } |
285 | | -} |
0 commit comments