From 1268be4f82123a4dc8260f14813d7babb7f5c9f9 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Mon, 29 Jun 2009 22:07:16 +0000 Subject: [PATCH 1/2] Using role for admin indicator. Added margin-left. --- actions/groupmembers.php | 2 +- theme/base/css/display.css | 12 +++++------- 2 files changed, 6 insertions(+), 8 deletions(-) diff --git a/actions/groupmembers.php b/actions/groupmembers.php index be7a9e81c7..14256526a0 100644 --- a/actions/groupmembers.php +++ b/actions/groupmembers.php @@ -172,7 +172,7 @@ class GroupMemberListItem extends ProfileListItem parent::showFullName(); if ($this->profile->isAdmin($this->group)) { $this->out->text(' '); - $this->out->element('span', 'admin_indicator', _('Admin')); + $this->out->element('span', 'role', _('Admin')); } } diff --git a/theme/base/css/display.css b/theme/base/css/display.css index df4e756330..379f2eeac4 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -585,13 +585,14 @@ font-weight:normal; content: ")"; font-weight:normal; } - -.entity_profile dt { -display:none; -} +.entity_profile dt, .entity_profile h2 { display:none; } +.entity_profile .role { +margin-left:11px; +font-style:italic; +} /* entity_profile */ /*entity_actions*/ @@ -1299,6 +1300,3 @@ display:none; .guide { clear:both; } -.admin_indicator { -font-style:italic; -} \ No newline at end of file From 357f3784b590f43ec0968a4c713b0fca2ec26074 Mon Sep 17 00:00:00 2001 From: Sarven Capadisli Date: Mon, 29 Jun 2009 22:30:40 +0000 Subject: [PATCH 2/2] Using max-width:480px for settings_design_background-image image --- theme/base/css/display.css | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/theme/base/css/display.css b/theme/base/css/display.css index 379f2eeac4..dd89f3543c 100644 --- a/theme/base/css/display.css +++ b/theme/base/css/display.css @@ -1266,6 +1266,10 @@ clear:both; margin-bottom:0; } +#form_settings_design #settings_design_background-image img { +max-width:480px; +} + #form_settings_design #settings_design_color .form_data, #form_settings_design #color-picker { float:left;