OLD | NEW |
1 <link rel="import" href="chrome://resources/html/cr.html"> | 1 <link rel="import" href="chrome://resources/html/cr.html"> |
2 <link rel="import" href="chrome://resources/html/cr/ui.html"> | 2 <link rel="import" href="chrome://resources/html/cr/ui.html"> |
3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> | 3 <link rel="import" href="chrome://resources/html/cr/ui/command.html"> |
4 <link rel="import" href="chrome://resources/html/polymer.html"> | 4 <link rel="import" href="chrome://resources/html/polymer.html"> |
5 <link rel="import" href="chrome://resources/html/util.html"> | 5 <link rel="import" href="chrome://resources/html/util.html"> |
6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> | 6 <link rel="import" href="chrome://resources/polymer/v1_0/iron-list/iron-list.htm
l"> |
7 <link rel="import" href="chrome://downloads/action_service.html"> | 7 <link rel="import" href="chrome://downloads/action_service.html"> |
8 <link rel="import" href="chrome://downloads/constants.html"> | 8 <link rel="import" href="chrome://downloads/constants.html"> |
9 <link rel="import" href="chrome://downloads/i18n_setup.html"> | 9 <link rel="import" href="chrome://downloads/i18n_setup.html"> |
10 <link rel="import" href="chrome://downloads/item.html"> | 10 <link rel="import" href="chrome://downloads/item.html"> |
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 flex: 1; | 66 flex: 1; |
67 } | 67 } |
68 | 68 |
69 :host([loading]) #no-downloads, | 69 :host([loading]) #no-downloads, |
70 :host([loading]) #downloads-list { | 70 :host([loading]) #downloads-list { |
71 display: none; | 71 display: none; |
72 } | 72 } |
73 | 73 |
74 #no-downloads { | 74 #no-downloads { |
75 align-items: center; | 75 align-items: center; |
76 color: #b4b4b4; | 76 color: #6e6e6e; |
77 display: flex; | 77 display: flex; |
78 font-size: 123.1%; | 78 font-size: 123.1%; |
79 font-weight: 500; | 79 font-weight: 500; |
80 justify-content: center; | 80 justify-content: center; |
81 /* To avoid overlapping with the header, we need this min-height | 81 /* To avoid overlapping with the header, we need this min-height |
82 * until bug 596743 is fixed. */ | 82 * until bug 596743 is fixed. */ |
83 min-height: min-content; | 83 min-height: min-content; |
84 } | 84 } |
85 | 85 |
86 #no-downloads .illustration { | 86 #no-downloads .illustration { |
(...skipping 16 matching lines...) Expand all Loading... |
103 </iron-list> | 103 </iron-list> |
104 <div id="no-downloads" hidden="[[hasDownloads_]]"> | 104 <div id="no-downloads" hidden="[[hasDownloads_]]"> |
105 <div> | 105 <div> |
106 <div class="illustration"></div> | 106 <div class="illustration"></div> |
107 <span>[[noDownloadsText_(inSearchMode_)]]</span> | 107 <span>[[noDownloadsText_(inSearchMode_)]]</span> |
108 </div> | 108 </div> |
109 </div> | 109 </div> |
110 </template> | 110 </template> |
111 <script src="chrome://downloads/manager.js"></script> | 111 <script src="chrome://downloads/manager.js"></script> |
112 </dom-module> | 112 </dom-module> |
OLD | NEW |