forked from GNUsocial/gnu-social
use label tab for checkboxes
darcs-hash:20081128223646-099f7-79b7c961b4494ff7430bd3c0a0f4742888098ede.gz
This commit is contained in:
parent
ce08833303
commit
5878647c55
@ -401,9 +401,8 @@ function common_checkbox($id, $label, $checked=false, $instructions=NULL, $value
|
|||||||
$attrs['disabled'] = 'true';
|
$attrs['disabled'] = 'true';
|
||||||
}
|
}
|
||||||
common_element('input', $attrs);
|
common_element('input', $attrs);
|
||||||
# XXX: use a <label>
|
|
||||||
common_text(' ');
|
common_text(' ');
|
||||||
common_element('span', 'checkbox_label', $label);
|
common_element('label', array('class' => 'checkbox_label', 'for' => $id), $label);
|
||||||
common_text(' ');
|
common_text(' ');
|
||||||
if ($instructions) {
|
if ($instructions) {
|
||||||
common_element('span', 'input_instructions', $instructions);
|
common_element('span', 'input_instructions', $instructions);
|
||||||
|
@ -145,6 +145,12 @@ textarea:focus, input:focus {
|
|||||||
color: #91AA9D;
|
color: #91AA9D;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
label.checkbox_label {
|
||||||
|
display: inline;
|
||||||
|
font-weight: normal;
|
||||||
|
}
|
||||||
|
|
||||||
|
|
||||||
#status_textarea {
|
#status_textarea {
|
||||||
color: #193441;
|
color: #193441;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user