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
3 * found in the LICENSE file. */
6 @apply
(--downloads-shared-style
);
17 flex: 1 0 var
(--downloads-side-column-basis
);
26 :host
([hide-date
]) #date-container
{
32 border-radius: 2px; /* TODO(dbeam): why does this differ from Polymer? */
36 width: var
(--downloads-item-width
);
40 background: rgba
(255, 255, 255, .5);
43 .no-file
.icon-wrapper:not
(#remove-wrapper
),
49 -webkit-border-start: 1px #d8d8d8 solid
;
52 flex-direction: column
;
53 padding: 16px 16px 12px 16px;
59 justify-content: center
;
69 -webkit-mask-image: url
(../../../../ui/webui/resources/images/warning.svg);
70 -webkit-mask-repeat: no-repeat
;
71 -webkit-mask-size: 100%;
72 background: rgb
(217, 84, 61);
83 word-break: break-all
;
87 -webkit-margin-end: 12px; /* Only really affects #tag. */
93 color: rgb
(35, 114, 236);
103 color: rgb
(51, 103, 214);
106 text-decoration: none
;
107 text-overflow: ellipsis
;
112 #description:not
(:empty
),
121 .dangerous #description {
122 color: rgb
(217, 84, 61);
126 --paper-progress-active-color: rgb
(54, 126, 237);
127 --paper-progress-container-color: rgb
(223, 222, 223);
131 /* TODO(dbeam): open up a CSS mixin instead in Polymer. */
132 #progress /deep
/ #progressContainer
{
137 -webkit-margin-end: 0;
138 -webkit-margin-start: 16px;
139 /* This image is 128x128 so it'll work fine in 2x. */
140 content: url
(../../../../ui/webui/resources/images/incognito_icon.png);
145 align-self: flex-start
;
150 --paper-icon-button: {
154 --iron-icon-height: 16px;
155 --iron-icon-width: 16px;
158 @media not all and
(max-width: 1024px) {
159 /* Only show date separators in wide mode. */
160 :host
(:not
(:first-of-type
):not
([hide-date
])) :-webkit-any
(#content-wrapper
,
162 border-top: 1px solid rgba
(0, 0, 0, .2); /* TODO(dbeam): real color. */
166 #date-container > * {
167 -webkit-margin-start: 24px;
171 @media all and
(max-width: 1024px) {
172 /* In narrow windows, put the dates on top instead of on the side. */
174 flex-direction: column
;
177 :host
([hide-date
]) #date-container
,
187 flex: none
!important
;
189 width: var
(--downloads-item-width
);