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

Unified Diff: chrome/browser/resources/md_history/app.vulcanized.html

Issue 2275653002: MD Downloads: use "big search" box like MD history (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@dl-menu-rtl
Patch Set: fix tests Created 4 years, 4 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
Index: chrome/browser/resources/md_history/app.vulcanized.html
diff --git a/chrome/browser/resources/md_history/app.vulcanized.html b/chrome/browser/resources/md_history/app.vulcanized.html
index 425ccb7dbf9be2a2959e50125a8c28d1734f72ac..76215172b43fca97dfe6603d752141b90571e11b 100644
--- a/chrome/browser/resources/md_history/app.vulcanized.html
+++ b/chrome/browser/resources/md_history/app.vulcanized.html
@@ -2386,8 +2386,8 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
h1 {
- @apply(--layout-flex);
-webkit-margin-start: 6px;
+ flex: 1;
font-size: 123%;
font-weight: 400;
text-overflow: ellipsis;
@@ -2412,20 +2412,28 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
width: 32px;
}
- :host(:not([show-menu])) #menuButton {
- display: none;
- }
-
#centeredContent {
-webkit-margin-start: var(--cr-toolbar-field-margin, 0);
- -webkit-padding-end: 12px;
display: flex;
flex: 1 1 0;
justify-content: center;
}
+ :host([narrow_]) #centeredContent {
+ -webkit-padding-end: var(--cr-toolbar-field-end-padding, 12px);
+ }
+
+ :host(:not([narrow_])) h1 {
+ @apply(--cr-toolbar-header-wide);
+ }
+
:host(:not([narrow_])) #leftContent {
max-width: calc((100% - var(--cr-toolbar-field-width) - 18px) / 2);
+ @apply(--cr-toolbar-left-content-wide);
+ }
+
+ :host(:not([narrow_])) #rightContent {
+ @apply(--cr-toolbar-right-content-wide);
}
:host([narrow_]) #centeredContent {
@@ -2437,8 +2445,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
}
</style>
<div id="leftContent">
- <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_" title="[[menuLabel]]">
- </paper-icon-button>
+ <template is="dom-if" if="[[showMenu]]">
+ <paper-icon-button id="menuButton" icon="cr:menu" on-tap="onMenuTap_" title="[[menuLabel]]">
+ </paper-icon-button>
+ </template>
<h1>[[pageName]]</h1>
</div>
@@ -2448,6 +2458,10 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
<iron-media-query query="(max-width: 900px)" query-matches="{{narrow_}}">
</iron-media-query>
</div>
+
+ <div id="rightContent">
+ <content select=".more-actions"></content>
+ </div>
</template>
</dom-module>
<iron-iconset-svg size="24" name="history">
@@ -2590,7 +2604,7 @@ subject to an additional IP rights grant found at http://polymer.github.io/PATEN
--cr-toolbar-field-margin: var(--side-bar-width);
}
- cr-toolbar[show-menu] {
+ :host([has-drawer]) cr-toolbar {
--cr-toolbar-field-margin: 0;
}
« no previous file with comments | « chrome/browser/resources/md_history/app.crisper.js ('k') | chrome/browser/resources/md_history/history_toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698