Update DirectionDetector style for 1.0 and move to base stylesheet.

This commit is contained in:
Samantha Doherty 2011-08-25 17:14:13 -04:00
parent f0443aff1a
commit 2dd13b071c
2 changed files with 7 additions and 9 deletions

View File

@ -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
*

View File

@ -1523,6 +1523,13 @@ font-size:150%;
min-height: 0;
}
span.rtl {
display: block;
direction: rtl;
text-align: right;
float: right;
}
/* override OStatus plugin style */
#form_ostatus_connect.form_settings.dialogbox, #form_ostatus_sub.dialogbox {