Let CSS do the uppercase transformation.

Expose no implementation details to translation files.

Signed-off-by: Akos Kitta <a.kitta@arduino.cc>
This commit is contained in:
Akos Kitta
2022-10-04 13:48:55 +02:00
committed by Akos Kitta
parent 99b10942bb
commit 87ebcbe77e
5 changed files with 12 additions and 13 deletions

View File

@@ -137,6 +137,9 @@ button.secondary[disabled], .theia-button.secondary[disabled] {
font-size: 14px;
}
.uppercase {
text-transform: uppercase;
}
/* High Contrast Theme rules */
/* TODO: Remove it when the Theia version is upgraded to 1.27.0 and use Theia APIs to implement it*/

View File

@@ -112,14 +112,12 @@
max-height: calc(1em + 4px);
color: var(--theia-button-foreground);
content: attr(install);
text-transform: uppercase;
}
.component-list-item .header .installed:hover:before {
background-color: var(--theia-button-foreground);
color: var(--theia-button-background);
content: attr(uninstall);
text-transform: uppercase;
}
.component-list-item[min-width~="170px"] .footer {