diff --git a/src/definitions/modules/search.js b/src/definitions/modules/search.js index 0e02efb5f..1326d6247 100644 --- a/src/definitions/modules/search.js +++ b/src/definitions/modules/search.js @@ -604,6 +604,8 @@ $.fn.search = function(parameters) { $results .transition({ animation : settings.transition + ' in', + debug : settings.debug, + verbose : settings.verbose, duration : settings.duration, queue : true }) @@ -622,10 +624,19 @@ $.fn.search = function(parameters) { hideResults: function() { if( module.is.visible() ) { if( module.can.transition() ) { + console.log('here', { + animation : settings.transition + ' out', + debug : settings.debug, + verbose : settings.verbose, + duration : settings.duration, + queue : true + }); module.debug('Hiding results with css animations'); $results .transition({ animation : settings.transition + ' out', + debug : settings.debug, + verbose : settings.verbose, duration : settings.duration, queue : true }) diff --git a/src/definitions/modules/search.less b/src/definitions/modules/search.less index 83b0232b4..f9bd6baee 100755 --- a/src/definitions/modules/search.less +++ b/src/definitions/modules/search.less @@ -91,7 +91,7 @@ display: block; overflow: hidden; font-size: @resultFontSize; - padding: @resultVerticalPadding @resultHorizontalPadding; + padding: @resultPadding; color: @resultTextColor; line-height: @resultLineHeight; border-bottom: @resultDivider; @@ -124,6 +124,7 @@ } .ui.search > .results .result .title { + margin: @resultTitleMargin; font-family: @resultTitleFont; font-weight: @resultTitleFontWeight; font-size: @resultTitleFontSize; diff --git a/src/themes/default/modules/search.variables b/src/themes/default/modules/search.variables index 5513fc889..c22941712 100644 --- a/src/themes/default/modules/search.variables +++ b/src/themes/default/modules/search.variables @@ -29,7 +29,7 @@ /* Result */ @resultFontSize: 1em; -@resultVerticalPadding: 0.5em; +@resultVerticalPadding: @relativeMini; @resultHorizontalPadding: @relativeLarge; @resultPadding: @resultVerticalPadding @resultHorizontalPadding; @resultTextColor: @textColor; @@ -47,6 +47,7 @@ /* Result Content */ @resultTitleFont: @headerFont; +@resultTitleMargin: -@headerLineHeightOffset 0em 0em; @resultTitleFontWeight: bold; @resultTitleFontSize: @relativeMedium; @resultTitleColor: @darkTextColor; @@ -63,10 +64,10 @@ /* Special Message */ @messageVerticalPadding: 1em; @messageHorizontalPadding: 1em; -@messageHeaderFontSize: 1.1428em; +@messageHeaderFontSize: @medium; @messageHeaderFontWeight: bold; @messageHeaderColor: @textColor; -@messageDescriptionDistance: 0.75rem; +@messageDescriptionDistance: 0.25rem; @messageDescriptionFontSize: 1em; @messageDescriptionColor: @textColor;