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

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

Issue 1717213003: [MD History] Extract shared stylesheet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix nits Created 4 years, 10 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/polymer/v1_0/polymer/polymer.html"> 1 <link rel="import" href="chrome://resources/polymer/v1_0/polymer/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 7
7 <dom-module id="history-toolbar"> 8 <dom-module id="history-toolbar">
8 <template> 9 <template>
9 10 <style include="shared-style"></style>
10 <style> 11 <style>
11 :host { 12 :host {
12 background: rgb(63, 85, 102); 13 background: rgb(63, 85, 102);
13 color: #fff; 14 color: #fff;
14 height: 56px; 15 height: 56px;
15 transition: background-color 150ms; 16 transition: background-color 150ms;
16 } 17 }
17 18
18 :host, 19 :host,
19 #items, 20 #items,
(...skipping 11 matching lines...) Expand all
31 32
32 h1 { 33 h1 {
33 @apply(--layout-flex); 34 @apply(--layout-flex);
34 font-size: 16px; 35 font-size: 16px;
35 font-weight: 400; 36 font-weight: 400;
36 padding-left: 24px; 37 padding-left: 24px;
37 } 38 }
38 39
39 #items { 40 #items {
40 margin: 0 auto; 41 margin: 0 auto;
41 max-width: 960px; 42 max-width: var(--card-max-width);
42 } 43 }
43 44
44 #number-selected { 45 #number-selected {
45 @apply(--layout-flex); 46 @apply(--layout-flex);
46 } 47 }
47 48
48 paper-icon-button { 49 paper-icon-button {
49 height: 36px; 50 height: 36px;
50 margin: 0 24px 0 2px; 51 margin: 0 24px 0 2px;
51 min-width: 36px; 52 min-width: 36px;
52 width: 36px; 53 width: 36px;
53 } 54 }
54 55
55 #centered-buttons { 56 #centered-buttons {
56 flex: 1 1 960px; 57 flex: 0 1 var(--card-max-width);
57 max-width: 960px;
58 } 58 }
59 59
60 paper-button { 60 paper-button {
61 pointer-events: auto; 61 pointer-events: auto;
62 } 62 }
63 63
64 .toolbar-overlay { 64 .toolbar-overlay {
65 height: inherit; 65 height: inherit;
66 left: 0; 66 left: 0;
67 pointer-events: none; 67 pointer-events: none;
(...skipping 40 matching lines...) Expand 10 before | Expand all | Expand 10 after
108 <paper-button on-tap="onClearBrowsingDataTap_" 108 <paper-button on-tap="onClearBrowsingDataTap_"
109 i18n-content="clearBrowsingData" 109 i18n-content="clearBrowsingData"
110 id="clear-browsing-data-button"> 110 id="clear-browsing-data-button">
111 </paper-button> 111 </paper-button>
112 </div> 112 </div>
113 <div id="back-padding"></div> 113 <div id="back-padding"></div>
114 </div> 114 </div>
115 </template> 115 </template>
116 <script src="chrome://history/history_toolbar.js"></script> 116 <script src="chrome://history/history_toolbar.js"></script>
117 </dom-module> 117 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/history_item.js ('k') | chrome/browser/resources/md_history/shared_style.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698