From 37718454611e93784d225a9faaf0c48f9d5e8fcb Mon Sep 17 00:00:00 2001 From: Go MAEDA Date: Mon, 12 Jan 2026 06:16:04 +0000 Subject: [PATCH] Integrate progress bar RTL styles from rtl.css into application.css using logical properties (#43515). git-svn-id: https://svn.redmine.org/redmine/trunk@24299 e93f8b46-1217-0410-a6f0-8f06a7374b81 --- app/assets/stylesheets/application.css | 9 +++++---- app/assets/stylesheets/rtl.css | 7 ------- 2 files changed, 5 insertions(+), 11 deletions(-) diff --git a/app/assets/stylesheets/application.css b/app/assets/stylesheets/application.css index 5ad5364c8..9a75e2fa8 100644 --- a/app/assets/stylesheets/application.css +++ b/app/assets/stylesheets/application.css @@ -404,7 +404,7 @@ table.list td.buttons a, div.buttons a, table.list td.buttons span.icon-only { m table.list td.buttons a:last-child, div.buttons a:last-child { margin-right: 0; } table.list td.buttons img, div.buttons img {vertical-align:middle;} table.list td.reorder {width:15%; white-space:nowrap; text-align:center; } -table.list table.progress td {padding-right:0; border-top: none;} +table.list table.progress td {padding-inline-end: 0; border-top: none;} table.list caption { text-align: left; padding: 0.5em 0.5em 0.5em 0; } table.list tr.overdue:not(.context-menu-selection) td.due_date { color: var(--oc-red-9); } table.list thead.related-issues th { background-color: inherit; font-size: 11px; border: none; } @@ -1478,8 +1478,9 @@ table.progress { border-spacing: 0pt; empty-cells: show; text-align: center; - float:left; - margin: 1px 6px 1px 0px; + float: inline-start; + margin-block: 1px; + margin-inline: 0 6px; width:80px; } @@ -1488,7 +1489,7 @@ table.progress td.closed { background: var(--oc-green-7) none repeat scroll 0%; table.progress td.done { background: var(--oc-green-4) none repeat scroll 0%; } table.progress td.todo { background: var(--oc-gray-3) none repeat scroll 0%; } p.percent {font-size: 86%; margin:0;} -p.progress-info {clear: left; font-size: 86%; margin-top:-4px; color:var(--oc-gray-6);} +p.progress-info {clear: inline-start; font-size: 86%; margin-top:-4px; color:var(--oc-gray-6);} .version-overview table.progress {width:40em;} .version-overview table.progress td { height: 1.2em; } diff --git a/app/assets/stylesheets/rtl.css b/app/assets/stylesheets/rtl.css index d5a0ab9dd..3b2f9fd85 100644 --- a/app/assets/stylesheets/rtl.css +++ b/app/assets/stylesheets/rtl.css @@ -163,13 +163,6 @@ input.autocomplete { /***** Calendar *****/ table.cal td p.day-num {text-align:left;} -/***** Progress bar *****/ -table.progress { - float:right; - margin: 1px 0px 1px 6px; -} -p.progress-info {clear:right;} - /***** Diff *****/ /***** My page layout *****/