diff --git a/resources/assets/less/metager/searchbar.less b/resources/assets/less/metager/searchbar.less index ec76f20597020581d9b8b95325309b4327876de1..0b7b38a64c9a957cbf18ecc93f51929847bc4172 100644 --- a/resources/assets/less/metager/searchbar.less +++ b/resources/assets/less/metager/searchbar.less @@ -53,42 +53,43 @@ .search-button-container { display: flex; margin-top: 3%; - .search-add-focus { - //display: flex; - position: relative; - button { - background-color: white; - border: none; - padding: 0px 8px; - font-size: 16px; - &:hover { - background-color: #e6e6e6; - } + } + + .search-add-focus { + //display: flex; + position: relative; + button { + background-color: white; + border: none; + padding: 0px 8px; + font-size: 16px; + &:hover { + background-color: #e6e6e6; } } - .search-edit-focus { - //display: flex; - position: relative; - button { - background-color: white; - border: none; - padding: 0px 8px; - font-size: 16px; - &:hover { - background-color: #e6e6e6; - } + } + .search-edit-focus { + //display: flex; + position: relative; + button { + background-color: white; + border: none; + padding: 0px 8px; + font-size: 16px; + &:hover { + background-color: #e6e6e6; } } - .search-settings { - //display: flex; - position: relative; - a.btn { - border: none; - padding: 0px 8px; - display: block; - align-items: center; - font-size: 16px; - } + } + .search-settings { + //display: flex; + position: relative; + a.btn { + border: none; + padding: 0px 8px; + display: block; + align-items: center; + font-size: 16px; } } diff --git a/resources/views/parts/searchbar.blade.php b/resources/views/parts/searchbar.blade.php index fe5c3633d0c8ed79939c0b1bbedec3cea526c047..036c621783877621144b2e6acc7905da9ef19a12 100644 --- a/resources/views/parts/searchbar.blade.php +++ b/resources/views/parts/searchbar.blade.php @@ -7,6 +7,22 @@ <button type="button" id="toggleOptBtn" data-mode="o"> <i class="fa fa-chevron-down"></i> </button> + <noscript> + <style> + #toggleOptBtn { + display: none; + } + .search-settings { + padding: 5px; + border-right: solid 1px #ccc; + } + </style> + <div class="search-settings"> + <a id="settings-btn" class="mutelink btn btn-default" href="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "settings ") }}"> + <i class="fa fa-cog" aria-hidden="true"></i> + </a> + </div> + </noscript> <select id="focus-select" name="focus" style="font-family: FontAwesome, sans-serif;"> <option value="web" style="font-family: FontAwesome, sans-serif;" selected> Websuche</option> <option value="nachrichten" style="font-family: FontAwesome, sans-serif;"> Nachrichtensuche</option>