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

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

Issue 2838963003: WebUI: Unify [hidden] attribute styling rules. (Closed)
Patch Set: Update MD Bookmarks too Created 3 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/cr_elements/hidden_style_css.html">
1 <link rel="import" href="chrome://resources/html/cr.html"> 2 <link rel="import" href="chrome://resources/html/cr.html">
2 <link rel="import" href="chrome://resources/html/cr/ui.html"> 3 <link rel="import" href="chrome://resources/html/cr/ui.html">
3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> 4 <link rel="import" href="chrome://resources/html/cr/ui/command.html">
4 <link rel="import" href="chrome://resources/html/polymer.html"> 5 <link rel="import" href="chrome://resources/html/polymer.html">
5 <link rel="import" href="chrome://resources/html/util.html"> 6 <link rel="import" href="chrome://resources/html/util.html">
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iro n-a11y-announcer.html"> 7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-a11y-announcer/iro n-a11y-announcer.html">
7 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l"> 8 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm l">
8 <link rel="import" href="chrome://downloads/action_service.html"> 9 <link rel="import" href="chrome://downloads/action_service.html">
9 <link rel="import" href="chrome://downloads/constants.html"> 10 <link rel="import" href="chrome://downloads/constants.html">
10 <link rel="import" href="chrome://downloads/i18n_setup.html"> 11 <link rel="import" href="chrome://downloads/i18n_setup.html">
11 <link rel="import" href="chrome://downloads/item.html"> 12 <link rel="import" href="chrome://downloads/item.html">
12 <link rel="import" href="chrome://downloads/toolbar.html"> 13 <link rel="import" href="chrome://downloads/toolbar.html">
13 14
14 <dom-module id="downloads-manager"> 15 <dom-module id="downloads-manager">
15 <template> 16 <template>
16 <style> 17 <style include="cr-hidden-style">
17 :host { 18 :host {
18 display: flex; 19 display: flex;
19 flex: 1 0; 20 flex: 1 0;
20 flex-direction: column; 21 flex-direction: column;
21 height: 100%; 22 height: 100%;
22 z-index: 0; 23 z-index: 0;
23 } 24 }
24 25
25 [hidden] {
26 display: none !important;
27 }
28
29 @media screen and (max-width: 1024px) { 26 @media screen and (max-width: 1024px) {
30 :host { 27 :host {
31 flex-basis: calc( 28 flex-basis: calc(
32 var(--downloads-card-width) + 2 * var(--downloads-card-margin)); 29 var(--downloads-card-width) + 2 * var(--downloads-card-margin));
33 } 30 }
34 } 31 }
35 32
36 #toolbar { 33 #toolbar {
37 position: relative; 34 position: relative;
38 z-index: 1; 35 z-index: 1;
(...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after
104 </iron-list> 101 </iron-list>
105 <div id="no-downloads" hidden="[[hasDownloads_]]"> 102 <div id="no-downloads" hidden="[[hasDownloads_]]">
106 <div> 103 <div>
107 <div class="illustration"></div> 104 <div class="illustration"></div>
108 <span>[[noDownloadsText_(inSearchMode_)]]</span> 105 <span>[[noDownloadsText_(inSearchMode_)]]</span>
109 </div> 106 </div>
110 </div> 107 </div>
111 </template> 108 </template>
112 <script src="chrome://downloads/manager.js"></script> 109 <script src="chrome://downloads/manager.js"></script>
113 </dom-module> 110 </dom-module>
OLDNEW
« no previous file with comments | « chrome/browser/resources/md_downloads/item.html ('k') | chrome/browser/resources/md_downloads/toolbar.html » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698