improved throbber display in advenced search
This commit is contained in:
parent
106129c27c
commit
afc654c704
@ -969,6 +969,7 @@ function materio_search_api_advanced_search_form($form, &$form_state){
|
|||||||
'#ajax' => array(
|
'#ajax' => array(
|
||||||
'callback' => 'materio_search_api_advanced_search_select_callback',
|
'callback' => 'materio_search_api_advanced_search_select_callback',
|
||||||
'wrapper' => 'advancedsearch-filters-wrapper',
|
'wrapper' => 'advancedsearch-filters-wrapper',
|
||||||
|
// 'progress'=>array('message'=>''),
|
||||||
),
|
),
|
||||||
);
|
);
|
||||||
// without this line, form api will mess with default values
|
// 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; }
|
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 {
|
#tool-bar #materio-search-api-advanced-search-form.loading div.search-btn-wrapper input {
|
||||||
visibility: hidden; }
|
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 {
|
#center {
|
||||||
border-radius: 10px;
|
border-radius: 10px;
|
||||||
|
@ -1316,6 +1316,18 @@ $headerouterheight:$headerheight+$headerpaddingtop+$headerpaddingbottom;
|
|||||||
input{ visibility: hidden; }
|
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;
|
||||||
|
}
|
||||||
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user