|
29 | 29 | background-color: var(--vscode-panel-background); |
30 | 30 | overflow: hidden; |
31 | 31 |
|
32 | | - &:focus:not(:focus-visible) { |
| 32 | + &:focus { |
| 33 | + outline: none !important; |
| 34 | + } |
| 35 | + |
| 36 | + &:focus-visible, |
| 37 | + &:focus-within { |
| 38 | + border-color: var(--vscode-focusBorder); |
| 39 | + } |
| 40 | + |
| 41 | + .chat-tool-carousel-content .chat-confirmation-widget-container:focus { |
33 | 42 | outline: none; |
34 | 43 | } |
35 | 44 |
|
|
93 | 102 | margin-left: auto; |
94 | 103 | } |
95 | 104 |
|
96 | | - button:focus:not(:focus-visible), |
97 | | - .monaco-button:focus:not(:focus-visible) { |
98 | | - outline: none !important; |
99 | | - box-shadow: none !important; |
100 | | - } |
101 | | - |
102 | | - .chat-tool-carousel-nav-arrows { |
103 | | - display: flex; |
104 | | - align-items: center; |
105 | | - } |
106 | | - |
107 | | - .monaco-button.chat-tool-carousel-nav-arrow { |
| 105 | + .monaco-button.chat-tool-carousel-dismiss-button { |
108 | 106 | min-width: 22px; |
109 | 107 | width: 22px; |
110 | 108 | height: 22px; |
111 | 109 | padding: 0; |
112 | 110 | border: none !important; |
113 | 111 | box-shadow: none !important; |
114 | 112 | background: transparent !important; |
115 | | - color: var(--vscode-foreground) !important; |
| 113 | + color: var(--vscode-icon-foreground) !important; |
| 114 | + cursor: pointer; |
| 115 | + display: flex; |
| 116 | + align-items: center; |
| 117 | + justify-content: center; |
116 | 118 | } |
117 | 119 |
|
118 | | - .monaco-button.chat-tool-carousel-nav-arrow:hover:not(.disabled) { |
| 120 | + .monaco-button.chat-tool-carousel-dismiss-button:hover { |
119 | 121 | background: var(--vscode-toolbar-hoverBackground) !important; |
120 | 122 | } |
121 | 123 |
|
122 | | - .monaco-button.chat-tool-carousel-nav-arrow.disabled { |
123 | | - opacity: 0.4; |
| 124 | + button:focus, |
| 125 | + .monaco-button:focus { |
| 126 | + outline: none !important; |
| 127 | + box-shadow: none !important; |
124 | 128 | } |
125 | 129 |
|
126 | | - .monaco-button.chat-tool-carousel-header-button { |
| 130 | + .chat-tool-carousel-nav-arrows { |
| 131 | + display: flex; |
| 132 | + align-items: center; |
| 133 | + } |
| 134 | + |
| 135 | + .monaco-button.chat-tool-carousel-nav-arrow { |
127 | 136 | min-width: 22px; |
128 | 137 | width: 22px; |
129 | 138 | height: 22px; |
130 | 139 | padding: 0; |
131 | 140 | border: none !important; |
132 | 141 | box-shadow: none !important; |
133 | 142 | background: transparent !important; |
134 | | - color: var(--vscode-icon-foreground) !important; |
135 | | - cursor: pointer; |
136 | | - display: flex; |
137 | | - align-items: center; |
138 | | - justify-content: center; |
| 143 | + color: var(--vscode-foreground) !important; |
139 | 144 | } |
140 | 145 |
|
141 | | - .monaco-button.chat-tool-carousel-header-button:hover:not(.disabled) { |
| 146 | + .monaco-button.chat-tool-carousel-nav-arrow:hover:not(.disabled) { |
142 | 147 | background: var(--vscode-toolbar-hoverBackground) !important; |
143 | 148 | } |
144 | 149 |
|
145 | | - &.chat-tool-carousel-content-expanded { |
146 | | - max-height: min(650px, 70vh); |
| 150 | + .monaco-button.chat-tool-carousel-nav-arrow.disabled { |
| 151 | + opacity: 0.4; |
147 | 152 | } |
148 | 153 |
|
149 | | - &.chat-tool-carousel-collapsed { |
150 | | - .chat-tool-carousel-content { |
151 | | - display: none; |
152 | | - } |
153 | | - |
154 | | - .chat-tool-carousel-overlay { |
155 | | - padding: 6px 10px 6px 12px; |
156 | | - border-bottom: none; |
157 | | - } |
158 | | - |
159 | | - .chat-tool-carousel-title-group { |
160 | | - flex: 1; |
161 | | - } |
162 | | - |
163 | | - .chat-tool-carousel-nav-arrows, |
164 | | - .chat-tool-carousel-step-indicator { |
165 | | - display: none; |
166 | | - } |
| 154 | + .monaco-list:focus { |
| 155 | + outline: none !important; |
167 | 156 | } |
168 | 157 |
|
169 | 158 | .chat-tool-carousel-content { |
|
230 | 219 | background-color: var(--vscode-sideBar-background); |
231 | 220 | } |
232 | 221 |
|
233 | | - .chat-tool-carousel-content-expanded & { |
234 | | - .chat-confirmation-widget-message { |
235 | | - max-height: min(500px, 55vh); |
236 | | - } |
237 | | - } |
238 | | - |
239 | 222 | .chat-buttons-container { |
240 | 223 | flex-shrink: 0; |
241 | 224 | } |
|
0 commit comments