From c990c2bb7c89699c180bc1417a05e956b816a50c Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Sat, 29 Jun 2019 13:58:37 -0400 Subject: bootstrap/comments/backend/classes/commentsui: Upgrade comments ui to latest Tailwind --- bootstrap/comments/backend/classes/commentsui.php | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/comments/backend/classes/commentsui.php b/bootstrap/comments/backend/classes/commentsui.php index 3273dc0..c96e4f8 100644 --- a/bootstrap/comments/backend/classes/commentsui.php +++ b/bootstrap/comments/backend/classes/commentsui.php @@ -30,7 +30,7 @@ class CommentsUI extends FormUI $comment_wrapper = new HTMLTag ('div', array ( 'id' => $permalink, 'class' => 'hashover-comment bg-white' - . ' rounded text-teal-darkest px-4 py-3 shadow-md my-3' + . ' rounded text-teal-900 px-4 py-3 shadow-md my-3' ), false); if ($this->mode !== 'php') { @@ -101,7 +101,7 @@ class CommentsUI extends FormUI $thread_link = new HTMLTag ('a', array ( 'href' => '#' . $parent, 'id' => 'hashover-thread-link-' . $permalink, - 'class' => 'hashover-thread-link no-underline text-grey-darker text-sm', + 'class' => 'hashover-thread-link no-underline text-gray-800 text-sm', 'title' => $this->locale->text['thread-tip'], 'innerHTML' => $inner_html ), false); @@ -137,7 +137,7 @@ class CommentsUI extends FormUI // Append more attributes $date_link->appendAttributes (array ( 'href' => '#' . $permalink, - 'class' => 'hashover-date-permalink no-underline text-grey-darker text-sm', + 'class' => 'hashover-date-permalink no-underline text-gray-800 text-sm', 'title' => 'Permalink', 'innerHTML' => $date ), false); @@ -168,8 +168,8 @@ class CommentsUI extends FormUI $link = new HTMLTag ('a', array ( 'href' => '#', 'id' => 'hashover-' . $type . '-' . $permalink, - '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' + 'class' => $class . ' no-underline bg-gray-100 hover:bg-gray-200 text-gray-800' + . ' font-bold py-1 px-2 border-b-4 border-r border-l border-t hover:border-gray-500' . ' rounded text-sm', 'title' => $title, 'innerHTML' => $text @@ -188,8 +188,8 @@ class CommentsUI extends FormUI // Create more attributes $link->createAttributes (array ( 'id' => $form. '-link-' . $permalink, - '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' + 'class' => ' no-underline bg-gray-100 hover:bg-gray-200 text-gray-800 font-bold' + . ' py-1 px-2 border-b-4 border-r border-l border-t hover:border-gray-500 rounded text-sm' . ' hashover-comment-' . $type, 'title' => $this->locale->text[$title_locale] )); @@ -286,8 +286,8 @@ class CommentsUI extends FormUI // Create more attributes $cancel_button->createAttributes (array ( - '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' + 'class' => 'no-underline bg-gray-100 hover:bg-gray-200 text-gray-800 font-bold' + . ' py-1 px-2 border-b-4 border-r border-l border-t hover:border-gray-500 rounded text-sm' . ' hashover-submit ' . $class, 'title' => $cancel_locale, 'innerHTML' => $cancel_locale @@ -407,8 +407,8 @@ class CommentsUI extends FormUI // Continue with other attributes $reply_post_button->createAttributes (array ( - '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' + 'class' => 'no-underline bg-gray-100 hover:bg-gray-200 text-gray-800 font-bold' + . ' py-1 px-2 border-b-4 border-r border-l border-t hover:border-gray-500 rounded text-sm' . ' cursor-pointer hashover-submit hashover-reply-post', 'type' => 'submit', 'name' => 'post', -- cgit v1.2.3