Skip to content
GitLab
Explore
Sign in
Primary navigation
Search or go to…
Project
MetaGer
Manage
Activity
Members
Labels
Plan
Issues
Issue boards
Milestones
Wiki
Code
Merge requests
Repository
Branches
Commits
Tags
Repository graph
Compare revisions
Deploy
Releases
Container Registry
Model registry
Operate
Environments
Monitor
Incidents
Analyze
Value stream analytics
Contributor analytics
Repository analytics
Model experiments
Help
Help
Support
GitLab documentation
Compare GitLab plans
Community forum
Contribute to GitLab
Provide feedback
Keyboard shortcuts
?
Snippets
Groups
Projects
Show more breadcrumbs
open-source
MetaGer
Commits
8360f9cf
Commit
8360f9cf
authored
6 years ago
by
Dominik Hebeler
Browse files
Options
Downloads
Patches
Plain Diff
Removed lang input and key input is accessible mobile too
parent
5bfa888d
No related branches found
No related tags found
No related merge requests found
Changes
2
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
resources/less/metager/parts/searchbar.less
+0
-19
0 additions, 19 deletions
resources/less/metager/parts/searchbar.less
resources/views/parts/searchbar.blade.php
+0
-11
0 additions, 11 deletions
resources/views/parts/searchbar.blade.php
with
0 additions
and
30 deletions
resources/less/metager/parts/searchbar.less
+
0
−
19
View file @
8360f9cf
...
@@ -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
}
}
...
...
This diff is collapsed.
Click to expand it.
resources/views/parts/searchbar.blade.php
+
0
−
11
View file @
8360f9cf
...
@@ -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
') }}">
...
...
This diff is collapsed.
Click to expand it.
Preview
0%
Loading
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Save comment
Cancel
Please
register
or
sign in
to comment