-
Notifications
You must be signed in to change notification settings - Fork 33
/
Copy pathfind_bar.html
77 lines (76 loc) · 2.05 KB
/
find_bar.html
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
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
<meta charset='utf-8'/>
<style>
:root {
--hterm-grey-200-rgb: 232, 234, 237; /* #e8eaed */
--hterm-grey-200: rgb(var(--hterm-grey-200-rgb));
--hterm-grey-400-rgb: 189, 193, 198; /* #bdc1c6 */
--hterm-grey-400: rgb(var(--hterm-grey-400-rgb));
--hterm-grey-600-rgb: 128, 134, 139; /* #80868b */
--hterm-grey-600: rgb(var(--hterm-grey-600-rgb));
--hterm-grey-800-rgb: 60, 64, 67; /* #3c4043 */
--hterm-grey-800: rgb(var(--hterm-grey-800-rgb));
}
#hterm\:find-bar {
align-items: center;
background: white;
border: 1px solid var(--hterm-grey-600);
border-radius: 2px;
box-shadow: 0 2px 2px 1px rgba(var(--hterm-grey-600-rgb), .1);
display: none;
font-family: sans-serif;
padding: 5px 15px;
position: fixed;
right: 16px;
top : 0;
z-index: 1;
}
#hterm\:find-bar.enabled {
display: flex;
}
#hterm\:find-bar > input {
border: 0;
margin: 8px 0;
outline: none;
width: 200px;
}
#hterm\:find-bar-vertical-separator {
align-self: stretch;
border-left: 1px solid var(--hterm-grey-400);
margin-left: 10px;
}
#hterm\:find-bar > .button {
align-items: center;
border-radius: 50%;
cursor: var(--hterm-mouse-cursor-pointer);
display: flex;
height: 24px;
justify-content: center;
margin-left: 8px;
transition: background-color 0.3s linear;
width: 24px;
}
#hterm\:find-bar > .button.enabled:hover {
background-color: var(--hterm-grey-200);
}
#hterm\:find-bar > .button.enabled:active {
background-color: var(--hterm-grey-400);
transition: background-color 0s;
}
#hterm\:find-bar > .button.enabled > svg {
fill: var(--hterm-grey-800);
}
#hterm\:find-bar > .button > svg {
height: 20px;
fill: var(--hterm-grey-400);
width: 20px;
}
#hterm\:find-bar-count {
color: var(--hterm-grey-600);
}
</style>
<input type='text'>
<div id='hterm:find-bar-count'>0/0</div>
<div id='hterm:find-bar-vertical-separator' tabindex='-1'></div>
<div id='hterm:find-bar-up' class='button' role='button'></div>
<div id='hterm:find-bar-down' class='button' role='button'></div>
<div id='hterm:find-bar-close' class='button enabled' role='button'></div>