Made user_actions styles more consistent

This commit is contained in:
sarven 2009-01-21 06:54:17 +00:00
parent f90bd303af
commit 27b627c094
3 changed files with 16 additions and 10 deletions

View File

@ -330,7 +330,7 @@ class ShowstreamAction extends Action
$user = User::staticGet('id', $this->profile->id); $user = User::staticGet('id', $this->profile->id);
if ($cur && $cur->id != $user->id && $cur->mutuallySubscribed($user)) { if ($cur && $cur->id != $user->id && $cur->mutuallySubscribed($user)) {
$this->elementStart('li', array('id' => 'user_send_a_new_message')); $this->elementStart('li', array('id' => 'user_send-a-message'));
$this->element('a', array('href' => common_local_url('newmessage', array('to' => $user->id))), $this->element('a', array('href' => common_local_url('newmessage', array('to' => $user->id))),
_('Send a message')); _('Send a message'));
$this->elementEnd('li'); $this->elementEnd('li');

View File

@ -611,16 +611,25 @@ width:100%;
} }
#user_actions a { #user_actions a {
text-decoration:none; text-decoration:none;
font-weight:bold;
width:100%;
display:block;
} }
.form_user_block input.submit, .form_user_block input.submit,
.form_user_unblock input.submit { .form_user_unblock input.submit,
#user_send-a-message a,
.form_user_nudge input.submit {
border:0; border:0;
padding-left:20px; padding-left:20px;
} }
#user_send-a-message a {
padding:4px 4px 4px 23px;
}
#user_subscribe input.submit, #user_subscribe input.submit,
@ -631,13 +640,9 @@ padding-left:20px;
#user_send-a-message form { #user_send-a-message form {
clear:left;
width:322px;
margin-top:18px;
} }
#user_send-a-message textarea { #user_send-a-message textarea {
width:96%;
} }
.user_tags ul { .user_tags ul {

View File

@ -41,7 +41,9 @@ color:#fff;
a, a,
div.notice-options input, div.notice-options input,
.form_user_block input.submit, .form_user_block input.submit,
.form_user_unblock input.submit { .form_user_unblock input.submit,
#user_send-a-message a,
.form_user_nudge input.submit {
color:#002E6E; color:#002E6E;
} }
@ -63,8 +65,7 @@ background-color:#CEE1E9;
#notice_text-count { #notice_text-count {
color:#333; color:#333;
} }
#form_notice.warning #notice_text-count, #form_notice.warning #notice_text-count {
#user_actions a {
color:#000; color:#000;
} }
@ -131,7 +132,7 @@ background-image:url(../../base/images/icons/icon_vcard.gif);
} }
.form_user_send-a-message input.submit, #user_send-a-message a,
.form_user_nudge input.submit, .form_user_nudge input.submit,
.form_user_block input.submit, .form_user_block input.submit,
.form_user_unblock input.submit { .form_user_unblock input.submit {