summaryrefslogtreecommitdiff
path: root/devtools/client/webide/themes/monitor.css
blob: ba4b298ed8197a09486e67b8c39dba8a19ecb680 (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
/* 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/. */

/* Graph */
.graph {
  height: 500px;
  width: 100%;
  padding-top: 20px;
  padding-bottom: 20px;
  margin-bottom: 30px;
  background-color: white;
}
.graph > svg, .sidebar {
  display: inline-block;
  vertical-align: top;
}
.disabled {
  opacity: 0.5;
}
.graph.disabled {
  height: 30px;
}
.graph.disabled > svg {
  visibility: hidden;
}
.curve path, .event-slot line {
  fill: none;
  stroke-width: 1.5px;
}
.axis line {
  fill: none;
  stroke: #000;
  shape-rendering: crispEdges;
}
.axis path {
  fill: none;
  stroke: black;
  stroke-width: 1px;
  shape-rendering: crispEdges;
}
.tick text, .x.ruler text, .y.ruler text {
  font-size: 0.9em;
}
.x.ruler text {
  text-anchor: middle;
}
.y.ruler text {
  text-anchor: end;
}

/* Sidebar */
.sidebar {
  width: 150px;
  overflow-x: hidden;
}
.sidebar label {
  cursor: pointer;
  display: block;
}
.sidebar span:not(.color) {
  vertical-align: 13%;
}
.sidebar input {
  visibility: hidden;
}
.sidebar input:hover {
  visibility: visible;
}
.graph-title {
  margin-top: 5px;
  font-size: 1.2em;
}
.legend-color {
  display: inline-block;
  height: 10px;
  width: 10px;
  margin-left: 1px;
  margin-right: 3px;
}
.legend-id {
  font-size: .9em;
}
.graph.disabled > .sidebar > .legend {
  display: none;
}