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? */
35 width: var
(--downloads-item-width
);
39 background: rgba
(255, 255, 255, .5);
42 .no-file
.icon-wrapper:not
(#remove-wrapper
),
48 -webkit-border-start: 1px #d8d8d8 solid
;
51 flex-direction: column
;
52 padding: 16px 16px 12px 16px;
58 justify-content: center
;
68 -webkit-mask-image: url
(../../../../ui/webui/resources/images/warning.svg);
69 -webkit-mask-repeat: no-repeat
;
70 -webkit-mask-size: 100%;
71 background: rgb
(217, 84, 61);
82 word-break: break-all
;
86 -webkit-margin-end: 12px; /* Only really affects #tag. */
92 color: rgb
(35, 114, 236);
102 color: rgb
(51, 103, 214);
105 text-decoration: none
;
106 text-overflow: ellipsis
;
111 #description:not
(:empty
),
120 .dangerous #description {
121 color: rgb
(217, 84, 61);
125 --paper-progress-active-color: rgb
(54, 126, 237);
126 --paper-progress-container-color: rgb
(223, 222, 223);
130 /* TODO(dbeam): open up a CSS mixin instead in Polymer. */
131 #progress /deep
/ #progressContainer
{
136 -webkit-margin-end: 0;
137 -webkit-margin-start: 16px;
138 /* This image is 128x128 so it'll work fine in 2x. */
139 content: url
(../../../../ui/webui/resources/images/incognito_icon.png);
144 align-self: flex-start
;
149 --paper-icon-button: {
153 --iron-icon-height: 16px;
154 --iron-icon-width: 16px;
157 @media not all and
(max-width: 1024px) {
158 /* Only show date separators in wide mode. */
159 :host
(:not
(:first-of-type
):not
([hide-date
])) :-webkit-any
(#content-wrapper
,
161 border-top: 1px solid rgba
(0, 0, 0, .2); /* TODO(dbeam): real color. */
165 #date-container > * {
166 -webkit-margin-start: 24px;
170 @media all and
(max-width: 1024px) {
171 /* In narrow windows, put the dates on top instead of on the side. */
173 flex-direction: column
;
176 :host
([hide-date
]) #date-container
,
186 flex: none
!important
;
188 width: var
(--downloads-item-width
);