diff options
author | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-02 13:58:10 +0100 |
---|---|---|
committer | Thomas Müller <thomas.mueller@tmit.eu> | 2015-11-02 13:58:10 +0100 |
commit | 053effaa5124ac527712ac97193eb444259c69bc (patch) | |
tree | da148c29d80c1a7f39a94d41d4c1339122174872 /core | |
parent | a8641fdc9559d67696fb612597c4b27d1832220a (diff) | |
parent | 9669a2be78f2f5f0024673a3dfe44e79564c9e5e (diff) | |
download | nextcloud-server-053effaa5124ac527712ac97193eb444259c69bc.tar.gz nextcloud-server-053effaa5124ac527712ac97193eb444259c69bc.zip |
Merge pull request #20220 from owncloud/keep-search-open
Keep searchbox open if it is in action
Diffstat (limited to 'core')
-rw-r--r-- | core/css/styles.css | 3 | ||||
-rw-r--r-- | core/templates/layout.user.php | 2 |
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 15e4cc9986f..3ffbdd068e2 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> |