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

Unified Diff: chrome/browser/resources/md_downloads/vulcanized.html

Issue 2503893003: MD Extensions: Replace toolbar/search field with cr-toolbar (Closed)
Patch Set: Re-use clear search string. Created 4 years, 1 month 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/app/generated_resources.grd ('k') | chrome/browser/resources/md_extensions/manager.html » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/resources/md_downloads/vulcanized.html
diff --git a/chrome/browser/resources/md_downloads/vulcanized.html b/chrome/browser/resources/md_downloads/vulcanized.html
index 386c969be179e1eb274cf01eb2445b6fef90d4cd..671b608a1058b21842f6f3e5537db87291a61ef7 100644
--- a/chrome/browser/resources/md_downloads/vulcanized.html
+++ b/chrome/browser/resources/md_downloads/vulcanized.html
@@ -3070,6 +3070,7 @@ input[type='search']::-webkit-search-decoration, input[type='search']::-webkit-s
<style scope="cr-toolbar">:host {
--cr-toolbar-field-width: 580px;
--cr-toolbar-height: 56px;
+ align-items: center;
color: #fff;
display: flex;
height: var(--cr-toolbar-height);
@@ -3105,8 +3106,7 @@ h1 {
}
#centeredContent {
- -webkit-margin-start: var(--cr-toolbar-field-margin, 0);
- display: flex;
+ display: flex;
flex: 1 1 0;
justify-content: center;
}
@@ -3124,6 +3124,10 @@ h1 {
-webkit-padding-start: var(--cr-toolbar-left-content-wide_-_-webkit-padding-start); flex: var(--cr-toolbar-left-content-wide_-_flex); max-width: var(--cr-toolbar-left-content-wide_-_max-width, calc((100% - var(--cr-toolbar-field-width)) / 2)); position: var(--cr-toolbar-left-content-wide_-_position);
}
+:host(:not([narrow_])) #centeredContent {
+ -webkit-margin-start: var(--cr-toolbar-field-margin, 0);
+}
+
:host(:not([narrow_])) #rightContent {
flex: var(--cr-toolbar-right-content-wide_-_flex); position: var(--cr-toolbar-right-content-wide_-_position);
}
« no previous file with comments | « chrome/app/generated_resources.grd ('k') | chrome/browser/resources/md_extensions/manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698