Commit 2cdecc90 by Scott

Clean up form CSS

Removed some default table stylings.
Set borders on wide form table only.
Add colors for error/success messages.
Reduce some selector nesting.
parent 8639322a
...@@ -657,25 +657,25 @@ class qa_html_theme extends qa_html_theme_base ...@@ -657,25 +657,25 @@ class qa_html_theme extends qa_html_theme_base
private function icons_info() private function icons_info()
{ {
$icons = array( $icons = array(
'answer' => 'Answer', 'answer',
'comment' => 'Comment', 'comment',
'hide' => 'Hide', 'hide',
'show' => 'Show', 'reshow',
'close' => 'Close', 'close',
'reopen' => 'Re-Open', 'reopen',
'flag' => 'Flag', 'flag',
'unflag' => 'Un-Flag', 'unflag',
'edit' => 'Edit', 'edit',
'delete' => 'Delete', 'delete',
'approve' => 'Approve', 'approve',
'reject' => 'Reject', 'reject',
'reply' => 'Reply', 'reply',
); );
$icons_info = '<div class="qam-icons-info">'; $icons_info = '<div class="qam-icons-info">';
foreach ($icons as $icon => $label) foreach ($icons as $icon) {
{ $label = ucwords(qa_lang_html('question/' . $icon . '_button'));
$icons_info .= '<div class="qam-icon-item"><span class="' . $icon . '"></span> ' . $label . '</div>'; $icons_info .= '<div class="qam-icon-item"><span class="' . $icon . '"></span> ' . $label . '</div>';
} }
$icons_info .= '</div> <!-- END qam-icons-info -->'; $icons_info .= '</div> <!-- END qam-icons-info -->';
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment