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

Side by Side Diff: chrome/browser/resources/md_history/history_toolbar.html

Issue 1899043003: MD Downloads/History: unify page and toolbar background colors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: merge Created 4 years, 8 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 unified diff | Download patch
OLDNEW
1 <link rel="import" href="chrome://resources/html/polymer.html"> 1 <link rel="import" href="chrome://resources/html/polymer.html">
2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-flex-layout/iron-f lex-layout.html">
3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 3 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html"> 4 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button.html">
5 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field.html"> 5 <link rel="import" href="chrome://resources/cr_elements/cr_search_field/cr_searc h_field.html">
6 <link rel="import" href="chrome://history/shared_style.html"> 6 <link rel="import" href="chrome://history/shared_style.html">
7 7
8 <dom-module id="history-toolbar"> 8 <dom-module id="history-toolbar">
9 <template> 9 <template>
10 <style include="shared-style"> 10 <style include="md-shared-styles shared-style">
11 :host { 11 :host {
12 background: rgb(63, 85, 102); 12 background: var(--md-toolbar-color);
13 color: #fff; 13 color: #fff;
14 height: 56px; 14 height: 56px;
15 transition: background-color 150ms; 15 transition: background-color 150ms;
16 } 16 }
17 17
18 :host, 18 :host,
19 #overlay-buttons, 19 #overlay-buttons,
20 #overlay-wrapper, 20 #overlay-wrapper,
21 #main-content, 21 #main-content,
22 #button-container, 22 #button-container,
23 #toolbar-container { 23 #toolbar-container {
24 @apply(--layout-center); 24 @apply(--layout-center);
25 @apply(--layout-horizontal); 25 @apply(--layout-horizontal);
26 width: 100%; 26 width: 100%;
27 } 27 }
28 28
29 :host([items-selected_]) { 29 :host([items-selected_]) {
30 background: rgb(68, 136, 255); 30 background: rgb(68, 136, 255);
dschuyler 2016/04/20 20:44:46 Should using a var for this background color be pa
Dan Beam 2016/04/21 01:42:35 I don't think it's shared anywhere else yet
31 } 31 }
32 32
33 h1 { 33 h1 {
34 @apply(--layout-flex); 34 @apply(--layout-flex);
35 -webkit-padding-start: 24px; 35 -webkit-padding-start: 24px;
36 font-size: 123%; 36 font-size: 123%;
37 font-weight: 400; 37 font-weight: 400;
38 } 38 }
39 39
40 #left-content, 40 #left-content,
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after
109 </paper-button> 109 </paper-button>
110 <paper-button id="delete-button" on-tap="onDeleteTap_"> 110 <paper-button id="delete-button" on-tap="onDeleteTap_">
111 $i18n{delete} 111 $i18n{delete}
112 </paper-button> 112 </paper-button>
113 </div> 113 </div>
114 </div> 114 </div>
115 </div> 115 </div>
116 </template> 116 </template>
117 <script src="chrome://history/history_toolbar.js"></script> 117 <script src="chrome://history/history_toolbar.js"></script>
118 </dom-module> 118 </dom-module>
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698