summaryrefslogtreecommitdiffstats
path: root/devtools/client/themes/storage.css
blob: 1e611f842293acdcc46726bb09c4b48a72dfdb28 (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
/* This Source Code Form is subject to the terms of the Mozilla Public
 * License, v. 2.0. If a copy of the MPL was not distributed with this
 * file, You can obtain one at http://mozilla.org/MPL/2.0/. */

/* Storage Host Tree */

#storage-tree {
  min-width: 220px;
  max-width: 500px;
  overflow: auto;
}

#storage-tree {
  background: var(--theme-sidebar-background);
}

#storage-tree .tree-widget-item[type="store"]:after {
  background-image: url(chrome://devtools/skin/images/tool-storage.svg);
  background-size: 18px 18px;
  background-position: -1px 0;
}

/* Columns with date should have a min width so that date is visible */
#expires, #lastAccessed, #creationTime {
  min-width: 150px;
}

/* Variables View Sidebar */

#storage-sidebar {
  max-width: 500px;
  min-width: 250px;
}

/* Responsive sidebar */
@media (max-width: 700px) {
  #storage-tree,
  #storage-sidebar {
    max-width: 100%;
  }

  #storage-table #path {
    display: none;
  }

  #storage-table .table-widget-cell {
    min-width: 100px;
  }
}