From 2762987a4378f533ec7d648d062d9b7179eada24 Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 17 Nov 2009 15:20:14 -0700 Subject: Float short-form elements to the right for rtl. --- lib/gallery.common.css | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'lib/gallery.common.css') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index 013f7e11..ba6a32f4 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -185,7 +185,7 @@ input[type="reset"] { .g-short-form .g-cancel { display: block; - padding: .2em .8em; + margin: .3em .8em; } #g-sidebar .g-short-form li { @@ -677,6 +677,7 @@ div#g-action-status { .rtl .g-left, .rtl .g-inline li, +.rtl .g-short-form li, .rtl form ul ul li, .rtl input[type="submit"], .rtl input[type="reset"], -- cgit v1.2.3 From 9ae9dabe68ab83d34a3dcdc5092b454b8282a6cd Mon Sep 17 00:00:00 2001 From: Chad Kieffer Date: Tue, 17 Nov 2009 16:48:01 -0700 Subject: Initial RTL submenu arrow adjustments for Superfish. Submenus still appear to the right, instead of the left, and this might not be possible to fix without hacking Superfish JS itself. --- lib/gallery.common.css | 12 ++++++++++++ 1 file changed, 12 insertions(+) (limited to 'lib/gallery.common.css') diff --git a/lib/gallery.common.css b/lib/gallery.common.css index ba6a32f4..16dd143c 100644 --- a/lib/gallery.common.css +++ b/lib/gallery.common.css @@ -724,3 +724,15 @@ div#g-action-status { .rtl input.checkbox { margin-right: .4em; } + +/* Superfish RTL ~~~~~~~~~~~~~~~~~~~~~~~~~ */ + +.rtl .sf-menu a.sf-with-ul { + padding-left: 2.25em; + padding-right: 1em; +} + +.rtl .sf-sub-indicator { + left: .75em !important; + right: auto; +} -- cgit v1.2.3