styling on the favor/disfavor forms to show inline
darcs-hash:20080908201751-84dde-a498395d26b957b72350d8075d056b661a1f77c7.gz
This commit is contained in:
parent
0075f1136f
commit
9dafde2c9f
@ -1550,6 +1550,7 @@ function common_session_token() {
|
||||
function common_disfavor_form($notice) {
|
||||
common_element_start('form', array('id' => 'disfavor-' . $notice->id,
|
||||
'method' => 'post',
|
||||
'class' => 'disfavor',
|
||||
'action' => common_local_url('disfavor')));
|
||||
common_hidden('token', common_session_token());
|
||||
common_hidden('notice', $notice->id);
|
||||
@ -1560,6 +1561,7 @@ function common_disfavor_form($notice) {
|
||||
function common_favor_form($notice) {
|
||||
common_element_start('form', array('id' => 'favor-' . $notice->id,
|
||||
'method' => 'post',
|
||||
'class' => 'favor',
|
||||
'action' => common_local_url('favor')));
|
||||
common_hidden('token', common_session_token());
|
||||
common_hidden('notice', $notice->id);
|
||||
|
@ -647,6 +647,10 @@ input#openid_url {
|
||||
|
||||
/* ----- favor/disfavor -----*/
|
||||
|
||||
form#disfavor, form.disfavor {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
input#disfavor, input.disfavor {
|
||||
display: inline;
|
||||
color: #C15D42;
|
||||
@ -656,6 +660,10 @@ input#disfavor, input.disfavor {
|
||||
width: auto;
|
||||
}
|
||||
|
||||
form#favor, form.favor {
|
||||
display: inline;
|
||||
}
|
||||
|
||||
input#favor, input.favor {
|
||||
display: inline;
|
||||
color: #C15D42;
|
||||
|
Loading…
Reference in New Issue
Block a user