]> git.mxchange.org Git - quix0rs-gnu-social.git/commitdiff
Formatting for profile/group account blocks and entity action buttons.
authorSamantha Doherty <sammy@status.net>
Mon, 11 Apr 2011 13:49:12 +0000 (09:49 -0400)
committerSamantha Doherty <sammy@status.net>
Mon, 11 Apr 2011 14:05:36 +0000 (10:05 -0400)
lib/accountprofileblock.php
lib/groupprofileblock.php
theme/base/css/display.css
theme/neo/css/display.css

index 25734f53ed35a17956eba02de8c280d470a4cd20..59c27776018dac7c2bfddaf27e5557bf120bf0e0 100644 (file)
@@ -310,7 +310,7 @@ class AccountProfileBlock extends ProfileBlock
 
     function show()
     {
-        $this->out->elementStart('div', 'account_profile_block section');
+        $this->out->elementStart('div', 'profile_block account_profile_block section');
         if (Event::handle('StartShowAccountProfileBlock', array($this->out, $this->profile))) {
             parent::show();
             Event::handle('EndShowAccountProfileBlock', array($this->out, $this->profile));
index 30e9a235a291b320beef06edc7d34526e4628acc..10dddb84676b90f6317d91cc5b3ad96828e546ce 100644 (file)
@@ -126,7 +126,7 @@ class GroupProfileBlock extends ProfileBlock
 
     function show()
     {
-        $this->out->elementStart('div', 'group_profile_block section');
+        $this->out->elementStart('div', 'profile_block group_profile_block section');
         if (Event::handle('StartShowGroupProfileBlock', array($this->out, $this->group))) {
             parent::show();
             Event::handle('EndShowGroupProfileBlock', array($this->out, $this->group));
index 6e7644648484b246e33ea9d2f1757ff7d5378b67..68081a8898827d75b182fa9aed93226fae623dd6 100644 (file)
@@ -1347,6 +1347,8 @@ border:0;
 padding:0;
 width:16px;
 height:16px;
+    position: relative;
+    top: -3px;
 }
 
 .entity_profile .entity_nickname,
index 6942d1f010ddb928dca053504578e7b6257e77a7..da19d021271189ff5ff290dd6c38c5df2b2d8a0f 100644 (file)
@@ -481,6 +481,18 @@ address {
     text-transform: uppercase;
 }
 
+.profile_block .entity_actions {
+    float: right;
+    width: 110px;
+    margin-top: 2px;
+    margin-bottom: 2px;
+}
+
+.profile_block .entity_moderation:hover ul,
+.profile_block .entity_role:hover ul {
+    right: 20px;
+}
+
 .profile_block_name {
     font-size: 14px;
     font-weight: bold;
@@ -494,20 +506,6 @@ address {
     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: 240px;
 }