Skip to content

Commit

Permalink
Removing some inline styles and organizing them into base.css
Browse files Browse the repository at this point in the history
  • Loading branch information
cezarsa committed Apr 8, 2010
1 parent e016fc2 commit 1125499
Show file tree
Hide file tree
Showing 2 changed files with 18 additions and 2 deletions.
16 changes: 16 additions & 0 deletions css/base.css
Expand Up @@ -247,6 +247,22 @@ input[type='text'] {
width: 48px;
}

.tweet img.profile.retweet_source {
margin-right: 0px;
width: 40px;
height: 40px;
}

.tweet img.profile.retweet_retweeter {
margin-bottom: 20px;
margin-right: -12px;
position: relative;
top: 24px;
left: -16px;
width: 24px;
height: 24px;
}

.tweet img.retweet {
width: 14px;
height: 14px;
Expand Down
4 changes: 2 additions & 2 deletions popup.html
Expand Up @@ -810,8 +810,8 @@
str += '<div class="tweet_overlay" style="' + overlayStyle + '">';
str += '<div class="first_container">';
if(tweet.retweeted_status) {
str += '<img class="profile" style="margin-right: 0px;width: 40px; height: 40px" src="' + user.profile_image_url + '" onclick="Renderer.handleUserClick(\'' + user.screen_name + '\', \'' + TwitterLib.URLS.BASE + user.screen_name + '\')" />';
str += '<img class="profile" style="margin-bottom: 20px;margin-right: -12px;position: relative; top: 24px;left: -16px; width: 24px; height: 24px;" src="'+ tweet.user.profile_image_url +'"/>'
str += '<img class="profile retweet_source" src="' + user.profile_image_url + '" onclick="Renderer.handleUserClick(\'' + user.screen_name + '\', \'' + TwitterLib.URLS.BASE + user.screen_name + '\')" />';
str += '<img class="profile retweet_retweeter" src="'+ tweet.user.profile_image_url +'"/>'
} else {
str += '<img class="profile" src="' + user.profile_image_url + '" onclick="Renderer.handleUserClick(\'' + user.screen_name + '\', \'' + TwitterLib.URLS.BASE + user.screen_name + '\')"></img>';
}
Expand Down

0 comments on commit 1125499

Please sign in to comment.