diff options
author | Chris Goldthorpe | 2009-04-13 19:23:30 +0000 |
---|---|---|
committer | Chris Goldthorpe | 2009-04-13 19:23:30 +0000 |
commit | 426b9860295e1ebc64cdff84e73a4b58d6e76114 (patch) | |
tree | 2542fef06e289121eb314315b66e997c09b8271d /org.eclipse.ui.intro.universal | |
parent | 53e3ad3661918f872bed02937f975c564c1402e0 (diff) | |
download | eclipse.platform.ua-426b9860295e1ebc64cdff84e73a4b58d6e76114.tar.gz eclipse.platform.ua-426b9860295e1ebc64cdff84e73a4b58d6e76114.tar.xz eclipse.platform.ua-426b9860295e1ebc64cdff84e73a4b58d6e76114.zip |
Fix RTL layout for Slate
Diffstat (limited to 'org.eclipse.ui.intro.universal')
-rw-r--r-- | org.eclipse.ui.intro.universal/plugin.xml | 2 | ||||
-rw-r--r-- | org.eclipse.ui.intro.universal/themes/circles/html/ltr.css (renamed from org.eclipse.ui.intro.universal/themes/shared/html/ltr.css) | 0 | ||||
-rw-r--r-- | org.eclipse.ui.intro.universal/themes/circles/html/rtl.css (renamed from org.eclipse.ui.intro.universal/themes/shared/html/rtl.css) | 0 | ||||
-rw-r--r-- | org.eclipse.ui.intro.universal/themes/purpleMesh/html/ltr.css | 19 | ||||
-rw-r--r-- | org.eclipse.ui.intro.universal/themes/purpleMesh/html/rtl.css | 86 | ||||
-rw-r--r-- | org.eclipse.ui.intro.universal/themes/slate/html/ltr.css | 19 | ||||
-rw-r--r-- | org.eclipse.ui.intro.universal/themes/slate/html/rtl.css | 96 |
7 files changed, 221 insertions, 1 deletions
diff --git a/org.eclipse.ui.intro.universal/plugin.xml b/org.eclipse.ui.intro.universal/plugin.xml index a8de42913..8bd908b44 100644 --- a/org.eclipse.ui.intro.universal/plugin.xml +++ b/org.eclipse.ui.intro.universal/plugin.xml @@ -33,7 +33,7 @@ <presentation home-page-id="root" standby-page-id="standby"> <implementation - style="themes/shared/html/shared.css,$theme$/html/shared.css,$theme$/html/font-$fontStyle$.css,themes/shared/html/$direction$.css" + style="themes/shared/html/shared.css,$theme$/html/shared.css,$theme$/html/font-$fontStyle$.css,$theme$/html/$direction$.css" kind="html" os="win32,linux,macosx"> </implementation> diff --git a/org.eclipse.ui.intro.universal/themes/shared/html/ltr.css b/org.eclipse.ui.intro.universal/themes/circles/html/ltr.css index 57586c800..57586c800 100644 --- a/org.eclipse.ui.intro.universal/themes/shared/html/ltr.css +++ b/org.eclipse.ui.intro.universal/themes/circles/html/ltr.css diff --git a/org.eclipse.ui.intro.universal/themes/shared/html/rtl.css b/org.eclipse.ui.intro.universal/themes/circles/html/rtl.css index c3de355bf..c3de355bf 100644 --- a/org.eclipse.ui.intro.universal/themes/shared/html/rtl.css +++ b/org.eclipse.ui.intro.universal/themes/circles/html/rtl.css diff --git a/org.eclipse.ui.intro.universal/themes/purpleMesh/html/ltr.css b/org.eclipse.ui.intro.universal/themes/purpleMesh/html/ltr.css new file mode 100644 index 000000000..57586c800 --- /dev/null +++ b/org.eclipse.ui.intro.universal/themes/purpleMesh/html/ltr.css @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +/* + * This file contains styles that are specific to left to right display + */ + +body { + direction: ltr; +} +
\ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/themes/purpleMesh/html/rtl.css b/org.eclipse.ui.intro.universal/themes/purpleMesh/html/rtl.css new file mode 100644 index 000000000..c3de355bf --- /dev/null +++ b/org.eclipse.ui.intro.universal/themes/purpleMesh/html/rtl.css @@ -0,0 +1,86 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +/* + * This file contains styles that are specific to right to left display + */ + +body { + direction: rtl; +} + +table { + direction: rtl; +} + +#page-content p { + text-align : right; +} + +#page-content #content-header H4, .page-description { + text-align : right; +} + +#page-content table tr td a > .link-label { + left:0px; +} + +#page-content * td a .link-label { + display:block; + left:0px; + margin-right:0px; + position:static; + top:0px; +} + +#page-content * td a .text { + display:block; + left:0px; + margin-right:0px; + position:static; + top:0px; +} + +.content-group { + text-align: right; +} + +.intro-header span { + margin-right : 45px; + padding-right : 45px; +} + +div div#rss-news { + position:static; + margin-left:0px; + margin-bottom: 0px; + margin-top: 10px; + top : 0px; + margin-right : 30px; +} + +div ul#eclipse-news { + list-style-image: url("../graphics/icons/ctool/arrow_rtl.gif"); + margin-left: 0px; + padding-right: 10px; + margin-right: 10px; +} + +/* The 'closed' toggle image part of the folding section. */ +#page-content .section-title-link .section-toggle-image-closed { + background-image : url(../graphics/icons/ctool/widget_closed_rtl.gif); +} + +#page-content .section-title-link:hover .section-toggle-image-closed, +#page-content .section-title-link:active .section-toggle-image-closed { + background-image : url(../graphics/icons/ctool/widget_closed_hov_rtl.gif); +} + diff --git a/org.eclipse.ui.intro.universal/themes/slate/html/ltr.css b/org.eclipse.ui.intro.universal/themes/slate/html/ltr.css new file mode 100644 index 000000000..57586c800 --- /dev/null +++ b/org.eclipse.ui.intro.universal/themes/slate/html/ltr.css @@ -0,0 +1,19 @@ +/******************************************************************************* + * Copyright (c) 2008 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +/* + * This file contains styles that are specific to left to right display + */ + +body { + direction: ltr; +} +
\ No newline at end of file diff --git a/org.eclipse.ui.intro.universal/themes/slate/html/rtl.css b/org.eclipse.ui.intro.universal/themes/slate/html/rtl.css new file mode 100644 index 000000000..aea7e5cec --- /dev/null +++ b/org.eclipse.ui.intro.universal/themes/slate/html/rtl.css @@ -0,0 +1,96 @@ +/******************************************************************************* + * Copyright (c) 2009 IBM Corporation and others. + * All rights reserved. This program and the accompanying materials + * are made available under the terms of the Eclipse Public License v1.0 + * which accompanies this distribution, and is available at + * http://www.eclipse.org/legal/epl-v10.html + * + * Contributors: + * IBM Corporation - initial API and implementation + *******************************************************************************/ + +/* + * This file contains styles that are specific to right to left display + */ + +body { + direction: rtl; +} + +table { + direction: rtl; +} + +#page-links a span.link-label { + right : 48px; + margin-right: 0px; +} + +#page-links a p .text { + right: 51px; + margin-right: 0px; +} + +#page-content p { + text-align : right; +} + +#page-content #content-header H4, .page-description { + text-align : right; +} + +#page-content table tr td a > .link-label { + left:0px; +} + +#page-content * td a .link-label { + display:block; + left:0px; + margin-right:0px; + position:static; + top:0px; +} + +#page-content * td a .text { + display:block; + left:0px; + margin-right:0px; + position:static; + top:0px; +} + +.content-group { + text-align: right; +} + +.intro-header span { + margin-right : 45px; + padding-right : 45px; +} + +div div#rss-news { + position:static; + margin-left:0px; + margin-bottom: 0px; + margin-top: 10px; + top : 0px; + margin-right : 30px; +} + +div ul#eclipse-news { + list-style-image: url("../graphics/icons/ctool/arrow_rtl.gif"); + margin-left: 0px; + padding-right: 10px; + margin-right: 10px; +} + +/* The 'closed' toggle image part of the folding section. */ +#page-content .section-title-link .section-toggle-image-closed { + background-image : url(../graphics/icons/ctool/widget_closed_rtl.gif); +} + +#page-content .section-title-link:hover .section-toggle-image-closed, +#page-content .section-title-link:active .section-toggle-image-closed { + background-image : url(../graphics/icons/ctool/widget_closed_hov_rtl.gif); +} + |