24
24
--1inch-bg-card : # FFFFFF ;
25
25
--1inch-bg-header : # 06070A ;
26
26
--1inch-bg-toggle : # 202835 ;
27
+ --1inch-bg-search-hover : # 465c7c ;
28
+ --1inch-bg-search-input : # 444950 ;
27
29
--1inch-shadow-1 : 0 0 4px rgba (0 , 0 , 0 , 0.1 ), 0 1px 2px rgba (0 , 0 , 0 , 0.25 );
28
30
--1inch-shadow-2 : none;
29
31
--1inch-text-2-hover : # FBFBFB ;
32
+ --1inch-item-border : # 232E3D ;
30
33
}
31
34
32
35
: root[data-theme = 'light' ] {
46
49
--1inch-bg-6 : # ECF0F9 ;
47
50
--1inch-bg-header : # FFFFFF ;
48
51
--1inch-bg-toggle : # ECF0F9 ;
52
+ --1inch-bg-search-hover : # 6C86AD ;
53
+ --1inch-bg-search-input : rgba (0 , 0 , 0 , .1 );
49
54
--1inch-shadow-1 : 0 0 4px rgba (71 , 73 , 79 , 0.05 ), 0 1px 2px rgba (71 , 73 , 79 , 0.05 );
50
55
--1inch-shadow-2 : 0 0 4px rgba (0 , 0 , 0 , 0.1 ), 0 1px 2px rgba (0 , 0 , 0 , 0.25 );
51
56
--1inch-text-2-hover : # 222222 ;
57
+ --1inch-item-border : # E3E7EE ;
52
58
}
53
59
54
60
/*--Article color--*/
91
97
}
92
98
93
99
/* Switch images to match the theme color */
94
- [data-theme-mode = 'dark' ], [data-theme-mode = 'light' ] {
100
+ [data-theme-mode = 'dark' ],
101
+ [data-theme-mode = 'light' ] {
95
102
display : none;
96
103
}
97
104
@@ -102,9 +109,14 @@ html[data-theme='dark'] [data-theme-mode='dark'] {
102
109
html [data-theme = 'light' ] [data-theme-mode = 'light' ] {
103
110
display : block;
104
111
}
112
+
105
113
/* */
106
114
107
- p , a , h1 , h2 , h3 {
115
+ p ,
116
+ a ,
117
+ h1 ,
118
+ h2 ,
119
+ h3 {
108
120
margin : 0 ;
109
121
text-decoration : none;
110
122
}
@@ -205,7 +217,7 @@ html {
205
217
206
218
.menu__list-item--collapsed .menu__link ::after ,
207
219
.menu__link--sublist .menu__link ::after ,
208
- .menu__link--sublist ~ .menu__list .menu__link ::after {
220
+ .menu__link--sublist ~ .menu__list .menu__link ::after {
209
221
content : "" ;
210
222
}
211
223
@@ -232,7 +244,7 @@ html {
232
244
background : var (--1inch-bg-4 );
233
245
}
234
246
235
- .dropdown > .navbar__link : after {
247
+ .dropdown > .navbar__link : after {
236
248
content : url ("../../static/img/icons/chevron-dark.svg" );
237
249
border : none;
238
250
transform : none;
@@ -241,7 +253,7 @@ html {
241
253
top : 3px ;
242
254
}
243
255
244
- html [data-theme = 'dark' ] .dropdown > .navbar__link : after {
256
+ html [data-theme = 'dark' ] .dropdown > .navbar__link : after {
245
257
content : url ("../../static/img/icons/chevron-light.svg" );
246
258
opacity : 0.6 ;
247
259
}
@@ -265,7 +277,7 @@ html[data-theme='dark'] .dropdown > .navbar__link:after {
265
277
display : block;
266
278
}
267
279
268
- /* header END */
280
+ /* header END */
269
281
270
282
.fileDownload_src-components-file-download-FileDownload-module {
271
283
border-color : var (--1inch-border ) !important ;
@@ -285,21 +297,58 @@ html[data-theme='dark'] .dropdown > .navbar__link:after {
285
297
color : var (--1inch-title ) !important ;
286
298
}
287
299
288
- .swagger-ui .info h1 , .swagger-ui .info h2 , .swagger-ui .info h3 , .swagger-ui .info h4 , .swagger-ui .info h5 {
300
+ .swagger-ui .info h1 ,
301
+ .swagger-ui .info h2 ,
302
+ .swagger-ui .info h3 ,
303
+ .swagger-ui .info h4 ,
304
+ .swagger-ui .info h5 {
289
305
color : var (--1inch-title ) !important ;
290
306
}
291
307
292
- .swagger-ui .border-box , .swagger-ui a , .swagger-ui article , .swagger-ui body , .swagger-ui code , .swagger-ui dd ,
293
- .swagger-ui div , .swagger-ui dl , .swagger-ui dt , .swagger-ui fieldset , .swagger-ui footer , .swagger-ui form ,
294
- .swagger-ui h1 , .swagger-ui h2 , .swagger-ui h3 , .swagger-ui h4 , .swagger-ui h5 , .swagger-ui h6 , .swagger-ui header ,
295
- .swagger-ui html , .swagger-ui input [type = email ], .swagger-ui input [type = number ], .swagger-ui input [type = password ],
296
- .swagger-ui input [type = tel ], .swagger-ui input [type = text ], .swagger-ui input [type = url ], .swagger-ui legend ,
297
- .swagger-ui li , .swagger-ui main , .swagger-ui ol , .swagger-ui p , .swagger-ui pre , .swagger-ui section , .swagger-ui table ,
298
- .swagger-ui td , .swagger-ui textarea , .swagger-ui th , .swagger-ui tr , .swagger-ui ul {
308
+ .swagger-ui .border-box ,
309
+ .swagger-ui a ,
310
+ .swagger-ui article ,
311
+ .swagger-ui body ,
312
+ .swagger-ui code ,
313
+ .swagger-ui dd ,
314
+ .swagger-ui div ,
315
+ .swagger-ui dl ,
316
+ .swagger-ui dt ,
317
+ .swagger-ui fieldset ,
318
+ .swagger-ui footer ,
319
+ .swagger-ui form ,
320
+ .swagger-ui h1 ,
321
+ .swagger-ui h2 ,
322
+ .swagger-ui h3 ,
323
+ .swagger-ui h4 ,
324
+ .swagger-ui h5 ,
325
+ .swagger-ui h6 ,
326
+ .swagger-ui header ,
327
+ .swagger-ui html ,
328
+ .swagger-ui input [type = email ],
329
+ .swagger-ui input [type = number ],
330
+ .swagger-ui input [type = password ],
331
+ .swagger-ui input [type = tel ],
332
+ .swagger-ui input [type = text ],
333
+ .swagger-ui input [type = url ],
334
+ .swagger-ui legend ,
335
+ .swagger-ui li ,
336
+ .swagger-ui main ,
337
+ .swagger-ui ol ,
338
+ .swagger-ui p ,
339
+ .swagger-ui pre ,
340
+ .swagger-ui section ,
341
+ .swagger-ui table ,
342
+ .swagger-ui td ,
343
+ .swagger-ui textarea ,
344
+ .swagger-ui th ,
345
+ .swagger-ui tr ,
346
+ .swagger-ui ul {
299
347
color : var (--1inch-title ) !important ;
300
348
}
301
349
302
- .arrow , button {
350
+ .arrow ,
351
+ button {
303
352
fill : var (--1inch-bg-3 );
304
353
}
305
354
@@ -311,7 +360,8 @@ html[data-theme='dark'] .dropdown > .navbar__link:after {
311
360
color : var (--1inch-title ) !important ;
312
361
}
313
362
314
- .model-box-control , .model-box {
363
+ .model-box-control ,
364
+ .model-box {
315
365
color : var (--1inch-title ) !important ;
316
366
}
317
367
@@ -372,7 +422,9 @@ html[data-theme='dark'] .swagger-ui .model-toggle:after {
372
422
padding-right : 0 !important ;
373
423
}
374
424
375
- .swagger-ui input [disabled ], .swagger-ui select [disabled ], .swagger-ui textarea [disabled ],
425
+ .swagger-ui input [disabled ],
426
+ .swagger-ui select [disabled ],
427
+ .swagger-ui textarea [disabled ],
376
428
.swagger-ui .parameters-col_description input [type = text ] {
377
429
background : var (--1inch-bg-4 ) !important ;
378
430
border-color : var (--1inch-border ) !important ;
@@ -397,13 +449,56 @@ html[data-theme='dark'] .swagger-ui .model-toggle:after {
397
449
color : var (--1inch-common-title ) !important ;
398
450
border : none;
399
451
}
452
+
400
453
/* swagger END */
401
454
402
455
/* Changed search styles */
403
- . searchResultsSection_nuUe {
456
+ [ class *= "searchResultsSection_" ] {
404
457
max-height : 100% !important ;
405
458
}
406
459
460
+ .container [class *= "searchQueryInput_" ] {
461
+ background : var (--1inch-bg-search-input );
462
+ border : 1px solid transparent;
463
+ margin-top : 32px ;
464
+ }
465
+
466
+ .container [class *= "searchQueryInput_" ]: focus-visible {
467
+ outline : none;
468
+ box-shadow : 0 1px 0 0 var (--1inch-common-button ) inset, 0 -1px 0 0 var (--1inch-common-button ) inset, 1px 0 0 0 var (--1inch-common-button ) inset, -1px 0 0 0 var (--1inch-common-button ) inset !important ;
469
+ }
470
+
471
+ .container [class *= "searchResultItem_" ] {
472
+ border-color : var (--1inch-item-border );
473
+ }
474
+
475
+ [class *= "searchBox_" ] [class *= "searchModal_" ] {
476
+ background : rgba (0 , 0 , 0 , 0.50 );
477
+ }
478
+
479
+ [class *= "searchModal_" ] [class *= "searchModalContainer_" ] {
480
+ box-shadow : none;
481
+ border : 1px solid transparent;
482
+ }
483
+
484
+ [class *= "searchModal_" ] [class *= "searchInputContainer_" ] {
485
+ box-shadow : none;
486
+ background : var (--1inch-bg-search-input );
487
+ }
488
+
489
+ [class *= "searchModal_" ] [class *= "searchResultsSectionHeader_" ] {
490
+ color : var (--1inch-text )
491
+ }
492
+
493
+ [class *= "searchModal_" ] [class *= "searchResult_" ] {
494
+ background : var (--1inch-bg-toggle );
495
+ margin-bottom : 8px ;
496
+ }
497
+
498
+ [class *= "searchModal_" ] [class *= "searchResult_" ][class *= "cursor_" ] {
499
+ background : var (--1inch-bg-search-hover ) !important ;
500
+ }
501
+
407
502
/* Adaptive START */
408
503
@media (max-width : 1440px ) {
409
504
.navbar__link {
@@ -474,9 +569,9 @@ html[data-theme='dark'] .swagger-ui .model-toggle:after {
474
569
font-size : 18px ;
475
570
}
476
571
477
- .navbar__item {
478
- display : none;
479
- }
572
+ .navbar__item {
573
+ display : none;
574
+ }
480
575
481
576
.navbar__toggle {
482
577
display : block !important ;
@@ -503,4 +598,5 @@ html[data-theme='dark'] .swagger-ui .model-toggle:after {
503
598
width : 100%
504
599
}
505
600
}
601
+
506
602
/* Adaptive END */
0 commit comments