Hide the search/sort form to the spoiler for Userlist page

This commit is contained in:
Visman 2020-12-23 16:29:20 +07:00
parent e932f7c30e
commit 1cb00d4138
2 changed files with 9 additions and 6 deletions

View file

@ -32,9 +32,12 @@
@if ($form = $p->form)
<section class="f-main f-userlist-form">
<h2>{!! __($p->user->searchUsers ? 'User search head' : 'User sort head') !!}</h2>
<div class="f-fdiv">
<details>
<summary>{!! __($p->user->searchUsers ? 'User search head' : 'User sort head') !!}</summary>
<div class="f-fdiv">
@include ('layouts/form')
</div>
</div>
</details>
</section>
@endif
@if ($p->userList)

View file

@ -157,6 +157,10 @@ body,
resize: vertical;
}
#fork summary {
cursor: pointer;
}
#fork select {
background-color: #D3B58D;
}
@ -1764,10 +1768,6 @@ body,
padding-left: 1.5rem;
}
#fork .f-bb-spoiler > summary {
cursor: pointer;
}
#fork .f-bb-s-body {
padding: 0.625rem;
border-left: 0.1875rem solid #AA7939;