From 9cff4eb6841b05c03570e43f0eed8de040e4ec48 Mon Sep 17 00:00:00 2001 From: Trevor Parscal Date: Wed, 12 Jan 2011 00:06:57 +0000 Subject: [PATCH] Removed ad-hoc rtl rules - CSSJanus out of the box is doing just fine. --- modules/jquery.wikiEditor.css | 9 ------- modules/jquery.wikiEditor.toc.css | 43 +------------------------------ 2 files changed, 1 insertion(+), 51 deletions(-) diff --git a/modules/jquery.wikiEditor.css b/modules/jquery.wikiEditor.css index a904675b..6df44565 100644 --- a/modules/jquery.wikiEditor.css +++ b/modules/jquery.wikiEditor.css @@ -13,9 +13,6 @@ .wikiEditor-ui textarea:focus { outline: none; } -body.rtl .wikiEditor-ui { - float: right; -} .wikiEditor-ui .wikiEditor-ui-bottom { } @@ -30,17 +27,11 @@ body.rtl .wikiEditor-ui { float: left; width: 100%; } -body.rtl .wikiEditor-ui .wikiEditor-ui-left { - float: right; -} .wikiEditor-ui .wikiEditor-ui-right { float: right; background: #F3F3F3; overflow: hidden; } -body.rtl .wikiEditor-ui .wikiEditor-ui-right { - float: left; -} .wikiEditor-wikitext { float: left; width: 100%; diff --git a/modules/jquery.wikiEditor.toc.css b/modules/jquery.wikiEditor.toc.css index 465600bb..bb1e8775 100644 --- a/modules/jquery.wikiEditor.toc.css +++ b/modules/jquery.wikiEditor.toc.css @@ -1,7 +1,7 @@ /* * CSS for WikiEditor Table of Contents jQuery plugin */ - + .wikiEditor-ui-toc { /* height and width are set dynamically */ /*float: right;*/ @@ -12,10 +12,6 @@ .wikiEditor-ui-toc { border-left: solid silver 1px; } -body.rtl .wikiEditor-ui-toc { - border-right: solid silver 1px; - border-left: none; -} .wikiEditor-ui-toc ul { padding: 0; margin: 0; @@ -40,10 +36,6 @@ body.rtl .wikiEditor-ui-toc { white-space: nowrap; overflow: hidden; } -body.rtl .tab-toc { - background-position: right top; - padding-right: 2em; -} .tab-toc a { outline: none; } @@ -69,45 +61,21 @@ body.rtl .tab-toc { padding: 0.125em; padding-left: 1em; } -body.rtl .wikiEditor-ui-toc ul li div { - padding-right: 1em; - padding-left: 0; -} .wikiEditor-ui-toc ul ul li div { padding-left: 2em; } -body.rtl .wikiEditor-ui-toc ul ul li div { - padding-right: 2em; - padding-left: 0; -} .wikiEditor-ui-toc ul ul ul li div { padding-left: 3em; } -body.rtl .wikiEditor-ui-toc ul ul ul li div { - padding-right: 3em; - padding-left: 0; -} .wikiEditor-ui-toc ul ul ul ul li div { padding-left: 4em; } -body.rtl .wikiEditor-ui-toc ul ul ul ul li div { - padding-right: 4em; - padding-left: 0; -} .wikiEditor-ui-toc ul ul ul ul ul li div { padding-left: 5em; } -body.rtl .wikiEditor-ui-toc ul ul ul ul ul li div { - padding-right: 5em; - padding-left: 0; -} .wikiEditor-ui-toc ul ul ul ul ul ul li div { padding-left: 6em; } -body.rtl wikiEditor-ui-toc ul ul ul ul ul ul li div { - padding-right: 6em; - padding-left: 0; -} .wikiEditor-ui-toc ul li div.current { background-color: #FAFAFA; color: #333333; @@ -179,9 +147,6 @@ body.rtl wikiEditor-ui-toc ul ul ul ul ul ul li div { background: url(images/toc/grip.png) 50% 50% no-repeat; z-index: 0; } -body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip { - right: 2px !important; -} .wikiEditor-ui-toolbar .tab-toc { float: right; margin: 3px 16px 3px 3px; @@ -199,12 +164,6 @@ body.rtl .wikiEditor-ui-right .wikiEditor-ui-toc-resize-grip { white-space: nowrap; overflow: hidden; } -body.rtl .wikiEditor-ui-toc-expandControl { - padding-left: 1em; - padding-right: 0; - left: 10px; - right: auto; -} .wikiEditor-ui-text textarea { resize: none; }