blob: 0f75783c0055a9ec62d3d098ac18d06bccf5b410 (
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
|
/* 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-bar {
position: relative;
display: flex;
border-top: 1px solid var(--theme-splitter-color);
height: var(--editor-searchbar-height);
}
/* display a fake outline above the search bar's top border, and above
the source footer's top border */
.search-bar::before {
content: "";
position: absolute;
z-index: 10;
top: -1px;
left: 0;
right: 0;
bottom: -1px;
border: solid 1px var(--blue-50);
pointer-events: none;
opacity: 0;
transition: opacity 150ms ease-out;
}
.search-bar:focus-within::before {
opacity: 1;
}
.search-bar .search-outline {
flex-grow: 1;
border-width: 0;
}
.search-bar .result-list {
max-height: 230px;
}
|