Chromium Code Reviews| 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 cbe88ecce9d6cf721aaa42abe37d1866fae35ffc..592249e2c0a25e30e3a407d79f7d6d4fab9cb0de 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); |
| } |
| @@ -40,7 +41,7 @@ |
| } |
| paper-item { |
| - -webkit-padding-start: 25px; |
| + -webkit-padding-start: 24px; |
| cursor: pointer; |
| font-size: 14px; |
| font-weight: 500; |
| @@ -55,6 +56,26 @@ |
| -webkit-user-select: none; |
| color: #5a5a5a; |
| } |
| + |
| + #footer { |
| + /* This compensates the 120px by which app-banner protrudes under |
|
calamity
2016/07/05 04:03:13
by which app-"drawer"?
msramek
2016/07/06 19:24:10
Done. Force of habit :)
|
| + the viewport. */ |
|
Dan Beam
2016/07/01 15:38:27
/* This compensates the 120px by which app-banner
msramek
2016/07/06 19:24:10
app-drawer, sorry for the confusion :)
Specifical
|
| + bottom: 120px; |
| + color: var(--paper-grey-600); |
| + 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> |
| <app-drawer id="drawer" tabindex="0" on-focus="onDrawerFocus_" swipe-open |
| @@ -75,6 +96,10 @@ |
| <paper-item on-tap="onClearBrowsingDataTap_" id="clear-browsing-data"> |
| $i18n{clearBrowsingData} |
| </paper-item> |
| + <div id="footer" hidden="[[!showFooter]]"> |
| + <div class="separator"></div> |
| + <div id="footer-text">$i18nRaw{footer}</div> |
|
calamity
2016/07/05 04:03:13
nit: sidebarFooter perhaps?
msramek
2016/07/06 19:24:10
Done.
|
| + </div> |
| </iron-selector> |
| </app-drawer> |
| </template> |