forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathExpressions.css
More file actions
115 lines (96 loc) · 2.11 KB
/
Copy pathExpressions.css
File metadata and controls
115 lines (96 loc) · 2.11 KB
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
/* 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/>. */
.expression-input-form {
width: 100%;
}
.input-expression {
width: 100%;
margin: 0;
border: 1px;
background-color: var(--theme-sidebar-background);
font-size: 12px;
padding: 0.5em 2.16em;
color: var(--theme-body-color);
}
@keyframes shake {
0%,
100% {
transform: translateX(0);
}
20%,
60% {
transform: translateX(-10px);
}
40%,
80% {
transform: translateX(10px);
}
}
.input-expression.error {
border: 1px solid red;
animation: 150ms cubic-bezier(0.07, 0.95, 0, 1) shake;
}
.input-expression::placeholder {
text-align: center;
font-style: italic;
color: var(--theme-comment);
}
.input-expression:focus {
outline: none;
cursor: text;
}
.expressions-list {
/* TODO: add normalize */
margin: 0;
padding: 0;
}
.expression-input-container {
display: flex;
}
.expression-container {
border: 1px;
padding: 0.25em 1em 0.25em 0.5em;
width: 100%;
color: var(--theme-body-color);
background-color: var(--theme-body-background);
display: block;
position: relative;
}
.expression-container > .tree {
width: 100%;
overflow: hidden;
}
:root.theme-light .expression-container:hover {
background-color: var(--theme-selection-background-hover);
}
:root.theme-dark .expression-container:hover {
background-color: var(--theme-selection-background-hover);
}
:root.theme-firebug .expression-container:hover {
background-color: var(--theme-selection-background-hover);
}
.tree .tree-node:not(.focused):hover {
background-color: transparent;
}
.expression-container__close-btn {
position: absolute;
offset-inline-end: 0px;
top: 0px;
}
.expression-content {
position: relative;
}
.expression-content .tree {
overflow-x: hidden;
max-width: calc(100% - var(--breakpoint-expression-right-clear-space));
}
.expression-content .tree-node {
overflow-x: hidden;
}
.expression-input {
max-width: 50%;
}
.expressions-list .tree:focus {
outline: none;
}