blob: 506f0cc410a5acb9ba74b1b74de1aac4f9b9542b (
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
77
78
79
80
81
|
.search-popup {
visibility: hidden;
}
.search-activate {
visibility: visible;
}
.search-popup-overlay {
position: fixed;
left: 0;
top: 0;
height: 100%;
width: 100%;
background: $color-overlay;
}
.search-popup-window {
position: absolute;
top: 50%;
left: 50%;
background: $color-background;
transform: translate(-50%, -50%);
width: 640px;
height: 60%;
border: $line-secondary solid $color-text-primary;
overflow: hidden;
display: flex;
flex-direction: column;
}
.search-result-container {
flex-grow: 1;
overflow: scroll;
padding: $margin-m-1 $margin-m-1;
}
.search-result-container .search-result-message {
color: $color-text-secondary;
}
.search-result-container .search-result-title {
color: $color-text-primary;
}
.search-result-container li {
padding-bottom: $margin-m-1;
padding-top: $margin-m-2;
}
.search-result-container .search-result {
color: $color-text-primary;
margin-top: $margin-m-0;
margin-bottom: $margin-m-0;
}
.search-result-container mark {
color: $color-text-primary;
background-color: $color-search-marker;
}
.search-header {
display: flex;
flex-direction: row;
align-items: center;
padding: $margin-m-1 $margin-m-1;
border-bottom: $line-secondary solid $color-text-primary;
}
.search-header .search-input-container {
flex-grow: 1;
}
.search-header .search-input-container .search-input {
width: 100%;
color: $color-text-primary;
background-color: $color-background;
}
.search-header .search-input-container .search-input::placeholder {
color: $color-text-secondary;
}
.search-header .search-close-btn {
flex-grow: 0;
margin-left: $margin-m-1;
margin: auto;
cursor: pointer;
}
@media (max-width: 688px) {
.search-popup-window {
width: 100%;
height: 100%;
}
}
|