further tweak style
authorMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 3 Jul 2010 00:42:31 +0000 (20:42 -0400)
committerMichael J. Rubinsky <mrubinsk@horde.org>
Sat, 3 Jul 2010 00:42:31 +0000 (20:42 -0400)
horde/lib/Block/fb_stream.php
horde/services/twitter.php
horde/themes/facebook.css

index 6efb094..d26c518 100644 (file)
@@ -216,7 +216,7 @@ EOF;
                 . ' ' . _("Event Invites:") . ' ' . count($notifications['event_invites']) . '</div>';
         }
 
-        $html .= '<div class="fbgreybox"><img style="float:left;" src="' . $status['pic_square_with_logo'] . '" /><div id="currentStatus" class="' . $class . '" style="margin-left:55px;">' . $status['status']['message'] . '</div>';
+        $html .= '<div class="fbgreybox fbboxfont"><img style="float:left;" src="' . $status['pic_square_with_logo'] . '" /><div id="currentStatus" class="' . $class . '" style="margin-left:55px;">' . $status['status']['message'] . '</div>';
         try {
             //TODO: We could probably cache this perm somehow - maybe in the session?
             if ($facebook->users->hasAppPermission(Horde_Service_Facebook_Auth::EXTEND_PERMS_PUBLISHSTREAM)) {
index e7b9dd3..a0010f4 100644 (file)
@@ -178,10 +178,10 @@ if (empty($profile)) {
     echo sprintf(_("Login to Twitter and authorize the %s application:"), $registry->get('name')) . $link . 'Twitter</a>';
 } else {
     /* We know we have a good Twitter token here, so check for any actions... */
-    echo '<div class="fbbluebox" style="float:left">';
+    echo '<div class="fbbluebox fbboxfont" style="float:left">';
     echo '<span><img src="' . $profile->profile_image_url. '" alt="' . htmlspecialchars($profile->screen_name) . '" /></span>';
     echo '<span><div>' . htmlspecialchars($profile->name) . '</div><div>' . htmlspecialchars($profile->location) . '</div></span>';
     echo '</div><div class="clear">&nbsp;</div>';
-    echo '<div class="fbbluebox">' . sprintf(_("%s can interact with your Twitter account."), $registry->get('name'));
+    echo '<div class="fbbluebox fbboxfont">' . sprintf(_("%s can interact with your Twitter account."), $registry->get('name'));
     echo ' <div class="fbaction"><input type="submit" class="fbbutton" value="' . _("Disable") . '" onclick="document.prefs.actionID.value=\'revokeInfinite\'; return true" /></div></div>';
 }
index a551cda..fe46ab6 100644 (file)
 {
     text-decoration: underline;
 }
+.fbboxfont {
+    font-size: 13px;
+    font-weight: bold;
+}
 /* Facebook Box Styles */
 .fbgreybox
 {
@@ -35,8 +39,6 @@
     border: 1px solid #cccccc;
     color: #333333;
     padding: 10px;
-    font-size: 13px;
-    font-weight: bold;
 }
 .fbbluebox
 {
@@ -44,8 +46,6 @@
     border: 1px solid #d4dae8;
     color: #333333;
     padding: 10px;
-    font-size: 13px;
-    font-weight: bold;
 }
 .fbinfobox
 {