|
23 | 23 | } |
24 | 24 |
|
25 | 25 | .acp-pane-empty-action { |
26 | | - background: rgba(255, 255, 255, 0.03); |
| 26 | + appearance: none; |
| 27 | + -webkit-appearance: none; |
| 28 | + box-sizing: border-box; |
| 29 | + border: 1px solid var(--theme-border, #4a4a4a); |
| 30 | + background: var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))); |
| 31 | + color: var(--theme-tab-foreground, #b2b2b2); |
27 | 32 | cursor: pointer; |
28 | 33 | font-size: 12px; |
29 | 34 | font-weight: 450; |
30 | | - padding: 7px 12px; |
| 35 | + padding: 8px 10px; |
31 | 36 | border-radius: 8px; |
32 | | - transition: background-color 0.2s, color 0.2s, border-color 0.2s; |
33 | 37 | line-height: 1.1; |
34 | | - max-width: 100%; |
35 | | - overflow: hidden; |
36 | | - text-overflow: ellipsis; |
| 38 | + flex: 1 1 140px; |
| 39 | + max-width: 160px; |
| 40 | + text-align: center; |
37 | 41 | white-space: nowrap; |
38 | 42 | } |
39 | 43 |
|
40 | 44 | .acp-pane-empty-action:hover { |
41 | | - background-color: rgba(255, 255, 255, 0.08); |
42 | | - border-color: rgba(255, 255, 255, 0.22); |
43 | | - color: #ffffff; |
| 45 | + background: color-mix( |
| 46 | + in srgb, |
| 47 | + var(--theme-accent-background, #007acc) 12%, |
| 48 | + var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))) |
| 49 | + ); |
| 50 | + color: var(--theme-foreground, var(--foreground-color, #f0f0f0)); |
| 51 | + border-color: color-mix( |
| 52 | + in srgb, |
| 53 | + var(--theme-accent-background, #007acc) 35%, |
| 54 | + var(--theme-border, #4a4a4a) |
| 55 | + ); |
| 56 | +} |
| 57 | + |
| 58 | +.acp-pane-empty-action:focus { |
| 59 | + outline: none; |
| 60 | +} |
| 61 | + |
| 62 | +.acp-pane-empty-action:focus-visible { |
| 63 | + outline: 2px solid var(--theme-accent-background, #007acc); |
| 64 | + outline-offset: 2px; |
| 65 | + background: color-mix( |
| 66 | + in srgb, |
| 67 | + var(--theme-accent-background, #007acc) 16%, |
| 68 | + var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))) |
| 69 | + ); |
| 70 | + color: var(--theme-foreground, var(--foreground-color, #f0f0f0)); |
| 71 | +} |
| 72 | + |
| 73 | +.acp-pane-empty-action:active { |
| 74 | + transform: translateY(1px); |
| 75 | +} |
| 76 | + |
| 77 | +.acp-pane-empty-action, |
| 78 | +.acp-pane-settings-btn { |
| 79 | + max-width: 100%; |
| 80 | + overflow: hidden; |
| 81 | + text-overflow: ellipsis; |
44 | 82 | } |
45 | 83 |
|
46 | 84 | .acp-pane-opened-agents { |
|
51 | 89 |
|
52 | 90 | .acp-pane-opened-agents-title { |
53 | 91 | font-size: 12px; |
54 | | - color: #c8ccd2; |
| 92 | + color: var(--theme-muted-foreground, var(--text-color-secondary, #8f8f8f)); |
55 | 93 | margin-bottom: 5px; |
56 | 94 | letter-spacing: 0.01em; |
57 | 95 | font-weight: 500; |
|
65 | 103 | } |
66 | 104 |
|
67 | 105 | .acp-pane-opened-agent { |
68 | | - border-color: rgba(112, 233, 189, 0.38); |
69 | | - background: rgba(112, 233, 189, 0.1); |
70 | | - color: #b8f0dc; |
| 106 | + border-color: color-mix(in srgb, var(--theme-accent-background, #007acc) 38%, var(--theme-border, #4a4a4a)); |
| 107 | + background: color-mix( |
| 108 | + in srgb, |
| 109 | + var(--theme-accent-background, #007acc) 10%, |
| 110 | + var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))) |
| 111 | + ); |
| 112 | + color: var(--theme-accent-background, var(--theme-foreground, #7ec8ff)); |
71 | 113 | } |
72 | 114 |
|
73 | 115 | .acp-pane-opened-agent-item { |
|
80 | 122 | .acp-pane-close-button { |
81 | 123 | opacity: 0; |
82 | 124 | pointer-events: none; |
83 | | - color: #8ea0ad; |
| 125 | + color: var(--theme-muted-foreground, var(--text-color-secondary, #8ea0ad)); |
84 | 126 | font-size: 20px; |
85 | 127 | line-height: 1; |
86 | 128 | width: 20px; |
|
98 | 140 | } |
99 | 141 |
|
100 | 142 | .acp-pane-close-button:hover { |
101 | | - color: #eef7ff; |
| 143 | + color: var(--theme-accent-background, var(--theme-foreground, #eef7ff)); |
102 | 144 | background: transparent; |
103 | 145 | } |
104 | 146 |
|
|
109 | 151 | } |
110 | 152 |
|
111 | 153 | .acp-pane-start-agents-title { |
112 | | - color: #8f8f8f; |
| 154 | + color: var(--theme-muted-foreground, var(--text-color-secondary, #8f8f8f)); |
113 | 155 | text-transform: uppercase; |
114 | 156 | font-size: 12px; |
115 | 157 | letter-spacing: 0.08em; |
116 | 158 | margin-bottom: 6px; |
117 | 159 | } |
118 | 160 |
|
119 | 161 | .acp-pane-settings-btn { |
120 | | - border: 1px solid rgba(255, 255, 255, 0.12); |
121 | | - background: rgba(255, 255, 255, 0.03); |
122 | | - color: var(--text-color, #cfd3d8); |
| 162 | + appearance: none; |
| 163 | + -webkit-appearance: none; |
| 164 | + box-sizing: border-box; |
| 165 | + border: 1px solid var(--theme-border, #4a4a4a); |
| 166 | + background: var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))); |
| 167 | + color: var(--theme-tab-foreground, #b2b2b2); |
123 | 168 | font-size: 12px; |
124 | 169 | line-height: 1; |
125 | | - padding: 7px 12px; |
126 | | - border-radius: 10px; |
| 170 | + padding: 8px 10px; |
| 171 | + border-radius: 8px; |
127 | 172 | cursor: pointer; |
128 | | - transition: background-color 0.2s, color 0.2s, border-color 0.2s; |
| 173 | + width: min(140px, 100%); |
129 | 174 | } |
130 | 175 |
|
131 | 176 | .acp-pane-settings-btn:hover { |
132 | | - background-color: rgba(255, 255, 255, 0.08); |
133 | | - border-color: rgba(255, 255, 255, 0.22); |
134 | | - color: #ffffff; |
| 177 | + background: color-mix( |
| 178 | + in srgb, |
| 179 | + var(--theme-accent-background, #007acc) 12%, |
| 180 | + var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))) |
| 181 | + ); |
| 182 | + color: var(--theme-foreground, var(--foreground-color, #f0f0f0)); |
| 183 | + border-color: color-mix( |
| 184 | + in srgb, |
| 185 | + var(--theme-accent-background, #007acc) 35%, |
| 186 | + var(--theme-border, #4a4a4a) |
| 187 | + ); |
| 188 | +} |
| 189 | + |
| 190 | +.acp-pane-settings-btn:focus { |
| 191 | + outline: none; |
| 192 | +} |
| 193 | + |
| 194 | +.acp-pane-settings-btn:focus-visible { |
| 195 | + outline: 2px solid var(--theme-accent-background, #007acc); |
| 196 | + outline-offset: 2px; |
| 197 | + background: color-mix( |
| 198 | + in srgb, |
| 199 | + var(--theme-accent-background, #007acc) 16%, |
| 200 | + var(--theme-tab-background, var(--theme-background, var(--background-color, #242424))) |
| 201 | + ); |
| 202 | + color: var(--theme-foreground, var(--foreground-color, #f0f0f0)); |
| 203 | +} |
| 204 | + |
| 205 | +.acp-pane-settings-btn:active { |
| 206 | + transform: translateY(1px); |
135 | 207 | } |
136 | 208 |
|
137 | 209 | .acp-pane-settings-wrap { |
138 | 210 | margin-top: 10px; |
139 | 211 | padding-top: 10px; |
140 | 212 | display: flex; |
141 | 213 | justify-content: center; |
| 214 | + width: 100%; |
142 | 215 | } |
143 | 216 |
|
144 | 217 | @media (max-width: 768px) { |
|
0 commit comments