aboutsummaryrefslogtreecommitdiff
path: root/bootstrap
diff options
context:
space:
mode:
authorThedro Neely <thedroneely@gmail.com>2019-06-29 13:58:37 -0400
committerThedro Neely <thedroneely@gmail.com>2019-06-29 13:58:37 -0400
commitc990c2bb7c89699c180bc1417a05e956b816a50c (patch)
tree865badb18c977f9cc120c42a54db733bd20884ba /bootstrap
parent2345070d796bad4925b38d6e9da188ffda23c6ee (diff)
downloadedwinmattiacci.com-c990c2bb7c89699c180bc1417a05e956b816a50c.tar.gz
edwinmattiacci.com-c990c2bb7c89699c180bc1417a05e956b816a50c.tar.bz2
edwinmattiacci.com-c990c2bb7c89699c180bc1417a05e956b816a50c.zip
bootstrap/comments/backend/classes/commentsui: Upgrade comments ui to latest Tailwind
Diffstat (limited to 'bootstrap')
-rw-r--r--bootstrap/comments/backend/classes/commentsui.php22
1 files changed, 11 insertions, 11 deletions
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',