summaryrefslogtreecommitdiffstats
path: root/chrome/browser/resources/md_downloads/manager.css
blob: 5d0891012991d810ae2fe8a4745c885a236d0b17 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
/* Copyright 2015 The Chromium Authors. All rights reserved.
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

:host {
  display: flex;
  flex: 1 0;
  flex-direction: column;
  height: 100%;
  overflow-y: overlay;
}

@media screen and (max-width: 1024px) {
  :host {
    flex-basis: 670px;  /* 622 card width + 24 left margin + 24 right margin. */
  }
}

#no-downloads,
#downloads-list {
  flex: 1;
}

:host([loading]) #no-downloads,
:host([loading]) #downloads-list {
  display: none;
}

#no-downloads {
  align-items: center;
  color: #b4b4b4;
  display: flex;
  font-size: 123.1%;
  font-weight: 500;
  justify-content: center;
}

#no-downloads .illustration {
  background: -webkit-image-set(
      url(chrome://downloads/1x/no_downloads.png) 1x,
      url(chrome://downloads/2x/no_downloads.png) 2x) no-repeat center center;
  height: 144px;  /* Matches natural image height. */
  margin-bottom: 32px;
}