summaryrefslogtreecommitdiffstats
path: root/core
diff options
context:
space:
mode:
authorHendrik Leppelsack <hendrik@leppelsack.de>2015-11-02 12:14:54 +0100
committerHendrik Leppelsack <hendrik@leppelsack.de>2015-11-02 12:14:54 +0100
commit9669a2be78f2f5f0024673a3dfe44e79564c9e5e (patch)
treeea3b727660da170d12bf13c08a60fb7d8c61c37a /core
parentd7ed3538144be355182ddfd905738978104ec154 (diff)
downloadnextcloud-server-9669a2be78f2f5f0024673a3dfe44e79564c9e5e.tar.gz
nextcloud-server-9669a2be78f2f5f0024673a3dfe44e79564c9e5e.zip
keep searchbox open if it is in action
Diffstat (limited to 'core')
-rw-r--r--core/css/styles.css3
-rw-r--r--core/templates/layout.user.php2
2 files changed, 3 insertions, 2 deletions
diff --git a/core/css/styles.css b/core/css/styles.css
index 1368d8bfa58..08969e1d10a 100644
--- a/core/css/styles.css
+++ b/core/css/styles.css
@@ -329,7 +329,8 @@ input:disabled+label, input:disabled:hover+label, input:disabled:focus+label {
opacity: .7;
}
.searchbox input[type="search"]:focus,
-.searchbox input[type="search"]:active {
+.searchbox input[type="search"]:active,
+.searchbox input[type="search"]:valid {
color: #fff;
width: 155px;
max-width: 50%;
diff --git a/core/templates/layout.user.php b/core/templates/layout.user.php
index 4d9e3ae93d5..c3d2e50cbce 100644
--- a/core/templates/layout.user.php
+++ b/core/templates/layout.user.php
@@ -103,7 +103,7 @@
<?php p($l->t('Search'));?>
</label>
<input id="searchbox" class="svg" type="search" name="query"
- value=""
+ value="" required
autocomplete="off" tabindex="5">
</form>
</div></header>