更新 placeholder 标签的颜色 (#5057)
This commit is contained in:
@@ -391,7 +391,7 @@ public final class MainPage extends StackPane implements DecoratorPage {
|
|||||||
Node contentNode;
|
Node contentNode;
|
||||||
if (menu.getContent().isEmpty()) {
|
if (menu.getContent().isEmpty()) {
|
||||||
Label placeholder = new Label(i18n("version.empty"));
|
Label placeholder = new Label(i18n("version.empty"));
|
||||||
placeholder.setStyle("-fx-padding: 10px; -fx-text-fill: gray; -fx-font-style: italic;");
|
placeholder.setStyle("-fx-padding: 10px; -fx-text-fill: -monet-on-surface-variant; -fx-font-style: italic;");
|
||||||
contentNode = placeholder;
|
contentNode = placeholder;
|
||||||
} else {
|
} else {
|
||||||
contentNode = menu;
|
contentNode = menu;
|
||||||
|
|||||||
@@ -267,7 +267,7 @@ public class RootPage extends DecoratorAnimatedPage implements DecoratorPage {
|
|||||||
|
|
||||||
if (Accounts.getAccounts().isEmpty()) {
|
if (Accounts.getAccounts().isEmpty()) {
|
||||||
Label placeholder = new Label(i18n("account.empty"));
|
Label placeholder = new Label(i18n("account.empty"));
|
||||||
placeholder.setStyle("-fx-padding: 10px; -fx-text-fill: gray; -fx-font-style: italic;");
|
placeholder.setStyle("-fx-padding: 10px; -fx-text-fill: -monet-on-surface-variant; -fx-font-style: italic;");
|
||||||
scrollPane.add(placeholder);
|
scrollPane.add(placeholder);
|
||||||
} else {
|
} else {
|
||||||
for (Account account : Accounts.getAccounts()) {
|
for (Account account : Accounts.getAccounts()) {
|
||||||
|
|||||||
Reference in New Issue
Block a user