From d4b934d118e7ee63d7444c1a8d5187ce9e40788d Mon Sep 17 00:00:00 2001 From: "Michael J. Rubinsky" Date: Mon, 16 Aug 2010 12:42:25 -0400 Subject: [PATCH] horde namespace the fb* css classes --- horde/templates/block/facebook_story.html.php | 8 ++++---- horde/templates/block/twitter_tweet.html.php | 12 ++++++------ horde/themes/screen.css | 18 +++++++++++++----- 3 files changed, 23 insertions(+), 15 deletions(-) diff --git a/horde/templates/block/facebook_story.html.php b/horde/templates/block/facebook_story.html.php index 72ce3ec6f..04f65825d 100644 --- a/horde/templates/block/facebook_story.html.php +++ b/horde/templates/block/facebook_story.html.php @@ -11,9 +11,9 @@ * $this->likesInfo Text to display for the Like info (You and one other person etc...) */ ?> -
+
-
+
actorProfileLink ?>
message) ? '' : $this->message;?> attachment)):?> @@ -40,8 +40,8 @@
-
postInfo?>
-
likesInfo?>
+
postInfo?>
+
likesInfo?>
 
\ No newline at end of file diff --git a/horde/templates/block/twitter_tweet.html.php b/horde/templates/block/twitter_tweet.html.php index 931ffa673..2b3d65c0e 100644 --- a/horde/templates/block/twitter_tweet.html.php +++ b/horde/templates/block/twitter_tweet.html.php @@ -15,22 +15,22 @@ * */ ?> -
-
+
+
profileLink ?><?php echo $this->authorName?>
profileLink . $this->authorName ?>
-
+
body ?> -
+
createdAt), $GLOBALS['prefs']->getValue('date_format')), $this->clientText)?>
tweet->retweeted_status)):?> -
+
escape($this->tweet->user->screen_name), true)) . $this->escape($this->tweet->user->screen_name) ?>
-
+
link(array('onclick' => 'Horde.' . $this->instanceid . '.buildReply(\'' . $this->tweet->id . '\', \'' . $this->tweet->user->screen_name . '\', \'' . $this->tweet->user->name . '\'); return false;')) . _("Reply") ?>  |  link(array('onclick' => 'Horde.twitter' . $this->instanceid . '.retweet(\'' . $this->tweet->id . '\'); return false;')) . _("Retweet") ?>
diff --git a/horde/themes/screen.css b/horde/themes/screen.css index 7b6b7c045..601ac7e6b 100644 --- a/horde/themes/screen.css +++ b/horde/themes/screen.css @@ -1192,27 +1192,35 @@ div.GrowlerNoticeExit:hover { } /* Social Media Related CSS */ -.fbstreamstory { +.hordeSmStreamstory { margin-bottom: 7px; padding-top: 7px; position: relative; } -.fbstreambody { +.hordeSmStreambody { padding: 0 0 0 70px; min-height: 60px; } -.fbstreaminfo { +.hordeSmStreaminfo { color: #777777; padding: 2px 0 0; font-style: italic; } -.fbgetmore { +.hordeSmGetmore { text-align: center; } -.fbcurrent { +.hordeSmCurrent { font-style: italic; color: gray; } +.hordeSmAvatar { + float: left; + text-align: center; + height: 73px; + width: 73px; + margin-right: 5px; + padding-top: 5px; +} /* For in place editing */ form.inplaceeditor-form { -- 2.11.0