From b72fd2f4b41b6acbdea826361612fccc00c76681 Mon Sep 17 00:00:00 2001 From: Jonas Heinrich Date: Thu, 16 Apr 2020 14:23:49 +0200 Subject: [PATCH] implement search page and search results --- kit/css/footer.css | 1 - kit/functions.php | 32 ++++++++++++++++ kit/index.php | 23 ++++++++++++ kit/search.php | 92 ++++++++++++++++++++++++++++++++++++++++++++++ kit/searchpage.php | 39 ++++++++++++-------- kit/style.css | 34 ----------------- 6 files changed, 171 insertions(+), 50 deletions(-) create mode 100644 kit/search.php diff --git a/kit/css/footer.css b/kit/css/footer.css index 6f421cf..83879e8 100644 --- a/kit/css/footer.css +++ b/kit/css/footer.css @@ -220,7 +220,6 @@ @media (max-width: 960px) { .meta-footer-slogan { - -ms-flex-wrap: wrap; flex-wrap: wrap; } } diff --git a/kit/functions.php b/kit/functions.php index 0f2ebda..d6aa2db 100644 --- a/kit/functions.php +++ b/kit/functions.php @@ -169,6 +169,38 @@ function kit_customize_css() background-color: ; } + .headline-element h2::after { + background-color: ; + } + + form input[type='submit'] { + background-color: ; + } + + .tx-indexedsearch .tx-indexedsearch-searchbox form fieldset .tx-indexedsearch-search-submit button { + background-color: ; + } + + .tx-indexedsearch .tx-indexedsearch-browsebox ul li.tx-indexedsearch-browselist-currentPage a { + background-color: ; + } + + .tx-indexedsearch .tx-indexedsearch-browsebox ul li a:hover { + background-color: ; + } + + .tx-indexedsearch .tx-indexedsearch-res { + border-bottom: 1px solid ; + } + + .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title a:hover { + color: ; + } + + .tx-indexedsearch .tx-indexedsearch-res .link-more span:hover { + color: ; + } + + + + +
diff --git a/kit/search.php b/kit/search.php new file mode 100644 index 0000000..e5639d5 --- /dev/null +++ b/kit/search.php @@ -0,0 +1,92 @@ + + +
+ + + +
+
+ + +
+

Suche

+
+ + + +
+
+ + +
+
+ + +
+
+ + + +
+

+ Anzeige der Ergebnisse 1 bis 10 von insgesamt 12 +

+ + + +
+ + + +
+

+ + + +

+

+ +

+ Weiterlesen +
+ + + + + + +
+ +
+ + +
+
+ + +
+ + -
- -
- -
- -
-

Suche

-
-
-
-
-
+
+

Suche

+
- +
+
-
+ +
+
diff --git a/kit/style.css b/kit/style.css index e40779a..69c80dd 100644 --- a/kit/style.css +++ b/kit/style.css @@ -613,7 +613,6 @@ section .content-wrap > * + * { @media (max-width: 960px) { .container-3-cols { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-3-cols .column { @@ -629,7 +628,6 @@ section .content-wrap > * + * { margin-top: 1.66667rem; } .container-2-cols-golden-rule { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-2-cols-golden-rule .column { @@ -641,7 +639,6 @@ section .content-wrap > * + * { margin-left: 0; } .container-2-cols-2-thirds-1-third { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-2-cols-2-thirds-1-third .column { @@ -656,7 +653,6 @@ section .content-wrap > * + * { @media (max-width: 768px) { .container-4-cols { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-4-cols .column { @@ -675,7 +671,6 @@ section .content-wrap > * + * { @media (max-width: 680px) { .container-2-cols { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-2-cols .column { @@ -695,7 +690,6 @@ section .content-wrap > * + * { @media (max-width: 420px) { .container-3-cols { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-3-cols .column { @@ -706,7 +700,6 @@ section .content-wrap > * + * { margin-left: 0; } .container-4-cols { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .container-4-cols .column { @@ -1017,7 +1010,6 @@ h6 { left: 0; width: 5.83333rem; height: 0.44444rem; - background-color: #009982; opacity: 1; transition: left 1s, width .7s, opacity .5s; } @@ -1967,7 +1959,6 @@ body.page-theme-color-quaternary .tabs-and-triangle::after { } .locations-map .button { - -ms-flex-item-align: start; align-self: flex-start; width: 100%; padding: 1.11111rem 1.11111rem; @@ -2381,7 +2372,6 @@ form textarea { } form input[type='submit'] { - -ms-flex-item-align: start; align-self: flex-start; display: inline-block; width: auto; @@ -2390,7 +2380,6 @@ form input[type='submit'] { margin-top: 0.83333rem; color: #ffffff; font-weight: 500; - background-color: #009982; transition: background-color .5s; } @@ -2976,7 +2965,6 @@ body.page-theme-color-quaternary .pro-contra ul li.contra { @media (max-width: 560px) { .pro-contra { - -ms-flex-wrap: wrap; flex-wrap: wrap; } .pro-contra ul { @@ -3198,14 +3186,11 @@ body.page-theme-color-quaternary .icon-headline-text li.star::before { } .tabs-auto-height .tab-content-container { - display: -ms-grid; display: grid; } .tabs-auto-height .tab-content-wrapper { - -ms-grid-column: 1; grid-column: 1; - -ms-grid-row: 1; grid-row: 1; display: block; } @@ -3292,7 +3277,6 @@ body.page-theme-color-quaternary .tab-navigation-item.active > div::after { width: 100%; margin-top: 10px; border-bottom: none; - -ms-flex-wrap: wrap; flex-wrap: wrap; background-color: #ffffff; } @@ -4767,7 +4751,6 @@ article > p:first-child { text-decoration: none; text-transform: uppercase; vertical-align: bottom; - background-color: #009982; border-radius: 0; outline: none; user-select: none; @@ -4814,10 +4797,6 @@ article > p:first-child { margin-right: 0; } -.tx-indexedsearch .tx-indexedsearch-browsebox ul li.tx-indexedsearch-browselist-currentPage a { - background-color: #009982; -} - .tx-indexedsearch .tx-indexedsearch-browsebox ul li::before { display: none; } @@ -4829,23 +4808,14 @@ article > p:first-child { transition: background-color .3s; } -.tx-indexedsearch .tx-indexedsearch-browsebox ul li a:hover { - background-color: #009982; -} - .tx-indexedsearch .tx-indexedsearch-res { padding: 30px 0; - border-bottom: 1px solid #009982; } .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title a { transition: color .3s; } -.tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-title a:hover { - color: #009982; -} - .tx-indexedsearch .tx-indexedsearch-res .tx-indexedsearch-description strong { font-weight: 400; background-color: rgba(0, 153, 130, 0.1); @@ -4869,10 +4839,6 @@ article > p:first-child { transition: transform .3s; } -.tx-indexedsearch .tx-indexedsearch-res .link-more span:hover { - color: #009982; -} - .tx-indexedsearch .tx-indexedsearch-res .link-more span:hover::after { transform: translateX(3px); }