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

 .dom-mutation-empty {
  padding: 6px 20px;
  text-align: center;
  font-style: italic;
  color: var(--theme-body-color);
  white-space: normal;
 }

 .dom-mutation-empty a {
   text-decoration: underline;
   color: var(--theme-toolbar-selected-color);
   cursor: pointer;
 }

.dom-mutation-list * {
  user-select: none;
}

.dom-mutation-list {
  padding: 4px 0;
  list-style-type: none;
}

.dom-mutation-list li {
  position: relative;

  display: flex;
  align-items: start;
  overflow: hidden;
  padding-top: 2px;
  padding-bottom: 2px;
  padding-inline-start: 20px;
  padding-inline-end: 12px;
}

.dom-mutation-list input {
  margin: 2px 3px;

  padding-inline-start: 2px;
  margin-top: 0px;
  margin-bottom: 0px;
  margin-inline-start: 0;
  margin-inline-end: 2px;
  vertical-align: text-bottom;
}

.dom-mutation-info {
  flex-grow: 1;
  text-overflow: ellipsis;
  overflow: hidden;
  margin-inline-end: 20px;
}

.dom-mutation-list .close-btn {
  position: absolute;
  /* hide button outside of row until hovered or focused */
  top: -100px;
}

/* Reveal the remove button on hover/focus */
.dom-mutation-list li:hover .close-btn,
.dom-mutation-list li .close-btn:focus {
  top: calc(50% - 8px);
}

[dir="ltr"] .dom-mutation-list .close-btn {
  right: 12px;
}

[dir="rtl"] .dom-mutation-list .close-btn {
  left: 12px;
}