From 0db83327defb41cec66590ca4a4fe6aa0982da2c Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Wed, 7 Sep 2011 00:35:58 -0400 Subject: [PATCH] RTL stylesheet for neo theme by Osama Khalid. --- theme/neo/css/rtl.css | 276 +++++++++++++++++++++++++++++++++++++++++- 1 file changed, 275 insertions(+), 1 deletion(-) diff --git a/theme/neo/css/rtl.css b/theme/neo/css/rtl.css index a9b6e593cd..e677e7f6e6 100644 --- a/theme/neo/css/rtl.css +++ b/theme/neo/css/rtl.css @@ -1 +1,275 @@ -/* placeholder for RTL style */ +/** theme: neo + * + * @package StatusNet + * @author Osama Khalid + * @copyright Osama Khalid + * @license http://creativecommons.org/licenses/by/3.0/ Creative Commons Attribution 3.0 Unported + * @link http://status.net/ + */ + +body { + direction: rtl; +} + +span.rtl{ + direction: rtl !important; +} + +#content .notice .entry-title{ + direction: ltr; +} + +.form_notice textarea{ + direction: ltr; +} + +#site_nav_global_primary ul{ + float: left; +} + +.notice div.entry-content { + float: right; +} + +#content .notice .threaded-replies .notice div.entry-content{ + clear: right; + float: right; +} + +#content h1{ + font-weight: bold; + letter-spacing: 0; +} + +.threaded-replies { + border-right: 3px solid #ECECF2; + border-left: 0; + margin-right: 59px; + margin-left: 0; +} + +address{ + float: right; +} + +#site_nav_global_primary { + left: 0; + right: auto; +} + +.input_form .form_settings .submit{ + float: left; +} + +.input_form .form_settings fieldset fieldset{ + float: right; +} + +.input_form fieldset fieldset label{ + right: 6px; + text-align: right; +} + +#input_form_event .form_settings .form_data li{ + float: right; +} + +.notice .author { + direction: rtl; + float: right; + margin-left: 8px; + margin-right: 0; +} + +.section .notice .author { + margin-left: 0; +} + +.threaded-replies .form_notice #notice_action-submit { + right: 10px; +} + +.form_notice input.submit{ + float: right; +} + +#export_data li a{ + padding-right: 30px; + padding-left: 0; +/* background-position: right center; */ +} + +#content .notice .threaded-replies .notice .entry-title{ + margin: 2px 35px 0 7px; +} + +#content .notice .entry-title { + margin: 2px 59px 0 7px; +} + +#content .notice .author .photo{ + right: 0; +} + +.notice-options{ + float: left; +} + +.notice div.entry-content { + margin-right: 59px; + margin-left: 0; +} + +#core .vcard .photo { + margin-left: 11px; + margin-right: 0; +} + +.threaded-replies .notice-reply-comments { + margin: 2px 10px 4px 0; +} + +#shownotice .notice div.entry-content { + margin-right: 0; +} + +.notice .addressees:before { + content: '\25C2'; +} + +#content thead th { + text-align: right; +} + +.profile_list th.current a { + background-position: left top; + padding-left: 25px; +} + +.form_settings .form_data textarea, .form_settings .form_data select, .form_settings .form_data input { + float: right; + margin-right: 1.795%; +} + +.form_settings .form_data label { + float: right; +} + +.form_settings label { + text-align: left; +} + +#form_search input.submit { + margin-right: 5px; +} + +#site_nav_local_views H3{ + font-weight: bold; + letter-spacing: 0; +} + +#aside_primary h2{ + font-weight: bold; + letter-spacing: 0; +} + +.form_settings label[for="notice_to"] { + margin-left: 10px; + margin-right: 0; +} + +select { + padding-left: 10px; +} + +#input_form_nav li a { + float: right; +} + +#content table.extended-profile td { + padding-left: 0 !important; + padding-right: 8px !important; +} + +.experience-item, .education-item { + float: right; +} + +#site_nav_global_primary a { + float: right; +} + +.form_settings .form_data p.form_guide { + margin-right: 27%; +} + +.form_settings label.checkbox { + text-align: right; +} + +.form_settings label.checkbox, .form_settings label.radio { + left: 0; + right: -25px; +} + +.form_settings input.checkbox, .form_settings input.radio { + margin-right: 25%; + margin-left: 20px; + right: -14px; + left: 0; +} + +.form_settings input { + margin-left: 20px; +} + +.form_settings .form_data li { + float: right; +} + +#header-search { + float: left; +} + +#header-search input[type="submit"] { + left: 0; + right: auto; +} + +#avatarfile { + width: 100%; +} + +.form_settings .checkbox-wrapper label.checkbox { + right: -3px; + left: auto; +} + +.checkbox-wrapper.unchecked label.checkbox, .checkbox-wrapper.checked label.checkbox { + padding-right: 20px; + padding-left: 0; + background-position: right center; +} + +.input_form .form_settings .form_data p.form_guide { + margin-right: 5px; + margin-left: 27%; +} + +.experience-item, .education-item { + float: right !important; +} + +.profile_block .entity_actions { + float: left; +} + +/*#site_nav_local_views { + float: right; +} + +#content { + float: right; +}*/ + +