mirror of
https://github.com/silverstripe/silverstripe-framework
synced 2024-10-22 14:05:37 +02:00
Adding loading spinner to ui-autocomplete fields when making ajax reqests
This commit is contained in:
parent
7e3c6fd726
commit
cb7aed46cd
@ -140,6 +140,7 @@ body, html { font-size: 12px; line-height: 16px; font-family: Arial, sans-serif;
|
||||
.ui-accordion .ui-accordion-content { border: 1px solid #c0c0c2; border-top: none; }
|
||||
|
||||
.ui-autocomplete { max-height: 240px; overflow-x: hidden; overflow-y: auto; }
|
||||
.ui-autocomplete-loading { background-image: url(../images/throbber.gif) !important; background-position: 97% center !important; background-repeat: no-repeat !important; background-size: auto !important; }
|
||||
|
||||
/** This file defines common styles for form elements used throughout the CMS interface. It is an addition to the base styles defined in framework/css/Form.css. @package framework @subpackage admin */
|
||||
/** ---------------------------------------------------- Basic form fields ---------------------------------------------------- */
|
||||
|
@ -85,8 +85,16 @@
|
||||
}
|
||||
}
|
||||
|
||||
.ui-autocomplete{
|
||||
.ui-autocomplete {
|
||||
max-height: 240px;
|
||||
overflow-x: hidden;
|
||||
overflow-y: auto;
|
||||
|
||||
/** sorry about the !important but the specificity of other selectors mandates it over writing out very specific selectors **/
|
||||
&-loading {
|
||||
background-image: url(../images/throbber.gif) !important;
|
||||
background-position: 97% center !important;
|
||||
background-repeat: no-repeat !important;
|
||||
background-size: auto !important;
|
||||
}
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user