mirror of
https://github.com/BookStackApp/BookStack.git
synced 2024-11-23 07:13:14 +08:00
Updated homepage action button colors for consistency
Were previously inconsistent with other homepage buttons for non-default homepage options.
This commit is contained in:
parent
c5d31ea7b2
commit
807f92b693
|
@ -19,8 +19,8 @@
|
|||
</a>
|
||||
@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'])
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
|
|
@ -18,8 +18,8 @@
|
|||
<div class="actions mb-xl">
|
||||
<h5>{{ trans('common.actions') }}</h5>
|
||||
<div class="icon-list text-primary">
|
||||
@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'])
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
|
@ -19,8 +19,8 @@
|
|||
</a>
|
||||
@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'])
|
||||
</div>
|
||||
</div>
|
||||
@stop
|
||||
|
|
|
@ -6,7 +6,7 @@
|
|||
<div class="grid half">
|
||||
<div>
|
||||
<div class="icon-list inline block">
|
||||
@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'])
|
||||
</div>
|
||||
</div>
|
||||
<div class="text-m-right">
|
||||
|
|
|
@ -6,7 +6,7 @@ $key - Unique key for checking existing stored state.
|
|||
<button type="button" expand-toggle="{{ $target }}"
|
||||
expand-toggle-update-endpoint="{{ url('/settings/users/'. user()->id .'/update-expansion-preference/' . $key) }}"
|
||||
expand-toggle-is-open="{{ $isOpen ? 'yes' : 'no' }}"
|
||||
class="text-muted icon-list-item text-primary">
|
||||
class="icon-list-item {{ $classes ?? '' }}">
|
||||
<span>@icon('expand-text')</span>
|
||||
<span>{{ trans('common.toggle_details') }}</span>
|
||||
</button>
|
||||
|
|
Loading…
Reference in New Issue
Block a user