diff --git a/web/css/source/_absolute.less b/web/css/source/_absolute.less index 94c3a60..0583f8d 100644 --- a/web/css/source/_absolute.less +++ b/web/css/source/_absolute.less @@ -174,43 +174,6 @@ a:hover { } } } - - // Ajaxsearch integration - .block-search.block-swissup-ajaxsearch .field.search { - .swissup-ajaxsearch-filter-category-wrapper { - .select2-container--default .select2-selection--single { - border-color: #fff; - .lib-css(border-radius, @header-search__border-radius 0 0 @header-search__border-radius); - .lib-css(height, @header-search__height); - .select2-selection__arrow { - .lib-css(height, @header-search__height); - } - .select2-selection__rendered { - .lib-css(line-height, @header-search__height); - } - } - .select2-dropdown { - .lib-css(border-radius, @header-search__border-radius); - border-color: #fff; - margin-top: 1px; - .lib-css(box-shadow, @header-search__box-shadow); - .select2-search__field { - .lib-css(border-radius, @header-search__border-radius); - } - } - } - .swissup-ajaxsearch-filter-category-wrapper + .origin { - .input-text { - .lib-css(border-radius, 0 @header-search__border-radius @header-search__border-radius 0); - } - } - .block-swissup-ajaxsearch-results { - margin-top: 1px; - .lib-css(border-radius, @header-search__border-radius); - border-color: #fff; - .lib-css(box-shadow, @header-search__box-shadow); - } - } } .media-width(@extremum, @break) when (@extremum = 'max') and (@break = @screen__m) { .header .block-search { diff --git a/web/css/source/lib/variables/_absolute.less b/web/css/source/lib/variables/_absolute.less index 616c7f0..a6ea187 100644 --- a/web/css/source/lib/variables/_absolute.less +++ b/web/css/source/lib/variables/_absolute.less @@ -22,6 +22,20 @@ @header-search__border-radius: 5px; @header-search__box-shadow: 0 0 10px rgba(0,0,0,0.15); +// +// Search +// _____________________________________________ +@ajaxsearch-input__border: 0; +@ajaxsearch-input__border-radius: 5px; +@ajaxsearch-dropdown__border-color: #fff; +@ajaxsearch-dropdown__border: 0; +@ajaxsearch-dropdown__border-radius: 2px; +@ajaxsearch-dropdown__box-shadow: 0 3px 17px rgba(0, 0, 0, 0.15); +@ajaxsearch-folded__background: none; +@ajaxsearch-folded-icon-search__color: #fff; +@ajaxsearch-folded-input__box-shadow: none; +@ajaxsearch-fullscreen-form__initial-positioning: 'absolute'; + // // Dropdowns // _____________________________________________