summaryrefslogtreecommitdiffstats
path: root/devtools/client/netmonitor/src/assets/styles/UrlPreview.css
blob: 9cf41fb7c91409accb81d73760dad5629bd8caa3 (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
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
/* 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/. */

/* Url Preview */

.url-preview {
  border-bottom: 1px solid var(--theme-splitter-color);
  padding: 6px 3px;
}

.url-preview .properties-view,
.url-preview .tree-container,
.url-preview .treeTable {
  overflow: hidden;
  outline: none;
}

.url-preview .properties-view {
  margin-right: 10px;
}

.url-preview tbody:focus {
  outline: none;
}
.url-preview td.splitter {
  /* This makes sure that the column spans the width of the
    side bar so the contained horizontal splitter is visible */
  width: 100vw !important;
}

.url-preview .horizontal-splitter {
  border-bottom: 1px solid var(--theme-splitter-color);
  margin: 6px 0 6px 16px;
}

.url-preview .treeValueCell .url {
  display: inline;
  white-space: normal;
}

.url-preview .treeTable .treeRow .treeIcon {
  margin-inline: 0 1px;
}

.url-preview .tree-container .treeTable tr {
  margin-bottom: 3px;
}

.url-preview .treeTable .treeRow:not(.selected):hover {
  background-color: transparent !important;
}

.url-preview .treeTable tr.treeRow:first-child .treeLabelCell::after {
  content: "";
}
.url-preview .treeTable .treeLabelCell {
  --tree-label-cell-indent: 0 !important;
}
/* Indent the array params */
.url-preview .treeTable .treeRow[aria-level="4"] .treeLabelCell {
  text-indent: 15px;
}

.url-preview .treeTable .treeLabel[data-level="1"] {
  text-transform: capitalize;
}

/* Collapsed url */
.url-preview tr.treeRow:first-child .treeLabelCell {
  font-weight: bold;
  color: var(--theme-icon-dimmed-color);
}

.url-preview tr.treeRow .treeLabelCell {
  float: left;
  margin-right: -15px;
  padding: 0 2px 0 0;

}
.url-preview tr.treeRow .treeValueCell {
  display: inline;
  word-break: break-all;
  max-width: none;
  box-decoration-break: clone;
  margin-left: 14px;
}

.url-preview .treeTable .treeValueCell {
  color: var(--theme-body-color);
}

.url-preview .url-scheme,
.url-preview .url-chars {
  color: var(--theme-icon-dimmed-color);
}

.url-preview .url-params-name {
  color: var(--theme-highlight-blue);
}