summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorMarius Balteanu <marius.balteanu@zitec.com>2025-03-26 21:20:57 +0000
committerMarius Balteanu <marius.balteanu@zitec.com>2025-03-26 21:20:57 +0000
commit18e93c085b14ce17d217b4b4e94d09abd3958f0f (patch)
treee98fbbc16f9a265858c777f1e1ca0d18ddb8a1a6
parenta531f805f82696ad86b5addf1b56839b4195b7e2 (diff)
downloadredmine-18e93c085b14ce17d217b4b4e94d09abd3958f0f.tar.gz
redmine-18e93c085b14ce17d217b4b4e94d09abd3958f0f.zip
Improves flash notice SVG icons compatibility with rtl languages (#41952).
git-svn-id: https://svn.redmine.org/redmine/trunk@23564 e93f8b46-1217-0410-a6f0-8f06a7374b81
-rw-r--r--app/assets/stylesheets/rtl.css17
1 files changed, 11 insertions, 6 deletions
diff --git a/app/assets/stylesheets/rtl.css b/app/assets/stylesheets/rtl.css
index 83b08b23b..550071462 100644
--- a/app/assets/stylesheets/rtl.css
+++ b/app/assets/stylesheets/rtl.css
@@ -241,16 +241,21 @@ input.autocomplete {
padding: 4px 30px 4px 4px;
}
-div.flash.error, #errorExplanation {
- background: url(/exclamation.png) right 8px top 50% no-repeat;
+div.flash svg.icon-svg, #errorExplanation svg.icon-svg {
+ margin-right: -26px;
+ margin-left: 4px;
}
-div.flash.notice {
- background: url(/true.png) right 8px top 5px no-repeat;
+div.flash.error:not(:has(svg)), #errorExplanation:not(:has(svg)) {
+ background: url(/exclamation.png) right 8px top 50% no-repeat #ffe3e3;
}
-div.flash.warning, .conflict {
- background: url(/warning.png) right 8px top 5px no-repeat;
+div.flash.notice:not(:has(svg)) {
+ background: url(/true.png) right 8px top 5px no-repeat #dfffdf;
+}
+
+div.flash.warning:not(:has(svg)), .conflict {
+ background: url(/warning.png) right 8px top 5px no-repeat #F3EDD1;
text-align:right;
}