diff options
Diffstat (limited to 'bootstrap/comments/backend/classes/commentsui.php')
-rw-r--r-- | bootstrap/comments/backend/classes/commentsui.php | 26 |
1 files changed, 18 insertions, 8 deletions
diff --git a/bootstrap/comments/backend/classes/commentsui.php b/bootstrap/comments/backend/classes/commentsui.php index 9acd447..3273dc0 100644 --- a/bootstrap/comments/backend/classes/commentsui.php +++ b/bootstrap/comments/backend/classes/commentsui.php @@ -29,7 +29,8 @@ class CommentsUI extends FormUI { $comment_wrapper = new HTMLTag ('div', array ( 'id' => $permalink, - 'class' => 'hashover-comment' + 'class' => 'hashover-comment bg-white' + . ' rounded text-teal-darkest px-4 py-3 shadow-md my-3' ), false); if ($this->mode !== 'php') { @@ -46,7 +47,8 @@ class CommentsUI extends FormUI public function nameWrapper ($class = '{{class}}', $link = '{{link}}') { $name_wrapper = new HTMLTag ('span', array ( - 'class' => 'hashover-comment-name ' . $class, + 'class' => 'hashover-comment-name' + . ' text-sm font-bold text-black ' . $class, 'innerHTML' => $link ), false); @@ -99,7 +101,7 @@ class CommentsUI extends FormUI $thread_link = new HTMLTag ('a', array ( 'href' => '#' . $parent, 'id' => 'hashover-thread-link-' . $permalink, - 'class' => 'hashover-thread-link', + 'class' => 'hashover-thread-link no-underline text-grey-darker text-sm', 'title' => $this->locale->text['thread-tip'], 'innerHTML' => $inner_html ), false); @@ -135,7 +137,7 @@ class CommentsUI extends FormUI // Append more attributes $date_link->appendAttributes (array ( 'href' => '#' . $permalink, - 'class' => 'hashover-date-permalink', + 'class' => 'hashover-date-permalink no-underline text-grey-darker text-sm', 'title' => 'Permalink', 'innerHTML' => $date ), false); @@ -166,7 +168,9 @@ class CommentsUI extends FormUI $link = new HTMLTag ('a', array ( 'href' => '#', 'id' => 'hashover-' . $type . '-' . $permalink, - 'class' => $class, + 'class' => $class . ' no-underline bg-grey-lightest hover:bg-grey-light text-grey-darkest' + . ' font-bold py-1 px-2 border-b-4 border-r border-l border-t hover:border-grey-dark' + . ' rounded text-sm', 'title' => $title, 'innerHTML' => $text ), false); @@ -184,7 +188,9 @@ class CommentsUI extends FormUI // Create more attributes $link->createAttributes (array ( 'id' => $form. '-link-' . $permalink, - 'class' => 'hashover-comment-' . $type, + 'class' => ' no-underline bg-grey-lightest hover:bg-grey-light text-grey-darkest font-bold' + . ' py-1 px-2 border-b-4 border-r border-l border-t hover:border-grey-dark rounded text-sm' + . ' hashover-comment-' . $type, 'title' => $this->locale->text[$title_locale] )); @@ -280,7 +286,9 @@ class CommentsUI extends FormUI // Create more attributes $cancel_button->createAttributes (array ( - 'class' => 'hashover-submit ' . $class, + 'class' => 'no-underline bg-grey-lightest hover:bg-grey-light text-grey-darkest font-bold' + . ' py-1 px-2 border-b-4 border-r border-l border-t hover:border-grey-dark rounded text-sm' + . ' hashover-submit ' . $class, 'title' => $cancel_locale, 'innerHTML' => $cancel_locale )); @@ -399,7 +407,9 @@ class CommentsUI extends FormUI // Continue with other attributes $reply_post_button->createAttributes (array ( - 'class' => 'hashover-submit hashover-reply-post', + 'class' => 'no-underline bg-grey-lightest hover:bg-grey-light text-grey-darkest font-bold' + . ' py-1 px-2 border-b-4 border-r border-l border-t hover:border-grey-dark rounded text-sm' + . ' cursor-pointer hashover-submit hashover-reply-post', 'type' => 'submit', 'name' => 'post', 'value' => $post_reply, |