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

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

Issue 2562393003: MD WebUI: Simplify cr-toolbar CSS (Closed)
Patch Set: Fix padding, add explanatory comment, revulcanize Created 4 years 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-icon/iron-icon.htm l"> 2 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
3 <link rel="import" href="chrome://resources/cr_elements/icons.html"> 3 <link rel="import" href="chrome://resources/cr_elements/icons.html">
4 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html"> 4 <link rel="import" href="chrome://resources/cr_elements/cr_lazy_render/cr_lazy_r ender.html">
5 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml"> 5 <link rel="import" href="chrome://resources/cr_elements/cr_toolbar/cr_toolbar.ht ml">
6 <link rel="import" href="chrome://history/browser_service.html"> 6 <link rel="import" href="chrome://history/browser_service.html">
7 <link rel="import" href="chrome://history/icons.html"> 7 <link rel="import" href="chrome://history/icons.html">
8 <link rel="import" href="chrome://history/shared_style.html"> 8 <link rel="import" href="chrome://history/shared_style.html">
9 9
10 <!-- Lazy loaded: iron-dropdown, paper-button, paper-icon-button-light, 10 <!-- Lazy loaded: iron-dropdown, paper-button, paper-icon-button-light,
(...skipping 22 matching lines...) Expand all
33 33
34 :host([items-selected_]) { 34 :host([items-selected_]) {
35 background: var(--interactive-color); 35 background: var(--interactive-color);
36 } 36 }
37 37
38 #toolbar-container { 38 #toolbar-container {
39 height: var(--toolbar-height); 39 height: var(--toolbar-height);
40 } 40 }
41 41
42 cr-toolbar { 42 cr-toolbar {
43 --cr-toolbar-field-end-padding: 0;
44 --cr-toolbar-field-margin: var(--side-bar-width); 43 --cr-toolbar-field-margin: var(--side-bar-width);
45 --cr-toolbar-right-content-wide: {
46 position: absolute;
47 right: 0;
48 };
49 }
50
51 :host-context([dir=rtl]) cr-toolbar {
52 --cr-toolbar-right-content-wide: {
53 position: absolute;
54 left: 0;
55 };
56 } 44 }
57 45
58 :host([has-drawer]) cr-toolbar { 46 :host([has-drawer]) cr-toolbar {
59 --cr-toolbar-field-margin: 0; 47 --cr-toolbar-field-margin: 0;
60 } 48 }
61 49
62 cr-toolbar .more-actions {
63 -webkit-margin-end: 12px;
64 }
65
66 /* Info button and dropdown. */ 50 /* Info button and dropdown. */
67 51
68 #info-button { 52 #info-button {
69 /* Additional styles for unresolved <button>. */ 53 /* Additional styles for unresolved <button>. */
70 background: none; 54 background: none;
71 border: none; 55 border: none;
72 color: inherit; 56 color: inherit;
73 height: 32px; 57 height: 32px;
74 margin: 6px; 58 margin: 6px;
75 outline: none; 59 outline: none;
(...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
266 on-tap="onNextTap_" 250 on-tap="onNextTap_"
267 disabled="[[isToday_(groupedOffset)]]"> 251 disabled="[[isToday_(groupedOffset)]]">
268 <iron-icon icon="cr:chevron-right"></iron-icon> 252 <iron-icon icon="cr:chevron-right"></iron-icon>
269 </button> 253 </button>
270 </div> 254 </div>
271 </div> 255 </div>
272 </template> 256 </template>
273 </template> 257 </template>
274 <script src="chrome://history/history_toolbar.js"></script> 258 <script src="chrome://history/history_toolbar.js"></script>
275 </dom-module> 259 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_history/app.vulcanized.html ('k') | chrome/browser/resources/md_history/lazy_load.vulcanized.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698