From 2dd13b071c828af0b1004f50402cf9ed46f05c4c Mon Sep 17 00:00:00 2001 From: Samantha Doherty Date: Thu, 25 Aug 2011 17:14:13 -0400 Subject: [PATCH] Update DirectionDetector style for 1.0 and move to base stylesheet. --- plugins/DirectionDetector/DirectionDetectorPlugin.php | 9 --------- theme/base/css/display.css | 7 +++++++ 2 files changed, 7 insertions(+), 9 deletions(-) diff --git a/plugins/DirectionDetector/DirectionDetectorPlugin.php b/plugins/DirectionDetector/DirectionDetectorPlugin.php index be8dbea8e5..890af06807 100644 --- a/plugins/DirectionDetector/DirectionDetectorPlugin.php +++ b/plugins/DirectionDetector/DirectionDetectorPlugin.php @@ -42,15 +42,6 @@ class DirectionDetectorPlugin extends Plugin { return true; } - /** - * SN plugin API, here we will add css needed for modifiyed rendered - * - * @param Action $xml - */ - public function onEndShowStatusNetStyles($xml){ - $xml->element('style', array('type' => 'text/css'), 'span.rtl {display:block;direction:rtl;text-align:right;float:right;} .notice .author {float:left}'); - } - /** * is passed string a rtl content or not * diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 5b18772db8..5d65c14cc8 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1521,6 +1521,13 @@ font-size:150%; #content .notice-source-system div.entry-title { font-style: italic; min-height: 0; +} + +span.rtl { + display: block; + direction: rtl; + text-align: right; + float: right; } /* override OStatus plugin style */