File: trace_recorder.css

package info (click to toggle)
chromium 140.0.7339.127-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid
  • size: 6,192,880 kB
  • sloc: cpp: 35,093,808; ansic: 7,161,670; javascript: 4,199,694; python: 1,441,797; asm: 949,904; xml: 747,503; pascal: 187,748; perl: 88,691; sh: 88,248; objc: 79,953; sql: 52,714; cs: 44,599; fortran: 24,137; makefile: 22,114; tcl: 15,277; php: 13,980; yacc: 9,000; ruby: 7,485; awk: 3,720; lisp: 3,096; lex: 1,327; ada: 727; jsp: 228; sed: 36
file content (150 lines) | stat: -rw-r--r-- 2,949 bytes parent folder | download | duplicates (4)
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
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
/* Copyright 2025 The Chromium Authors
 * Use of this source code is governed by a BSD-style license that can be
 * found in the LICENSE file. */

/* #css_wrapper_metadata_start
 * #type=style-lit
 * #import=//resources/cr_elements/cr_shared_vars.css.js
 * #import=//resources/cr_elements/cr_shared_style_lit.css.js
 * #import=./config_toggle.css.js
 * #import=//resources/cr_elements/md_select_lit.css.js
 * #scheme=relative
 * #include=cr-shared-style-lit md-select-lit config-toggle
 * #css_wrapper_metadata_end */

:host {
  color: var(--cr-primary-text-color);
  height: 100%;
  display: flex;
  flex-direction: column;
  overflow-y: scroll;
  padding: 8px 12px;
}

#control-container {
  background-color: var(--cr-card-background-color);
  display: flex;
  justify-content: space-between;
  align-items: center;
  position: sticky;
  top: -8px;
}

#status-container {
  display: flex;
  align-items: center;
  margin-left: 12px;
  font-weight: bold;
  color: var(--google-grey-700);
}

#progress-container {
  display: flex;
  flex-direction: column;
  flex: 1;
  margin: 0 18px;
}

#buffer-progress {
  width: 100%;
  height: 22px;
}

#action-panel {
  display: flex;
  justify-content: flex-end;
  gap: 16px;
}

#config-container {
  text-overflow: ellipsis;
  overflow: hidden;
  min-height: 1.25em;
}

.buffer-config-container {
  display: flex;
  flex-direction: row;
  margin: 8px 12px;
}

.buffer-row-container {
  display: flex;
  flex-direction: column;
}

.growing-row {
  flex-grow: 1;
}

.status-circle {
  width: 20px;
  height: 20px;
  border-radius: 50%;
  margin-right: 8px;
  flex-shrink: 0;
}

.status-idle .status-circle {
  background-color: var(--google-grey-700);
}

.status-starting .status-circle {
  background-color: var(--google-orange-700);
}

.status-tracing .status-circle {
  background-color: var(--google-green-700);
}

.status-stopping .status-circle {
  background-color: var(--google-orange-700);
}

.card {
  background-color: var(--cr-card-background-color);
  border-radius: var(--cr-card-border-radius);
  box-shadow: var(--cr-card-shadow);
  max-width: var(--card-max-width);
  margin: 8px 0;
}

.category-grid {
  display: grid;
  /* Define column templates.
     - 80px for the checkbox
     - 1fr for the name (takes up 1 fraction of the remaining space)
     - 1fr for the tags
     - 4fr for the description (takes up 4x the space of name/tags)
  */
  grid-template-columns: 40px 1fr 1fr 4fr;
  gap: 2px 16px;
  align-items: start;
}

.tags-grid {
  display: grid;
  grid-template-columns: 40px 40px 1fr;
  gap: 2px 16px;
  align-items: start;
}

.header-row-group {
  font-weight: bold;
  border-bottom: 1px solid var(--cr-separator-color);
  padding-bottom: 8px;
}

.header-row-group,
.category-row,
.tag-row {
  /*
    This allows the cells to refer back to the parent .category-grid
    for their layout instructions.
  */
  display: contents;
}

.expanded-content {
  padding: 0 12px 8px;
}