Skip to content

Commit 4646ba9

Browse files
certificate uploader dialog fix
1 parent c041a9c commit 4646ba9

File tree

1 file changed

+7
-11
lines changed

1 file changed

+7
-11
lines changed

arduino-ide-extension/src/browser/style/certificate-uploader-dialog.css

+7-11
Original file line numberDiff line numberDiff line change
@@ -7,17 +7,18 @@
77
}
88
.certificate-uploader-dialog .arduino-select__control {
99
height: 31px;
10-
background: var(--theia-menubar-selectionBackground) !important;
10+
background: var(--theia-dropdown-background) !important;
1111
}
1212

1313
.certificate-uploader-dialog .dialogRow > button{
1414
margin-right: 3px;
1515
}
1616

1717
.certificate-uploader-dialog .certificate-list {
18-
border: 1px solid #BDC7C7;
18+
border: 1px solid var(--theia-editorWidget-border);
1919
border-radius: 2px;;
20-
background: var(--theia-menubar-selectionBackground) !important;
20+
color: var(--theia-editor-foreground);
21+
background-color: var(--theia-editor-background);
2122
overflow: auto;
2223
height: 120px;
2324
flex: 1;
@@ -60,9 +61,10 @@
6061

6162
.certificate-add {
6263
padding: 16px;
63-
background-color: var(--theia-list-hoverBackground);
6464
border-radius: 3px;
65-
border: 1px solid #BDC7C7;
65+
border: 1px solid var(--theia-editorWidget-border);
66+
color: var(--theia-editorWidget-foreground);
67+
background-color: var(--theia-editorWidget-background);
6668
}
6769

6870
.certificate-add input {
@@ -72,9 +74,3 @@
7274
box-sizing: border-box;
7375

7476
}
75-
76-
/* High Contrast Theme rules */
77-
/* TODO: Remove it when the Theia version is upgraded to 1.27.0 and use Theia APIs to implement it*/
78-
.hc-black.hc-theia.theia-hc .certificate-add {
79-
background-color: var(--theia-editorWidget-background);
80-
}

0 commit comments

Comments
 (0)