You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@causeway.apache.org by ah...@apache.org on 2023/08/04 11:51:03 UTC
[causeway] branch master updated: CAUSEWAY-3551: toast text color fixes, when using default theme
This is an automated email from the ASF dual-hosted git repository.
ahuber pushed a commit to branch master
in repository https://gitbox.apache.org/repos/asf/causeway.git
The following commit(s) were added to refs/heads/master by this push:
new 3090cef2ab CAUSEWAY-3551: toast text color fixes, when using default theme
3090cef2ab is described below
commit 3090cef2abc4c3962a54f054c6a341cc83bcccc0
Author: Andi Huber <ah...@apache.org>
AuthorDate: Fri Aug 4 13:50:59 2023 +0200
CAUSEWAY-3551: toast text color fixes, when using default theme
---
.../common/bootstrap/css/bootstrap-overrides-all-v2.css | 15 +++++++++++++++
1 file changed, 15 insertions(+)
diff --git a/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/pages/common/bootstrap/css/bootstrap-overrides-all-v2.css b/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/pages/common/bootstrap/css/bootstrap-overrides-all-v2.css
index 271f2547b1..1b78cdd8a3 100644
--- a/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/pages/common/bootstrap/css/bootstrap-overrides-all-v2.css
+++ b/viewers/wicket/ui/src/main/java/org/apache/causeway/viewer/wicket/ui/pages/common/bootstrap/css/bootstrap-overrides-all-v2.css
@@ -1302,6 +1302,21 @@ div.dataTables_wrapper ul.pagination {
font-size: small;
}
+/* TOASTS */
+
+.toast.alert-info {
+ --bs-toast-bg: rgba(var(--bs-info-rgb), 0.85);
+ --bs-toast-color: var(--bs-dark);
+}
+.toast.alert-warning {
+ --bs-toast-bg: rgba(var(--bs-warning-rgb), 0.85);
+ --bs-toast-color: var(--bs-dark);
+}
+.toast.alert-danger {
+ --bs-toast-bg: rgba(var(--bs-danger-rgb), 0.85);
+ --bs-toast-color: var(--bs-light);
+}
+
/* TOOLTIPS */
.tooltip {