Commit 8360f9cf authored by Dominik Hebeler's avatar Dominik Hebeler

Removed lang input and key input is accessible mobile too

parent 5bfa888d
...@@ -22,19 +22,11 @@ ...@@ -22,19 +22,11 @@
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
max-width: 600px; max-width: 600px;
#search-lang {
#input-lang {
background-color: transparent;
border: none;
}
}
#search-lang,
#search-key { #search-key {
display: -webkit-box; display: -webkit-box;
display: -ms-flexbox; display: -ms-flexbox;
display: flex; display: flex;
z-index: 1; z-index: 1;
#input-lang,
#input-key { #input-key {
margin: 0; margin: 0;
padding: 0px; padding: 0px;
...@@ -58,14 +50,12 @@ ...@@ -58,14 +50,12 @@
box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1); box-shadow: 0px 0px 2px 2px rgba(255, 128, 0, 1);
border-color: rgba(255, 128, 0, 1); border-color: rgba(255, 128, 0, 1);
border-radius: 4px; border-radius: 4px;
+#lang-label,
+#key-label { +#key-label {
visibility: hidden; visibility: hidden;
width: 0px; width: 0px;
} }
} }
} }
#lang-label,
#key-label { #key-label {
cursor: pointer; cursor: pointer;
height: 40px; height: 40px;
...@@ -84,9 +74,6 @@ ...@@ -84,9 +74,6 @@
transition: width 0s, visibility 0s; transition: width 0s, visibility 0s;
-webkit-transition-delay: 0.3s; -webkit-transition-delay: 0.3s;
transition-delay: 0.3s; transition-delay: 0.3s;
#lang-label-code {
margin-left: 5px;
}
} }
} }
.search-input { .search-input {
...@@ -183,12 +170,6 @@ ...@@ -183,12 +170,6 @@
.resultpage-searchbar { .resultpage-searchbar {
.search-input-submit { .search-input-submit {
#search-lang,
#search-key {
@media (max-width: @screen-mobile) {
display: none;
}
}
.search-input input { .search-input input {
padding-right: 35px; // Makes it so the overlayed delete button does not hide the text belowF padding-right: 35px; // Makes it so the overlayed delete button does not hide the text belowF
} }
......
...@@ -3,17 +3,6 @@ ...@@ -3,17 +3,6 @@
<form id="searchForm" method={{ $request }} action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3 ") }}" accept-charset="UTF-8"> <form id="searchForm" method={{ $request }} action="{{ LaravelLocalization::getLocalizedURL(LaravelLocalization::getCurrentLocale(), "/meta/meta.ger3 ") }}" accept-charset="UTF-8">
<div class="searchbar {{$class ?? ''}}"> <div class="searchbar {{$class ?? ''}}">
<div class="search-input-submit"> <div class="search-input-submit">
<div id="search-lang">
<select id="input-lang" name="lang">
<option value="all">Alle Sprachen</option>
<option value="de">Deutsch</option>
<option value="en">English</option>
</select>
<label id="lang-label" for="input-lang" data-tooltip="{{ trans ('index.lang.tooltip') }}">
<i class="fa fa-globe" aria-hidden="true"></i>
<span id="lang-label-code"></span>
</label>
</div>
<div id="search-key"> <div id="search-key">
<input id="input-key" type="text" name="key" placeholder="{{ trans ('index.key.placeholder') }}" tabindex="1"> <input id="input-key" type="text" name="key" placeholder="{{ trans ('index.key.placeholder') }}" tabindex="1">
<label id="key-label" for="input-key" data-tooltip="{{ trans ('index.key.tooltip') }}"> <label id="key-label" for="input-key" data-tooltip="{{ trans ('index.key.tooltip') }}">
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment