forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathProjectSearch.css
More file actions
112 lines (94 loc) · 2.17 KB
/
ProjectSearch.css
File metadata and controls
112 lines (94 loc) · 2.17 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
/* 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/>. */
.search-container {
position: absolute;
top: 30px;
left: 0;
width: calc(100% - 1px);
height: calc(100% - 31px);
display: flex;
flex-direction: column;
z-index: 20;
background-color: var(--theme-body-background);
overflow-y: hidden;
}
.project-text-search {
flex-grow: 1;
display: flex;
flex-direction: column;
overflow-y: hidden;
height: 100%;
}
.project-text-search .result {
display: flex;
cursor: default;
padding: 4px 0 4px 30px;
line-height: 16px;
font-size: 10px;
width: 100%;
}
.project-text-search .matches-summary {
margin-left: 5px;
}
.project-text-search .result {
font-family: Menlo, monospace;
}
.project-text-search .result.focused {
background-color: var(--search-overlays-semitransparent);
}
.project-text-search .result .query-match {
background-color: var(--theme-selection-background);
color: white;
padding: 1px 4px;
margin: 0 2px 0 2px;
border-radius: 2px;
}
.project-text-search .result.focused .line-number {
font-weight: bolder;
}
.project-text-search .result .line-number {
margin-right: 1em;
width: 2em;
margin-left: 0.8em;
}
.project-text-search .no-result-msg {
color: var(--theme-body-color-inactive);
font-size: 24px;
padding: 4px 15px;
max-width: 100%;
overflow-wrap: break-word;
hyphens: auto;
}
.project-text-search .file-result {
font-weight: bold;
line-height: 20px;
cursor: default;
padding: 2px 0 2px 5px;
font-size: 12px;
}
.project-text-search .file-result .arrow {
margin: 2px 0 2px 0;
}
.project-text-search .file-result.focused {
background-color: var(--search-overlays-semitransparent);
}
.project-text-search .line-match {
display: "flex";
grow: 1;
}
.project-text-search .search-field {
display: flex;
align-self: stretch;
flex-grow: 1;
}
.project-text-search .search-field .close-btn.big {
margin-top: 12px;
}
.project-text-search .managed-tree {
overflow-y: auto;
height: 100%;
}
.project-text-search .managed-tree .tree {
height: 100%;
}