messengerjs-rails 1.4.1 → 1.5.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- checksums.yaml +5 -5
- data/lib/messengerjs-rails/version.rb +1 -1
- data/vendor/assets/javascripts/messenger-theme-flat.js +5 -5
- data/vendor/assets/javascripts/messenger-theme-future.js +5 -5
- data/vendor/assets/javascripts/messenger.js +336 -327
- data/vendor/assets/javascripts/messenger.min.js +2 -2
- data/vendor/assets/stylesheets/messenger-spinner.css +21 -91
- data/vendor/assets/stylesheets/messenger-theme-air.css +49 -129
- data/vendor/assets/stylesheets/messenger-theme-block.css +2 -2
- data/vendor/assets/stylesheets/messenger-theme-flat.css +45 -133
- data/vendor/assets/stylesheets/messenger-theme-future.css +69 -153
- data/vendor/assets/stylesheets/messenger-theme-ice.css +19 -23
- data/vendor/assets/stylesheets/messenger.css +5 -1
- metadata +4 -5
@@ -1,2 +1,2 @@
|
|
1
|
-
/*! messenger 1.
|
2
|
-
(function(){var e,t=window.Messenger;e=window.Messenger=function(){return e._call.apply(this,arguments)},window.Messenger.noConflict=function(){return window.Messenger=t,e}})(),window.Messenger._=function(){if(window._)return window._;var e=Array.prototype,t=Object.prototype,n=Function.prototype,s=(e.push,e.slice),r=(e.concat,t.toString);t.hasOwnProperty;var o=e.forEach,i=(e.map,e.reduce,e.reduceRight,e.filter),a=(e.every,e.some,e.indexOf,e.lastIndexOf,Array.isArray,Object.keys),l=n.bind,u={},c={},h=u.each=u.forEach=function(e,t,n){if(null!=e)if(o&&e.forEach===o)e.forEach(t,n);else if(e.length===+e.length){for(var s=0,r=e.length;r>s;s++)if(t.call(n,e[s],s,e)===c)return}else for(var i in e)if(u.has(e,i)&&t.call(n,e[i],i,e)===c)return};u.result=function(e,t){if(null==e)return null;var n=e[t];return u.isFunction(n)?n.call(e):n},u.once=function(e){var t,n=!1;return function(){return n?t:(n=!0,t=e.apply(this,arguments),e=null,t)}};var p=0;return u.uniqueId=function(e){var t=++p+"";return e?e+t:t},u.filter=u.select=function(e,t,n){var s=[];return null==e?s:i&&e.filter===i?e.filter(t,n):(h(e,function(e,r,o){t.call(n,e,r,o)&&(s[s.length]=e)}),s)},h(["Arguments","Function","String","Number","Date","RegExp"],function(e){u["is"+e]=function(t){return r.call(t)=="[object "+e+"]"}}),u.defaults=function(e){return h(s.call(arguments,1),function(t){if(t)for(var n in t)null==e[n]&&(e[n]=t[n])}),e},u.extend=function(e){return h(s.call(arguments,1),function(t){if(t)for(var n in t)e[n]=t[n]}),e},u.keys=a||function(e){if(e!==Object(e))throw new TypeError("Invalid object");var t=[];for(var n in e)u.has(e,n)&&(t[t.length]=n);return t},u.bind=function(e,t){if(e.bind===l&&l)return l.apply(e,s.call(arguments,1));var n=s.call(arguments,2);return function(){return e.apply(t,n.concat(s.call(arguments)))}},u.isObject=function(e){return e===Object(e)},u}(),window.Messenger.Events=function(){if(window.Backbone&&Backbone.Events)return Backbone.Events;var e=function(){var e=/\s+/,t=function(t,n,s,r){if(!s)return!0;if("object"==typeof s)for(var o in s)t[n].apply(t,[o,s[o]].concat(r));else{if(!e.test(s))return!0;for(var i=s.split(e),a=0,l=i.length;l>a;a++)t[n].apply(t,[i[a]].concat(r))}},n=function(e,t){var n,s=-1,r=e.length;switch(t.length){case 0:for(;r>++s;)(n=e[s]).callback.call(n.ctx);return;case 1:for(;r>++s;)(n=e[s]).callback.call(n.ctx,t[0]);return;case 2:for(;r>++s;)(n=e[s]).callback.call(n.ctx,t[0],t[1]);return;case 3:for(;r>++s;)(n=e[s]).callback.call(n.ctx,t[0],t[1],t[2]);return;default:for(;r>++s;)(n=e[s]).callback.apply(n.ctx,t)}},s={on:function(e,n,s){if(!t(this,"on",e,[n,s])||!n)return this;this._events||(this._events={});var r=this._events[e]||(this._events[e]=[]);return r.push({callback:n,context:s,ctx:s||this}),this},once:function(e,n,s){if(!t(this,"once",e,[n,s])||!n)return this;var r=this,o=_.once(function(){r.off(e,o),n.apply(this,arguments)});return o._callback=n,this.on(e,o,s),this},off:function(e,n,s){var r,o,i,a,l,u,c,h;if(!this._events||!t(this,"off",e,[n,s]))return this;if(!e&&!n&&!s)return this._events={},this;for(a=e?[e]:_.keys(this._events),l=0,u=a.length;u>l;l++)if(e=a[l],r=this._events[e]){if(i=[],n||s)for(c=0,h=r.length;h>c;c++)o=r[c],(n&&n!==o.callback&&n!==o.callback._callback||s&&s!==o.context)&&i.push(o);this._events[e]=i}return this},trigger:function(e){if(!this._events)return this;var s=Array.prototype.slice.call(arguments,1);if(!t(this,"trigger",e,s))return this;var r=this._events[e],o=this._events.all;return r&&n(r,s),o&&n(o,arguments),this},listenTo:function(e,t,n){var s=this._listeners||(this._listeners={}),r=e._listenerId||(e._listenerId=_.uniqueId("l"));return s[r]=e,e.on(t,"object"==typeof t?this:n,this),this},stopListening:function(e,t,n){var s=this._listeners;if(s){if(e)e.off(t,"object"==typeof t?this:n,this),t||n||delete s[e._listenerId];else{"object"==typeof t&&(n=this);for(var r in s)s[r].off(t,n,this);this._listeners={}}return this}}};return s.bind=s.on,s.unbind=s.off,s};return e()}(),function(){var e,t,n,s,r,o,i,a,l,u,c,h={}.hasOwnProperty,p=function(e,t){function n(){this.constructor=e}for(var s in t)h.call(t,s)&&(e[s]=t[s]);return n.prototype=t.prototype,e.prototype=new n,e.__super__=t.prototype,e},d=[].slice,f=[].indexOf||function(e){for(var t=0,n=this.length;n>t;t++)if(t in this&&this[t]===e)return t;return-1};e=jQuery,o=null!=(l=window._)?l:window.Messenger._,s=null!=(u="undefined"!=typeof Backbone&&null!==Backbone?Backbone.Events:void 0)?u:window.Messenger.Events,n=function(){function t(t){e.extend(this,s),o.isObject(t)&&(t.el&&this.setElement(t.el),this.model=t.model),this.initialize.apply(this,arguments)}return t.prototype.setElement=function(t){return this.$el=e(t),this.el=this.$el[0]},t.prototype.delegateEvents=function(e){var t,n,s,r,i,a,l;if(e||(e=o.result(this,"events"))){this.undelegateEvents(),t=/^(\S+)\s*(.*)$/,l=[];for(s in e){if(i=e[s],o.isFunction(i)||(i=this[e[s]]),!i)throw Error('Method "'+e[s]+'" does not exist');r=s.match(t),n=r[1],a=r[2],i=o.bind(i,this),n+=".delegateEvents"+this.cid,""===a?l.push(this.jqon(n,i)):l.push(this.jqon(n,a,i))}return l}},t.prototype.jqon=function(e,t,n){var s;return null!=this.$el.on?(s=this.$el).on.apply(s,arguments):(null==n&&(n=t,t=void 0),null!=t?this.$el.delegate(t,e,n):this.$el.bind(e,n))},t.prototype.jqoff=function(e){var t;return null!=this.$el.off?(t=this.$el).off.apply(t,arguments):(this.$el.undelegate(),this.$el.unbind(e))},t.prototype.undelegateEvents=function(){return this.jqoff(".delegateEvents"+this.cid)},t.prototype.remove=function(){return this.undelegateEvents(),this.$el.remove()},t}(),i=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return p(n,t),n.prototype.defaults={hideAfter:10,scroll:!0,closeButtonText:"×"},n.prototype.initialize=function(t){return null==t&&(t={}),this.shown=!1,this.rendered=!1,this.messenger=t.messenger,this.options=e.extend({},this.options,t,this.defaults)},n.prototype.show=function(){var e;return this.rendered||this.render(),this.$message.removeClass("messenger-hidden"),e=this.shown,this.shown=!0,e?void 0:this.trigger("show")},n.prototype.hide=function(){var e;if(this.rendered)return this.$message.addClass("messenger-hidden"),e=this.shown,this.shown=!1,e?this.trigger("hide"):void 0},n.prototype.cancel=function(){return this.hide()},n.prototype.update=function(t){var n,s=this;return o.isString(t)&&(t={message:t}),e.extend(this.options,t),this.lastUpdate=new Date,this.rendered=!1,this.events=null!=(n=this.options.events)?n:{},this.render(),this.actionsToEvents(),this.delegateEvents(),this.checkClickable(),this.options.hideAfter?(this.$message.addClass("messenger-will-hide-after"),null!=this._hideTimeout&&clearTimeout(this._hideTimeout),this._hideTimeout=setTimeout(function(){return s.hide()},1e3*this.options.hideAfter)):this.$message.removeClass("messenger-will-hide-after"),this.options.hideOnNavigate?(this.$message.addClass("messenger-will-hide-on-navigate"),null!=("undefined"!=typeof Backbone&&null!==Backbone?Backbone.history:void 0)&&Backbone.history.on("route",function(){return s.hide()})):this.$message.removeClass("messenger-will-hide-on-navigate"),this.trigger("update",this)},n.prototype.scrollTo=function(){return this.options.scroll?e.scrollTo(this.$el,{duration:400,offset:{left:0,top:-20}}):void 0},n.prototype.timeSinceUpdate=function(){return this.lastUpdate?new Date-this.lastUpdate:null},n.prototype.actionsToEvents=function(){var e,t,n,s,r=this;n=this.options.actions,s=[];for(t in n)e=n[t],s.push(this.events['click [data-action="'+t+'"] a']=function(e){return function(n){return n.preventDefault(),n.stopPropagation(),r.trigger("action:"+t,e,n),e.action.call(r,n,r)}}(e));return s},n.prototype.checkClickable=function(){var e,t,n,s;n=this.events,s=[];for(t in n)e=n[t],"click"===t?s.push(this.$message.addClass("messenger-clickable")):s.push(void 0);return s},n.prototype.undelegateEvents=function(){var e;return n.__super__.undelegateEvents.apply(this,arguments),null!=(e=this.$message)?e.removeClass("messenger-clickable"):void 0},n.prototype.parseActions=function(){var t,n,s,r,o,i;n=[],o=this.options.actions;for(r in o)t=o[r],s=e.extend({},t),s.name=r,null==(i=s.label)&&(s.label=r),n.push(s);return n},n.prototype.template=function(t){var n,s,r,o,i,a,l,u,c,h,p=this;for(i=e("<div class='messenger-message message alert "+t.type+" message-"+t.type+" alert-"+t.type+"'>"),t.showCloseButton&&(r=e('<button type="button" class="messenger-close" data-dismiss="alert">'),r.html(t.closeButtonText),r.click(function(){return p.cancel(),!0}),i.append(r)),a=e('<div class="messenger-message-inner">'+t.message+"</div>"),i.append(a),t.actions.length&&(s=e('<div class="messenger-actions">')),h=t.actions,u=0,c=h.length;c>u;u++)l=h[u],n=e("<span>"),n.attr("data-action",""+l.name),o=e("<a>"),o.html(l.label),n.append(e('<span class="messenger-phrase">')),n.append(o),s.append(n);return i.append(s),i},n.prototype.render=function(){var t;if(!this.rendered)return this._hasSlot||(this.setElement(this.messenger._reserveMessageSlot(this)),this._hasSlot=!0),t=e.extend({},this.options,{actions:this.parseActions()}),this.$message=e(this.template(t)),this.$el.html(this.$message),this.shown=!0,this.rendered=!0,this.trigger("render")},n}(n),r=function(e){function t(){return t.__super__.constructor.apply(this,arguments)}return p(t,e),t.prototype.initialize=function(){return t.__super__.initialize.apply(this,arguments),this._timers={}},t.prototype.cancel=function(){return this.clearTimers(),this.hide(),null!=this._actionInstance&&null!=this._actionInstance.abort?this._actionInstance.abort():void 0},t.prototype.clearTimers=function(){var e,t,n,s;n=this._timers;for(e in n)t=n[e],clearTimeout(t);return this._timers={},null!=(s=this.$message)?s.removeClass("messenger-retry-soon messenger-retry-later"):void 0},t.prototype.render=function(){var e,n,s,r;t.__super__.render.apply(this,arguments),this.clearTimers(),s=this.options.actions,r=[];for(n in s)e=s[n],e.auto?r.push(this.startCountdown(n,e)):r.push(void 0);return r},t.prototype.renderPhrase=function(e,t){var n;return n=e.phrase.replace("TIME",this.formatTime(t))},t.prototype.formatTime=function(e){var t;return t=function(e,t){return e=Math.floor(e),1!==e&&(t+="s"),"in "+e+" "+t},0===Math.floor(e)?"now...":60>e?t(e,"second"):(e/=60,60>e?t(e,"minute"):(e/=60,t(e,"hour")))},t.prototype.startCountdown=function(e,t){var n,s,r,o,i=this;if(null==this._timers[e])return n=this.$message.find("[data-action='"+e+"'] .messenger-phrase"),s=null!=(o=t.delay)?o:3,10>=s?(this.$message.removeClass("messenger-retry-later"),this.$message.addClass("messenger-retry-soon")):(this.$message.removeClass("messenger-retry-soon"),this.$message.addClass("messenger-retry-later")),r=function(){var o;return n.text(i.renderPhrase(t,s)),s>0?(o=Math.min(s,1),s-=o,i._timers[e]=setTimeout(r,1e3*o)):(i.$message.removeClass("messenger-retry-soon messenger-retry-later"),delete i._timers[e],t.action())},r()},t}(i),a=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return p(n,t),n.prototype.tagName="ul",n.prototype.className="messenger",n.prototype.messageDefaults={type:"info"},n.prototype.initialize=function(t){return this.options=null!=t?t:{},this.history=[],this.messageDefaults=e.extend({},this.messageDefaults,this.options.messageDefaults)},n.prototype.render=function(){return this.updateMessageSlotClasses()},n.prototype.findById=function(e){return o.filter(this.history,function(t){return t.msg.options.id===e})},n.prototype._reserveMessageSlot=function(t){var n,s,r=this;for(n=e("<li>"),n.addClass("messenger-message-slot"),this.$el.prepend(n),this.history.push({msg:t,$slot:n}),this._enforceIdConstraint(t),t.on("update",function(){return r._enforceIdConstraint(t)});this.options.maxMessages&&this.history.length>this.options.maxMessages;)s=this.history.shift(),s.msg.remove(),s.$slot.remove();return n},n.prototype._enforceIdConstraint=function(e){var t,n,s,r,o;if(null!=e.options.id)for(o=this.history,n=0,s=o.length;s>n;n++)if(t=o[n],r=t.msg,null!=r.options.id&&r.options.id===e.options.id&&e!==r){if(e.options.singleton)return e.hide(),void 0;r.hide()}},n.prototype.newMessage=function(e){var t,n,s,o,a=this;return null==e&&(e={}),e.messenger=this,i=null!=(n=null!=(s=Messenger.themes[null!=(o=e.theme)?o:this.options.theme])?s.Message:void 0)?n:r,t=new i(e),t.on("show",function(){return e.scrollTo&&"fixed"!==a.$el.css("position")?t.scrollTo():void 0}),t.on("hide show render",this.updateMessageSlotClasses,this),t},n.prototype.updateMessageSlotClasses=function(){var e,t,n,s,r,o,i;for(s=!0,t=null,e=!1,i=this.history,r=0,o=i.length;o>r;r++)n=i[r],n.$slot.removeClass("messenger-first messenger-last messenger-shown"),n.msg.shown&&n.msg.rendered&&(n.$slot.addClass("messenger-shown"),e=!0,t=n,s&&(s=!1,n.$slot.addClass("messenger-first")));return null!=t&&t.$slot.addClass("messenger-last"),this.$el[""+(e?"remove":"add")+"Class"]("messenger-empty")},n.prototype.hideAll=function(){var e,t,n,s,r;for(s=this.history,r=[],t=0,n=s.length;n>t;t++)e=s[t],r.push(e.msg.hide());return r},n.prototype.post=function(t){var n;return o.isString(t)&&(t={message:t}),t=e.extend(!0,{},this.messageDefaults,t),n=this.newMessage(t),n.update(t),n},n}(n),t=function(t){function n(){return n.__super__.constructor.apply(this,arguments)}return p(n,t),n.prototype.doDefaults={progressMessage:null,successMessage:null,errorMessage:"Error connecting to the server.",showSuccessWithoutError:!0,retry:{auto:!0,allow:!0},action:e.ajax},n.prototype.hookBackboneAjax=function(t){var n,s=this;if(null==t&&(t={}),null==window.Backbone)throw"Expected Backbone to be defined";return t=o.defaults(t,{id:"BACKBONE_ACTION",errorMessage:!1,successMessage:"Request completed successfully.",showSuccessWithoutError:!1}),n=function(e){var n;return n=o.extend({},t,e.messenger),s["do"](n,e)},null!=Backbone.ajax?(Backbone.ajax._withoutMessenger&&(Backbone.ajax=Backbone.ajax._withoutMessenger),(null==t.action||t.action===this.doDefaults.action)&&(t.action=Backbone.ajax),n._withoutMessenger=Backbone.ajax,Backbone.ajax=n):Backbone.sync=o.wrap(Backbone.sync,function(){var t,s,r;return r=arguments[0],t=arguments.length>=2?d.call(arguments,1):[],s=e.ajax,e.ajax=n,r.call.apply(r,[this].concat(d.call(t))),e.ajax=s})},n.prototype._getHandlerResponse=function(e){return e===!1?!1:e===!0||null==e?!0:e},n.prototype._parseEvents=function(e){var t,n,s,r,o,i,a;null==e&&(e={}),o={};for(r in e)s=e[r],n=r.indexOf(" "),i=r.substring(0,n),t=r.substring(n+1),null==(a=o[i])&&(o[i]={}),o[i][t]=s;return o},n.prototype._normalizeResponse=function(){var e,t,n,s,r,i,a;for(n=arguments.length>=1?d.call(arguments,0):[],s=null,r=null,e=null,i=0,a=n.length;a>i;i++)t=n[i],"success"===t||"timeout"===t||"abort"===t?s=t:null!=(null!=t?t.readyState:void 0)&&null!=(null!=t?t.responseText:void 0)?r=t:o.isObject(t)&&(e=t);return[s,e,r]},n.prototype.run=function(){var t,n,s,r,i,a,l,u,c,h,p,g=this;if(a=arguments[0],c=arguments[1],t=arguments.length>=3?d.call(arguments,2):[],null==c&&(c={}),a=e.extend(!0,{},this.messageDefaults,this.doDefaults,null!=a?a:{}),n=this._parseEvents(a.events),s=function(e,t){var n;return n=a[e+"Message"],o.isFunction(n)?n.call(g,e,t):n},l=null!=(p=a.messageInstance)?p:this.newMessage(a),null!=a.id&&(l.options.id=a.id),null!=a.progressMessage&&l.update(e.extend({},a,{message:s("progress",null),type:"info"})),i={},o.each(["error","success"],function(r){var u;return u=c[r],i[r]=function(){var i,h,p,m,y,v,_,w,b,x,M,C,k,$,E;return v=arguments.length>=1?d.call(arguments,0):[],b=g._normalizeResponse.apply(g,v),y=b[0],i=b[1],w=b[2],"success"===r&&null==l.errorCount&&a.showSuccessWithoutError===!1&&(a.successMessage=null),"error"===r&&(null==(x=a.errorCount)&&(a.errorCount=0),a.errorCount+=1),p=a.returnsPromise?v[0]:"function"==typeof u?u.apply(null,v):void 0,_=g._getHandlerResponse(p),o.isString(_)&&(_={message:_}),"error"!==r||0!==(null!=w?w.status:void 0)&&"abort"!==y?"error"===r&&null!=a.ignoredErrorCodes&&(M=null!=w?w.status:void 0,f.call(a.ignoredErrorCodes,M)>=0)?(l.hide(),void 0):(h={message:s(r,w),type:r,events:null!=(C=n[r])?C:{},hideOnNavigate:"success"===r},m=e.extend({},a,h,_),"number"==typeof(null!=(k=m.retry)?k.allow:void 0)&&m.retry.allow--,"error"===r&&(null!=w?w.status:void 0)>=500&&(null!=($=m.retry)?$.allow:void 0)?(null==m.retry.delay&&(m.retry.delay=4>m.errorCount?10:300),m.hideAfter&&(null==(E=m._hideAfter)&&(m._hideAfter=m.hideAfter),m.hideAfter=m._hideAfter+m.retry.delay),m._retryActions=!0,m.actions={retry:{label:"retry now",phrase:"Retrying TIME",auto:m.retry.auto,delay:m.retry.delay,action:function(){return m.messageInstance=l,setTimeout(function(){return g["do"].apply(g,[m,c].concat(d.call(t)))},0)}},cancel:{action:function(){return l.cancel()}}}):m._retryActions&&(delete m.actions.retry,delete m.actions.cancel,delete a._retryActions),l.update(m),_&&m.message?(Messenger(o.extend({},g.options,{instance:g})),l.show()):l.hide()):(l.hide(),void 0)}}),!a.returnsPromise)for(h in i)r=i[h],u=c[h],c[h]=r;return l._actionInstance=a.action.apply(a,[c].concat(d.call(t))),a.returnsPromise&&l._actionInstance.then(i.success,i.error),l},n.prototype["do"]=n.prototype.run,n.prototype.ajax=function(){var t,n;return n=arguments[0],t=arguments.length>=2?d.call(arguments,1):[],n.action=e.ajax,this.run.apply(this,[n].concat(d.call(t)))},n.prototype.expectPromise=function(e,t){return t=o.extend({},t,{action:e,returnsPromise:!0}),this.run(t)},n.prototype.error=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="error",this.post(e)},n.prototype.info=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="info",this.post(e)},n.prototype.success=function(e){return null==e&&(e={}),"string"==typeof e&&(e={message:e}),e.type="success",this.post(e)},n}(a),e.fn.messenger=function(){var n,s,r,i,l,u,c,h;return r=arguments[0],s=arguments.length>=2?d.call(arguments,1):[],null==r&&(r={}),n=this,null!=r&&o.isString(r)?(h=n.data("messenger"))[r].apply(h,s):(l=r,null==n.data("messenger")&&(a=null!=(u=null!=(c=Messenger.themes[l.theme])?c.Messenger:void 0)?u:t,n.data("messenger",i=new a(e.extend({el:n},l))),i.render()),n.data("messenger"))},window.Messenger._call=function(t){var n,s,r,o,i,a,l,u,c,h,p;if(a={extraClasses:"messenger-fixed messenger-on-bottom messenger-on-right",theme:"future",maxMessages:9,parentLocations:["body"]},t=e.extend(a,e._messengerDefaults,Messenger.options,t),null!=t.theme&&(t.extraClasses+=" messenger-theme-"+t.theme),l=t.instance||Messenger.instance,null==t.instance){for(c=t.parentLocations,s=null,r=null,h=0,p=c.length;p>h;h++)if(u=c[h],s=e(u),s.length){o=u;break}l?e(l._location).is(e(o))||(l.$el.detach(),s.prepend(l.$el)):(n=e("<ul>"),s.prepend(n),l=n.messenger(t),l._location=o,Messenger.instance=l)}return null!=l._addedClasses&&l.$el.removeClass(l._addedClasses),l.$el.addClass(i=""+l.className+" "+t.extraClasses),l._addedClasses=i,l},e.extend(Messenger,{Message:r,Messenger:t,themes:null!=(c=Messenger.themes)?c:{}}),e.globalMessenger=window.Messenger=Messenger}.call(this);
|
1
|
+
/*! messenger 1.5.0 */
|
2
|
+
(function () { var e, t = window.Messenger; e = window.Messenger = function () { return e._call.apply(this, arguments) }, window.Messenger.noConflict = function () { return window.Messenger = t, e } })(), window.Messenger._ = function () { if (window._) return window._; var e = Array.prototype, t = Object.prototype, n = Function.prototype, s = (e.push, e.slice), r = (e.concat, t.toString); t.hasOwnProperty; var o = e.forEach, i = (e.map, e.reduce, e.reduceRight, e.filter), a = (e.every, e.some, e.indexOf, e.lastIndexOf, Array.isArray, Object.keys), l = n.bind, u = {}, c = {}, h = u.each = u.forEach = function (e, t, n) { if (null != e) if (o && e.forEach === o) e.forEach(t, n); else if (e.length === +e.length) { for (var s = 0, r = e.length; r > s; s++)if (t.call(n, e[s], s, e) === c) return } else for (var i in e) if (u.has(e, i) && t.call(n, e[i], i, e) === c) return }; u.result = function (e, t) { if (null == e) return null; var n = e[t]; return u.isFunction(n) ? n.call(e) : n }, u.once = function (e) { var t, n = !1; return function () { return n ? t : (n = !0, t = e.apply(this, arguments), e = null, t) } }; var p = 0; return u.uniqueId = function (e) { var t = ++p + ""; return e ? e + t : t }, u.filter = u.select = function (e, t, n) { var s = []; return null == e ? s : i && e.filter === i ? e.filter(t, n) : (h(e, function (e, r, o) { t.call(n, e, r, o) && (s[s.length] = e) }), s) }, h(["Arguments", "Function", "String", "Number", "Date", "RegExp"], function (e) { u["is" + e] = function (t) { return r.call(t) == "[object " + e + "]" } }), u.defaults = function (e) { return h(s.call(arguments, 1), function (t) { if (t) for (var n in t) null == e[n] && (e[n] = t[n]) }), e }, u.extend = function (e) { return h(s.call(arguments, 1), function (t) { if (t) for (var n in t) e[n] = t[n] }), e }, u.keys = a || function (e) { if (e !== Object(e)) throw new TypeError("Invalid object"); var t = []; for (var n in e) u.has(e, n) && (t[t.length] = n); return t }, u.bind = function (e, t) { if (e.bind === l && l) return l.apply(e, s.call(arguments, 1)); var n = s.call(arguments, 2); return function () { return e.apply(t, n.concat(s.call(arguments))) } }, u.isObject = function (e) { return e === Object(e) }, u }(), window.Messenger.Events = function () { if (window.Backbone && Backbone.Events) return Backbone.Events; var e = function () { var e = /\s+/, t = function (t, n, s, r) { if (!s) return !0; if ("object" == typeof s) for (var o in s) t[n].apply(t, [o, s[o]].concat(r)); else { if (!e.test(s)) return !0; for (var i = s.split(e), a = 0, l = i.length; l > a; a++)t[n].apply(t, [i[a]].concat(r)) } }, n = function (e, t) { var n, s = -1, r = e.length; switch (t.length) { case 0: for (; r > ++s;)(n = e[s]).callback.call(n.ctx); return; case 1: for (; r > ++s;)(n = e[s]).callback.call(n.ctx, t[0]); return; case 2: for (; r > ++s;)(n = e[s]).callback.call(n.ctx, t[0], t[1]); return; case 3: for (; r > ++s;)(n = e[s]).callback.call(n.ctx, t[0], t[1], t[2]); return; default: for (; r > ++s;)(n = e[s]).callback.apply(n.ctx, t) } }, s = { on: function (e, n, s) { if (!t(this, "on", e, [n, s]) || !n) return this; this._events || (this._events = {}); var r = this._events[e] || (this._events[e] = []); return r.push({ callback: n, context: s, ctx: s || this }), this }, once: function (e, n, s) { if (!t(this, "once", e, [n, s]) || !n) return this; var r = this, o = _.once(function () { r.off(e, o), n.apply(this, arguments) }); return o._callback = n, this.on(e, o, s), this }, off: function (e, n, s) { var r, o, i, a, l, u, c, h; if (!this._events || !t(this, "off", e, [n, s])) return this; if (!e && !n && !s) return this._events = {}, this; for (a = e ? [e] : _.keys(this._events), l = 0, u = a.length; u > l; l++)if (e = a[l], r = this._events[e]) { if (i = [], n || s) for (c = 0, h = r.length; h > c; c++)o = r[c], (n && n !== o.callback && n !== o.callback._callback || s && s !== o.context) && i.push(o); this._events[e] = i } return this }, trigger: function (e) { if (!this._events) return this; var s = Array.prototype.slice.call(arguments, 1); if (!t(this, "trigger", e, s)) return this; var r = this._events[e], o = this._events.all; return r && n(r, s), o && n(o, arguments), this }, listenTo: function (e, t, n) { var s = this._listeners || (this._listeners = {}), r = e._listenerId || (e._listenerId = _.uniqueId("l")); return s[r] = e, e.on(t, "object" == typeof t ? this : n, this), this }, stopListening: function (e, t, n) { var s = this._listeners; if (s) { if (e) e.off(t, "object" == typeof t ? this : n, this), t || n || delete s[e._listenerId]; else { "object" == typeof t && (n = this); for (var r in s) s[r].off(t, n, this); this._listeners = {} } return this } } }; return s.bind = s.on, s.unbind = s.off, s }; return e() }(), function () { var e, t, n, s, r, o, i, a, l, u, c, h = {}.hasOwnProperty, p = function (e, t) { function n() { this.constructor = e } for (var s in t) h.call(t, s) && (e[s] = t[s]); return n.prototype = t.prototype, e.prototype = new n, e.__super__ = t.prototype, e }, d = [].slice, f = [].indexOf || function (e) { for (var t = 0, n = this.length; n > t; t++)if (t in this && this[t] === e) return t; return -1 }; e = jQuery, o = null != (l = window._) ? l : window.Messenger._, s = null != (u = "undefined" != typeof Backbone && null !== Backbone ? Backbone.Events : void 0) ? u : window.Messenger.Events, n = function () { function t(t) { e.extend(this, s), o.isObject(t) && (t.el && this.setElement(t.el), this.model = t.model), this.initialize.apply(this, arguments) } return t.prototype.setElement = function (t) { return this.$el = e(t), this.el = this.$el[0] }, t.prototype.delegateEvents = function (e) { var t, n, s, r, i, a, l; if (e || (e = o.result(this, "events"))) { this.undelegateEvents(), t = /^(\S+)\s*(.*)$/, l = []; for (s in e) { if (i = e[s], o.isFunction(i) || (i = this[e[s]]), !i) throw Error('Method "' + e[s] + '" does not exist'); r = s.match(t), n = r[1], a = r[2], i = o.bind(i, this), n += ".delegateEvents" + this.cid, "" === a ? l.push(this.jqon(n, i)) : l.push(this.jqon(n, a, i)) } return l } }, t.prototype.jqon = function (e, t, n) { var s; return null != this.$el.on ? (s = this.$el).on.apply(s, arguments) : (null == n && (n = t, t = void 0), null != t ? this.$el.delegate(t, e, n) : this.$el.bind(e, n)) }, t.prototype.jqoff = function (e) { var t; return null != this.$el.off ? (t = this.$el).off.apply(t, arguments) : (this.$el.undelegate(), this.$el.unbind(e)) }, t.prototype.undelegateEvents = function () { return this.jqoff(".delegateEvents" + this.cid) }, t.prototype.remove = function () { return this.undelegateEvents(), this.$el.remove() }, t }(), i = function (t) { function n() { return n.__super__.constructor.apply(this, arguments) } return p(n, t), n.prototype.defaults = { hideAfter: 10, scroll: !0, closeButtonText: "×", escapeText: !1 }, n.prototype.initialize = function (t) { return null == t && (t = {}), this.shown = !1, this.rendered = !1, this.messenger = t.messenger, this.options = e.extend({}, this.options, t, this.defaults) }, n.prototype.show = function () { var e; return this.rendered || this.render(), this.$message.removeClass("messenger-hidden"), e = this.shown, this.shown = !0, e ? void 0 : this.trigger("show") }, n.prototype.hide = function () { var e; if (this.rendered) return this.$message.addClass("messenger-hidden"), e = this.shown, this.shown = !1, e ? this.trigger("hide") : void 0 }, n.prototype.cancel = function () { return this.hide() }, n.prototype.update = function (t) { var n, s = this; return o.isString(t) && (t = { message: t }), e.extend(this.options, t), this.lastUpdate = new Date, this.rendered = !1, this.events = null != (n = this.options.events) ? n : {}, this.render(), this.actionsToEvents(), this.delegateEvents(), this.checkClickable(), this.options.hideAfter ? (this.$message.addClass("messenger-will-hide-after"), null != this._hideTimeout && clearTimeout(this._hideTimeout), this._hideTimeout = setTimeout(function () { return s.hide() }, 1e3 * this.options.hideAfter)) : this.$message.removeClass("messenger-will-hide-after"), this.options.hideOnNavigate ? (this.$message.addClass("messenger-will-hide-on-navigate"), null != ("undefined" != typeof Backbone && null !== Backbone ? Backbone.history : void 0) && Backbone.history.on("route", function () { return s.hide() })) : this.$message.removeClass("messenger-will-hide-on-navigate"), this.trigger("update", this) }, n.prototype.scrollTo = function () { return this.options.scroll ? e.scrollTo(this.$el, { duration: 400, offset: { left: 0, top: -20 } }) : void 0 }, n.prototype.timeSinceUpdate = function () { return this.lastUpdate ? new Date - this.lastUpdate : null }, n.prototype.actionsToEvents = function () { var e, t, n, s, r = this; n = this.options.actions, s = []; for (t in n) e = n[t], s.push(this.events['click [data-action="' + t + '"] a'] = function (e) { return function (n) { return n.preventDefault(), n.stopPropagation(), r.trigger("action:" + t, e, n), e.action.call(r, n, r) } }(e)); return s }, n.prototype.checkClickable = function () { var e, t, n, s; n = this.events, s = []; for (t in n) e = n[t], "click" === t ? s.push(this.$message.addClass("messenger-clickable")) : s.push(void 0); return s }, n.prototype.undelegateEvents = function () { var e; return n.__super__.undelegateEvents.apply(this, arguments), null != (e = this.$message) ? e.removeClass("messenger-clickable") : void 0 }, n.prototype.parseActions = function () { var t, n, s, r, o, i; n = [], o = this.options.actions; for (r in o) t = o[r], s = e.extend({}, t), s.name = r, null == (i = s.label) && (s.label = r), n.push(s); return n }, n.prototype.template = function (t) { var n, s, r, o, i, a, l, u, c, h, p = this; for (i = e("<div class='messenger-message message alert " + t.type + " message-" + t.type + " alert-" + t.type + "'>"), t.showCloseButton && (r = e('<button type="button" class="messenger-close" data-dismiss="alert">'), r.html(t.closeButtonText), r.click(function () { var e; return p.cancel(), "function" == typeof (e = p.options).onClickClose && e.onClickClose(), !0 }), i.append(r)), a = t.escapeText ? e('<div class="messenger-message-inner"></div>').text(t.message) : e('<div class="messenger-message-inner">' + t.message + "</div>"), i.append(a), t.actions.length && (s = e('<div class="messenger-actions">')), h = t.actions, u = 0, c = h.length; c > u; u++)l = h[u], n = e("<span>"), n.attr("data-action", "" + l.name), o = e("<a>"), o.html(l.label), n.append(e('<span class="messenger-phrase">')), n.append(o), s.append(n); return i.append(s), i }, n.prototype.render = function () { var t; if (!this.rendered) return this._hasSlot || (this.setElement(this.messenger._reserveMessageSlot(this)), this._hasSlot = !0), t = e.extend({}, this.options, { actions: this.parseActions() }), this.$message = e(this.template(t)), this.$el.html(this.$message), this.shown = !0, this.rendered = !0, this.trigger("render") }, n }(n), r = function (e) { function t() { return t.__super__.constructor.apply(this, arguments) } return p(t, e), t.prototype.initialize = function () { return t.__super__.initialize.apply(this, arguments), this._timers = {} }, t.prototype.cancel = function () { return this.clearTimers(), this.hide(), null != this._actionInstance && null != this._actionInstance.abort ? this._actionInstance.abort() : void 0 }, t.prototype.clearTimers = function () { var e, t, n, s; n = this._timers; for (e in n) t = n[e], clearTimeout(t); return this._timers = {}, null != (s = this.$message) ? s.removeClass("messenger-retry-soon messenger-retry-later") : void 0 }, t.prototype.render = function () { var e, n, s, r; t.__super__.render.apply(this, arguments), this.clearTimers(), s = this.options.actions, r = []; for (n in s) e = s[n], e.auto ? r.push(this.startCountdown(n, e)) : r.push(void 0); return r }, t.prototype.renderPhrase = function (e, t) { var n; return n = e.phrase.replace("TIME", this.formatTime(t)) }, t.prototype.formatTime = function (e) { var t; return t = function (e, t) { return e = Math.floor(e), 1 !== e && (t += "s"), "in " + e + " " + t }, 0 === Math.floor(e) ? "now..." : 60 > e ? t(e, "second") : (e /= 60, 60 > e ? t(e, "minute") : (e /= 60, t(e, "hour"))) }, t.prototype.startCountdown = function (e, t) { var n, s, r, o, i = this; if (null == this._timers[e]) return n = this.$message.find("[data-action='" + e + "'] .messenger-phrase"), s = null != (o = t.delay) ? o : 3, 10 >= s ? (this.$message.removeClass("messenger-retry-later"), this.$message.addClass("messenger-retry-soon")) : (this.$message.removeClass("messenger-retry-soon"), this.$message.addClass("messenger-retry-later")), r = function () { var o; return n.text(i.renderPhrase(t, s)), s > 0 ? (o = Math.min(s, 1), s -= o, i._timers[e] = setTimeout(r, 1e3 * o)) : (i.$message.removeClass("messenger-retry-soon messenger-retry-later"), delete i._timers[e], t.action()) }, r() }, t }(i), a = function (t) { function n() { return n.__super__.constructor.apply(this, arguments) } return p(n, t), n.prototype.tagName = "ul", n.prototype.className = "messenger", n.prototype.messageDefaults = { type: "info" }, n.prototype.initialize = function (t) { return this.options = null != t ? t : {}, this.history = [], this.messageDefaults = e.extend({}, this.messageDefaults, this.options.messageDefaults) }, n.prototype.render = function () { return this.updateMessageSlotClasses() }, n.prototype.findById = function (e) { return o.filter(this.history, function (t) { return t.msg.options.id === e }) }, n.prototype._reserveMessageSlot = function (t) { var n, s, r = this; for (n = e("<li>"), n.addClass("messenger-message-slot"), this.$el.prepend(n), this.history.push({ msg: t, $slot: n }), this._enforceIdConstraint(t), t.on("update", function () { return r._enforceIdConstraint(t) }); this.options.maxMessages && this.history.length > this.options.maxMessages;)s = this.history.shift(), s.msg.remove(), s.$slot.remove(); return n }, n.prototype._enforceIdConstraint = function (e) { var t, n, s, r, o; if (null != e.options.id) for (o = this.history, n = 0, s = o.length; s > n; n++)if (t = o[n], r = t.msg, null != r.options.id && r.options.id === e.options.id && e !== r) { if (e.options.singleton) return e.hide(), void 0; r.hide() } }, n.prototype.newMessage = function (e) { var t, n, s, o, a = this; return null == e && (e = {}), e.messenger = this, i = null != (n = null != (s = Messenger.themes[null != (o = e.theme) ? o : this.options.theme]) ? s.Message : void 0) ? n : r, t = new i(e), t.on("show", function () { return e.scrollTo && "fixed" !== a.$el.css("position") ? t.scrollTo() : void 0 }), t.on("hide show render", this.updateMessageSlotClasses, this), t }, n.prototype.updateMessageSlotClasses = function () { var e, t, n, s, r, o, i; for (s = !0, t = null, e = !1, i = this.history, r = 0, o = i.length; o > r; r++)n = i[r], n.$slot.removeClass("messenger-first messenger-last messenger-shown"), n.msg.shown && n.msg.rendered && (n.$slot.addClass("messenger-shown"), e = !0, t = n, s && (s = !1, n.$slot.addClass("messenger-first"))); return null != t && t.$slot.addClass("messenger-last"), this.$el["" + (e ? "remove" : "add") + "Class"]("messenger-empty") }, n.prototype.hideAll = function () { var e, t, n, s, r; for (s = this.history, r = [], t = 0, n = s.length; n > t; t++)e = s[t], r.push(e.msg.hide()); return r }, n.prototype.post = function (t) { var n; return o.isString(t) && (t = { message: t }), t = e.extend(!0, {}, this.messageDefaults, t), n = this.newMessage(t), n.update(t), n }, n }(n), t = function (t) { function n() { return n.__super__.constructor.apply(this, arguments) } return p(n, t), n.prototype.doDefaults = { progressMessage: null, successMessage: null, errorMessage: "Error connecting to the server.", showSuccessWithoutError: !0, retry: { auto: !0, allow: !0 }, action: e.ajax }, n.prototype.hookBackboneAjax = function (t) { var n, s = this; if (null == t && (t = {}), null == window.Backbone) throw "Expected Backbone to be defined"; return t = o.defaults(t, { id: "BACKBONE_ACTION", errorMessage: !1, successMessage: "Request completed successfully.", showSuccessWithoutError: !1 }), n = function (e) { var n; return n = o.extend({}, t, e.messenger), s["do"](n, e) }, null != Backbone.ajax ? (Backbone.ajax._withoutMessenger && (Backbone.ajax = Backbone.ajax._withoutMessenger), (null == t.action || t.action === this.doDefaults.action) && (t.action = Backbone.ajax), n._withoutMessenger = Backbone.ajax, Backbone.ajax = n) : Backbone.sync = o.wrap(Backbone.sync, function () { var t, s, r; return r = arguments[0], t = arguments.length >= 2 ? d.call(arguments, 1) : [], s = e.ajax, e.ajax = n, r.call.apply(r, [this].concat(d.call(t))), e.ajax = s }) }, n.prototype._getHandlerResponse = function (e) { return e === !1 ? !1 : e === !0 || null == e ? !0 : e }, n.prototype._parseEvents = function (e) { var t, n, s, r, o, i, a; null == e && (e = {}), o = {}; for (r in e) s = e[r], n = r.indexOf(" "), i = r.substring(0, n), t = r.substring(n + 1), null == (a = o[i]) && (o[i] = {}), o[i][t] = s; return o }, n.prototype._normalizeResponse = function () { var e, t, n, s, r, i, a; for (n = arguments.length >= 1 ? d.call(arguments, 0) : [], s = null, r = null, e = null, i = 0, a = n.length; a > i; i++)t = n[i], "success" === t || "timeout" === t || "abort" === t ? s = t : null != (null != t ? t.readyState : void 0) && null != (null != t ? t.responseText : void 0) ? r = t : o.isObject(t) && (e = t); return [s, e, r] }, n.prototype.run = function () { var t, n, s, r, i, a, l, u, c, h, p, g = this; if (a = arguments[0], c = arguments[1], t = arguments.length >= 3 ? d.call(arguments, 2) : [], null == c && (c = {}), a = e.extend(!0, {}, this.messageDefaults, this.doDefaults, null != a ? a : {}), n = this._parseEvents(a.events), s = function (e, t) { var n; return n = a[e + "Message"], o.isFunction(n) ? n.call(g, e, t) : n }, l = null != (p = a.messageInstance) ? p : this.newMessage(a), null != a.id && (l.options.id = a.id), null != a.progressMessage && l.update(e.extend({}, a, { message: s("progress", null), type: "info" })), i = {}, o.each(["error", "success"], function (r) { var u; return u = c[r], i[r] = function () { var i, h, p, m, y, v, _, w, b, x, C, M, k, $, E; return v = arguments.length >= 1 ? d.call(arguments, 0) : [], b = g._normalizeResponse.apply(g, v), y = b[0], i = b[1], w = b[2], "success" === r && null == l.errorCount && a.showSuccessWithoutError === !1 && (a.successMessage = null), "error" === r && (null == (x = a.errorCount) && (a.errorCount = 0), a.errorCount += 1), p = a.returnsPromise ? v[0] : "function" == typeof u ? u.apply(null, v) : void 0, _ = g._getHandlerResponse(p), o.isString(_) && (_ = { message: _ }), "error" !== r || 0 !== (null != w ? w.status : void 0) && "abort" !== y ? "error" === r && null != a.ignoredErrorCodes && (C = null != w ? w.status : void 0, f.call(a.ignoredErrorCodes, C) >= 0) ? (l.hide(), void 0) : (h = { message: s(r, w), type: r, events: null != (M = n[r]) ? M : {}, hideOnNavigate: "success" === r }, m = e.extend({}, a, h, _), "number" == typeof (null != (k = m.retry) ? k.allow : void 0) && m.retry.allow--, "error" === r && (null != w ? w.status : void 0) >= 500 && (null != ($ = m.retry) ? $.allow : void 0) ? (null == m.retry.delay && (m.retry.delay = 4 > m.errorCount ? 10 : 300), m.hideAfter && (null == (E = m._hideAfter) && (m._hideAfter = m.hideAfter), m.hideAfter = m._hideAfter + m.retry.delay), m._retryActions = !0, m.actions = { retry: { label: "retry now", phrase: "Retrying TIME", auto: m.retry.auto, delay: m.retry.delay, action: function () { return m.messageInstance = l, setTimeout(function () { return g["do"].apply(g, [m, c].concat(d.call(t))) }, 0) } }, cancel: { action: function () { return l.cancel() } } }) : m._retryActions && (delete m.actions.retry, delete m.actions.cancel, delete a._retryActions), l.update(m), _ && m.message ? (Messenger(o.extend({}, g.options, { instance: g })), l.show()) : l.hide()) : (l.hide(), void 0) } }), !a.returnsPromise) for (h in i) r = i[h], u = c[h], c[h] = r; return l._actionInstance = a.action.apply(a, [c].concat(d.call(t))), a.returnsPromise && l._actionInstance.then(i.success, i.error), l }, n.prototype["do"] = n.prototype.run, n.prototype.ajax = function () { var t, n; return n = arguments[0], t = arguments.length >= 2 ? d.call(arguments, 1) : [], n.action = e.ajax, this.run.apply(this, [n].concat(d.call(t))) }, n.prototype.expectPromise = function (e, t) { return t = o.extend({}, t, { action: e, returnsPromise: !0 }), this.run(t) }, n.prototype.error = function (e) { return null == e && (e = {}), "string" == typeof e && (e = { message: e }), e.type = "error", this.post(e) }, n.prototype.info = function (e) { return null == e && (e = {}), "string" == typeof e && (e = { message: e }), e.type = "info", this.post(e) }, n.prototype.success = function (e) { return null == e && (e = {}), "string" == typeof e && (e = { message: e }), e.type = "success", this.post(e) }, n }(a), e.fn.messenger = function () { var n, s, r, i, l, u, c, h; return r = arguments[0], s = arguments.length >= 2 ? d.call(arguments, 1) : [], null == r && (r = {}), n = this, null != r && o.isString(r) ? (h = n.data("messenger"))[r].apply(h, s) : (l = r, null == n.data("messenger") && (a = null != (u = null != (c = Messenger.themes[l.theme]) ? c.Messenger : void 0) ? u : t, n.data("messenger", i = new a(e.extend({ el: n }, l))), i.render()), n.data("messenger")) }, window.Messenger._call = function (t) { var n, s, r, o, i, a, l, u, c, h, p; if (a = { extraClasses: "messenger-fixed messenger-on-bottom messenger-on-right", theme: "future", maxMessages: 9, parentLocations: ["body"] }, t = e.extend(a, e._messengerDefaults, Messenger.options, t), null != t.theme && (t.extraClasses += " messenger-theme-" + t.theme), l = t.instance || Messenger.instance, null == t.instance) { for (c = t.parentLocations, s = null, r = null, h = 0, p = c.length; p > h; h++)if (u = c[h], s = e(u), s.length) { o = u; break } l ? e(l._location).is(e(o)) || (l.$el.detach(), s.prepend(l.$el)) : (n = e("<ul>"), s.prepend(n), l = n.messenger(t), l._location = o, Messenger.instance = l) } return null != l._addedClasses && l.$el.removeClass(l._addedClasses), l.$el.addClass(i = "" + l.className + " " + t.extraClasses), l._addedClasses = i, l }, e.extend(Messenger, { Message: r, Messenger: t, themes: null != (c = Messenger.themes) ? c : {} }), e.globalMessenger = window.Messenger = Messenger }.call(this);
|
@@ -1,235 +1,165 @@
|
|
1
1
|
@-webkit-keyframes ui-spinner-rotate-right {
|
2
|
-
/* line 64, ../../src/sass/messenger-spinner.scss */
|
3
2
|
0% {
|
4
3
|
-webkit-transform: rotate(0deg);
|
5
4
|
}
|
6
|
-
|
7
|
-
/* line 65, ../../src/sass/messenger-spinner.scss */
|
8
5
|
25% {
|
9
6
|
-webkit-transform: rotate(180deg);
|
10
7
|
}
|
11
|
-
|
12
|
-
/* line 66, ../../src/sass/messenger-spinner.scss */
|
13
8
|
50% {
|
14
9
|
-webkit-transform: rotate(180deg);
|
15
10
|
}
|
16
|
-
|
17
|
-
/* line 67, ../../src/sass/messenger-spinner.scss */
|
18
11
|
75% {
|
19
12
|
-webkit-transform: rotate(360deg);
|
20
13
|
}
|
21
|
-
|
22
|
-
/* line 68, ../../src/sass/messenger-spinner.scss */
|
23
14
|
100% {
|
24
15
|
-webkit-transform: rotate(360deg);
|
25
16
|
}
|
26
17
|
}
|
27
|
-
|
28
18
|
@-webkit-keyframes ui-spinner-rotate-left {
|
29
|
-
/* line 72, ../../src/sass/messenger-spinner.scss */
|
30
19
|
0% {
|
31
20
|
-webkit-transform: rotate(0deg);
|
32
21
|
}
|
33
|
-
|
34
|
-
/* line 73, ../../src/sass/messenger-spinner.scss */
|
35
22
|
25% {
|
36
23
|
-webkit-transform: rotate(0deg);
|
37
24
|
}
|
38
|
-
|
39
|
-
/* line 74, ../../src/sass/messenger-spinner.scss */
|
40
25
|
50% {
|
41
26
|
-webkit-transform: rotate(180deg);
|
42
27
|
}
|
43
|
-
|
44
|
-
/* line 75, ../../src/sass/messenger-spinner.scss */
|
45
28
|
75% {
|
46
29
|
-webkit-transform: rotate(180deg);
|
47
30
|
}
|
48
|
-
|
49
|
-
/* line 76, ../../src/sass/messenger-spinner.scss */
|
50
31
|
100% {
|
51
32
|
-webkit-transform: rotate(360deg);
|
52
33
|
}
|
53
34
|
}
|
54
|
-
|
55
35
|
@-moz-keyframes ui-spinner-rotate-right {
|
56
|
-
/* line 80, ../../src/sass/messenger-spinner.scss */
|
57
36
|
0% {
|
58
37
|
-moz-transform: rotate(0deg);
|
59
38
|
}
|
60
|
-
|
61
|
-
/* line 81, ../../src/sass/messenger-spinner.scss */
|
62
39
|
25% {
|
63
40
|
-moz-transform: rotate(180deg);
|
64
41
|
}
|
65
|
-
|
66
|
-
/* line 82, ../../src/sass/messenger-spinner.scss */
|
67
42
|
50% {
|
68
43
|
-moz-transform: rotate(180deg);
|
69
44
|
}
|
70
|
-
|
71
|
-
/* line 83, ../../src/sass/messenger-spinner.scss */
|
72
45
|
75% {
|
73
46
|
-moz-transform: rotate(360deg);
|
74
47
|
}
|
75
|
-
|
76
|
-
/* line 84, ../../src/sass/messenger-spinner.scss */
|
77
48
|
100% {
|
78
49
|
-moz-transform: rotate(360deg);
|
79
50
|
}
|
80
51
|
}
|
81
|
-
|
82
52
|
@-moz-keyframes ui-spinner-rotate-left {
|
83
|
-
/* line 88, ../../src/sass/messenger-spinner.scss */
|
84
53
|
0% {
|
85
54
|
-moz-transform: rotate(0deg);
|
86
55
|
}
|
87
|
-
|
88
|
-
/* line 89, ../../src/sass/messenger-spinner.scss */
|
89
56
|
25% {
|
90
57
|
-moz-transform: rotate(0deg);
|
91
58
|
}
|
92
|
-
|
93
|
-
/* line 90, ../../src/sass/messenger-spinner.scss */
|
94
59
|
50% {
|
95
60
|
-moz-transform: rotate(180deg);
|
96
61
|
}
|
97
|
-
|
98
|
-
/* line 91, ../../src/sass/messenger-spinner.scss */
|
99
62
|
75% {
|
100
63
|
-moz-transform: rotate(180deg);
|
101
64
|
}
|
102
|
-
|
103
|
-
/* line 92, ../../src/sass/messenger-spinner.scss */
|
104
65
|
100% {
|
105
66
|
-moz-transform: rotate(360deg);
|
106
67
|
}
|
107
68
|
}
|
108
|
-
|
109
69
|
@keyframes ui-spinner-rotate-right {
|
110
|
-
/* line 96, ../../src/sass/messenger-spinner.scss */
|
111
70
|
0% {
|
112
71
|
transform: rotate(0deg);
|
113
72
|
}
|
114
|
-
|
115
|
-
/* line 97, ../../src/sass/messenger-spinner.scss */
|
116
73
|
25% {
|
117
74
|
transform: rotate(180deg);
|
118
75
|
}
|
119
|
-
|
120
|
-
/* line 98, ../../src/sass/messenger-spinner.scss */
|
121
76
|
50% {
|
122
77
|
transform: rotate(180deg);
|
123
78
|
}
|
124
|
-
|
125
|
-
/* line 99, ../../src/sass/messenger-spinner.scss */
|
126
79
|
75% {
|
127
80
|
transform: rotate(360deg);
|
128
81
|
}
|
129
|
-
|
130
|
-
/* line 100, ../../src/sass/messenger-spinner.scss */
|
131
82
|
100% {
|
132
83
|
transform: rotate(360deg);
|
133
84
|
}
|
134
85
|
}
|
135
|
-
|
136
86
|
@keyframes ui-spinner-rotate-left {
|
137
|
-
/* line 104, ../../src/sass/messenger-spinner.scss */
|
138
87
|
0% {
|
139
88
|
transform: rotate(0deg);
|
140
89
|
}
|
141
|
-
|
142
|
-
/* line 105, ../../src/sass/messenger-spinner.scss */
|
143
90
|
25% {
|
144
91
|
transform: rotate(0deg);
|
145
92
|
}
|
146
|
-
|
147
|
-
/* line 106, ../../src/sass/messenger-spinner.scss */
|
148
93
|
50% {
|
149
94
|
transform: rotate(180deg);
|
150
95
|
}
|
151
|
-
|
152
|
-
/* line 107, ../../src/sass/messenger-spinner.scss */
|
153
96
|
75% {
|
154
97
|
transform: rotate(180deg);
|
155
98
|
}
|
156
|
-
|
157
|
-
/* line 108, ../../src/sass/messenger-spinner.scss */
|
158
99
|
100% {
|
159
100
|
transform: rotate(360deg);
|
160
101
|
}
|
161
102
|
}
|
162
|
-
|
163
|
-
/* line 116, ../../src/sass/messenger-spinner.scss */
|
103
|
+
/* line 118, ../../src/sass/messenger-spinner.scss */
|
164
104
|
.messenger-spinner {
|
165
105
|
position: relative;
|
166
106
|
border-radius: 100%;
|
167
107
|
}
|
168
|
-
/* line
|
108
|
+
/* line 122, ../../src/sass/messenger-spinner.scss */
|
169
109
|
ul.messenger.messenger-spinner-active .messenger-spinner .messenger-spinner {
|
170
110
|
display: block;
|
171
111
|
}
|
172
|
-
/* line
|
112
|
+
/* line 126, ../../src/sass/messenger-spinner.scss */
|
173
113
|
.messenger-spinner .messenger-spinner-side {
|
174
114
|
width: 50%;
|
175
115
|
height: 100%;
|
176
116
|
overflow: hidden;
|
177
117
|
position: absolute;
|
178
118
|
}
|
179
|
-
/* line
|
119
|
+
/* line 132, ../../src/sass/messenger-spinner.scss */
|
180
120
|
.messenger-spinner .messenger-spinner-side .messenger-spinner-fill {
|
181
121
|
border-radius: 999px;
|
182
122
|
position: absolute;
|
183
123
|
width: 100%;
|
184
124
|
height: 100%;
|
185
|
-
-webkit-animation-iteration-count: infinite;
|
186
125
|
-moz-animation-iteration-count: infinite;
|
187
|
-
-
|
188
|
-
-o-animation-iteration-count: infinite;
|
126
|
+
-webkit-animation-iteration-count: infinite;
|
189
127
|
animation-iteration-count: infinite;
|
190
|
-
-webkit-animation-timing-function: linear;
|
191
128
|
-moz-animation-timing-function: linear;
|
192
|
-
-
|
193
|
-
-o-animation-timing-function: linear;
|
129
|
+
-webkit-animation-timing-function: linear;
|
194
130
|
animation-timing-function: linear;
|
195
131
|
}
|
196
|
-
/* line
|
132
|
+
/* line 142, ../../src/sass/messenger-spinner.scss */
|
197
133
|
.messenger-spinner .messenger-spinner-side-left {
|
198
134
|
left: 0;
|
199
135
|
}
|
200
|
-
/* line
|
136
|
+
/* line 145, ../../src/sass/messenger-spinner.scss */
|
201
137
|
.messenger-spinner .messenger-spinner-side-left .messenger-spinner-fill {
|
202
138
|
left: 100%;
|
203
139
|
border-top-left-radius: 0;
|
204
140
|
border-bottom-left-radius: 0;
|
205
|
-
-webkit-animation-name: ui-spinner-rotate-left;
|
206
141
|
-moz-animation-name: ui-spinner-rotate-left;
|
207
|
-
-
|
208
|
-
-o-animation-name: ui-spinner-rotate-left;
|
142
|
+
-webkit-animation-name: ui-spinner-rotate-left;
|
209
143
|
animation-name: ui-spinner-rotate-left;
|
210
|
-
-
|
211
|
-
-
|
212
|
-
-
|
213
|
-
|
214
|
-
transform-origin: 0 50%;
|
144
|
+
-moz-transform-origin: 0 50% 50%;
|
145
|
+
-ms-transform-origin: 0 50% 50%;
|
146
|
+
-webkit-transform-origin: 0 50% 50%;
|
147
|
+
transform-origin: 0 50% 50%;
|
215
148
|
}
|
216
|
-
/* line
|
149
|
+
/* line 154, ../../src/sass/messenger-spinner.scss */
|
217
150
|
.messenger-spinner .messenger-spinner-side-right {
|
218
151
|
left: 50%;
|
219
152
|
}
|
220
|
-
/* line
|
153
|
+
/* line 157, ../../src/sass/messenger-spinner.scss */
|
221
154
|
.messenger-spinner .messenger-spinner-side-right .messenger-spinner-fill {
|
222
155
|
left: -100%;
|
223
156
|
border-top-right-radius: 0;
|
224
157
|
border-bottom-right-radius: 0;
|
225
|
-
-webkit-animation-name: ui-spinner-rotate-right;
|
226
158
|
-moz-animation-name: ui-spinner-rotate-right;
|
227
|
-
-
|
228
|
-
-o-animation-name: ui-spinner-rotate-right;
|
159
|
+
-webkit-animation-name: ui-spinner-rotate-right;
|
229
160
|
animation-name: ui-spinner-rotate-right;
|
230
|
-
-
|
231
|
-
-
|
232
|
-
-
|
233
|
-
|
234
|
-
|
235
|
-
}
|
161
|
+
-moz-transform-origin: 100% 50% 50%;
|
162
|
+
-ms-transform-origin: 100% 50% 50%;
|
163
|
+
-webkit-transform-origin: 100% 50% 50%;
|
164
|
+
transform-origin: 100% 50% 50%;
|
165
|
+
}
|
@@ -1,238 +1,168 @@
|
|
1
1
|
@import url("//fonts.googleapis.com/css?family=Raleway:400");
|
2
2
|
@-webkit-keyframes ui-spinner-rotate-right {
|
3
|
-
/* line 64, ../../src/sass/messenger-spinner.scss */
|
4
3
|
0% {
|
5
4
|
-webkit-transform: rotate(0deg);
|
6
5
|
}
|
7
|
-
|
8
|
-
/* line 65, ../../src/sass/messenger-spinner.scss */
|
9
6
|
25% {
|
10
7
|
-webkit-transform: rotate(180deg);
|
11
8
|
}
|
12
|
-
|
13
|
-
/* line 66, ../../src/sass/messenger-spinner.scss */
|
14
9
|
50% {
|
15
10
|
-webkit-transform: rotate(180deg);
|
16
11
|
}
|
17
|
-
|
18
|
-
/* line 67, ../../src/sass/messenger-spinner.scss */
|
19
12
|
75% {
|
20
13
|
-webkit-transform: rotate(360deg);
|
21
14
|
}
|
22
|
-
|
23
|
-
/* line 68, ../../src/sass/messenger-spinner.scss */
|
24
15
|
100% {
|
25
16
|
-webkit-transform: rotate(360deg);
|
26
17
|
}
|
27
18
|
}
|
28
|
-
|
29
19
|
@-webkit-keyframes ui-spinner-rotate-left {
|
30
|
-
/* line 72, ../../src/sass/messenger-spinner.scss */
|
31
20
|
0% {
|
32
21
|
-webkit-transform: rotate(0deg);
|
33
22
|
}
|
34
|
-
|
35
|
-
/* line 73, ../../src/sass/messenger-spinner.scss */
|
36
23
|
25% {
|
37
24
|
-webkit-transform: rotate(0deg);
|
38
25
|
}
|
39
|
-
|
40
|
-
/* line 74, ../../src/sass/messenger-spinner.scss */
|
41
26
|
50% {
|
42
27
|
-webkit-transform: rotate(180deg);
|
43
28
|
}
|
44
|
-
|
45
|
-
/* line 75, ../../src/sass/messenger-spinner.scss */
|
46
29
|
75% {
|
47
30
|
-webkit-transform: rotate(180deg);
|
48
31
|
}
|
49
|
-
|
50
|
-
/* line 76, ../../src/sass/messenger-spinner.scss */
|
51
32
|
100% {
|
52
33
|
-webkit-transform: rotate(360deg);
|
53
34
|
}
|
54
35
|
}
|
55
|
-
|
56
36
|
@-moz-keyframes ui-spinner-rotate-right {
|
57
|
-
/* line 80, ../../src/sass/messenger-spinner.scss */
|
58
37
|
0% {
|
59
38
|
-moz-transform: rotate(0deg);
|
60
39
|
}
|
61
|
-
|
62
|
-
/* line 81, ../../src/sass/messenger-spinner.scss */
|
63
40
|
25% {
|
64
41
|
-moz-transform: rotate(180deg);
|
65
42
|
}
|
66
|
-
|
67
|
-
/* line 82, ../../src/sass/messenger-spinner.scss */
|
68
43
|
50% {
|
69
44
|
-moz-transform: rotate(180deg);
|
70
45
|
}
|
71
|
-
|
72
|
-
/* line 83, ../../src/sass/messenger-spinner.scss */
|
73
46
|
75% {
|
74
47
|
-moz-transform: rotate(360deg);
|
75
48
|
}
|
76
|
-
|
77
|
-
/* line 84, ../../src/sass/messenger-spinner.scss */
|
78
49
|
100% {
|
79
50
|
-moz-transform: rotate(360deg);
|
80
51
|
}
|
81
52
|
}
|
82
|
-
|
83
53
|
@-moz-keyframes ui-spinner-rotate-left {
|
84
|
-
/* line 88, ../../src/sass/messenger-spinner.scss */
|
85
54
|
0% {
|
86
55
|
-moz-transform: rotate(0deg);
|
87
56
|
}
|
88
|
-
|
89
|
-
/* line 89, ../../src/sass/messenger-spinner.scss */
|
90
57
|
25% {
|
91
58
|
-moz-transform: rotate(0deg);
|
92
59
|
}
|
93
|
-
|
94
|
-
/* line 90, ../../src/sass/messenger-spinner.scss */
|
95
60
|
50% {
|
96
61
|
-moz-transform: rotate(180deg);
|
97
62
|
}
|
98
|
-
|
99
|
-
/* line 91, ../../src/sass/messenger-spinner.scss */
|
100
63
|
75% {
|
101
64
|
-moz-transform: rotate(180deg);
|
102
65
|
}
|
103
|
-
|
104
|
-
/* line 92, ../../src/sass/messenger-spinner.scss */
|
105
66
|
100% {
|
106
67
|
-moz-transform: rotate(360deg);
|
107
68
|
}
|
108
69
|
}
|
109
|
-
|
110
70
|
@keyframes ui-spinner-rotate-right {
|
111
|
-
/* line 96, ../../src/sass/messenger-spinner.scss */
|
112
71
|
0% {
|
113
72
|
transform: rotate(0deg);
|
114
73
|
}
|
115
|
-
|
116
|
-
/* line 97, ../../src/sass/messenger-spinner.scss */
|
117
74
|
25% {
|
118
75
|
transform: rotate(180deg);
|
119
76
|
}
|
120
|
-
|
121
|
-
/* line 98, ../../src/sass/messenger-spinner.scss */
|
122
77
|
50% {
|
123
78
|
transform: rotate(180deg);
|
124
79
|
}
|
125
|
-
|
126
|
-
/* line 99, ../../src/sass/messenger-spinner.scss */
|
127
80
|
75% {
|
128
81
|
transform: rotate(360deg);
|
129
82
|
}
|
130
|
-
|
131
|
-
/* line 100, ../../src/sass/messenger-spinner.scss */
|
132
83
|
100% {
|
133
84
|
transform: rotate(360deg);
|
134
85
|
}
|
135
86
|
}
|
136
|
-
|
137
87
|
@keyframes ui-spinner-rotate-left {
|
138
|
-
/* line 104, ../../src/sass/messenger-spinner.scss */
|
139
88
|
0% {
|
140
89
|
transform: rotate(0deg);
|
141
90
|
}
|
142
|
-
|
143
|
-
/* line 105, ../../src/sass/messenger-spinner.scss */
|
144
91
|
25% {
|
145
92
|
transform: rotate(0deg);
|
146
93
|
}
|
147
|
-
|
148
|
-
/* line 106, ../../src/sass/messenger-spinner.scss */
|
149
94
|
50% {
|
150
95
|
transform: rotate(180deg);
|
151
96
|
}
|
152
|
-
|
153
|
-
/* line 107, ../../src/sass/messenger-spinner.scss */
|
154
97
|
75% {
|
155
98
|
transform: rotate(180deg);
|
156
99
|
}
|
157
|
-
|
158
|
-
/* line 108, ../../src/sass/messenger-spinner.scss */
|
159
100
|
100% {
|
160
101
|
transform: rotate(360deg);
|
161
102
|
}
|
162
103
|
}
|
163
|
-
|
164
|
-
/* line 116, ../../src/sass/messenger-spinner.scss */
|
104
|
+
/* line 118, ../../src/sass/messenger-spinner.scss */
|
165
105
|
.messenger-spinner {
|
166
106
|
position: relative;
|
167
107
|
border-radius: 100%;
|
168
108
|
}
|
169
|
-
/* line
|
109
|
+
/* line 122, ../../src/sass/messenger-spinner.scss */
|
170
110
|
ul.messenger.messenger-spinner-active .messenger-spinner .messenger-spinner {
|
171
111
|
display: block;
|
172
112
|
}
|
173
|
-
/* line
|
113
|
+
/* line 126, ../../src/sass/messenger-spinner.scss */
|
174
114
|
.messenger-spinner .messenger-spinner-side {
|
175
115
|
width: 50%;
|
176
116
|
height: 100%;
|
177
117
|
overflow: hidden;
|
178
118
|
position: absolute;
|
179
119
|
}
|
180
|
-
/* line
|
120
|
+
/* line 132, ../../src/sass/messenger-spinner.scss */
|
181
121
|
.messenger-spinner .messenger-spinner-side .messenger-spinner-fill {
|
182
122
|
border-radius: 999px;
|
183
123
|
position: absolute;
|
184
124
|
width: 100%;
|
185
125
|
height: 100%;
|
186
|
-
-webkit-animation-iteration-count: infinite;
|
187
126
|
-moz-animation-iteration-count: infinite;
|
188
|
-
-
|
189
|
-
-o-animation-iteration-count: infinite;
|
127
|
+
-webkit-animation-iteration-count: infinite;
|
190
128
|
animation-iteration-count: infinite;
|
191
|
-
-webkit-animation-timing-function: linear;
|
192
129
|
-moz-animation-timing-function: linear;
|
193
|
-
-
|
194
|
-
-o-animation-timing-function: linear;
|
130
|
+
-webkit-animation-timing-function: linear;
|
195
131
|
animation-timing-function: linear;
|
196
132
|
}
|
197
|
-
/* line
|
133
|
+
/* line 142, ../../src/sass/messenger-spinner.scss */
|
198
134
|
.messenger-spinner .messenger-spinner-side-left {
|
199
135
|
left: 0;
|
200
136
|
}
|
201
|
-
/* line
|
137
|
+
/* line 145, ../../src/sass/messenger-spinner.scss */
|
202
138
|
.messenger-spinner .messenger-spinner-side-left .messenger-spinner-fill {
|
203
139
|
left: 100%;
|
204
140
|
border-top-left-radius: 0;
|
205
141
|
border-bottom-left-radius: 0;
|
206
|
-
-webkit-animation-name: ui-spinner-rotate-left;
|
207
142
|
-moz-animation-name: ui-spinner-rotate-left;
|
208
|
-
-
|
209
|
-
-o-animation-name: ui-spinner-rotate-left;
|
143
|
+
-webkit-animation-name: ui-spinner-rotate-left;
|
210
144
|
animation-name: ui-spinner-rotate-left;
|
211
|
-
-
|
212
|
-
-
|
213
|
-
-
|
214
|
-
|
215
|
-
transform-origin: 0 50%;
|
145
|
+
-moz-transform-origin: 0 50% 50%;
|
146
|
+
-ms-transform-origin: 0 50% 50%;
|
147
|
+
-webkit-transform-origin: 0 50% 50%;
|
148
|
+
transform-origin: 0 50% 50%;
|
216
149
|
}
|
217
|
-
/* line
|
150
|
+
/* line 154, ../../src/sass/messenger-spinner.scss */
|
218
151
|
.messenger-spinner .messenger-spinner-side-right {
|
219
152
|
left: 50%;
|
220
153
|
}
|
221
|
-
/* line
|
154
|
+
/* line 157, ../../src/sass/messenger-spinner.scss */
|
222
155
|
.messenger-spinner .messenger-spinner-side-right .messenger-spinner-fill {
|
223
156
|
left: -100%;
|
224
157
|
border-top-right-radius: 0;
|
225
158
|
border-bottom-right-radius: 0;
|
226
|
-
-webkit-animation-name: ui-spinner-rotate-right;
|
227
159
|
-moz-animation-name: ui-spinner-rotate-right;
|
228
|
-
-
|
229
|
-
-o-animation-name: ui-spinner-rotate-right;
|
160
|
+
-webkit-animation-name: ui-spinner-rotate-right;
|
230
161
|
animation-name: ui-spinner-rotate-right;
|
231
|
-
-
|
232
|
-
-
|
233
|
-
-
|
234
|
-
|
235
|
-
transform-origin: 100% 50%;
|
162
|
+
-moz-transform-origin: 100% 50% 50%;
|
163
|
+
-ms-transform-origin: 100% 50% 50%;
|
164
|
+
-webkit-transform-origin: 100% 50% 50%;
|
165
|
+
transform-origin: 100% 50% 50%;
|
236
166
|
}
|
237
167
|
|
238
168
|
/* line 16, ../../src/sass/messenger-theme-air.sass */
|
@@ -245,24 +175,22 @@ ul.messenger-theme-air {
|
|
245
175
|
}
|
246
176
|
/* line 20, ../../src/sass/messenger-theme-air.sass */
|
247
177
|
ul.messenger-theme-air .messenger-message {
|
248
|
-
-webkit-transition: background-color 0.4s;
|
249
178
|
-moz-transition: background-color 0.4s;
|
250
179
|
-o-transition: background-color 0.4s;
|
180
|
+
-webkit-transition: background-color 0.4s;
|
251
181
|
transition: background-color 0.4s;
|
252
|
-
-webkit-border-radius: 5px;
|
253
182
|
-moz-border-radius: 5px;
|
254
|
-
-
|
255
|
-
-o-border-radius: 5px;
|
183
|
+
-webkit-border-radius: 5px;
|
256
184
|
border-radius: 5px;
|
257
|
-
-
|
258
|
-
-
|
259
|
-
box-shadow: inset 0 0 0 1px
|
185
|
+
-moz-box-shadow: inset 0 0 0 1px #fff, inset 0 2px #fff, 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.2);
|
186
|
+
-webkit-box-shadow: inset 0 0 0 1px #fff, inset 0 2px #fff, 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.2);
|
187
|
+
box-shadow: inset 0 0 0 1px #fff, inset 0 2px #fff, 0 0 0 1px rgba(0, 0, 0, 0.1), 0 1px rgba(0, 0, 0, 0.2);
|
260
188
|
border: 0px;
|
261
189
|
background-color: rgba(255, 255, 255, 0.8);
|
262
190
|
position: relative;
|
263
191
|
margin-bottom: 1em;
|
264
192
|
font-size: 13px;
|
265
|
-
color: #
|
193
|
+
color: #666;
|
266
194
|
font-weight: 500;
|
267
195
|
padding: 10px 30px 11px 46px;
|
268
196
|
}
|
@@ -275,7 +203,7 @@ ul.messenger-theme-air .messenger-message .messenger-close {
|
|
275
203
|
position: absolute;
|
276
204
|
top: 0px;
|
277
205
|
right: 0px;
|
278
|
-
color: #
|
206
|
+
color: #888;
|
279
207
|
opacity: 1;
|
280
208
|
font-weight: bold;
|
281
209
|
display: block;
|
@@ -289,11 +217,11 @@ ul.messenger-theme-air .messenger-message .messenger-close {
|
|
289
217
|
}
|
290
218
|
/* line 52, ../../src/sass/messenger-theme-air.sass */
|
291
219
|
ul.messenger-theme-air .messenger-message .messenger-close:hover {
|
292
|
-
color: #
|
220
|
+
color: #444;
|
293
221
|
}
|
294
222
|
/* line 55, ../../src/sass/messenger-theme-air.sass */
|
295
223
|
ul.messenger-theme-air .messenger-message .messenger-close:active {
|
296
|
-
color: #
|
224
|
+
color: #222;
|
297
225
|
}
|
298
226
|
/* line 58, ../../src/sass/messenger-theme-air.sass */
|
299
227
|
ul.messenger-theme-air .messenger-message .messenger-actions {
|
@@ -302,36 +230,34 @@ ul.messenger-theme-air .messenger-message .messenger-actions {
|
|
302
230
|
}
|
303
231
|
/* line 62, ../../src/sass/messenger-theme-air.sass */
|
304
232
|
ul.messenger-theme-air .messenger-message .messenger-actions a {
|
305
|
-
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.05);
|
306
233
|
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.05);
|
234
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.05);
|
307
235
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.05);
|
308
|
-
-webkit-border-radius: 4px;
|
309
236
|
-moz-border-radius: 4px;
|
310
|
-
-
|
311
|
-
-o-border-radius: 4px;
|
237
|
+
-webkit-border-radius: 4px;
|
312
238
|
border-radius: 4px;
|
313
239
|
text-decoration: none;
|
314
240
|
display: inline-block;
|
315
241
|
padding: 10px;
|
316
|
-
color: #
|
242
|
+
color: #888;
|
317
243
|
margin-right: 10px;
|
318
244
|
padding: 3px 10px 5px;
|
319
245
|
text-transform: capitalize;
|
320
246
|
}
|
321
247
|
/* line 73, ../../src/sass/messenger-theme-air.sass */
|
322
248
|
ul.messenger-theme-air .messenger-message .messenger-actions a:hover {
|
323
|
-
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.15);
|
324
249
|
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.15);
|
250
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.15);
|
325
251
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.1), inset 0px 1px rgba(255, 255, 255, 0.15);
|
326
|
-
color: #
|
252
|
+
color: #444;
|
327
253
|
}
|
328
254
|
/* line 77, ../../src/sass/messenger-theme-air.sass */
|
329
255
|
ul.messenger-theme-air .messenger-message .messenger-actions a:active {
|
330
|
-
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18), inset 0px 1px rgba(0, 0, 0, 0.05);
|
331
256
|
-moz-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18), inset 0px 1px rgba(0, 0, 0, 0.05);
|
257
|
+
-webkit-box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18), inset 0px 1px rgba(0, 0, 0, 0.05);
|
332
258
|
box-shadow: 0px 0px 0px 1px rgba(0, 0, 0, 0.18), inset 0px 1px rgba(0, 0, 0, 0.05);
|
333
259
|
background: rgba(0, 0, 0, 0.04);
|
334
|
-
color: #
|
260
|
+
color: #444;
|
335
261
|
}
|
336
262
|
/* line 82, ../../src/sass/messenger-theme-air.sass */
|
337
263
|
ul.messenger-theme-air .messenger-message .messenger-actions .messenger-phrase {
|
@@ -339,13 +265,11 @@ ul.messenger-theme-air .messenger-message .messenger-actions .messenger-phrase {
|
|
339
265
|
}
|
340
266
|
/* line 85, ../../src/sass/messenger-theme-air.sass */
|
341
267
|
ul.messenger-theme-air .messenger-message .messenger-message-inner:before {
|
342
|
-
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
|
343
268
|
-moz-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
|
269
|
+
-webkit-box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
|
344
270
|
box-shadow: inset 0px 1px 3px rgba(0, 0, 0, 0.3);
|
345
|
-
-webkit-border-radius: 50%;
|
346
271
|
-moz-border-radius: 50%;
|
347
|
-
-
|
348
|
-
-o-border-radius: 50%;
|
272
|
+
-webkit-border-radius: 50%;
|
349
273
|
border-radius: 50%;
|
350
274
|
position: absolute;
|
351
275
|
left: 17px;
|
@@ -361,26 +285,24 @@ ul.messenger-theme-air .messenger-message .messenger-message-inner:before {
|
|
361
285
|
ul.messenger-theme-air .messenger-message.alert-success .messenger-message-inner:before {
|
362
286
|
background-color: #5fca4a;
|
363
287
|
}
|
364
|
-
/* line
|
288
|
+
/* line 34, ../../src/sass/messenger-spinner.scss */
|
365
289
|
ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-soon .messenger-spinner {
|
366
290
|
width: 24px;
|
367
291
|
height: 24px;
|
368
292
|
background: transparent;
|
369
293
|
}
|
370
|
-
/* line
|
294
|
+
/* line 39, ../../src/sass/messenger-spinner.scss */
|
371
295
|
ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-soon .messenger-spinner .messenger-spinner-side .messenger-spinner-fill {
|
372
296
|
background: #dd6a45;
|
373
|
-
-webkit-animation-duration: 20s;
|
374
297
|
-moz-animation-duration: 20s;
|
375
|
-
-
|
376
|
-
-o-animation-duration: 20s;
|
298
|
+
-webkit-animation-duration: 20s;
|
377
299
|
animation-duration: 20s;
|
378
300
|
opacity: 1;
|
379
301
|
}
|
380
|
-
/* line
|
302
|
+
/* line 47, ../../src/sass/messenger-spinner.scss */
|
381
303
|
ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-soon .messenger-spinner:after {
|
382
304
|
content: "";
|
383
|
-
background:
|
305
|
+
background: #fff;
|
384
306
|
position: absolute;
|
385
307
|
width: 19px;
|
386
308
|
height: 19px;
|
@@ -389,26 +311,24 @@ ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-soon .mess
|
|
389
311
|
left: 2px;
|
390
312
|
display: block;
|
391
313
|
}
|
392
|
-
/* line
|
314
|
+
/* line 34, ../../src/sass/messenger-spinner.scss */
|
393
315
|
ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-later .messenger-spinner {
|
394
316
|
width: 24px;
|
395
317
|
height: 24px;
|
396
318
|
background: transparent;
|
397
319
|
}
|
398
|
-
/* line
|
320
|
+
/* line 39, ../../src/sass/messenger-spinner.scss */
|
399
321
|
ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-later .messenger-spinner .messenger-spinner-side .messenger-spinner-fill {
|
400
322
|
background: #dd6a45;
|
401
|
-
-webkit-animation-duration: 600s;
|
402
323
|
-moz-animation-duration: 600s;
|
403
|
-
-
|
404
|
-
-o-animation-duration: 600s;
|
324
|
+
-webkit-animation-duration: 600s;
|
405
325
|
animation-duration: 600s;
|
406
326
|
opacity: 1;
|
407
327
|
}
|
408
|
-
/* line
|
328
|
+
/* line 47, ../../src/sass/messenger-spinner.scss */
|
409
329
|
ul.messenger-theme-air .messenger-message.alert-error.messenger-retry-later .messenger-spinner:after {
|
410
330
|
content: "";
|
411
|
-
background:
|
331
|
+
background: #fff;
|
412
332
|
position: absolute;
|
413
333
|
width: 19px;
|
414
334
|
height: 19px;
|
@@ -436,4 +356,4 @@ ul.messenger-theme-air .messenger-spinner {
|
|
436
356
|
height: 24px;
|
437
357
|
width: 24px;
|
438
358
|
z-index: 10;
|
439
|
-
}
|
359
|
+
}
|