HintPane 使用新版 Bootstrap 调色盘 (#4323)

This commit is contained in:
辞庐
2025-08-24 22:30:14 +08:00
committed by GitHub
parent 06b7b1e574
commit 91a613d966

View File

@@ -52,43 +52,43 @@
/*
Colors are picked from bootstrap
https://getbootstrap.com/docs/4.1/components/alerts/
https://getbootstrap.com/docs/5.3/components/alerts/
*/
.hint.info {
-fx-background-color: #cce5ff;
-fx-border-color: #b8daff;
-fx-background-color: #cfe2ff;
-fx-border-color: #9ec5fe;
}
.hint.info Text, .hint.info .svg {
-fx-fill: #004085;
-fx-fill: #052c65;
}
.hint.success {
-fx-background-color: #d4edda;
-fx-border-color: #c3e6cb;
-fx-background-color: #d1e7dd;
-fx-border-color: #a3cfbb;
}
.hint.success Text, .hint.success .svg {
-fx-fill: #155724;
-fx-fill: #0a3622;
}
.hint.error {
-fx-background-color: #f8d7da;
-fx-border-color: #f5c6cb;
-fx-border-color: #f1aeb5;
}
.hint.error Text, .hint.error .svg {
-fx-fill: #721c24;
-fx-fill: #58151c;
}
.hint.warning {
-fx-background-color: #fff3cd;
-fx-border-color: #ffeeba;
-fx-border-color: #ffe69c;
}
.hint.warning Text, .hint.warning .svg {
-fx-fill: #856404;
-fx-fill: #664d03;
}
.skin-pane .jfx-text-field {