1
- /* Global search */
2
- .search-content {
3
- padding : 0 ;
4
- margin : var (--content-padding );
5
- position : fixed;
6
- top : 0 ;
7
- right : 0 ;
8
- z-index : 5 ;
9
- background : none;
10
- }
11
-
12
- /* popup */
13
- .popup-wrapper {
14
- box-shadow : 0 0 10px var (--border-light ) !important ;
15
- border : 2px solid var (--border-light ) !important ;
16
- font-family : var (--mono-font ) !important ;
17
- width : calc (100% - var (--side-width ) - 84px );
18
- left : calc (var (--side-width ) + 42px ) !important ;
19
- }
20
- .popup-wrapper .indented {
21
- text-indent : 1.5em !important ;
22
- }
23
- .popup-wrapper .disabled {
24
- color : var (--inactive-fg ) !important ;
25
- font-weight : 500 !important ;
26
- }
27
- .action_def : hover ,
28
- .action_def .hover_a79 {
29
- color : var (--selected-fg );
30
- background : var (--selected-bg ) !important ;
31
- font-weight : 500 ;
32
- }
33
- .action_def .template-description {
34
- margin-left : 2rem ;
35
- font-style : italic;
36
- }
37
-
38
- /* Landscape phones, portait tablets */
39
- @media (max-width : 768px ) {
40
- .popup-wrapper {
41
- width : calc (100% - 48px );
42
- left : 24px !important ;
43
- }
44
- }
45
-
46
- /* Portrait phones */
47
- @media (max-width : 576px ) {
48
- .search-content {
49
- margin : 0 !important ;
50
- top : 9px !important ;
51
- right : 12px !important ;
52
- }
53
- .popup-wrapper {
54
- width : 100% ;
55
- left : 0 !important ;
56
- top : 36px !important ;
57
- }
58
- /* Allow to scroll horizontally in the search results, which is useful on small screens */
59
- .popup-wrapper div .ReactVirtualized__Grid__innerScrollContainer {
60
- overflow : auto !important ;
61
- }
62
- .popup-wrapper div .ReactVirtualized__Grid__innerScrollContainer > div {
63
- min-width : 100% ;
64
- width : auto !important ;
65
- }
66
- }
67
-
68
1
/* Loading */
69
2
.loading-wrapper {
70
3
text-align : center;
@@ -126,120 +59,20 @@ div[selected] > .scaladoc-searchbar-inkuire-package {
126
59
display : flex;
127
60
}
128
61
129
- .scaladoc-searchbar-inkuire-package > .micon {
130
- float : right;
131
- margin-left : auto !important ;
132
- }
133
-
134
- /* button */
135
- .search span {
136
- background : var (--red500 );
137
- fill : var (--white );
138
- cursor : pointer;
139
- border : none;
140
- padding : 9px ;
141
- border-radius : 24px ;
142
- box-shadow : 0 0 16px var (--code-bg );
143
- }
144
- .search span : hover {
145
- background : var (--red600 );
146
- }
147
-
148
- @media (max-width : 576px ) {
149
- .search span {
150
- background : none;
151
- fill : var (--icon-color );
152
- cursor : pointer;
153
- border : none;
154
- padding : 0 ;
155
- box-shadow : none;
156
- margin-top : 2px ;
157
- }
158
-
159
- .search span : hover {
160
- fill : var (--link-hover-fg );
161
- }
162
-
163
- # scaladoc-searchbar span .pull-right {
164
- display : none;
165
- }
166
- }
167
-
168
- # scaladoc-search {
169
- margin-top : 16px ;
170
- cursor : pointer;
171
- position : fixed;
172
- top : 0 ;
173
- right : 20px ;
174
- z-index : 5 ;
175
- }
176
-
177
62
# scaladoc-searchbar .hidden {
178
63
display : none;
179
64
}
180
65
181
- /* #scaladoc-searchbar {
182
- position: fixed;
183
- top: 50px;
184
- left: calc(5% + var(--side-width));
185
- z-index: 5;
186
- width: calc(90% - var(--side-width));
187
- box-shadow: 2px 2px 8px 0 var(--shadow);
188
- font-size: 13px;
189
- font-family: system-ui, -apple-system, Segoe UI, Roboto, Noto Sans, Ubuntu,
190
- Cantarell, Helvetica Neue, Arial, sans-serif;
191
- background-color: var(--leftbar-bg);
192
- color: var(--leftbar-fg);
193
- box-shadow: 0 0 2px var(--shadow);
194
- } */
195
-
196
- /* #scaladoc-searchbar-input { */
197
- /* width: 100%;
198
- min-height: 32px;
199
- border: none;
200
- border-bottom: 1px solid #bbb;
201
- padding: 10px;
202
- background-color: var(--leftbar-bg);
203
- color: var(--leftbar-fg); */
204
- /* } */
205
-
206
- /* #scaladoc-searchbar-input:focus {
207
- outline: none;
208
- } */
209
-
210
- /* #scaladoc-searchbar-results {
211
- display: flex;
212
- flex-direction: column;
213
- overflow: auto;
214
- } */
215
-
216
- /* .scaladoc-searchbar-row {
217
- display: flex;
218
- background-color: var(--leftbar-bg);
219
- color: var(--leftbar-fg);
220
- line-height: 24px;
221
- padding: 4px 10px 4px 10px;
222
- } */
223
-
224
66
.scaladoc-searchbar-row .hidden {
225
67
display : none;
226
68
}
227
69
228
- /* .scaladoc-searchbar-row[divider] {
229
- border-top: solid 1px var(--leftbar-border);
230
- } */
231
-
232
70
.scaladoc-searchbar-row .micon {
233
71
height : 16px ;
234
72
width : 16px ;
235
73
margin : 4px 8px 0px 0px ;
236
74
}
237
75
238
- /* .scaladoc-searchbar-row[selected] {
239
- background-color: var(--leftbar-hover-bg);
240
- color: var(--leftbar-hover-fg);
241
- } */
242
-
243
76
.scaladoc-searchbar-row [result ] {
244
77
flex-direction : column;
245
78
}
@@ -265,22 +98,6 @@ div[selected] > .scaladoc-searchbar-inkuire-package {
265
98
margin-right : 4px ;
266
99
}
267
100
268
- /* .searchbar-hints {
269
- padding-top: 5vh;
270
- padding-bottom: 5vh;
271
- padding-left: 5vw;
272
- padding-right: 5vw;
273
- display: flex;
274
- flex-direction: column;
275
- align-items: center;
276
- justify-content: center;
277
- }
278
-
279
- .searchbar-hints-list {
280
- font-size: medium;
281
- line-height: 2em;
282
- } */
283
-
284
101
# searchBar {
285
102
display : inline-flex;
286
103
}
0 commit comments