home *** CD-ROM | disk | FTP | other *** search
- <!DOCTYPE HTML>
- <html i18n-values="dir:textdirection;">
- <head>
- <meta charset="utf-8">
-
- <title i18n-content="title"></title>
- <link rel="stylesheet" href="chrome://resources/css/chrome_shared.css">
- <link rel="stylesheet" href="chrome://resources/css/menu.css">
- <link rel="stylesheet" href="chrome://resources/css/menu_button.css">
- <link rel="stylesheet" href="chrome://resources/css/spinner.css">
- <style>/* Copyright (c) 2012 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. */
-
- body.uber-frame {
- -webkit-margin-start: 155px;
- color: rgb(48, 57, 66);
- }
-
- html[dir='rtl'] body.uber-frame {
- /* Enable vertical scrollbar at all times in RTL to avoid visual glitches when
- * showing sub-pages that vertically overflow. */
- overflow-y: scroll;
- }
-
- /* TODO(dbeam): Remove .page class from overlays in settings so the junk below
- * isn't necessary. */
- body.uber-frame #extension-settings.page,
- body.uber-frame #mainview-content .page,
- body.uber-frame .subpage-sheet-container .page,
- body.uber-frame > .page {
- -webkit-margin-end: 24px;
- min-width: 576px;
- padding-bottom: 20px;
- padding-top: 55px;
- }
-
- body.uber-frame header {
- background-image: -webkit-linear-gradient(white,
- white 40%,
- rgba(255, 255, 255, 0.92));
- left: 155px;
- /* <section>s in options currently amount to 638px total, broken up into
- * 600px max-width + 18px -webkit-padding-start + 20px -webkit-margin-end
- * so we mirror this value here so the headers match width and horizontal
- * alignment when scrolling sideways. */
- max-width: 738px;
- min-width: 600px;
- position: fixed;
- right: 0;
- top: 0;
- /* list.css sets a z-index of up to 2, this is set to 3 to ensure that the
- * header is in front of the selected list item. */
- z-index: 3;
- }
-
- html[dir='rtl'] body.uber-frame header {
- left: 0;
- right: 155px;
- }
-
- body.uber-frame header > .search-field-container,
- body.uber-frame header > .header-extras,
- body.uber-frame header > button {
- position: absolute;
- right: 20px;
- top: 21px;
- }
-
- html[dir='rtl'] body.uber-frame header > .search-field-container,
- html[dir='rtl'] body.uber-frame header > .header-extras,
- html[dir='rtl'] body.uber-frame header > button {
- left: 20px;
- right: auto;
- }
-
- body.uber-frame header input[type='search'],
- body.uber-frame header input[type='text'],
- body.uber-frame header button {
- margin: 0;
- }
-
- body.uber-frame header > h1 {
- margin: 0;
- padding: 21px 0 13px;
- }
-
- /* Create a border under the h1 (but before anything that gets appended
- * to the end of the header). */
- body.uber-frame header > h1::after {
- -webkit-margin-end: 20px;
- background-color: #eee;
- content: ' ';
- display: block;
- height: 1px;
- position: relative;
- top: 13px;
- }
-
- body.uber-frame footer {
- border-top: 1px solid #eee;
- margin-top: 16px;
- /* min-width and max-width should match the header */
- max-width: 638px;
- min-width: 600px;
- padding: 8px 0;
- }
-
- /* Sections are used in options pages, help page and history page. This defines
- * the section metrics to match the header metrics above. */
- body.uber-frame section {
- -webkit-padding-start: 18px;
- margin-bottom: 24px;
- margin-top: 8px;
- max-width: 600px;
- }
-
- body.uber-frame section:last-of-type {
- margin-bottom: 0;
- }
-
- body.uber-frame section > h3 {
- -webkit-margin-start: -18px;
- }
-
- @media(pointer:coarse) {
- /* TODO(kevers): Remove the extra padding once the following bug is fixed:
- * https://bugs.webkit.org/show_bug.cgi?id=95204
- * In the interim, the added padding makes it less likely that a touch will
- * span the boundary of the navigation bar, which results in poor touch
- * adjustments. */
- body.uber-frame section {
- -webkit-padding-start: 28px;
- }
- body.uber-frame section > h3 {
- -webkit-margin-start: -28px;
- }
- }
-
- body.uber-frame section > div:only-of-type {
- -webkit-box-flex: 1;
- }
-
- /* Styles for a hideable notification banner at the top of a page. */
- .page.showing-banner {
- margin-top: 45px;
- }
-
- .page-banner {
- background-color: white;
- width: 100%;
- z-index: 2;
- }
-
- .page:not(.showing-banner) .page-banner {
- display: none;
- }
-
- .page-banner-gradient {
- background: -webkit-linear-gradient(rgb(255, 242, 183),
- rgb(250, 230, 145));
- border: 1px solid rgb(201, 189, 141);
- border-radius: 3px;
- margin: 9px 9px 0 9px;
- min-height: 25px;
- }
-
- .page-banner .page-banner-gradient {
- -webkit-margin-end: 20px;
- -webkit-margin-start: 0;
- margin-bottom: 9px;
- }
-
- .page-banner-text {
- -webkit-padding-end: 8px;
- -webkit-padding-start: 26px;
- background-image: url('chrome://theme/IDR_MANAGED');
- background-position: 5px center;
- background-repeat: no-repeat;
- background-size: 16px;
- display: block;
- padding-bottom: 8px;
- padding-top: 8px;
- }
-
- .page-banner.clickable:active .page-banner-text {
- background: -webkit-linear-gradient(rgb(250, 230, 145),
- rgb(255, 242, 183));
- }
- </style>
- <style>/* Copyright (c) 2012 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. */
-
- body:not(.uber-frame) {
- color: rgb(48, 57, 66);
- margin: 0 8px 0 8px;
- }
-
- #editing-controls,
- #loading-spinner {
- margin-top: 16px;
- white-space: nowrap;
- }
-
- #loading-spinner[hidden] {
- display: inline-block;
- }
-
- #spinner {
- position: relative;
- top: 3px;
- }
-
- #editing-controls button:first-of-type {
- -webkit-margin-start: 0;
- }
-
- #results-display {
- margin: 16px 0 0 0;
- max-width: 740px;
- }
-
- .edit-button {
- -webkit-appearance: none;
- background: none;
- border: 0;
- color: blue; /* -webkit-link makes it purple :'( */
- cursor: pointer;
- display: inline-block;
- font: inherit;
- padding: 0 9px;
- text-decoration: underline;
- }
-
- .gap,
- .entry,
- .no-entries {
- list-style: none;
- margin: 0;
- padding: 0;
- }
-
- .gap {
- -webkit-border-end: 1px solid rgb(192, 195, 198);
- height: 14px;
- margin: 1px 0;
- width: 45px;
- }
-
- .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; /* Box will shrink to fit its content. */
- /* An odd line-height ensures a consistent baseline on all platforms. */
- line-height: 1.75em;
- margin-bottom: 6px;
- /* The box should be no bigger than its parent. */
- max-width: 100%;
- overflow: hidden;
- padding-bottom: 1px;
- }
-
- html[dir=rtl] .entry-box {
- float: right; /* To make the box shrink to fit its content. */
- }
-
- .day {
- white-space: nowrap;
- }
-
- .search-results,
- .day-results {
- margin: 0 0 24px 0;
- padding: 0;
- }
-
- .snippet {
- -webkit-box-orient: vertical;
- -webkit-line-clamp: 2;
- -webkit-margin-start: 110px;
- clear: both;
- color: rgb(34, 34, 34);
- display: -webkit-box;
- line-height: 1.6em;
- margin-bottom: 1em;
- overflow: hidden;
- text-overflow: ellipsis;
- }
-
- .entry .domain {
- color: rgb(151, 156, 160);
- padding-left: 6px;
- padding-right: 6px;
- }
-
- .drop-down {
- -webkit-margin-end: 5px;
- background: white -webkit-canvas(drop-down-arrow) no-repeat center 4px;
- border: 1px solid rgb(192, 195, 198);
- border-radius: 2px;
- height: 12px;
- padding: 0;
- position: relative;
- top: 2px;
- width: 12px;
- }
-
- .drop-down:hover {
- background-image: -webkit-canvas(drop-down-arrow-hover);
- border-color: rgb(48, 57, 66);
- }
-
- .drop-down[menu-shown],
- .drop-down:focus {
- background-color: rgb(48, 57, 66);
- background-image: -webkit-canvas(drop-down-arrow-active);
- border-color: rgb(48, 57, 66);
- }
-
- html[dir='rtl'] .entry .title {
- /* Put the favicon on the right. */
- background-position-x: right;
- }
-
- .entry .time {
- color: rgb(151, 156, 160);
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- width: 90px;
- }
-
- .search-results .time {
- width: 110px;
- }
-
- .entry input[type=checkbox] {
- -webkit-margin-end: 6px;
- -webkit-margin-start: 4px;
- line-height: 1em;
- }
-
- /* 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) {
- 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 {
- background-color: none;
- }
-
- .entry-box:hover,
- .entry-box.contains-focus {
- background-color: rgb(252, 252, 252);
- border-radius: 2px;
- }
-
- .entry .title {
- -webkit-box-flex: 1;
- overflow: hidden;
- text-overflow: ellipsis;
- white-space: nowrap;
- }
-
- .entry .title {
- /* Make room for the favicon. */
- -webkit-padding-start: 20px;
-
- /* Control the favicon appearance. */
- background-position-y: 3px;
- background-repeat: no-repeat;
- }
-
- .entry .starred {
- -webkit-margin-start: 4px;
- background: url('data:image/png;base64,iVBORw0KGgoAAAANSUhEUgAAAAsAAAALCAMAAACecocUAAABIFBMVEUAAABNT9mQlOuQleqcoOueouyore2zt+6GieukqO1lae59gu5NTttRU9uUmO+5vvN5feSaneuQlOuhpfNSVN9xdORHSeFmaOhrb+l7f+oxM+EpKs1LTdtOTr5jZdVkZtNtcOIXFpMaGbUnKLMzM8g7O7ZHSctISsNHRpdfYM0cHLolJsY2NqA9P94+PatLSGxNT+dOS11QTFxQToZVVINhXTBsb+Rtaotwc+NydONzbVJ2euZ3drV9diWOinuPh1WalWublCOcmHydliaelRuelh2qple0rgq5siG5tVi7tDi8t2a/v1bAwFjVygTj2STs5R7s6Dbu5AHv6h399A/99QL+9gH++QL++Qn/9w//+Qf/+Qr/+Qv//Ar//wL//wVJoqVjAAAAKnRSTlMAAhUVFRUiIikpaGh7e35+hISIiIyMjY2Zma3KytHR4uLr6/X19fX1+/u1+br2AAAAd0lEQVQIHQXBgwEDAADAsM62bdu2bev/L5YAYAmbAQAU3r5HDoBYpGqfakqhBDStRn7462XqVTWp7mZ1uO8X62YSf2n+fZ9f11nOh8wRXH4ez0HALgXc09vxMnIB6BK7cXGyjWsBW7mTdmYrBStgiMSMAlM0pOcPQdsR0Uyc0HcAAAAASUVORK5CYII=') no-repeat;
- display: inline-block;
- height: 11px;
- width: 11px;
- }
-
- .entry .title > a {
- color: rgb(48, 57, 66);
- text-decoration: none;
- }
-
- .entry .title > a.to-be-removed {
- text-decoration: line-through;
- }
-
- .entry .title > a:hover {
- text-decoration: underline;
- }
-
- .fade-out {
- -webkit-transition: opacity 200ms;
- opacity: 0;
- }
-
- .menu-button.drop-down {
- position: relative;
- top: 2px;
- }
-
- #action-menu > :not(hr) {
- line-height: 28px;
- }
- </style>
-
- <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/load_time_data.js"></script>
- <script src="chrome://resources/js/util.js"></script>
-
- <script src="chrome://history-frame/history.js"></script>
-
- </head>
-
- <body
- class="uber-frame"
- i18n-values=".style.fontFamily:fontfamily;.style.fontSize:fontsize">
-
- <div class="page">
- <header>
- <h1 i18n-content="history"></h1>
- <form id="search-form" method="post" action=""
- class="search-field-container">
- <input type="search" id="search-field">
- <input type="submit" id="search-button" i18n-values="value:searchbutton">
- </form>
- </header>
-
- <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="loading-spinner" hidden>
- <span id="loading">
- <div id="spinner" class="inline-spinner"></div>
- <span i18n-content="loading"></span>
- </span>
- </div>
- <div id="results-pagination">
- <button id="newest-button" class="link-button" i18n-content="newest"
- hidden>
- </button>
- <button id="newer-button" class="link-button" i18n-content="newer" hidden>
- </button>
- <button id="older-button" class="link-button" i18n-content="older" hidden>
- </button>
- </div>
- </div>
-
- <menu id="action-menu">
- <button id="more-from-site" i18n-content="moreFromSite"></button>
- <button id="remove-visit" i18n-content="removeFromHistory"></button>
- </menu>
-
- <script src="chrome://history-frame/strings.js"></script>
- <script src="chrome://resources/js/i18n_template2.js"></script>
- </body>
- </html>
-