Skip to content

Commit 71cfa06

Browse files
Akos Kittakittaakos
Akos Kitta
authored andcommitted
ATL-878: Fixed boards dropdown with the HC theme.
Signed-off-by: Akos Kitta <[email protected]>
1 parent 68b1f8d commit 71cfa06

File tree

2 files changed

+6
-2
lines changed

2 files changed

+6
-2
lines changed

arduino-ide-extension/src/browser/style/boards-config-dialog.css

Lines changed: 5 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -203,12 +203,14 @@ button.theia-button.main {
203203
width: 100%;
204204
overflow: hidden;
205205
margin: 0px 3px 0px 3px;
206+
border: 1px solid var(--theia-dropdown-border);
206207
}
207208

208209
.arduino-boards-dropdown-list {
209210
border: 3px solid var(--theia-activityBar-background);
210-
margin: -3px;
211+
margin: -1px;
211212
z-index: 1;
213+
border: 1px solid var(--theia-dropdown-border);
212214
}
213215

214216
.arduino-boards-dropdown-item {
@@ -218,6 +220,7 @@ button.theia-button.main {
218220
cursor: pointer;
219221
color: var(--theia-foreground);
220222
background: var(--theia-tab-unfocusedActiveBackground);
223+
border: 1px solid var(--theia-tab-unfocusedActiveBackground);
221224
}
222225

223226
.arduino-boards-dropdown-item .fa-check {
@@ -227,5 +230,5 @@ button.theia-button.main {
227230

228231
.arduino-boards-dropdown-item.selected,
229232
.arduino-boards-dropdown-item:hover {
230-
background: var(--theia-list-hoverBackground);
233+
border: 1px solid var(--theia-focusBorder);
231234
}

arduino-ide-extension/src/browser/widgets/arduino-select.tsx

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -51,6 +51,7 @@ export class ArduinoSelect<T> extends Select<T> {
5151
const DropdownIndicator = () => <span className='fa fa-caret-down caret' />;
5252
return <Select
5353
{...this.props}
54+
className='theia-select'
5455
components={{ DropdownIndicator }}
5556
theme={theme}
5657
styles={styles}

0 commit comments

Comments
 (0)