Update DirectionDetector style for 1.0 and move to base stylesheet.
This commit is contained in:
parent
f0443aff1a
commit
2dd13b071c
|
@ -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
|
||||
*
|
||||
|
|
|
@ -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 {
|
||||
|
|
Loading…
Reference in New Issue
Block a user