{include file='header' __disableAds=true}
-<style>
- .searchBar {
- display: grid;
- grid-template-columns: 60% 20% auto;
- column-gap: 20px;
- }
-
- .searchShowMoreFiltersButton {
- cursor: pointer;
- user-select: none;
- }
-
- .searchFiltersContainer {
- margin-top: 20px;
- }
-
- .searchFilters {
- margin-top: 20px;
- }
-
- .searchFilters {
- columns: 2;
- }
-
- .searchFilters > :is(div, dl) {
- break-inside: avoid-column;
- }
-</style>
-
<form id="extendedSearchForm" method="post" action="{link controller='Search'}{if $extended}extended=1{/if}{/link}">
<div class="section">
<div class="searchBar">
</div>
{/if}
{/foreach}
+
+ <button class="searchButton button buttonPrimary">{lang}wcf.global.search{/lang}</button>
</details>
</div>
</form>
color: rgba(0, 0, 0, 1);
padding: 0 2px;
}
+
+/* search form */
+.searchBar {
+ display: grid;
+
+ @include screen-md-up {
+ column-gap: 20px;
+ grid-template-columns: 60% 20% auto;
+ }
+
+ @include screen-sm-down {
+ row-gap: 5px;
+ }
+}
+
+.searchShowMoreFiltersButton {
+ cursor: pointer;
+ user-select: none;
+}
+
+.searchFiltersContainer {
+ margin-top: 20px;
+}
+
+.searchFilters {
+ margin-top: 20px;
+}
+
+@include screen-md-up {
+ .searchFilters {
+ columns: 2;
+ }
+
+ .searchFilters > :is(div, dl) {
+ break-inside: avoid-column;
+ }
+
+ .searchFiltersContainer .searchButton {
+ display: none;
+ }
+}
+
+@include screen-sm-down {
+ .searchFiltersContainer .searchButton {
+ margin-top: 20px;
+ width: 100%;
+ }
+}