summaryrefslogtreecommitdiffstats
path: root/chromium/chrome/browser/resources/extensions/extensions.html
blob: 83ea4fe724ae8aeed3a35d07bd7139caf572d06e (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
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
<!doctype html>
<html dir="$i18n{textdirection}" lang="$i18n{language}"
    class="loading $i18n{loadTimeClasses}">
<head>
  <meta charset="utf8">
  <title>$i18n{title}</title>
<if expr="not optimize_webui">
  <base href="chrome://extensions">
</if>
  <link rel="stylesheet" href="chrome://resources/css/md_colors.css">
  <style>
    html {
      background: var(--md-background-color);
      /* Remove 300ms delay for 'click' event, when using touch interface. */
      touch-action: manipulation;
    }

    html.loading::before,
    html.loading body::before {
      box-sizing: border-box;
      content: '';
      display: block;
    }

    html.loading::before {
      background: var(--md-toolbar-color);
      height: var(--md-toolbar-height);
    }

    /* Mimics the developer mode toolbar until the real one loads. Note:
     * .in-dev-mode is applied by i18n{loadTimeClasses}. */
    html.loading.in-dev-mode body::before {
      background-color: #fff;
      border-bottom: 1px solid #e0e0e0;  /* --google-grey-300 */
      height: 54px;
    }

    @media (prefers-color-scheme: dark) {
      html.loading.in-dev-mode body::before {
        background: none;
      }

      html.loading::before,
      html.loading.in-dev-mode body::before {
        border-bottom: var(--md-toolbar-border);
      }
    }

    html,
    body {
      height: 100%;
      line-height: 154%;
      margin: 0;
      overflow: hidden;
      width: 100%;
    }
  </style>
</head>
<body>
  <script src="chrome://resources/polymer/v1_0/html-imports/html-imports.min.js">
  </script>
  <extensions-manager></extensions-manager>
  <link rel="stylesheet" href="chrome://resources/css/text_defaults_md.css">
  <link rel="import" href="chrome://extensions/manager.html">
</body>
</html>