forked from firefox-devtools/debugger
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathSearchInput.css
More file actions
110 lines (90 loc) · 2.12 KB
/
SearchInput.css
File metadata and controls
110 lines (90 loc) · 2.12 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
/* 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-field {
width: calc(100% - 1px);
height: 27px;
background-color: var(--theme-toolbar-background);
border-bottom: 1px solid var(--theme-splitter-color);
padding-right: 10px;
display: flex;
flex-shrink: 0;
}
.search-field.big {
height: 40px;
}
.search-field i {
display: block;
padding: 0;
width: 16px;
}
.search-field i svg {
width: 16px;
}
.search-field.big input {
line-height: 40px;
}
.search-field input {
border: none;
line-height: 30px;
background-color: var(--theme-toolbar-background);
color: var(--theme-body-color-inactive);
width: calc(100% - 38px);
flex: 1;
}
.theme-dark .search-field input {
color: var(--theme-body-color-inactive);
}
.search-field i.magnifying-glass,
.search-field i.sad-face {
padding: 6px;
width: 24px;
}
.search-field.big i.magnifying-glass,
.search-field.big i.sad-face {
padding: 14px;
width: 40px;
}
.search-field .magnifying-glass path,
.search-field .magnifying-glass ellipse {
stroke: var(--theme-comment);
}
.search-field input::placeholder {
color: var(--theme-toolbar-color);
}
.search-field input:focus {
outline-width: 0;
}
.search-field input.empty {
color: var(--theme-highlight-orange);
}
.search-field.big .summary {
line-height: 40px;
}
.search-field .summary {
line-height: 27px;
padding-right: 10px;
color: var(--theme-body-color-inactive);
}
.search-field .search-nav-buttons {
display: flex;
user-select: none;
}
.search-field .search-nav-buttons .nav-btn {
display: flex;
height: 100%;
background: transparent;
transition: all 0.25s ease-in-out;
border: 1px solid transparent;
justify-content: center;
padding-top: 4px;
}
.search-field .search-nav-buttons .nav-btn:hover {
background: var(--theme-toolbar-background-hover);
}
.search-field .search-nav-buttons .nav-btn:active path {
fill: var(--theme-comment-alt);
}
.search-field .search-nav-buttons .nav-btn path {
fill: var(--theme-comment);
}