]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Quick style update for profile blocks.
authorSamantha Doherty <sammy@status.net>
Wed, 16 Mar 2011 17:50:24 +0000 (13:50 -0400)
committerSamantha Doherty <sammy@status.net>
Wed, 16 Mar 2011 17:50:24 +0000 (13:50 -0400)
lib/profileblock.php
plugins/ExtendedProfile/ExtendedProfilePlugin.php
theme/neo/css/display.css

index dca0814437452ca8e94683ced83230d1e1e13c90..19e5a386ba5b71a3cac60222811804069dc1c603 100644 (file)
@@ -56,7 +56,7 @@ abstract class ProfileBlock extends Widget
 
     function show()
     {
-        $this->out->elementStart('div', 'profile_block');
+        $this->out->elementStart('div', 'profile_block section');
 
         $size = $this->avatarSize();
 
index b69c65df1f68f2648d564f108c5dee267ad1e695..127c91a543ef18238e023c1a3335e537b7bcd040 100644 (file)
@@ -114,7 +114,7 @@ class ExtendedProfilePlugin extends Plugin
         $user = User::staticGet('id', $profile->id);
         if ($user) {
             $url = common_local_url('profiledetail', array('nickname' => $user->nickname));
-            $out->element('a', array('href' => $url), _m('More details...'));
+            $out->element('a', array('href' => $url, 'class' => 'profiledetail'), _m('More details...'));
         }
         return true;
     }
index 7cb5e119111cc4fd3ec4a56d3956661adc3de7f6..92da5977efec378ebe1665717e4be0adefd53b29 100644 (file)
@@ -413,6 +413,33 @@ address {
     text-transform: uppercase;
 }
 
+.profile_block_name {
+    font-size: 14px;
+    font-weight: bold;
+}
+
+.profile_block_location {
+    font-weight: bold;
+}
+
+.profile_block_description {
+    line-height: 1.2em;
+}
+
+.profile_block .entity_actions {
+    float: left;
+    margin-left: 0px;
+}
+
+.profile_block .entity_moderation:hover ul,
+.profile_block .entity_role:hover ul {
+    left: 20px;
+}
+
+.profile_block a.profiledetail {
+    display: block;
+}
+
 .section ul.entities {
     width: 220px;
 }