From b0dadd6b2e4b462cda2760507b59fefda2b0e1d5 Mon Sep 17 00:00:00 2001 From: Thedro Neely Date: Sat, 29 Jun 2019 13:59:49 -0400 Subject: bootstrap/comments/backend/classes/formui: Upgrade from ui to latest Tailwind --- bootstrap/comments/backend/classes/formui.php | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) (limited to 'bootstrap') diff --git a/bootstrap/comments/backend/classes/formui.php b/bootstrap/comments/backend/classes/formui.php index 73556f4..09b094b 100644 --- a/bootstrap/comments/backend/classes/formui.php +++ b/bootstrap/comments/backend/classes/formui.php @@ -183,9 +183,9 @@ class FormUI // Create input element $input = new HTMLTag ('input', array ( 'id' => $attributes['input-id'], - 'class' => 'hashover-input-info shadow-md appearance-none block w-full bg-grey-lightest' - . ' text-grey-darker border border-grey-lighter rounded py-3 px-4 mb-3' - . ' leading-tight focus:outline-none focus:bg-white focus:border-grey', + 'class' => 'hashover-input-info shadow-md appearance-none block w-full bg-gray-100' + . ' text-gray-800 border border-gray-100 rounded py-3 px-4 mb-3' + . ' leading-tight focus:outline-none focus:bg-white focus:border-gray-500', 'type' => $attributes['input-type'], 'name' => $attributes['input-name'], 'value' => $attributes['input-value'], @@ -295,9 +295,9 @@ class FormUI $textarea = new HTMLTag ('textarea', array ( 'id' => 'hashover-' . $type . '-comment' . $permalink, 'class' => 'hashover-textarea shadow-md appearance-none block w-full' - . ' bg-grey-lightest text-grey-darker border border-grey-lighter' + . ' bg-gray-100 text-gray-800 border border-gray-100' . ' rounded py-3 px-4 mb-3 leading-tight focus:outline-none' - . ' focus:bg-white focus:border-grey hashover-' . $type . '-textarea', + . ' focus:bg-white focus:border-gray-500 hashover-' . $type . '-textarea', 'cols' => '63', 'name' => 'comment', 'rows' => '6', @@ -779,7 +779,7 @@ class FormUI // Create "Post Comment" button element $main_post_button = new HTMLTag ('input', array ( 'id' => 'hashover-post-button', - 'class' => 'hashover-submit hashover-post-button shadow bg-blue-light hover:bg-blue' + 'class' => 'hashover-submit hashover-post-button shadow bg-blue-400 hover:bg-blue-500' . ' focus:shadow-outline focus:outline-none text-white' . ' font-bold py-2 px-4 rounded my-4 cursor-pointer', 'type' => 'submit', @@ -906,7 +906,7 @@ class FormUI 'id' => 'hashover-sort-select', 'name' => 'sort', 'class' => 'appearance-none mt-2 bg-white border inline-block' - . ' border-grey-light hover:border-grey px-4 py-2 pr-8 rounded' + . ' border-gray-100 hover:border-gray-500 px-4 py-2 pr-8 rounded' . ' shadow leading-tight focus:outline-none focus:shadow-outline', 'size' => '1', 'title' => $this->locale->text['sort'] -- cgit v1.2.3