s fix
Signed-off-by: Jeff <jeff@gotenzing.com>
Showing
11 changed files
with
52 additions
and
18 deletions
| ... | @@ -18311,20 +18311,27 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -18311,20 +18311,27 @@ ul.sf_date_field .sf-datepicker { |
| 18311 | @media screen and (max-width: 56.25rem) { | 18311 | @media screen and (max-width: 56.25rem) { |
| 18312 | #advance-search-modal { | 18312 | #advance-search-modal { |
| 18313 | margin-top: 0rem; | 18313 | margin-top: 0rem; |
| 18314 | z-index: 99; | ||
| 18314 | } | 18315 | } |
| 18315 | } | 18316 | } |
| 18316 | @media screen and (max-width: 49.125rem) { | 18317 | @media screen and (max-width: 49.125rem) { |
| 18317 | #advance-search-modal { | 18318 | #advance-search-modal { |
| 18318 | margin-top: 5rem; | 18319 | margin-top: 5rem; |
| 18319 | z-index: 99; | 18320 | z-index: 999; |
| 18320 | } | 18321 | } |
| 18321 | } | 18322 | } |
| 18322 | @media screen and (min-height: 50.625rem) { | 18323 | @media screen and (min-height: 50.625rem) { |
| 18323 | #advance-search-modal { | 18324 | #advance-search-modal { |
| 18324 | z-index: 99; | 18325 | z-index: 99; |
| 18325 | margin-top: 5rem; | 18326 | z-index: 999; |
| 18326 | } | 18327 | } |
| 18327 | } | 18328 | } |
| 18329 | #advance-search-modal .select2-container { | ||
| 18330 | width: 100% !important; | ||
| 18331 | } | ||
| 18332 | #advance-search-modal .select2-container--default .select2-search--inline .select2-search__field { | ||
| 18333 | min-width: 200px !important; | ||
| 18334 | } | ||
| 18328 | #advance-search-modal .btn-close { | 18335 | #advance-search-modal .btn-close { |
| 18329 | opacity: 1; | 18336 | opacity: 1; |
| 18330 | } | 18337 | } |
| ... | @@ -18567,14 +18574,24 @@ ul.sf_date_field .sf-datepicker { | ... | @@ -18567,14 +18574,24 @@ ul.sf_date_field .sf-datepicker { |
| 18567 | z-index: 6; | 18574 | z-index: 6; |
| 18568 | } | 18575 | } |
| 18569 | 18576 | ||
| 18570 | #advance-search-modal .sf-field-taxonomy-mlo-category, | 18577 | .select2-selection__rendered .sf-field-reset { |
| 18571 | #advance-search-modal .sf-field-post-meta-file_type { | 18578 | display: none !important; |
| 18579 | } | ||
| 18580 | |||
| 18581 | #advance-search-modal .sf-field-taxonomy-region, | ||
| 18582 | #advance-search-modal .sf-field-taxonomy-country, | ||
| 18583 | #advance-search-modal .sf-field-taxonomy-continent, | ||
| 18584 | #advance-search-modal .sf-field-taxonomy-document-category, | ||
| 18585 | #advance-search-modal .sf-field-taxonomy-document-format { | ||
| 18572 | width: 33%; | 18586 | width: 33%; |
| 18573 | display: inline-block !important; | 18587 | display: inline-block !important; |
| 18574 | } | 18588 | } |
| 18575 | @media screen and (max-width: 56.25rem) { | 18589 | @media screen and (max-width: 56.25rem) { |
| 18576 | #advance-search-modal .sf-field-taxonomy-mlo-category, | 18590 | #advance-search-modal .sf-field-taxonomy-region, |
| 18577 | #advance-search-modal .sf-field-post-meta-file_type { | 18591 | #advance-search-modal .sf-field-taxonomy-country, |
| 18592 | #advance-search-modal .sf-field-taxonomy-continent, | ||
| 18593 | #advance-search-modal .sf-field-taxonomy-document-category, | ||
| 18594 | #advance-search-modal .sf-field-taxonomy-document-format { | ||
| 18578 | width: 100%; | 18595 | width: 100%; |
| 18579 | } | 18596 | } |
| 18580 | } | 18597 | } | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -7507,12 +7507,14 @@ | ... | @@ -7507,12 +7507,14 @@ |
| 7507 | $(this).closest('.searchandfilter')[0].reset(); | 7507 | $(this).closest('.searchandfilter')[0].reset(); |
| 7508 | return false; | 7508 | return false; |
| 7509 | }); | 7509 | }); |
| 7510 | $(document).on("click", '[name="_sf_submit"]', function (e) { | 7510 | $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function (e) { |
| 7511 | console.log('submit'); | 7511 | console.log('submit'); |
| 7512 | $(".searchandfilter").trigger("submit"); | 7512 | $('[data-sf-form-id="399"]').trigger("submit"); |
| 7513 | $('.btn-close').click(); | ||
| 7513 | $('#search-box-content').removeClass('show'); | 7514 | $('#search-box-content').removeClass('show'); |
| 7514 | $('.search-box').removeClass('show'); | 7515 | $('.search-box').removeClass('show'); |
| 7515 | $('.badge').show(); | 7516 | $('.badge').show(); |
| 7517 | //location.reload(); | ||
| 7516 | // history.pushState(null, null, ajax_results_url); | 7518 | // history.pushState(null, null, ajax_results_url); |
| 7517 | }); | 7519 | }); |
| 7518 | 7520 | ... | ... |
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
This diff could not be displayed because it is too large.
| ... | @@ -17,17 +17,20 @@ var Search = (function($) { | ... | @@ -17,17 +17,20 @@ var Search = (function($) { |
| 17 | }); | 17 | }); |
| 18 | 18 | ||
| 19 | 19 | ||
| 20 | $(document).on("click", '[name="_sf_submit"]', function(e){ | 20 | $(document).on("click", '#advance-search-modal [name="_sf_submit"]', function(e){ |
| 21 | console.log('submit'); | 21 | console.log('submit'); |
| 22 | $(".searchandfilter").trigger("submit"); | 22 | $('[data-sf-form-id="399"]').trigger("submit"); |
| 23 | $('.btn-close').click() | ||
| 23 | $('#search-box-content').removeClass('show'); | 24 | $('#search-box-content').removeClass('show'); |
| 24 | $('.search-box').removeClass('show'); | 25 | $('.search-box').removeClass('show'); |
| 25 | $('.badge').show(); | 26 | $('.badge').show(); |
| 27 | //location.reload(); | ||
| 26 | // history.pushState(null, null, ajax_results_url); | 28 | // history.pushState(null, null, ajax_results_url); |
| 27 | }); | 29 | }); |
| 28 | 30 | ||
| 29 | 31 | ||
| 30 | $(document).on("click", ".advance-search-button", function(e){ | 32 | $(document).on("click", ".advance-search-button", function(e){ |
| 33 | |||
| 31 | $('#search-box-content').addClass('show'); | 34 | $('#search-box-content').addClass('show'); |
| 32 | $('.search-box').addClass('show'); | 35 | $('.search-box').addClass('show'); |
| 33 | $('.badge').hide(); | 36 | $('.badge').hide(); | ... | ... |
| ... | @@ -415,17 +415,22 @@ ul.sf_date_field { | ... | @@ -415,17 +415,22 @@ ul.sf_date_field { |
| 415 | margin-top: 1%; | 415 | margin-top: 1%; |
| 416 | @media screen and (max-width: 56.25rem) { | 416 | @media screen and (max-width: 56.25rem) { |
| 417 | margin-top: 0rem; | 417 | margin-top: 0rem; |
| 418 | 418 | z-index: 99; | |
| 419 | } | 419 | } |
| 420 | @media screen and (max-width: 49.125rem) { | 420 | @media screen and (max-width: 49.125rem) { |
| 421 | margin-top: 5rem; | 421 | margin-top: 5rem; |
| 422 | z-index: 99; | 422 | z-index: 999; |
| 423 | } | 423 | } |
| 424 | @media screen and (min-height: 50.625rem) { | 424 | @media screen and (min-height: 50.625rem) { |
| 425 | z-index: 99; | 425 | z-index: 99; |
| 426 | margin-top: 5rem; | 426 | z-index: 999; |
| 427 | } | ||
| 428 | .select2-container{ | ||
| 429 | width: 100% !important; | ||
| 430 | } | ||
| 431 | .select2-container--default .select2-search--inline .select2-search__field{ | ||
| 432 | min-width: 200px !important; | ||
| 427 | } | 433 | } |
| 428 | |||
| 429 | .btn-close { | 434 | .btn-close { |
| 430 | opacity: 1; | 435 | opacity: 1; |
| 431 | @media screen and (max-width: 56.25rem) { | 436 | @media screen and (max-width: 56.25rem) { |
| ... | @@ -683,10 +688,17 @@ ul.sf_date_field { | ... | @@ -683,10 +688,17 @@ ul.sf_date_field { |
| 683 | .modal-backdrop{ | 688 | .modal-backdrop{ |
| 684 | z-index: 6; | 689 | z-index: 6; |
| 685 | } | 690 | } |
| 686 | 691 | .select2-selection__rendered{ | |
| 692 | .sf-field-reset{ | ||
| 693 | display: none !important; | ||
| 694 | } | ||
| 695 | } | ||
| 687 | #advance-search-modal{ | 696 | #advance-search-modal{ |
| 688 | .sf-field-taxonomy-mlo-category, | 697 | .sf-field-taxonomy-region, |
| 689 | .sf-field-post-meta-file_type{ | 698 | .sf-field-taxonomy-country, |
| 699 | .sf-field-taxonomy-continent, | ||
| 700 | .sf-field-taxonomy-document-category, | ||
| 701 | .sf-field-taxonomy-document-format{ | ||
| 690 | width: 33%; | 702 | width: 33%; |
| 691 | display: inline-block !important; | 703 | display: inline-block !important; |
| 692 | @media screen and (max-width: 56.25rem) { | 704 | @media screen and (max-width: 56.25rem) { | ... | ... |
-
Please register or sign in to post a comment