1/* Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file.
4 */
5
6.filter-control {
7  -webkit-user-select: none;
8  display: -webkit-box;
9  position: relative;
10}
11
12.filter-control .hit-count-label {
13  opacity: 0.25;
14  pointer-events: none;
15  position: absolute;
16  right: 0.5ex;
17  text-align: right;
18  top: 1px;
19  width: 30ex;
20  z-index: 1;
21}
22
23.filter-control input {
24  -webkit-user-select: auto;
25  background-color: #f8f8f8;
26  border: 1px solid rgba(0, 0, 0, 0.5);
27  box-sizing: border-box;
28  height: 19px;
29  margin-bottom: 1px;
30  margin-left: 0;
31  margin-right: 0;
32  margin-top: 1px;
33  padding: 0;
34  width: 30ex;
35}
36
37.filter-control input:focus {
38  background-color: white;
39}
40
41.filter-control input + .hit-count-label {
42  display: none;
43}
44
45.filter-control input:focus + .hit-count-label {
46  display: inline;
47}