blob: 148b54065795dcc7b009822ee852b04e7e553303 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
|
<!--
Copyright (c) 2013 The Chromium Authors. All rights reserved.
Use of this source code is governed by a BSD-style license that can be
found in the LICENSE file.
-->
<template id="find-control-template">
<style>
find-control-root {
-webkit-user-select: none;
display: -webkit-box;
position: relative;
}
input {
-webkit-user-select: auto;
background-color: #f8f8f8;
border: 1px solid rgba(0, 0, 0, 0.5);
box-sizing: border-box;
height: 19px;
margin-bottom: 1px;
margin-left: 0;
margin-right: 0;
margin-top: 1px;
padding: 0;
width: 170px;
}
input:focus {
background-color: white;
}
.button {
border-left: none;
height: 17px;
margin-left: 0;
}
.find-previous {
margin-right: 0;
}
.hit-count-label {
height: 19px;
left: 0;
opacity: 0.25;
pointer-events: none;
position: absolute;
text-align: right;
top: 2px;
width: 170px;
z-index: 1;
}
</style>
<find-control-root>
<input type='text' id='find-control-filter' />
<div class="button find-previous">←</div>
<div class="button find-next">→</div>
<div class="hit-count-label">1 of 7</div>
</find-control-root>
</template>
|