@@ -315,8 +315,13 @@ iframe.example {
315
315
color : white;
316
316
}
317
317
318
+ .search-results-group .search-results {
319
+ padding : 0 5px 0 ;
320
+ list-style-type : none;
321
+ }
322
+
318
323
.search-results-frame > .search-results-group : first-child > .search-results {
319
- border-right : 1px solid # 050505 ;
324
+ border-right : 1px solid # 222 ;
320
325
}
321
326
322
327
.search-results-group .col-group-api { width : 30% ; }
@@ -325,10 +330,57 @@ iframe.example {
325
330
.search-results-group .col-group-misc ,
326
331
.search-results-group .col-group-error { width : 15% ; float : right; }
327
332
333
+ @supports ((column-count : 2 ) or (-moz-column-count : 2 ) or (-ms-column-count : 2 ) or (-webkit-column-count : 2 )) {
334
+ .search-results-group .col-group-api .search-results {
335
+ -moz-column-count : 2 ;
336
+ -ms-column-count : 2 ;
337
+ -webkit-column-count : 2 ;
338
+ column-count : 2 ;
339
+ /* Prevent bullets in the second column from being hidden in Chrome and IE */
340
+ -webkit-column-gap : 2em ;
341
+ -ms-column-gap : 2em ;
342
+ column-gap : 2em ;
343
+ }
344
+ }
345
+
346
+ .search-results-group .search-result {
347
+ word-wrap : break-word;
348
+ -webkit-hyphens : auto;
349
+ -moz-hyphens : auto;
350
+ -ms-hyphens : auto;
351
+ hyphens : auto;
352
+ -ms-column-break-inside : avoid;
353
+ -webkit-column-break-inside : avoid;
354
+ -moz-column-break-inside : avoid; /* Unsupported */
355
+ column-break-inside : avoid;
356
+ text-indent : -0.65em ; /* Make sure line wrapped words are aligned vertically */
357
+ }
358
+
359
+ @supports (-moz-column-count : 2 ) {
360
+ .search-results-group .search-result {
361
+ /* Prevents column breaks inside words in FF, but has adverse effects in IE11 and Chrome */
362
+ overflow : hidden;
363
+ padding-left : 1em ; /* In FF the list item bullet is otherwise hidden */
364
+ margin-left : -1em ; /* offset the padding left */
365
+ }
366
+ }
367
+
368
+ .search-result : before {
369
+ content : "\002D\00A0" ; /* Dash and non-breaking space as List item type */
370
+ position : relative;
371
+ }
328
372
329
373
.search-results-group .col-group-api .search-result {
330
374
width : 48% ;
331
375
display : inline-block;
376
+ padding-left : 12px ;
377
+ }
378
+
379
+ @supports ((column-count : 2 ) or (-moz-column-count : 2 ) or (-ms-column-count : 2 ) or (-webkit-column-count : 2 )) {
380
+ .search-results-group .col-group-api .search-result {
381
+ width : auto;
382
+ display : list-item;
383
+ }
332
384
}
333
385
334
386
.search-close {
@@ -682,21 +734,54 @@ ul.events > li {
682
734
padding-bottom : 60px ;
683
735
text-align : left;
684
736
}
737
+
738
+ .search-results-frame > .search-results-group : first-child > .search-results {
739
+ border-right : none;
740
+ }
741
+
685
742
.search-results-group {
686
743
float : none!important ;
687
744
display : block!important ;
688
745
width : auto!important ;
689
746
border : 0 !important ;
690
747
padding : 0 !important ;
691
748
}
749
+
750
+ @supports ((column-count : 2 ) or (-moz-column-count : 2 ) or (-ms-column-count : 2 ) or (-webkit-column-count : 2 )) {
751
+ .search-results-group .search-results {
752
+ -moz-column-count : 2 ;
753
+ -ms-column-count : 2 ;
754
+ -webkit-column-count : 2 ;
755
+ column-count : 2 ;
756
+ }
757
+ }
758
+
692
759
.search-results-group .search-result {
693
760
display : inline-block!important ;
694
761
padding : 0 5px ;
695
762
width : auto!important ;
763
+ text-indent : initial;
764
+ margin-left : 0 ;
696
765
}
766
+
697
767
.search-results-group .search-result : after {
698
768
content : ", " ;
699
769
}
770
+
771
+ .search-results-group .search-result : before {
772
+ content : "" ;
773
+ }
774
+
775
+ @supports ((column-count : 2 ) or (-moz-column-count : 2 ) or (-ms-column-count : 2 ) or (-webkit-column-count : 2 )) {
776
+ .search-results-group .search-result {
777
+ display : list-item !important ;
778
+ }
779
+
780
+ .search-results-group .search-result : after {
781
+ content : "" ;
782
+ }
783
+ }
784
+
700
785
# wrapper {
701
786
padding-bottom : 0px ;
702
787
}
0 commit comments