| Index: chrome/browser/resources/md_history/history_toolbar.html
|
| diff --git a/chrome/browser/resources/md_history/history_toolbar.html b/chrome/browser/resources/md_history/history_toolbar.html
|
| index cd00916be0bc745434721e8393df491dae5546bf..6de760d269a530f5ee054a6c1debb852f224da76 100644
|
| --- a/chrome/browser/resources/md_history/history_toolbar.html
|
| +++ b/chrome/browser/resources/md_history/history_toolbar.html
|
| @@ -17,7 +17,9 @@
|
|
|
| :host,
|
| #items,
|
| - #main-content {
|
| + #main-content,
|
| + #button-container,
|
| + #toolbar-container {
|
| @apply(--layout-center);
|
| @apply(--layout-horizontal);
|
| width: 100%;
|
| @@ -50,27 +52,66 @@
|
| width: 36px;
|
| }
|
|
|
| + #centered-buttons {
|
| + flex: 1 1 960px;
|
| + max-width: 960px;
|
| + }
|
| +
|
| + paper-button {
|
| + pointer-events: auto;
|
| + }
|
| +
|
| + .toolbar-overlay {
|
| + height: inherit;
|
| + left: 0;
|
| + pointer-events: none;
|
| + position: absolute;
|
| + top: 0;
|
| + }
|
| +
|
| + #front-padding {
|
| + flex: 1 1 0;
|
| + min-width: 100px;
|
| + }
|
| +
|
| + #back-padding {
|
| + flex: 1 1 0;
|
| + }
|
| +
|
| [hidden] {
|
| display: none !important;
|
| }
|
| </style>
|
|
|
| - <div id="main-content" hidden$="{{itemsSelected_}}">
|
| - <h1 i18n-content="title" id="title"></h1>
|
| - <cr-search-field id="search-input"
|
| - i18n-values="label:search;clear-label:clearSearch"></cr-search-field>
|
| - </div>
|
| + <div id="toolbar-container">
|
| + <div id="main-content" hidden$="{{itemsSelected_}}">
|
| + <h1 i18n-content="title" id="title"></h1>
|
| + <cr-search-field id="search-input"
|
| + i18n-values="label:search;clear-label:clearSearch">
|
| + </cr-search-field>
|
| + </div>
|
|
|
| - <div id="items" hidden$="{{!itemsSelected_}}">
|
| - <paper-icon-button icon="clear" id="cancel-icon-button"
|
| - on-tap="onClearSelectionTap_"></paper-icon-button>
|
| - <div id="number-selected">{{numberOfItemsSelected_(count)}}</div>
|
| - <paper-button id="cancel-button" on-tap="onClearSelectionTap_"
|
| - i18n-content="cancel"></paper-button>
|
| - <paper-button id="delete-button" i18n-content="delete"
|
| - on-tap="onDeleteTap_"></paper-button>
|
| + <div id="items" hidden$="{{!itemsSelected_}}">
|
| + <paper-icon-button icon="clear" id="cancel-icon-button"
|
| + on-tap="onClearSelectionTap_"></paper-icon-button>
|
| + <div id="number-selected">{{numberOfItemsSelected_(count)}}</div>
|
| + <paper-button id="cancel-button" on-tap="onClearSelectionTap_"
|
| + i18n-content="cancel"></paper-button>
|
| + <paper-button id="delete-button" i18n-content="delete"
|
| + on-tap="onDeleteTap_"></paper-button>
|
| + </div>
|
| </div>
|
|
|
| + <div id="button-container" class="toolbar-overlay">
|
| + <div id="front-padding"></div>
|
| + <div id="centered-buttons" hidden$="{{itemsSelected_}}">
|
| + <paper-button on-tap="onClearBrowsingDataTap_"
|
| + i18n-content="clearBrowsingData"
|
| + id="clear-browsing-data-button">
|
| + </paper-button>
|
| + </div>
|
| + <div id="back-padding"></div>
|
| + </div>
|
| </template>
|
| <script src="chrome://history/history_toolbar.js"></script>
|
| </dom-module>
|
|
|