summaryrefslogtreecommitdiffstats
path: root/devtools/client/themes/storage.css
blob: 314b6b7fe3624517fc3a335c8e8823d36e2b8e38 (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
67
68
69
/* 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;
}

#storage-toolbar .add-button::before {
  margin: 0;
  background-image: url("chrome://devtools/skin/images/add.svg");
  -moz-user-focus: normal;
}

#storage-toolbar .refresh-button::before {
  margin: 0;
  background-image: url("chrome://devtools/skin/images/reload.svg");
  -moz-user-focus: normal;
}

#storage-toolbar .devtools-button {
  min-width: unset;
}

#storage-toolbar .devtools-button hbox {
  display: none;
}

/* 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;
  }
}