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;
|
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
|
* is passed string a rtl content or not
|
||||||
*
|
*
|
||||||
|
|
|
@ -1521,6 +1521,13 @@ font-size:150%;
|
||||||
#content .notice-source-system div.entry-title {
|
#content .notice-source-system div.entry-title {
|
||||||
font-style: italic;
|
font-style: italic;
|
||||||
min-height: 0;
|
min-height: 0;
|
||||||
|
}
|
||||||
|
|
||||||
|
span.rtl {
|
||||||
|
display: block;
|
||||||
|
direction: rtl;
|
||||||
|
text-align: right;
|
||||||
|
float: right;
|
||||||
}
|
}
|
||||||
|
|
||||||
/* override OStatus plugin style */
|
/* override OStatus plugin style */
|
||||||
|
|
Loading…
Reference in New Issue
Block a user