two column header controlled
This commit is contained in:
5
resources/assets/sass/app.css
vendored
5
resources/assets/sass/app.css
vendored
@ -21,6 +21,11 @@
|
||||
.index-actions {
|
||||
@apply ltr:[&:nth-child(2)]:border-l ltr:[&:nth-child(3)]:border-l-0 rtl:[&:nth-child(2)]:border-r rtl:[&:nth-child(3)]:border-r-0 ltr:[&:first-child]:rounded-tl-lg ltr:[&:first-child]:rounded-bl-lg ltr:[&:first-child]:border-r-0 rtl:[&:first-child]:rounded-tr-lg rtl:[&:first-child]:rounded-br-lg rtl:[&:first-child]:border-l-0 ltr:[&:last-child]:rounded-tr-lg ltr:[&:last-child]:rounded-br-lg ltr:[&:last-child]:border-l-0 rtl:[&:last-child]:rounded-tl-lg rtl:[&:last-child]:rounded-bl-lg rtl:[&:last-child]:border-r-0;
|
||||
}
|
||||
|
||||
.suggestion-buttons > a:first-child, .suggestion-buttons > button:first-child {
|
||||
@apply mt-2;
|
||||
}
|
||||
|
||||
[data-dropdown-actions] {
|
||||
transform: unset !important;
|
||||
}
|
||||
|
@ -1,10 +1,10 @@
|
||||
@stack('header_start')
|
||||
|
||||
<div id="header" class="xl:pt-6">
|
||||
<div class="flex flex-col sm:flex-row flex-wrap items-start justify-between hide-empty-page">
|
||||
<div class="w-full sm:w-6/12 items-center mb-3 sm:mb-0">
|
||||
<div id="header" class="xl:pt-6 -mt-2">
|
||||
<div class="flex flex-col sm:flex-row items-start justify-between space-x-4 hide-empty-page">
|
||||
<div data-page-title-first class="w-full sm:w-6/12 items-center mb-3 sm:mb-0">
|
||||
<div class="flex items-center">
|
||||
<h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5">
|
||||
<h1 class="flex items-center text-2xl xl:text-5xl text-black font-light -ml-0.5 mt-2 whitespace-nowrap">
|
||||
<x-title>
|
||||
{!! $title !!}
|
||||
</x-title>
|
||||
@ -24,20 +24,18 @@
|
||||
</div>
|
||||
</div>
|
||||
|
||||
<div class="w-full sm:w-6/12">
|
||||
<div class="flex flex-wrap flex-col sm:flex-row sm:items-center justify-end sm:space-x-2 sm:rtl:space-x-reverse">
|
||||
@stack('header_button_start')
|
||||
<div data-page-title-second class="w-full flex flex-wrap flex-col sm:flex-row sm:items-center justify-end sm:space-x-2 sm:rtl:space-x-reverse space-y-2 suggestion-buttons">
|
||||
@stack('header_button_start')
|
||||
|
||||
{!! $buttons !!}
|
||||
{!! $buttons !!}
|
||||
|
||||
@stack('header_button_end')
|
||||
@stack('header_button_end')
|
||||
|
||||
<x-suggestions />
|
||||
<x-suggestions />
|
||||
|
||||
@stack('header_suggestion_end')
|
||||
@stack('header_suggestion_end')
|
||||
|
||||
{!! $moreButtons !!}
|
||||
</div>
|
||||
{!! $moreButtons !!}
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
@ -5,11 +5,11 @@
|
||||
@endphp
|
||||
|
||||
@if ($slot_is_string >= $textSize && ! $slot_isHtml)
|
||||
<x-tooltip id="page-title" placement="bottom" message="{!! $slot !!}">
|
||||
<div class="truncate" style="width: 22rem;">
|
||||
{!! $slot !!}
|
||||
</div>
|
||||
</x-tooltip>
|
||||
<div class="overflow-x-hidden">
|
||||
<div data-title-truncate class="truncate">
|
||||
{!! $slot !!}
|
||||
</div>
|
||||
</div>
|
||||
@else
|
||||
{!! $slot !!}
|
||||
@endif
|
@ -3,7 +3,7 @@
|
||||
<span
|
||||
id="{{ $favorited ? 'remove-from-favorite' : 'add-to-favorite' }}"
|
||||
@class([
|
||||
'flex items-center text-purple text-2xl ltr:ml-2 rtl:mr-2 lg:mt-2 cursor-pointer',
|
||||
'flex items-center text-purple text-2xl ltr:ml-2 rtl:mr-2 lg:mt-4 cursor-pointer',
|
||||
'material-icons-outlined transform transition-all hover:scale-125' => ($favorited) ? false : true,
|
||||
'material-icons' => (! $favorited) ? false : true,
|
||||
])
|
||||
|
Reference in New Issue
Block a user