summaryrefslogtreecommitdiffstats
path: root/devtools/client/debugger/src/components/SecondaryPanes/Threads.css
blob: 49e150dd443b9bfe74d723d078bc5b8bd33739d2 (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
/* 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/>. */

.threads-list {
  padding: 4px 0;
}

.threads-list * {
  user-select: none;
}

.threads-list > .thread {
  font-size: inherit;
  color: var(--theme-text-color-strong);
  padding: 2px 6px;
  padding-inline-start: 20px;
  line-height: 16px;
  position: relative;
  cursor: pointer;
  display: flex;
  align-items: center;
}

.threads-list > .thread:hover {
  background-color: var(--search-overlays-semitransparent);
}

.threads-list > .thread.selected {
  background-color: var(--tab-line-selected-color);
}

.threads-list .icon {
  flex: none;
  margin-inline-end: 4px;
}

.threads-list .img {
  display: block;
}

.threads-list .label {
  display: inline-block;
  flex-grow: 1;
  flex-shrink: 1;
  overflow: hidden;
  white-space: nowrap;
  text-overflow: ellipsis;
}

.threads-list .pause-badge {
  flex: none;
  margin-inline-start: 4px;
}

.threads-list > .thread.selected {
  background: var(--theme-selection-background);
  color: var(--theme-selection-color);
}

.threads-list > .thread.selected .img {
  background-color: currentColor;
}