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
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
|
<!DOCTYPE HTML>
<html i18n-values="dir:textdirection;">
<head>
<meta charset="utf-8">
<title i18n-content="title"></title>
<link rel="icon" href="../../app/theme/history_favicon.png">
<link rel="stylesheet" href="chrome://resources/css/menu.css">
<link rel="stylesheet" href="shared/css/button.css">
<link rel="stylesheet" href="shared/css/checkbox.css">
<script src="chrome://resources/js/event_tracker.js"></script>
<script src="chrome://resources/js/cr.js"></script>
<script src="chrome://resources/js/cr/ui.js"></script>
<script src="chrome://resources/js/cr/ui/command.js"></script>
<script src="chrome://resources/js/cr/ui/menu_item.js"></script>
<script src="chrome://resources/js/cr/ui/menu.js"></script>
<script src="chrome://resources/js/cr/ui/position_util.js"></script>
<script src="chrome://resources/js/cr/ui/menu_button.js"></script>
<script src="chrome://resources/js/local_strings.js"></script>
<script src="chrome://history/history.js"></script>
<script src="chrome://history/strings.js"></script>
<link rel="stylesheet" href="old_webui.css">
<style>
#results-separator {
border-top: 1px solid #9cc2ef;
background-color: #ebeff9;
font-weight: bold;
padding: 3px;
margin-bottom: -8px;
margin-top: 12px;
}
#results-separator table {
width: 100%;
}
#results-summary {
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
width: 50%;
}
#editing-controls button {
margin: 18px 0 -8px 0;
}
#results-display {
margin: 16px 0 0 0;
max-width: 740px;
}
.day {
color: #6a6a6a;
font-size: 13px;
font-weight: bold;
margin: 0 0 4px 0;
text-transform: uppercase;
}
.edit-button {
-webkit-appearance: none;
background: none;
border: 0;
color: blue; /* -webkit-link makes it purple :'( */
cursor: pointer;
display: inline-block;
font: inherit;
text-decoration: underline;
padding: 0px 9px;
}
.gap,
.entry,
.no-entries {
list-style: none;
margin: 0;
padding: 0;
}
.gap {
-webkit-border-end: 1px solid #ddd;
height: 14px;
width: 35px;
}
.entry {
overflow: auto; /* Make sure it's at least as large as its children. */
}
.entry-box {
-webkit-box-orient: horizontal;
cursor: default;
display: -webkit-box;
float: left;
line-height: 1.6em;
/* Don't allow it to be bigger than its parent but make the box shrink to fit
* its content. */
max-width: 100%;
overflow: hidden;
}
html[dir=rtl] .entry-box {
float: right; /* To make the box shrink to fit its content. */
}
.entry-box > label > * {
display: inline-block;
white-space: nowrap;
}
.search-results, .day-results {
margin: 0 0 24px 0;
padding: 0;
}
.snippet {
-webkit-margin-start: 90px; /* Align it with .domain. */
clear: both;
font-size: 12px;
line-height: 1.6em;
margin-bottom: 12px;
}
.entry .domain {
-webkit-padding-end: 8px;
-webkit-padding-start: 20px;
background-position-y: center;
background-repeat: no-repeat;
color: #282;
}
.drop-down {
-webkit-margin-end: 4px;
-webkit-margin-start: 8px;
background: #fff -webkit-canvas(drop-down-arrow) no-repeat center center;
border: 1px solid hsl(214, 91%, 85%);
border-radius: 2px;
height: 13px;
position: relative;
top: 2px;
width: 13px;
}
.drop-down:hover {
background-image: -webkit-canvas(drop-down-arrow-hover);
border-color: #6A86DE;
}
.drop-down[menu-shown], .drop-down:focus {
background-color: #6A86DE;
background-image: -webkit-canvas(drop-down-arrow-active);
border-color: #6A86DE;
}
html[dir='rtl'] .entry .domain {
background-position-x: right;
}
.entry .time {
color:#9a9a9a;
width: 90px;
}
.entry input[type=checkbox] {
-webkit-margin-end: 6px;
-webkit-margin-start: 4px;
height: 13px;
line-height: 12px;
text-indent: -1px;
top: 2px;
width: 14px;
}
/* Checkboxes are shown when checked or focused, or when the entry is hovered.
Fade in on focus, but not on hover, because it makes the UI feel laggy. */
.entry input[type=checkbox]:not(:checked) {
-webkit-transition: opacity 150ms;
opacity: 0;
}
.entry-box:hover input[type=checkbox],
.entry-box input[type=checkbox]:focus {
opacity: 1;
}
.entry-box input[type=checkbox]:focus {
-webkit-transition: opacity 150ms;
}
.entry-box {
-webkit-transition: background-color 150ms;
background-color: none;
}
.entry-box:hover, .entry-box.contains-focus {
background-color: #e4ecf7;
border-radius: 2px;
}
.entry .title {
-webkit-box-flex: 1;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
}
.entry .title > .starred {
-webkit-margin-start: 4px;
background: url('shared/images/star_small.png');
background-repeat: no-repeat;
display: inline-block;
height: 11px;
width: 11px;
}
.entry .title > a {
color: #11c;
text-decoration: none;
}
.entry .title > a.to-be-removed {
text-decoration: line-through;
}
.entry .title > a:hover {
text-decoration: underline;
}
/* Since all history links are visited, we can make them blue. */
.entry .title > a:visted {
color: #11c;
}
.fade-out {
-webkit-transition: opacity 200ms;
opacity: 0;
}
</style>
</head>
<body i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
<div class="header">
<a id="history-section" href="">
<img src="shared/images/history_section.png"
width="67" height="67" class="logo" border="0"></a>
<form id="search-form" method="post" action="" class="form">
<input type="text" name="term" id="term">
<input type="submit" name="submit" i18n-values="value:searchbutton">
</form>
</div>
<div class="main">
<div id="results-separator">
<table border="0" cellPadding="0" cellSpacing="0">
<tr><td id="results-summary"></td><td id="edit-button"><p></p></td></tr>
</table>
</div>
<div id="editing-controls">
<button id="clear-browsing-data" i18n-content="clearallhistory"></button>
<button id="remove-selected"
disabled="disabled"
i18n-content="removeselected"></button>
</div>
<div id="results-display"></div>
<div id="results-pagination"></div>
</div>
<menu id="action-menu">
<button id="more-from-site" i18n-content="moreFromSite"></button>
<button id="remove-page" i18n-content="removeFromHistory"></button>
</menu>
<script src="chrome://resources/js/i18n_template.js"></script>
<script src="chrome://resources/js/i18n_process.js"></script>
</body>
</html>
|