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

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

Issue 1325853006: MD Downloads: wrap some <paper-buttons>s in <template is="dom-if"> (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 3 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 /* Copyright 2015 The Chromium Authors. All rights reserved. 1 /* Copyright 2015 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. */ 3 * found in the LICENSE file. */
4 4
5 :host { 5 :host {
6 display: flex; 6 display: flex;
7 margin: 24px 0; 7 margin: 24px 0;
8 } 8 }
9 9
10 :host([hide-date]) { 10 :host([hide-date]) {
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
102 #name, 102 #name,
103 #file-link { 103 #file-link {
104 font-weight: 500; 104 font-weight: 500;
105 word-break: break-all; 105 word-break: break-all;
106 } 106 }
107 107
108 #name { 108 #name {
109 -webkit-margin-end: 12px; /* Only really affects #tag. */ 109 -webkit-margin-end: 12px; /* Only really affects #tag. */
110 } 110 }
111 111
112 .is-active :-webkit-any(#name, #file-link, #pause, #resume, #show) { 112 .is-active :-webkit-any(#name, #file-link, #pause, #resume, #show-in-folder) {
113 color: rgb(51, 103, 214); 113 color: rgb(51, 103, 214);
114 } 114 }
115 115
116 #tag { 116 #tag {
117 color: #5a5a5a; 117 color: #5a5a5a;
118 font-weight: 500; 118 font-weight: 500;
119 } 119 }
120 120
121 #url { 121 #url {
122 color: inherit; 122 color: inherit;
(...skipping 21 matching lines...) Expand all
144 .dangerous #description { 144 .dangerous #description {
145 color: rgb(239, 108, 0); 145 color: rgb(239, 108, 0);
146 } 146 }
147 147
148 #progress { 148 #progress {
149 --paper-progress-active-color: rgb(54, 126, 237); 149 --paper-progress-active-color: rgb(54, 126, 237);
150 --paper-progress-container-color: rgb(223, 222, 223); 150 --paper-progress-container-color: rgb(223, 222, 223);
151 width: auto; 151 width: auto;
152 } 152 }
153 153
154 #content:not(.show-progress) #progress {
155 display: none;
156 }
157
158 .controls { 154 .controls {
159 -webkit-margin-start: -8px; 155 -webkit-margin-start: -8px;
160 } 156 }
161 157
162 #cancel, 158 #cancel,
163 #retry, 159 #retry,
164 .keep, 160 .keep,
165 .discard { 161 .discard {
166 color: #5a5a5a; 162 color: #5a5a5a;
167 } 163 }
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
214 #content { 210 #content {
215 margin: 0 auto; 211 margin: 0 auto;
216 } 212 }
217 213
218 #date-container { 214 #date-container {
219 flex: none !important; 215 flex: none !important;
220 margin: 0 auto 16px; 216 margin: 0 auto 16px;
221 width: var(--downloads-item-width); 217 width: var(--downloads-item-width);
222 } 218 }
223 } 219 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698