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

Side by Side Diff: chrome/browser/resources/md_downloads/item.html

Issue 2838963003: WebUI: Unify [hidden] attribute styling rules. (Closed)
Patch Set: Update MD Bookmarks too Created 3 years, 7 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/cr_elements/icons.html"> 1 <link rel="import" href="chrome://resources/cr_elements/icons.html">
2 <link rel="import" href="chrome://resources/cr_elements/hidden_style_css.html">
2 <link rel="import" href="chrome://resources/html/action_link.html"> 3 <link rel="import" href="chrome://resources/html/action_link.html">
3 <link rel="import" href="chrome://resources/html/action_link_css.html"> 4 <link rel="import" href="chrome://resources/html/action_link_css.html">
4 <link rel="import" href="chrome://resources/html/cr.html"> 5 <link rel="import" href="chrome://resources/html/cr.html">
5 <link rel="import" href="chrome://resources/html/polymer.html"> 6 <link rel="import" href="chrome://resources/html/polymer.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-icon/iron-icon.htm l">
7 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-button/paper-butt on.html">
8 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html"> 9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-icon-button/paper -icon-button-light.html">
9 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html"> 10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-progress/paper-pr ogress.html">
10 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html "> 11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/color.html ">
11 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l"> 12 <link rel="import" href="chrome://resources/polymer/v1_0/paper-styles/shadow.htm l">
12 <link rel="import" href="chrome://downloads/action_service.html"> 13 <link rel="import" href="chrome://downloads/action_service.html">
13 <link rel="import" href="chrome://downloads/constants.html"> 14 <link rel="import" href="chrome://downloads/constants.html">
14 <link rel="import" href="chrome://downloads/i18n_setup.html"> 15 <link rel="import" href="chrome://downloads/i18n_setup.html">
15 <link rel="import" href="chrome://downloads/icons.html"> 16 <link rel="import" href="chrome://downloads/icons.html">
16 17
17 <dom-module id="downloads-item"> 18 <dom-module id="downloads-item">
18 <template> 19 <template>
19 <style include="action-link"> 20 <style include="action-link cr-hidden-style">
20 :host { 21 :host {
21 display: flex; 22 display: flex;
22 flex-direction: column; 23 flex-direction: column;
23 } 24 }
24 25
25 [hidden] {
26 display: none !important;
27 }
28
29 paper-button { 26 paper-button {
30 font-weight: 500; 27 font-weight: 500;
31 margin: 0; 28 margin: 0;
32 min-width: auto; 29 min-width: auto;
33 } 30 }
34 31
35 #date { 32 #date {
36 color: var(--paper-grey-700); 33 color: var(--paper-grey-700);
37 font-size: 100%; 34 font-size: 100%;
38 font-weight: 500; 35 font-weight: 500;
(...skipping 274 matching lines...) Expand 10 before | Expand all | Expand 10 after
313 on-tap="onRemoveTap_">&#x2715;</button> 310 on-tap="onRemoveTap_">&#x2715;</button>
314 </div> 311 </div>
315 312
316 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]"> 313 <div id="incognito" title="$i18n{inIncognito}" hidden="[[!data.otr]]">
317 </div> 314 </div>
318 </div> 315 </div>
319 316
320 </template> 317 </template>
321 <script src="chrome://downloads/item.js"></script> 318 <script src="chrome://downloads/item.js"></script>
322 </dom-module> 319 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_bookmarks/shared_style.html ('k') | chrome/browser/resources/md_downloads/manager.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698