[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-10-18 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Fridolin Somers  changed:

   What|Removed |Added

 Status|Pushed to stable|Needs documenting
 CC||[email protected]
   ||m

--- Comment #11 from Fridolin Somers  ---
I prefer not backport to 24.11.x LTS for UI stability

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

--- Comment #10 from Paul Derscheid  ---
Nice work everyone!

Pushed to 25.05.x

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-20 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Paul Derscheid  changed:

   What|Removed |Added

 Version(s)|25.11.00|25.11.00,25.05.04
released in||
 Status|Pushed to main  |Pushed to stable

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

--- Comment #9 from Lucas Gass (lukeg)  ---
Nice work everyone!

Pushed to main for 25.11

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-05 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Lucas Gass (lukeg)  changed:

   What|Removed |Added

 Status|Passed QA   |Pushed to main
 Version(s)||25.11.00
released in||

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Marcel de Rooy  changed:

   What|Removed |Added

 Status|Failed QA   |Signed Off

--- Comment #7 from Marcel de Rooy  ---
Thx Karam for clarification.

Seeing additional space(s) at the end sometimes:
+  /*rtl:raw:
+&::before {
+transform: scaleX(-1);
+}
+*/

Not a big deal, but the space(s) before */ on the last line seems unneeded..
Here I would expect two spaces less.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Marcel de Rooy  changed:

   What|Removed |Added

 QA Contact|[email protected] |[email protected]
   |y.org   |

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Marcel de Rooy  changed:

   What|Removed |Added

 Status|Signed Off  |Passed QA

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-09-04 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Marcel de Rooy  changed:

   What|Removed |Added

 Attachment #182920|0   |1
is obsolete||

--- Comment #8 from Marcel de Rooy  ---
Created attachment 186123
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=186123&action=edit
Bug 40040: RTL CSS files not loaded in templates; legacy right-to-left.css
causing UI issues

This patch removes the legacy right-to-left.css file, which is no
longer maintained and has started causing issues in the RTL
(Right-to-Left) UI.

We now use Gulp-generated RTL CSS files for better maintainability.

In limited cases, we use /*rtl:raw: to target RTL-specific styles. This
does not affect the default LTR (Left-to-Right) UI, as rtl:raw is
handled by the gulp-rtlcss plugin during the build phase.

To test:
1. Install the Arabic translation:
   koha-translate -i ar-Arab
2. Open the staff interface (with the broken CSS) and confirm the issue
   by browsing several pages.
3. Apply this patch.
4. Run: yarn css:build
5. Browse several pages in Arabic and confirm the issue is resolved.
6. Browse several pages in English and confirm not affected.

Signed-off-by: Owen Leonard 

Signed-off-by: Marcel de Rooy 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-08-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

--- Comment #6 from Karam Qubsi  ---
(In reply to Marcel de Rooy from comment #4)
> Hi Karam,
> 
> Why do you add those:
> 
> +/*rtl:raw:
> +.dropdown-menu-end[data-bs-popper] {
> +  left: auto;
> +  right: 0;
> +}
> +*/
> 
> You say: In limited cases, we use /*rtl:raw: to target RTL-specific styles.
> Please explain. This is just comments, right?


Hi Marcel, sorry for being late,

/*rtl:raw*/ looks like a normal CSS comment in LTR (default CSS),  
but when processed with gulp-rtlcss (used in gulpfile.js for Koha),  
example: https://github.com/Koha-Community/Koha/blob/main/gulpfile.js#L80

it is interpreted as an rtlcss control directive.  
That means for RTL builds it is not treated as a comment,  
but as actual CSS that should be kept as-is.  

See the documentation here:  
https://rtlcss.com/learn/usage-guide/control-directives/index.html


Let me know if you have any other questions 

Thanks, and sorry again for the delay. 

Karam.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-08-29 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Marcel de Rooy  changed:

   What|Removed |Added

 Status|Signed Off  |Failed QA

--- Comment #5 from Marcel de Rooy  ---
Changing status to get the attention of the author. Please reply former
comment.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-08-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Marcel de Rooy  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #4 from Marcel de Rooy  ---
Hi Karam,

Why do you add those:

+/*rtl:raw:
+.dropdown-menu-end[data-bs-popper] {
+  left: auto;
+  right: 0;
+}
+*/

You say: In limited cases, we use /*rtl:raw: to target RTL-specific styles.
Please explain. This is just comments, right?

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-06-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

--- Comment #3 from Karam Qubsi  ---
Thanks, Owen — appreciate your sign-off.

By the way, it’s not clear to me whether any additional steps are needed to
include the RTL files in the final Debian package. I checked version 25.05.1,
and it doesn’t contain the RTL files for the staff interface — even though they
were part of the Gulp build before this change.

Missing files in the Debian package:
•   calendar-rtl.css
•   holds-rtl.css
•   ill-requests-rtl.css
•   installer-rtl.css
•   mainpage-rtl.css
•   staff-global-rtl.css

I checked in /usr/share/koha/intranet/htdocs/intranet-tmpl/prog/css.

let me know if I need to work on this in some other parts / scripts.

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-06-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Owen Leonard  changed:

   What|Removed |Added

 Attachment #182881|0   |1
is obsolete||

--- Comment #2 from Owen Leonard  ---
Created attachment 182920
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182920&action=edit
Bug 40040: RTL CSS files not loaded in templates; legacy right-to-left.css
causing UI issues

This patch removes the legacy right-to-left.css file, which is no
longer maintained and has started causing issues in the RTL
(Right-to-Left) UI.

We now use Gulp-generated RTL CSS files for better maintainability.

In limited cases, we use /*rtl:raw: to target RTL-specific styles. This
does not affect the default LTR (Left-to-Right) UI, as rtl:raw is
handled by the gulp-rtlcss plugin during the build phase.

To test:
1. Install the Arabic translation:
   koha-translate -i ar-Arab
2. Open the staff interface (with the broken CSS) and confirm the issue
   by browsing several pages.
3. Apply this patch.
4. Run: yarn css:build
5. Browse several pages in Arabic and confirm the issue is resolved.
6. Browse several pages in English and confirm not affected.

Signed-off-by: Owen Leonard 

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-06-03 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Owen Leonard  changed:

   What|Removed |Added

 Status|Needs Signoff   |Signed Off
   Patch complexity|--- |Small patch

-- 
You are receiving this mail because:
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-06-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Katrin Fischer  changed:

   What|Removed |Added

   Assignee|[email protected] |[email protected]
   |ity.org |
 CC||[email protected]

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-06-01 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Karam Qubsi  changed:

   What|Removed |Added

 Status|NEW |Needs Signoff

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/


[Koha-bugs] [Bug 40040] RTL CSS files not loaded in templates; legacy right-to-left.css causing UI issues

2025-05-31 Thread bugzilla-daemon--- via Koha-bugs
https://bugs.koha-community.org/bugzilla3/show_bug.cgi?id=40040

Karam Qubsi  changed:

   What|Removed |Added

 CC||[email protected]

--- Comment #1 from Karam Qubsi  ---
Created attachment 182881
  -->
https://bugs.koha-community.org/bugzilla3/attachment.cgi?id=182881&action=edit
Bug 40040: RTL CSS files not loaded in templates; legacy  right-to-left.css
causing UI issues

This patch removes the legacy right-to-left.css file, which is no longer
maintained and has started causing issues in the RTL (Right-to-Left) UI.

We now use Gulp-generated RTL CSS files for better maintainability.

In limited cases, we use /*rtl:raw: to target RTL-specific styles. This does
not affect the default LTR (Left-to-Right) UI, as rtl:raw is handled by the
gulp-rtlcss plugin during the build phase.

To test:
1.  Install the Arabic translation:
koha-translate -i ar-Arab
2.  Open the staff interface (with the broken CSS) and confirm the
issue by browsing several pages.
3.  Apply this patch.
4.  Run: yarn css:build
5.  Browse several pages in Arabic and confirm the issue is
resolved.
6.  Browse several pages in English and confirm not affected.

-- 
You are receiving this mail because:
You are the assignee for the bug.
You are watching all bug changes.
___
Koha-bugs mailing list
[email protected]
https://lists.koha-community.org/cgi-bin/mailman/listinfo/koha-bugs
website : http://www.koha-community.org/
git : http://git.koha-community.org/
bugs : http://bugs.koha-community.org/