Browse Source

revive ~nin~'s post context #hack

master
Simon Grim 9 years ago
parent
commit
7069b01eeb
  1. 4
      theme_nin/css/style.css
  2. 5
      theme_nin/js/theme_option.js
  3. 2
      theme_nin/sass/_postboard.sass

4
theme_nin/css/style.css

@ -907,6 +907,10 @@ article, aside, details, figcaption, figure, footer, header, hgroup, main, menu,
margin-right: 0.4em; margin-right: 0.4em;
} }
.post-context.post-retransmited-by-container {
margin: 0 0 1em;
}
/* line 158, ../sass/_postboard.sass */ /* line 158, ../sass/_postboard.sass */
.mini-screen-name { .mini-screen-name {
font-size: 13px; font-size: 13px;

5
theme_nin/js/theme_option.js

@ -8,9 +8,8 @@ $(function(){
$('.userMenu-search-profiles button').html('').attr('title',polyglot.t('Follow')); $('.userMenu-search-profiles button').html('').attr('title',polyglot.t('Follow'));
$('.mini-profile-actions span').html(''); $('.mini-profile-actions span').html('');
//$('.post-context').each(function(){ $.globalEval(postToElem.toString().replace(/postContext.append\(_templatePostRtBy/,
// $(this).prependTo($(this).parent()); 'postContext.addClass(\'post-retransmited-by-container\').prependTo(postContext.parent()).append(_templatePostRtBy'));
//});
$( '.userMenu-home.current a' ).on( 'click', function() { $( '.userMenu-home.current a' ).on( 'click', function() {

2
theme_nin/sass/_postboard.sass

@ -144,6 +144,8 @@
line-height: 11px line-height: 11px
margin: 2px 10px 4px 60px margin: 2px 10px 4px 60px
color: lighten($dark-grey,30%) color: lighten($dark-grey,30%)
&.post-retransmited-by-container
margin: 0 0 1em
.mini-screen-name .mini-screen-name
font-size: 13px font-size: 13px

Loading…
Cancel
Save