From 7dc32ea67af407ffcdb99098036744f3e3df3fb7 Mon Sep 17 00:00:00 2001 From: "YUKI \"Piro\" Hiroshi" Date: Tue, 7 Jan 2025 02:01:46 +0900 Subject: [PATCH] Apply RTL layout to the options page --- webextensions/options/options.css | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/webextensions/options/options.css b/webextensions/options/options.css index 128a8fdcf..fb2deebd1 100644 --- a/webextensions/options/options.css +++ b/webextensions/options/options.css @@ -7,6 +7,10 @@ @import url(/resources/ui-base.css); @import url(/resources/ui-color.css); +:root.rtl { + direction: rtl; +} + :root > * { transition: opacity 0.25s ease-out; } @@ -322,6 +326,11 @@ body > section.collapsed > h1:first-child::before { transform: rotate(-90deg); } +:root.rtl fieldset.collapsible.collapsed > legend::before, +:root.rtl body > section.collapsed > h1:first-child::before { + transform: rotate(90deg); +} + :root.successor-tab-support .without-successor-tab-support, :root:not(.successor-tab-support) .with-successor-tab-support {