From fdeb4de23feca5bbbe434b90276395fb9c2322d5 Mon Sep 17 00:00:00 2001 From: Coleman Watts Date: Fri, 18 Jul 2014 23:18:42 +0100 Subject: [PATCH] Style jQuery block-ui to use a spinner instead of 'Please wait' --- css/civicrm.css | 5 +++++ i/loading-overlay.gif | Bin 0 -> 8506 bytes js/Common.js | 2 ++ 3 files changed, 7 insertions(+) create mode 100644 i/loading-overlay.gif diff --git a/css/civicrm.css b/css/civicrm.css index ccad1be529..00e0bbbcdb 100644 --- a/css/civicrm.css +++ b/css/civicrm.css @@ -4732,3 +4732,8 @@ span.crm-status-icon { .crm-container select.ng-pristine{ border: 1px solid #666; } + +/* block-ui */ +.crm-container .blockUI.blockOverlay { + background: url("../i/loading-overlay.gif") center center no-repeat black; +} diff --git a/i/loading-overlay.gif b/i/loading-overlay.gif new file mode 100644 index 0000000000000000000000000000000000000000..cf72f7dc43f83f28d7f308e5fa6034b7fcbf9cbc GIT binary patch literal 8506 zcmb8!Ygkif+BV>oWF@R@NJ4-lK!7A*2#{a`N!VzeumXyRGy)s7VN6 zk3mrpsS^a1R@>qRcQ`g6T2Qoh+xN9UdGy4A;n29PF)k)f<}WK+ zQ#5jIkay_xnYBs20aCync11`2ihH&4vjk-7{6x8Vxv&5Bn&ZZ4+1rwwnml{X?9$DpXV0C5-umMGgB%?m7pn?Yhx_|U za2W6hyq{r&2)>Ife{A`0LWEzGALK`P`i0qs7Yukd)B6@24B&1SXdW;;80Cij-nln) z8`5av29JjONxk{YMf&2Wc0bYi+WG8)4AdiFeSoY4W%5_^;gB^&)b(!kDwV@(hL_RR zh7n@dXpPJ~!KWZUSeqA{87XrPP8g+ofTYo=g*T^(eNj6`=PJj_JB zKfBJ7LM#TK9DUkA`cudlh7!YHut5WET_KD^cqXEX1i_ zl#U1L4n8|WmY3an-Lbv(v$Zm&GQ!;WVa;sriizz$qdYs0JXAEIL;s+@HnM zrntnynmfAHly_dUn}>vYL+y!Tc`1G1J_f3Z*x&GXI`rucmOEc!#C+G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+X}Q{xetm)d{e#BT9tS9bl(n>oY0uBoGuU#~n09^uLjf||QWZeA z{`C>sS|_I7G=N^~5#sGP4M5lOvb-{CtK|~BmmX&LyimBgIZAce&gId87Tz876x11( z@|e4kXmf|BQ+9?9oex{}SG&#cq|b6+>j5t*o~58}q6)6;``?f69`Sg&Z59Db> zCC@?zW@WB}yw>WyR0Q16=?l(Zhe7U76-UawDo~c)_x8sY-r2i8itM;X3YC9%K?=jF z`JMT#3_a_GK@BySGA^>Kdrz1T)8%?ZSm)81EfvUDTk0 z;z@Sv=?HW}OhJ%gk~Tt#i$DCxP->p&dY^!Jr@=YM*jM!&CkOLlp0eyF$M#s4cqoli zj!5`@N_88Cia5n&_6J?`i^r6l?xVxhS|8K)uK z+K*ITrF-z2SzO7yh;?TJ8tJFJbK;<-1NAq%j#WiBpnmquCY(CNZF7a;yM|{G=9VuL iagR~%?fUe+Rdugsi8P!T`e554A&G6$&ISEp*8c%^M^hF6 literal 0 HcmV?d00001 diff --git a/js/Common.js b/js/Common.js index da542f2a14..b13ad4289c 100644 --- a/js/Common.js +++ b/js/Common.js @@ -909,6 +909,8 @@ CRM.strings = CRM.strings || {}; }); $(function () { + $.blockUI.defaults.message = null; + // Trigger crmLoad on initial content for consistency. It will also be triggered for ajax-loaded content. $('.crm-container').trigger('crmLoad'); -- 2.25.1