[UX]: Fixed button styles with the HC theme.

Signed-off-by: Akos Kitta <kittaakos@typefox.io>
This commit is contained in:
Akos Kitta 2021-02-05 15:56:09 +01:00 committed by Akos Kitta
parent 57c50fefe3
commit 39b8a602c7
2 changed files with 25 additions and 12 deletions

View File

@ -135,18 +135,6 @@ div#select-board-dialog .selectBoardContainer .body .list .item.selected i {
width: 740px;
}
button.theia-button {
height: 31px;
}
button.theia-button.secondary {
background-color: var(--theia-secondaryButton-background);
color: var(--theia-foreground);
}
button.theia-button.main {
color: var(--theia-button-foreground);
}
.dialogControl {
margin: 0 20px 30px 0;

View File

@ -36,3 +36,28 @@
color: var(--theia-warningForeground);
background-color: var(--theia-warningBackground);
}
/* Overrule the default Theia CSS button styles. */
button.theia-button,
.theia-button {
border: 1px solid var(--theia-dropdown-border);
}
button.theia-button:hover,
.theia-button:hover {
border: 1px solid var(--theia-focusBorder);
}
button.theia-button {
height: 31px;
}
button.theia-button.secondary {
background-color: var(--theia-secondaryButton-background);
color: var(--theia-foreground);
}
button.theia-button.main {
color: var(--theia-button-foreground);
}