From 9669a2be78f2f5f0024673a3dfe44e79564c9e5e Mon Sep 17 00:00:00 2001 From: Hendrik Leppelsack Date: Mon, 2 Nov 2015 12:14:54 +0100 Subject: keep searchbox open if it is in action --- core/css/styles.css | 3 ++- 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 4d9e3ae93d5..c3d2e50cbce 100644 --- a/core/templates/layout.user.php +++ b/core/templates/layout.user.php @@ -103,7 +103,7 @@ t('Search'));?> -- cgit v1.2.3