Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(8020)

Unified Diff: chrome/browser/resources/md_history/side_bar.html

Issue 2088093004: Add a footer about other forms of history to the MD history page. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/resources/md_history/history.js ('k') | chrome/browser/resources/md_history/side_bar.js » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_history/side_bar.html
diff --git a/chrome/browser/resources/md_history/side_bar.html b/chrome/browser/resources/md_history/side_bar.html
index 1a281acd5e16f684270aa00653e373726b191699..9248956d03d5df4c722a9d2f264ff125a12ba5bf 100644
--- a/chrome/browser/resources/md_history/side_bar.html
+++ b/chrome/browser/resources/md_history/side_bar.html
@@ -10,6 +10,7 @@
<style include="shared-style">
:host {
display: block;
+ height: 100%;
padding-top: 5px;
width: var(--side-bar-width);
}
@@ -25,7 +26,7 @@
}
paper-item {
- -webkit-padding-start: 25px;
+ -webkit-padding-start: 24px;
msramek 2016/06/23 13:34:07 I think this should be 24px, since: 1. It's in th
cursor: pointer;
font-size: 14px;
font-weight: 500;
@@ -41,6 +42,26 @@
background-color: transparent;
color: #5a5a5a;
}
+
+ #footer {
+ bottom: 0;
+ color: var(--paper-grey-600);
+ font-size: 14px;
+ font-weight: 400;
+ position: absolute;
+ width: var(--side-bar-width);
+ }
+
+ #footer-text {
+ -webkit-padding-end: 16px;
+ -webkit-padding-start: 24px;
+ margin: 24px 0;
+ }
+
+ #footer a {
+ color: var(--google-blue-700);
+ text-decoration: none;
+ }
</style>
<paper-listbox id="overflow-menu" selected="0" on-iron-select="onSelect_"
selectable=".page-item">
@@ -57,6 +78,10 @@
<div>$i18n{clearBrowsingData}</div>
<paper-ripple></paper-ripple>
</paper-item>
+ <div id="footer" hidden="[[!showFooter]]">
+ <div class="separator"></div>
+ <div id="footer-text">$i18nRaw{footer}</div>
+ </div>
</paper-listbox>
</template>
<script src="chrome://history/side_bar.js"></script>
« no previous file with comments | « chrome/browser/resources/md_history/history.js ('k') | chrome/browser/resources/md_history/side_bar.js » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698