Changeset 39140

Show
Ignore:
Timestamp:
05/25/12 00:21:48 (12 months ago)
Author:
NeoCat
Message:

Always display retweeted counter / adjust retweeted info size

Location:
websites/twicli
Files:
2 modified

Legend:

Unmodified
Added
Removed
  • websites/twicli/styles/default.css

    r39119 r39140  
    2929.uicon { float: left; width: 32px; height: 32px; padding-right: 1px; } 
    3030.uicon2 { max-width: 96px; max-height: 96px; } 
    31 .rtuicon { width: 1em; height: 1em; padding: 0 1px; vertical-align: bottom; } 
     31.rtuicon { width: 16px; height: 16px; padding: 0 1px; vertical-align: bottom; } 
    3232.fav { float: right; } 
    3333.dir { color: #679; } 
     
    3636.status a.resolved { background-color: #eef; } 
    3737.status a.link:hover { background-color: #ff9; } 
    38 .rtinfo { text-align: right; display: inline-block; } 
     38.rtinfo { text-align: right; display: inline-block; color: #999; font-size: x-small; } 
    3939.utils { text-align: right; display: inline-block; } 
    4040.userdesc > .fav { display: none; } 
  • websites/twicli/twicli.js

    r39134 r39140  
    867867                //Retweet情報 
    868868                ' <span id="rtinfo-'+eid+'" class="rtinfo">' + 
    869                 (!display_as_rt && rt ? "<img src=\"images/rt.png\" alt=\"RT\">by <img src=\""+tw.user.profile_image_url+"\" alt=\""+tw.user.screen_name+"\" class=\"rtuicon\"><a href=\""+twitterURL+tw.user.screen_name+"\" onclick=\"switchUserTL(this.parentNode.parentNode, true);return false\">" + tw.user.screen_name + "</a> " + (parseInt(tw.retweet_count) > 1 ? '<small>& ' + (typeof(tw.retweet_count) == 'string' ? tw.retweet_count : tw.retweet_count-1) + '</small>' : '') :'') + '</span>' + 
     869                (!display_as_rt && rt ? "<img src=\"images/rt.png\" alt=\"RT\">by <img src=\""+tw.user.profile_image_url+"\" alt=\""+tw.user.screen_name+"\" class=\"rtuicon\"><a href=\""+twitterURL+tw.user.screen_name+"\" onclick=\"switchUserTL(this.parentNode.parentNode, true);return false\">" + tw.user.screen_name + "</a> " + (parseInt(tw.retweet_count) > 1 ? '& ' + (typeof(tw.retweet_count) == 'string' ? tw.retweet_count : tw.retweet_count-1) : '') : parseInt(tw.retweet_count) > 1 ? '<small>' + tw.retweet_count+'RT</small>' : '') + '</span>' + 
    870870                //日付 
    871871                ' <span id="utils-'+eid+'" class="utils">' +