From 807f92b6932e4c5beb4af136de6a6c7aa4a48c0c Mon Sep 17 00:00:00 2001 From: Dan Brown Date: Fri, 4 Jun 2021 22:28:38 +0100 Subject: [PATCH] Updated homepage action button colors for consistency Were previously inconsistent with other homepage buttons for non-default homepage options. --- resources/views/common/home-book.blade.php | 4 ++-- resources/views/common/home-custom.blade.php | 4 ++-- resources/views/common/home-shelves.blade.php | 4 ++-- resources/views/common/home.blade.php | 2 +- resources/views/components/expand-toggle.blade.php | 2 +- 5 files changed, 8 insertions(+), 8 deletions(-) diff --git a/resources/views/common/home-book.blade.php b/resources/views/common/home-book.blade.php index 1c18edb24..9f62d21e7 100644 --- a/resources/views/common/home-book.blade.php +++ b/resources/views/common/home-book.blade.php @@ -19,8 +19,8 @@ @endif @include('partials.view-toggle', ['view' => $view, 'type' => 'books']) - @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) - @include('partials.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary']) + @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) + @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary']) @stop diff --git a/resources/views/common/home-custom.blade.php b/resources/views/common/home-custom.blade.php index e08203057..a22e26002 100644 --- a/resources/views/common/home-custom.blade.php +++ b/resources/views/common/home-custom.blade.php @@ -18,8 +18,8 @@
{{ trans('common.actions') }}
- @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) - @include('partials.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary']) + @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) + @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary'])
@stop \ No newline at end of file diff --git a/resources/views/common/home-shelves.blade.php b/resources/views/common/home-shelves.blade.php index 957fa6578..3c32fed74 100644 --- a/resources/views/common/home-shelves.blade.php +++ b/resources/views/common/home-shelves.blade.php @@ -19,8 +19,8 @@ @endif @include('partials.view-toggle', ['view' => $view, 'type' => 'shelves']) - @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) - @include('partials.dark-mode-toggle', ['classes' => 'text-muted icon-list-item text-primary']) + @include('components.expand-toggle', ['classes' => 'text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) + @include('partials.dark-mode-toggle', ['classes' => 'icon-list-item text-primary']) @stop diff --git a/resources/views/common/home.blade.php b/resources/views/common/home.blade.php index 3a360b19c..187f222b5 100644 --- a/resources/views/common/home.blade.php +++ b/resources/views/common/home.blade.php @@ -6,7 +6,7 @@
- @include('components.expand-toggle', ['target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details']) + @include('components.expand-toggle', ['classes' => 'text-muted text-primary', 'target' => '.entity-list.compact .entity-item-snippet', 'key' => 'home-details'])
diff --git a/resources/views/components/expand-toggle.blade.php b/resources/views/components/expand-toggle.blade.php index 0c1449038..8ed7ff6e0 100644 --- a/resources/views/components/expand-toggle.blade.php +++ b/resources/views/components/expand-toggle.blade.php @@ -6,7 +6,7 @@ $key - Unique key for checking existing stored state.