improved throbber display in advenced search
This commit is contained in:
		@@ -969,6 +969,7 @@ function materio_search_api_advanced_search_form($form, &$form_state){
 | 
			
		||||
        '#ajax' => array(
 | 
			
		||||
          'callback' => 'materio_search_api_advanced_search_select_callback',
 | 
			
		||||
          'wrapper' => 'advancedsearch-filters-wrapper',
 | 
			
		||||
          // 'progress'=>array('message'=>''),
 | 
			
		||||
        ),
 | 
			
		||||
      );
 | 
			
		||||
      // without this line, form api will mess with default values
 | 
			
		||||
 
 | 
			
		||||
@@ -3996,6 +3996,12 @@ body.home-v2 #main {
 | 
			
		||||
    background: transparent url("../img/ajax-loader.gif") no-repeat center center; }
 | 
			
		||||
    #tool-bar #materio-search-api-advanced-search-form.loading div.search-btn-wrapper input {
 | 
			
		||||
      visibility: hidden; }
 | 
			
		||||
  #tool-bar #materio-search-api-advanced-search-form .throbbing {
 | 
			
		||||
    display: none; }
 | 
			
		||||
  #tool-bar #materio-search-api-advanced-search-form .ajax-progress-throbber .message {
 | 
			
		||||
    display: none; }
 | 
			
		||||
  #tool-bar #materio-search-api-advanced-search-form .ajax-progress-throbber .throbber {
 | 
			
		||||
    background: transparent url("../img/ajax-loader.gif") no-repeat center center; }
 | 
			
		||||
 | 
			
		||||
#center {
 | 
			
		||||
  border-radius: 10px;
 | 
			
		||||
 
 | 
			
		||||
@@ -1316,6 +1316,18 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
 | 
			
		||||
        input{ visibility: hidden; }
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
    .throbbing {
 | 
			
		||||
      // background-position: 100% -20px; /* tweak this according to your gif */
 | 
			
		||||
      display: none;
 | 
			
		||||
    }
 | 
			
		||||
    .ajax-progress-throbber{
 | 
			
		||||
      .message{
 | 
			
		||||
        display: none;
 | 
			
		||||
      }
 | 
			
		||||
      .throbber{
 | 
			
		||||
        background: transparent url('../img/ajax-loader.gif') no-repeat center center;
 | 
			
		||||
      }
 | 
			
		||||
    }
 | 
			
		||||
 | 
			
		||||
  }
 | 
			
		||||
 | 
			
		||||
 
 | 
			
		||||
		Reference in New Issue
	
	Block a user