tooltipster-rails 3.2.6 → 4.1.2
Sign up to get free protection for your applications and to get access to all the features.
- checksums.yaml +7 -0
- data/README.md +15 -7
- data/lib/tooltipster-rails/version.rb +1 -1
- data/tooltipster-rails.gemspec +1 -1
- data/vendor/assets/javascripts/plugins/tooltipster/SVG/tooltipster-SVG.js +171 -0
- data/vendor/assets/javascripts/plugins/tooltipster/SVG/tooltipster-SVG.min.js +1 -0
- data/vendor/assets/javascripts/tooltipster.bundle.js +4223 -0
- data/vendor/assets/javascripts/tooltipster.bundle.min.js +2 -0
- data/vendor/assets/javascripts/tooltipster.core.js +3299 -0
- data/vendor/assets/javascripts/tooltipster.core.min.js +1 -0
- data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-borderless.min.css +1 -0
- data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min.css +1 -0
- data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-noir.min.css +1 -0
- data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css +1 -0
- data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css +1 -0
- data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/tooltipster-sideTip.min.css +1 -0
- data/vendor/assets/stylesheets/tooltipster.bundle.css +388 -0
- data/vendor/assets/stylesheets/tooltipster.bundle.min.css +1 -0
- data/vendor/assets/stylesheets/tooltipster.core.css +231 -0
- data/vendor/assets/stylesheets/tooltipster.core.min.css +1 -0
- metadata +29 -26
- data/vendor/assets/images/tooltipster-rails/map.png +0 -0
- data/vendor/assets/javascripts/jquery.tooltipster.min.js +0 -1
- data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-light.css +0 -12
- data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-noir.css +0 -12
- data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-punk.css +0 -12
- data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-shadow.css +0 -12
- data/vendor/assets/stylesheets/tooltipster.css +0 -274
@@ -0,0 +1 @@
|
|
1
|
+
/*! tooltipster v4.1.2 */!function(a,b){"function"==typeof define&&define.amd?define(["jquery"],function(a){return b(a)}):"object"==typeof exports?module.exports=b(require("jquery")):b(jQuery)}(this,function(a){function b(a){this.$container,this.constraints=null,this.__$tooltip,this.__init(a)}function c(b,c){var d=!0;return a.each(b,function(a,e){return void 0===c[a]||b[a]!==c[a]?(d=!1,!1):void 0}),d}function d(b){var c=b.attr("id"),d=c?h.window.document.getElementById(c):null;return d?d===b[0]:a.contains(h.window.document.body,b[0])}function e(){if(!g)return!1;var a=g.document.body||g.document.documentElement,b=a.style,c="transition",d=["Moz","Webkit","Khtml","O","ms"];if("string"==typeof b[c])return!0;c=c.charAt(0).toUpperCase()+c.substr(1);for(var e=0;e<d.length;e++)if("string"==typeof b[d[e]+c])return!0;return!1}var f={animation:"fade",animationDuration:350,content:null,contentAsHTML:!1,contentCloning:!1,debug:!0,delay:300,delayTouch:[300,500],functionInit:null,functionBefore:null,functionReady:null,functionAfter:null,functionFormat:null,IEmin:6,interactive:!1,multiple:!1,parent:"body",plugins:["sideTip"],repositionOnScroll:!1,restoration:"none",selfDestruction:!0,theme:[],timer:0,trackerInterval:500,trackOrigin:!1,trackTooltip:!1,trigger:"hover",triggerClose:{click:!1,mouseleave:!1,originClick:!1,scroll:!1,tap:!1,touchleave:!1},triggerOpen:{click:!1,mouseenter:!1,tap:!1,touchstart:!1},updateAnimation:"rotate",zIndex:9999999},g="undefined"!=typeof window?window:null,h={hasTouchCapability:!(!g||!("ontouchstart"in g||g.DocumentTouch&&g.document instanceof g.DocumentTouch||g.navigator.maxTouchPoints)),hasTransitions:e(),IE:!1,semVer:"4.1.2",window:g},i=function(){this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__instancesLatestArr=[],this.__plugins={},this._env=h};i.prototype={__bridge:function(b,c,d){if(!c[d]){var e=function(){};e.prototype=b;var g=new e;g.__init&&g.__init(c),a.each(b,function(a,b){0!=a.indexOf("__")&&(c[a]?f.debug&&console.log("The "+a+" method of the "+d+" plugin conflicts with another plugin or native methods"):(c[a]=function(){return g[a].apply(g,Array.prototype.slice.apply(arguments))},c[a].bridged=g))}),c[d]=g}return this},__setWindow:function(a){return h.window=a,this},_getRuler:function(a){return new b(a)},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_plugin:function(b){var c=this;if("string"==typeof b){var d=b,e=null;return d.indexOf(".")>0?e=c.__plugins[d]:a.each(c.__plugins,function(a,b){return b.name.substring(b.name.length-d.length-1)=="."+d?(e=b,!1):void 0}),e}if(b.name.indexOf(".")<0)throw new Error("Plugins must be namespaced");return c.__plugins[b.name]=b,b.core&&c.__bridge(b.core,c,b.name),this},_trigger:function(){var a=Array.prototype.slice.apply(arguments);return"string"==typeof a[0]&&(a[0]={type:a[0]}),this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,a),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,a),this},instances:function(b){var c=[],d=b||".tooltipstered";return a(d).each(function(){var b=a(this),d=b.data("tooltipster-ns");d&&a.each(d,function(a,d){c.push(b.data(d))})}),c},instancesLatest:function(){return this.__instancesLatestArr},off:function(){return this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},origins:function(b){var c=b?b+" ":"";return a(c+".tooltipstered").toArray()},setDefaults:function(b){return a.extend(f,b),this},triggerHandler:function(){return this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.tooltipster=new i,a.Tooltipster=function(b,c){this.__callbacks={close:[],open:[]},this.__closingTime,this.__Content,this.__contentBcr,this.__destroyed=!1,this.__destroying=!1,this.__$emitterPrivate=a({}),this.__$emitterPublic=a({}),this.__enabled=!0,this.__garbageCollector,this.__Geometry,this.__lastPosition,this.__namespace="tooltipster-"+Math.round(1e6*Math.random()),this.__options,this.__$originParents,this.__pointerIsOverOrigin=!1,this.__previousThemes=[],this.__state="closed",this.__timeouts={close:[],open:null},this.__touchEvents=[],this.__tracker=null,this._$origin,this._$tooltip,this.__init(b,c)},a.Tooltipster.prototype={__init:function(b,c){var d=this;if(d._$origin=a(b),d.__options=a.extend(!0,{},f,c),d.__optionsFormat(),!h.IE||h.IE>=d.__options.IEmin){var e=null;if(void 0===d._$origin.data("tooltipster-initialTitle")&&(e=d._$origin.attr("title"),void 0===e&&(e=null),d._$origin.data("tooltipster-initialTitle",e)),null!==d.__options.content)d.__contentSet(d.__options.content);else{var g,i=d._$origin.attr("data-tooltip-content");i&&(g=a(i)),g&&g[0]?d.__contentSet(g.first()):d.__contentSet(e)}d._$origin.removeAttr("title").addClass("tooltipstered"),d.__prepareOrigin(),d.__prepareGC(),a.each(d.__options.plugins,function(a,b){d._plug(b)}),h.hasTouchCapability&&a("body").on("touchmove."+d.__namespace+"-triggerOpen",function(a){d._touchRecordEvent(a)}),d._on("created",function(){d.__prepareTooltip()})._on("repositioned",function(a){d.__lastPosition=a.position})}else d.__options.disabled=!0},__contentInsert:function(){var a=this,b=a._$tooltip.find(".tooltipster-content"),c=a.__Content,d=function(a){c=a};return a._trigger({type:"format",content:a.__Content,format:d}),a.__options.functionFormat&&(c=a.__options.functionFormat.call(a,a,{origin:a._$origin[0]},a.__Content)),"string"!=typeof c||a.__options.contentAsHTML?b.empty().append(c):b.text(c),a},__contentSet:function(b){return b instanceof a&&this.__options.contentCloning&&(b=b.clone(!0)),this.__Content=b,this._trigger({type:"updated",content:b}),this},__destroyError:function(){throw new Error("This tooltip has been destroyed and cannot execute your method call.")},__geometry:function(){var b=this,c=b._$origin,d=b._$origin.is("area");if(d){var e=b._$origin.parent().attr("name");c=a('img[usemap="#'+e+'"]')}var f=c[0].getBoundingClientRect(),g=a(h.window.document),i=a(h.window),j=c,k={available:{document:null,window:null},document:{size:{height:g.height(),width:g.width()}},window:{scroll:{left:h.window.scrollX||h.window.document.documentElement.scrollLeft,top:h.window.scrollY||h.window.document.documentElement.scrollTop},size:{height:i.height(),width:i.width()}},origin:{fixedLineage:!1,offset:{},size:{height:f.bottom-f.top,width:f.right-f.left},usemapImage:d?c[0]:null,windowOffset:{bottom:f.bottom,left:f.left,right:f.right,top:f.top}}};if(d){var l=b._$origin.attr("shape"),m=b._$origin.attr("coords");if(m&&(m=m.split(","),a.map(m,function(a,b){m[b]=parseInt(a)})),"default"!=l)switch(l){case"circle":var n=m[0],o=m[1],p=m[2],q=o-p,r=n-p;k.origin.size.height=2*p,k.origin.size.width=k.origin.size.height,k.origin.windowOffset.left+=r,k.origin.windowOffset.top+=q;break;case"rect":var s=m[0],t=m[1],u=m[2],v=m[3];k.origin.size.height=v-t,k.origin.size.width=u-s,k.origin.windowOffset.left+=s,k.origin.windowOffset.top+=t;break;case"poly":for(var w=0,x=0,y=0,z=0,A="even",B=0;B<m.length;B++){var C=m[B];"even"==A?(C>y&&(y=C,0===B&&(w=y)),w>C&&(w=C),A="odd"):(C>z&&(z=C,1==B&&(x=z)),x>C&&(x=C),A="even")}k.origin.size.height=z-x,k.origin.size.width=y-w,k.origin.windowOffset.left+=w,k.origin.windowOffset.top+=x}}var D=function(a){k.origin.size.height=a.height,k.origin.windowOffset.left=a.left,k.origin.windowOffset.top=a.top,k.origin.size.width=a.width};for(b._trigger({type:"geometry",edit:D,geometry:{height:k.origin.size.height,left:k.origin.windowOffset.left,top:k.origin.windowOffset.top,width:k.origin.size.width}}),k.origin.windowOffset.right=k.origin.windowOffset.left+k.origin.size.width,k.origin.windowOffset.bottom=k.origin.windowOffset.top+k.origin.size.height,k.origin.offset.left=k.origin.windowOffset.left+h.window.scrollX,k.origin.offset.top=k.origin.windowOffset.top+h.window.scrollY,k.origin.offset.bottom=k.origin.offset.top+k.origin.size.height,k.origin.offset.right=k.origin.offset.left+k.origin.size.width,k.available.document={bottom:{height:k.document.size.height-k.origin.offset.bottom,width:k.document.size.width},left:{height:k.document.size.height,width:k.origin.offset.left},right:{height:k.document.size.height,width:k.document.size.width-k.origin.offset.right},top:{height:k.origin.offset.top,width:k.document.size.width}},k.available.window={bottom:{height:Math.max(k.window.size.height-Math.max(k.origin.windowOffset.bottom,0),0),width:k.window.size.width},left:{height:k.window.size.height,width:Math.max(k.origin.windowOffset.left,0)},right:{height:k.window.size.height,width:Math.max(k.window.size.width-Math.max(k.origin.windowOffset.right,0),0)},top:{height:Math.max(k.origin.windowOffset.top,0),width:k.window.size.width}};"html"!=j[0].tagName.toLowerCase();){if("fixed"==j.css("position")){k.origin.fixedLineage=!0;break}j=j.parent()}return k},__optionsFormat:function(){return"number"==typeof this.__options.animationDuration&&(this.__options.animationDuration=[this.__options.animationDuration,this.__options.animationDuration]),"number"==typeof this.__options.delay&&(this.__options.delay=[this.__options.delay,this.__options.delay]),"number"==typeof this.__options.delayTouch&&(this.__options.delayTouch=[this.__options.delayTouch,this.__options.delayTouch]),"string"==typeof this.__options.theme&&(this.__options.theme=[this.__options.theme]),"string"==typeof this.__options.parent&&(this.__options.parent=a(this.__options.parent)),"hover"==this.__options.trigger?(this.__options.triggerOpen={mouseenter:!0,touchstart:!0},this.__options.triggerClose={mouseleave:!0,originClick:!0,touchleave:!0}):"click"==this.__options.trigger&&(this.__options.triggerOpen={click:!0,tap:!0},this.__options.triggerClose={click:!0,tap:!0}),this._trigger("options"),this},__prepareGC:function(){var b=this;return b.__options.selfDestruction?b.__garbageCollector=setInterval(function(){var c=(new Date).getTime();b.__touchEvents=a.grep(b.__touchEvents,function(a,b){return c-a.time>6e4}),d(b._$origin)||b.destroy()},2e4):clearInterval(b.__garbageCollector),b},__prepareOrigin:function(){var a=this;if(a._$origin.off("."+a.__namespace+"-triggerOpen"),h.hasTouchCapability&&a._$origin.on("touchstart."+a.__namespace+"-triggerOpen touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen",function(b){a._touchRecordEvent(b)}),a.__options.triggerOpen.click||a.__options.triggerOpen.tap&&h.hasTouchCapability){var b="";a.__options.triggerOpen.click&&(b+="click."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.tap&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&a._open(b)})}if(a.__options.triggerOpen.mouseenter||a.__options.triggerOpen.touchstart&&h.hasTouchCapability){var b="";a.__options.triggerOpen.mouseenter&&(b+="mouseenter."+a.__namespace+"-triggerOpen "),a.__options.triggerOpen.touchstart&&h.hasTouchCapability&&(b+="touchstart."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){!a._touchIsTouchEvent(b)&&a._touchIsEmulatedEvent(b)||(a.__pointerIsOverOrigin=!0,a._openShortly(b))})}if(a.__options.triggerClose.mouseleave||a.__options.triggerClose.touchleave&&h.hasTouchCapability){var b="";a.__options.triggerClose.mouseleave&&(b+="mouseleave."+a.__namespace+"-triggerOpen "),a.__options.triggerClose.touchleave&&h.hasTouchCapability&&(b+="touchend."+a.__namespace+"-triggerOpen touchcancel."+a.__namespace+"-triggerOpen"),a._$origin.on(b,function(b){a._touchIsMeaningfulEvent(b)&&(a.__pointerIsOverOrigin=!1)})}return a},__prepareTooltip:function(){var b=this,c=b.__options.interactive?"auto":"";return b._$tooltip.attr("id",b.__namespace).css({"pointer-events":c,zIndex:b.__options.zIndex}),a.each(b.__previousThemes,function(a,c){b._$tooltip.removeClass(c)}),a.each(b.__options.theme,function(a,c){b._$tooltip.addClass(c)}),b.__previousThemes=a.merge([],b.__options.theme),b},__scrollHandler:function(b){var c=this;if(c.__options.triggerClose.scroll)c._close(b);else{if(b.target===h.window.document)c.__Geometry.origin.fixedLineage||c.__options.repositionOnScroll&&c.reposition(b);else{var d=c.__geometry(),e=!1;if("fixed"!=c._$origin.css("position")&&c.__$originParents.each(function(b,c){var f=a(c),g=f.css("overflow-x"),h=f.css("overflow-y");if("visible"!=g||"visible"!=h){var i=c.getBoundingClientRect();if("visible"!=g&&(d.origin.windowOffset.left<i.left||d.origin.windowOffset.right>i.right))return e=!0,!1;if("visible"!=h&&(d.origin.windowOffset.top<i.top||d.origin.windowOffset.bottom>i.bottom))return e=!0,!1}return"fixed"==f.css("position")?!1:void 0}),e)c._$tooltip.css("visibility","hidden");else if(c._$tooltip.css("visibility","visible"),c.__options.repositionOnScroll)c.reposition(b);else{var f=d.origin.offset.left-c.__Geometry.origin.offset.left,g=d.origin.offset.top-c.__Geometry.origin.offset.top;c._$tooltip.css({left:c.__lastPosition.coord.left+f,top:c.__lastPosition.coord.top+g})}}c._trigger({type:"scroll",event:b})}return c},__stateSet:function(a){return this.__state=a,this._trigger({type:"state",state:a}),this},__timeoutsClear:function(){return clearTimeout(this.__timeouts.open),this.__timeouts.open=null,a.each(this.__timeouts.close,function(a,b){clearTimeout(b)}),this.__timeouts.close=[],this},__trackerStart:function(){var a=this,b=a._$tooltip.find(".tooltipster-content");return a.__options.trackTooltip&&(a.__contentBcr=b[0].getBoundingClientRect()),a.__tracker=setInterval(function(){if(d(a._$origin)&&d(a._$tooltip)){if(a.__options.trackOrigin){var e=a.__geometry(),f=!1;c(e.origin.size,a.__Geometry.origin.size)&&(a.__Geometry.origin.fixedLineage?c(e.origin.windowOffset,a.__Geometry.origin.windowOffset)&&(f=!0):c(e.origin.offset,a.__Geometry.origin.offset)&&(f=!0)),f||(a.__options.triggerClose.mouseleave?a._close():a.reposition())}if(a.__options.trackTooltip){var g=b[0].getBoundingClientRect();g.height===a.__contentBcr.height&&g.width===a.__contentBcr.width||(a.reposition(),a.__contentBcr=g)}}else a._close()},a.__options.trackerInterval),a},_close:function(b,c){var d=this,e=!0;if(d._trigger({type:"close",event:b,stop:function(){e=!1}}),e||d.__destroying){c&&d.__callbacks.close.push(c),d.__callbacks.open=[],d.__timeoutsClear();var f=function(){a.each(d.__callbacks.close,function(a,c){c.call(d,d,{event:b,origin:d._$origin[0]})}),d.__callbacks.close=[]};if("closed"!=d.__state){var g=!0,i=new Date,j=i.getTime(),k=j+d.__options.animationDuration[1];if("disappearing"==d.__state&&k>d.__closingTime&&(g=!1),g){d.__closingTime=k,"disappearing"!=d.__state&&d.__stateSet("disappearing");var l=function(){clearInterval(d.__tracker),d._trigger({type:"closing",event:b}),d._$tooltip.off("."+d.__namespace+"-triggerClose").removeClass("tooltipster-dying"),a(h.window).off("."+d.__namespace+"-triggerClose"),d.__$originParents.each(function(b,c){a(c).off("scroll."+d.__namespace+"-triggerClose")}),d.__$originParents=null,a("body").off("."+d.__namespace+"-triggerClose"),d._$origin.off("."+d.__namespace+"-triggerClose"),d._off("dismissable"),d.__stateSet("closed"),d._trigger({type:"after",event:b}),d.__options.functionAfter&&d.__options.functionAfter.call(d,d,{event:b}),f()};h.hasTransitions?(d._$tooltip.css({"-moz-animation-duration":d.__options.animationDuration[1]+"ms","-ms-animation-duration":d.__options.animationDuration[1]+"ms","-o-animation-duration":d.__options.animationDuration[1]+"ms","-webkit-animation-duration":d.__options.animationDuration[1]+"ms","animation-duration":d.__options.animationDuration[1]+"ms","transition-duration":d.__options.animationDuration[1]+"ms"}),d._$tooltip.clearQueue().removeClass("tooltipster-show").addClass("tooltipster-dying"),d.__options.animationDuration[1]>0&&d._$tooltip.delay(d.__options.animationDuration[1]),d._$tooltip.queue(l)):d._$tooltip.stop().fadeOut(d.__options.animationDuration[1],l)}}else f()}return d},_off:function(){return this.__$emitterPrivate.off.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_on:function(){return this.__$emitterPrivate.on.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_one:function(){return this.__$emitterPrivate.one.apply(this.__$emitterPrivate,Array.prototype.slice.apply(arguments)),this},_open:function(b,c){var e=this;if(!e.__destroying&&d(e._$origin)&&e.__enabled){var f=!0;if("closed"==e.__state&&(e._trigger({type:"before",event:b,stop:function(){f=!1}}),f&&e.__options.functionBefore&&(f=e.__options.functionBefore.call(e,e,{event:b,origin:e._$origin[0]}))),f!==!1&&null!==e.__Content){c&&e.__callbacks.open.push(c),e.__callbacks.close=[],e.__timeoutsClear();var g,i=function(){"stable"!=e.__state&&e.__stateSet("stable"),a.each(e.__callbacks.open,function(a,b){b.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}),e.__callbacks.open=[]};if("closed"!==e.__state)g=0,"disappearing"===e.__state?(e.__stateSet("appearing"),h.hasTransitions?(e._$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-show"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i)):e._$tooltip.stop().fadeIn(i)):"stable"==e.__state&&i();else{if(e.__stateSet("appearing"),g=e.__options.animationDuration[0],e.__contentInsert(),e.reposition(b,!0),h.hasTransitions?(e._$tooltip.addClass("tooltipster-"+e.__options.animation).addClass("tooltipster-initial").css({"-moz-animation-duration":e.__options.animationDuration[0]+"ms","-ms-animation-duration":e.__options.animationDuration[0]+"ms","-o-animation-duration":e.__options.animationDuration[0]+"ms","-webkit-animation-duration":e.__options.animationDuration[0]+"ms","animation-duration":e.__options.animationDuration[0]+"ms","transition-duration":e.__options.animationDuration[0]+"ms"}),setTimeout(function(){"closed"!=e.__state&&(e._$tooltip.addClass("tooltipster-show").removeClass("tooltipster-initial"),e.__options.animationDuration[0]>0&&e._$tooltip.delay(e.__options.animationDuration[0]),e._$tooltip.queue(i))},0)):e._$tooltip.css("display","none").fadeIn(e.__options.animationDuration[0],i),e.__trackerStart(),a(h.window).on("resize."+e.__namespace+"-triggerClose",function(a){e.reposition(a)}).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)}),e.__$originParents=e._$origin.parents(),e.__$originParents.each(function(b,c){a(c).on("scroll."+e.__namespace+"-triggerClose",function(a){e.__scrollHandler(a)})}),e.__options.triggerClose.mouseleave||e.__options.triggerClose.touchleave&&h.hasTouchCapability){e._on("dismissable",function(a){a.dismissable?a.delay?(m=setTimeout(function(){e._close(a.event)},a.delay),e.__timeouts.close.push(m)):e._close(a):clearTimeout(m)});var j=e._$origin,k="",l="",m=null;e.__options.interactive&&(j=j.add(e._$tooltip)),e.__options.triggerClose.mouseleave&&(k+="mouseenter."+e.__namespace+"-triggerClose ",l+="mouseleave."+e.__namespace+"-triggerClose "),e.__options.triggerClose.touchleave&&h.hasTouchCapability&&(k+="touchstart."+e.__namespace+"-triggerClose",l+="touchend."+e.__namespace+"-triggerClose touchcancel."+e.__namespace+"-triggerClose"),j.on(l,function(a){if(e._touchIsTouchEvent(a)||!e._touchIsEmulatedEvent(a)){var b="mouseleave"==a.type?e.__options.delay:e.__options.delayTouch;e._trigger({delay:b[1],dismissable:!0,event:a,type:"dismissable"})}}).on(k,function(a){!e._touchIsTouchEvent(a)&&e._touchIsEmulatedEvent(a)||e._trigger({dismissable:!1,event:a,type:"dismissable"})})}e.__options.triggerClose.originClick&&e._$origin.on("click."+e.__namespace+"-triggerClose",function(a){e._touchIsTouchEvent(a)||e._touchIsEmulatedEvent(a)||e._close(a)}),(e.__options.triggerClose.click||e.__options.triggerClose.tap&&h.hasTouchCapability)&&setTimeout(function(){if("closed"!=e.__state){var b="";e.__options.triggerClose.click&&(b+="click."+e.__namespace+"-triggerClose "),e.__options.triggerClose.tap&&h.hasTouchCapability&&(b+="touchend."+e.__namespace+"-triggerClose"),a("body").on(b,function(b){e._touchIsMeaningfulEvent(b)&&(e._touchRecordEvent(b),e.__options.interactive&&a.contains(e._$tooltip[0],b.target)||e._close(b))}),e.__options.triggerClose.tap&&h.hasTouchCapability&&a("body").on("touchstart."+e.__namespace+"-triggerClose",function(a){e._touchRecordEvent(a)})}},0),e._trigger("ready"),e.__options.functionReady&&e.__options.functionReady.call(e,e,{origin:e._$origin[0],tooltip:e._$tooltip[0]})}if(e.__options.timer>0){var m=setTimeout(function(){e._close()},e.__options.timer+g);e.__timeouts.close.push(m)}}}return e},_openShortly:function(a){var b=this,c=!0;if("stable"!=b.__state&&"appearing"!=b.__state&&!b.__timeouts.open&&(b._trigger({type:"start",event:a,stop:function(){c=!1}}),c)){var d=0==a.type.indexOf("touch")?b.__options.delayTouch:b.__options.delay;d[0]?b.__timeouts.open=setTimeout(function(){b.__timeouts.open=null,b.__pointerIsOverOrigin&&b._touchIsMeaningfulEvent(a)?(b._trigger("startend"),b._open(a)):b._trigger("startcancel")},d[0]):(b._trigger("startend"),b._open(a))}return b},_optionsExtract:function(b,c){var d=this,e=a.extend(!0,{},c),f=d.__options[b];return f||(f={},a.each(c,function(a,b){var c=d.__options[a];void 0!==c&&(f[a]=c)})),a.each(e,function(b,c){void 0!==f[b]&&("object"!=typeof c||c instanceof Array||null==c||"object"!=typeof f[b]||f[b]instanceof Array||null==f[b]?e[b]=f[b]:a.extend(e[b],f[b]))}),e},_plug:function(b){var c=a.tooltipster._plugin(b);if(!c)throw new Error('The "'+b+'" plugin is not defined');return c.instance&&a.tooltipster.__bridge(c.instance,this,c.name),this},_touchIsEmulatedEvent:function(a){for(var b=!1,c=(new Date).getTime(),d=this.__touchEvents.length-1;d>=0;d--){var e=this.__touchEvents[d];if(!(c-e.time<500))break;e.target===a.target&&(b=!0)}return b},_touchIsMeaningfulEvent:function(a){return this._touchIsTouchEvent(a)&&!this._touchSwiped(a.target)||!this._touchIsTouchEvent(a)&&!this._touchIsEmulatedEvent(a)},_touchIsTouchEvent:function(a){return 0==a.type.indexOf("touch")},_touchRecordEvent:function(a){return this._touchIsTouchEvent(a)&&(a.time=(new Date).getTime(),this.__touchEvents.push(a)),this},_touchSwiped:function(a){for(var b=!1,c=this.__touchEvents.length-1;c>=0;c--){var d=this.__touchEvents[c];if("touchmove"==d.type){b=!0;break}if("touchstart"==d.type&&a===d.target)break}return b},_trigger:function(){var b=Array.prototype.slice.apply(arguments);return"string"==typeof b[0]&&(b[0]={type:b[0]}),b[0].instance=this,b[0].origin=this._$origin?this._$origin[0]:null,b[0].tooltip=this._$tooltip?this._$tooltip[0]:null,this.__$emitterPrivate.trigger.apply(this.__$emitterPrivate,b),a.tooltipster._trigger.apply(a.tooltipster,b),this.__$emitterPublic.trigger.apply(this.__$emitterPublic,b),this},_unplug:function(b){var c=this;if(c[b]){var d=a.tooltipster._plugin(b);d.instance&&a.each(d.instance,function(a,d){c[a]&&c[a].bridged===c[b]&&delete c[a]}),c[b].__destroy&&c[b].__destroy(),delete c[b]}return c},close:function(a){return this.__destroyed?this.__destroyError():this._close(null,a),this},content:function(a){var b=this;if(void 0===a)return b.__Content;if(b.__destroyed)b.__destroyError();else if(b.__contentSet(a),null!==b.__Content){if("closed"!==b.__state&&(b.__contentInsert(),b.reposition(),b.__options.updateAnimation))if(h.hasTransitions){var c=b.__options.updateAnimation;b._$tooltip.addClass("tooltipster-update-"+c),setTimeout(function(){"closed"!=b.__state&&b._$tooltip.removeClass("tooltipster-update-"+c)},1e3)}else b._$tooltip.fadeTo(200,.5,function(){"closed"!=b.__state&&b._$tooltip.fadeTo(200,1)})}else b._close();return b},destroy:function(){var b=this;return b.__destroyed?b.__destroyError():b.__destroying||(b.__destroying=!0,b._close(null,function(){b._trigger("destroy"),b.__destroying=!1,b.__destroyed=!0,b._$origin.removeData(b.__namespace).off("."+b.__namespace+"-triggerOpen"),a("body").off("."+b.__namespace+"-triggerOpen");var c=b._$origin.data("tooltipster-ns");if(c)if(1===c.length){var d=null;"previous"==b.__options.restoration?d=b._$origin.data("tooltipster-initialTitle"):"current"==b.__options.restoration&&(d="string"==typeof b.__Content?b.__Content:a("<div></div>").append(b.__Content).html()),d&&b._$origin.attr("title",d),b._$origin.removeClass("tooltipstered"),b._$origin.removeData("tooltipster-ns").removeData("tooltipster-initialTitle")}else c=a.grep(c,function(a,c){return a!==b.__namespace}),b._$origin.data("tooltipster-ns",c);b._trigger("destroyed"),b._off(),b.off(),b.__Content=null,b.__$emitterPrivate=null,b.__$emitterPublic=null,b.__options.parent=null,b._$origin=null,b._$tooltip=null,a.tooltipster.__instancesLatestArr=a.grep(a.tooltipster.__instancesLatestArr,function(a,c){return b!==a}),clearInterval(b.__garbageCollector)})),b},disable:function(){return this.__destroyed?(this.__destroyError(),this):(this._close(),this.__enabled=!1,this)},elementOrigin:function(){return this.__destroyed?void this.__destroyError():this._$origin[0]},elementTooltip:function(){return this._$tooltip?this._$tooltip[0]:null},enable:function(){return this.__enabled=!0,this},hide:function(a){return this.close(a)},instance:function(){return this},off:function(){return this.__destroyed||this.__$emitterPublic.off.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},on:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.on.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},one:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.one.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this},open:function(a){return this.__destroyed||this.__destroying?this.__destroyError():this._open(null,a),this},option:function(b,c){return void 0===c?this.__options[b]:(this.__destroyed?this.__destroyError():(this.__options[b]=c,this.__optionsFormat(),a.inArray(b,["trigger","triggerClose","triggerOpen"])>=0&&this.__prepareOrigin(),"selfDestruction"===b&&this.__prepareGC()),this)},reposition:function(a,b){var c=this;return c.__destroyed?c.__destroyError():(d(c._$tooltip)||b)&&(b||c._$tooltip.detach(),c.__Geometry=c.__geometry(),c._trigger({type:"reposition",event:a,helper:{geo:c.__Geometry}})),c},show:function(a){return this.open(a)},status:function(){return{destroyed:this.__destroyed,destroying:this.__destroying,enabled:this.__enabled,open:"closed"!==this.__state,state:this.__state}},triggerHandler:function(){return this.__destroyed?this.__destroyError():this.__$emitterPublic.triggerHandler.apply(this.__$emitterPublic,Array.prototype.slice.apply(arguments)),this}},a.fn.tooltipster=function(){var b=Array.prototype.slice.apply(arguments),c="You are using a single HTML element as content for several tooltips. You probably want to set the contentCloning option to TRUE.";if(0===this.length)return this;if("string"==typeof b[0]){var d="#*$~&";return this.each(function(){var e=a(this).data("tooltipster-ns"),f=e?a(this).data(e[0]):null;if(!f)throw new Error("You called Tooltipster's \""+b[0]+'" method on an uninitialized element');if("function"!=typeof f[b[0]])throw new Error('Unknown method "'+b[0]+'"');this.length>1&&"content"==b[0]&&(b[1]instanceof a||"object"==typeof b[1]&&null!=b[1]&&b[1].tagName)&&!f.__options.contentCloning&&f.__options.debug&&console.log(c);var g=f[b[0]](b[1],b[2]);return g!==f||"instance"===b[0]?(d=g,!1):void 0}),"#*$~&"!==d?d:this}a.tooltipster.__instancesLatestArr=[];var e=b[0]&&void 0!==b[0].multiple,g=e&&b[0].multiple||!e&&f.multiple,h=b[0]&&void 0!==b[0].content,i=h&&b[0].content||!h&&f.content,j=b[0]&&void 0!==b[0].contentCloning,k=j&&b[0].contentCloning||!j&&f.contentCloning,l=b[0]&&void 0!==b[0].debug,m=l&&b[0].debug||!l&&f.debug;return this.length>1&&(i instanceof a||"object"==typeof i&&null!=i&&i.tagName)&&!k&&m&&console.log(c),this.each(function(){var c=!1,d=a(this),e=d.data("tooltipster-ns"),f=null;e?g?c=!0:m&&(console.log("Tooltipster: one or more tooltips are already attached to the element below. Ignoring."),console.log(this)):c=!0,c&&(f=new a.Tooltipster(this,b[0]),e||(e=[]),e.push(f.__namespace),d.data("tooltipster-ns",e),d.data(f.__namespace,f),f.__options.functionInit&&f.__options.functionInit.call(f,f,{origin:this}),f._trigger("init")),a.tooltipster.__instancesLatestArr.push(f)}),this},b.prototype={__init:function(b){this.__$tooltip=b,this.__$tooltip.css({left:0,overflow:"hidden",position:"absolute",top:0}).find(".tooltipster-content").css("overflow","auto"),this.$container=a('<div class="tooltipster-ruler"></div>').append(this.__$tooltip).appendTo("body")},__forceRedraw:function(){var a=this.__$tooltip.parent();this.__$tooltip.detach(),this.__$tooltip.appendTo(a)},constrain:function(a,b){return this.constraints={width:a,height:b},this.__$tooltip.css({display:"block",height:"",overflow:"auto",width:a}),this},destroy:function(){this.__$tooltip.detach().find(".tooltipster-content").css({display:"",overflow:""}),this.$container.remove()},free:function(){return this.constraints=null,this.__$tooltip.css({display:"",height:"",overflow:"visible",width:""}),this},measure:function(){this.__forceRedraw();var a=this.__$tooltip[0].getBoundingClientRect(),b={size:{height:a.height||a.bottom,width:a.width||a.right}};if(this.constraints){var c=this.__$tooltip.find(".tooltipster-content"),d=this.__$tooltip.outerHeight(),e=c[0].getBoundingClientRect(),f={height:d<=this.constraints.height,width:a.width<=this.constraints.width&&e.width>=c[0].scrollWidth-1};b.fits=f.height&&f.width}return h.IE&&h.IE<=11&&(b.size.width=Math.ceil(b.size.width)+1),b}};var j=navigator.userAgent.toLowerCase();-1!=j.indexOf("msie")?h.IE=parseInt(j.split("msie")[1]):-1!==j.toLowerCase().indexOf("trident")&&-1!==j.indexOf(" rv:11")?h.IE=11:-1!=j.toLowerCase().indexOf("edge/")&&(h.IE=parseInt(j.toLowerCase().split("edge/")[1]))});
|
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-sidetip.tooltipster-borderless .tooltipster-box{border:none;background:#1b1b1b;background:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow{height:8px;margin-left:-8px;width:16px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow{height:16px;margin-left:0;margin-top:-8px;width:8px}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-borderless .tooltipster-arrow-border{border:8px solid transparent}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#1b1b1b;border-bottom-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-left .tooltipster-arrow-border{border-left-color:#1b1b1b;border-left-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow-border{border-right-color:#1b1b1b;border-right-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-top .tooltipster-arrow-border{border-top-color:#1b1b1b;border-top-color:rgba(10,10,10,.9)}.tooltipster-sidetip.tooltipster-borderless.tooltipster-bottom .tooltipster-arrow-uncropped{top:-8px}.tooltipster-sidetip.tooltipster-borderless.tooltipster-right .tooltipster-arrow-uncropped{left:-8px}
|
data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-sidetip.tooltipster-light .tooltipster-box{border-radius:3px;border:1px solid #ccc;background:#ededed}.tooltipster-sidetip.tooltipster-light .tooltipster-content{color:#666}.tooltipster-sidetip.tooltipster-light .tooltipster-arrow{height:9px;margin-left:-9px;width:18px}.tooltipster-sidetip.tooltipster-light.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow{height:18px;margin-left:0;margin-top:-9px;width:9px}.tooltipster-sidetip.tooltipster-light .tooltipster-arrow-background{border:9px solid transparent}.tooltipster-sidetip.tooltipster-light.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#ededed;top:1px}.tooltipster-sidetip.tooltipster-light.tooltipster-left .tooltipster-arrow-background{border-left-color:#ededed;left:-1px}.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow-background{border-right-color:#ededed;left:1px}.tooltipster-sidetip.tooltipster-light.tooltipster-top .tooltipster-arrow-background{border-top-color:#ededed;top:-1px}.tooltipster-sidetip.tooltipster-light .tooltipster-arrow-border{border:9px solid transparent}.tooltipster-sidetip.tooltipster-light.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-left .tooltipster-arrow-border{border-left-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow-border{border-right-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-top .tooltipster-arrow-border{border-top-color:#ccc}.tooltipster-sidetip.tooltipster-light.tooltipster-bottom .tooltipster-arrow-uncropped{top:-9px}.tooltipster-sidetip.tooltipster-light.tooltipster-right .tooltipster-arrow-uncropped{left:-9px}
|
data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-noir.min.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-sidetip.tooltipster-noir .tooltipster-box{border-radius:0;border:3px solid #000;background:#fff}.tooltipster-sidetip.tooltipster-noir .tooltipster-content{color:#000}.tooltipster-sidetip.tooltipster-noir .tooltipster-arrow{height:11px;margin-left:-11px;width:22px}.tooltipster-sidetip.tooltipster-noir.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow{height:22px;margin-left:0;margin-top:-11px;width:11px}.tooltipster-sidetip.tooltipster-noir .tooltipster-arrow-background{border:11px solid transparent}.tooltipster-sidetip.tooltipster-noir.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#fff;top:4px}.tooltipster-sidetip.tooltipster-noir.tooltipster-left .tooltipster-arrow-background{border-left-color:#fff;left:-4px}.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow-background{border-right-color:#fff;left:4px}.tooltipster-sidetip.tooltipster-noir.tooltipster-top .tooltipster-arrow-background{border-top-color:#fff;top:-4px}.tooltipster-sidetip.tooltipster-noir .tooltipster-arrow-border{border-width:11px}.tooltipster-sidetip.tooltipster-noir.tooltipster-bottom .tooltipster-arrow-uncropped{top:-11px}.tooltipster-sidetip.tooltipster-noir.tooltipster-right .tooltipster-arrow-uncropped{left:-11px}
|
data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-sidetip.tooltipster-punk .tooltipster-box{border-radius:5px;border:none;border-bottom:3px solid #f71169;background:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-top .tooltipster-box{margin-bottom:7px}.tooltipster-sidetip.tooltipster-punk .tooltipster-content{color:#fff;padding:8px 16px}.tooltipster-sidetip.tooltipster-punk .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-punk.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-left .tooltipster-arrow-border{border-left-color:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-right .tooltipster-arrow-border{border-right-color:#2a2a2a}.tooltipster-sidetip.tooltipster-punk.tooltipster-top .tooltipster-arrow-border{border-top-color:#f71169}
|
data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css
ADDED
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-sidetip.tooltipster-shadow .tooltipster-box{border:none;border-radius:5px;background:#fff;box-shadow:0 0 10px 6px rgba(0,0,0,.1)}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom .tooltipster-box{margin-top:6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left .tooltipster-box{margin-right:6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-box{margin-left:6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-top .tooltipster-box{margin-bottom:6px}.tooltipster-sidetip.tooltipster-shadow .tooltipster-content{color:#8d8d8d}.tooltipster-sidetip.tooltipster-shadow .tooltipster-arrow{height:6px;margin-left:-6px;width:12px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left .tooltipster-arrow,.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-arrow{height:12px;margin-left:0;margin-top:-6px;width:6px}.tooltipster-sidetip.tooltipster-shadow .tooltipster-arrow-background{display:none}.tooltipster-sidetip.tooltipster-shadow .tooltipster-arrow-border{border:6px solid transparent}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-left .tooltipster-arrow-border{border-left-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-arrow-border{border-right-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-top .tooltipster-arrow-border{border-top-color:#fff}.tooltipster-sidetip.tooltipster-shadow.tooltipster-bottom .tooltipster-arrow-uncropped{top:-6px}.tooltipster-sidetip.tooltipster-shadow.tooltipster-right .tooltipster-arrow-uncropped{left:-6px}
|
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-sidetip .tooltipster-box{background:#565656;border:2px solid #000;border-radius:4px}.tooltipster-sidetip.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip .tooltipster-content{color:#fff;line-height:18px;padding:6px 14px}.tooltipster-sidetip .tooltipster-arrow{overflow:hidden;position:absolute}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{height:10px;margin-left:-10px;top:0;width:20px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow{height:20px;margin-top:-10px;right:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{height:20px;margin-top:-10px;left:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:0;height:10px;margin-left:-10px;width:20px}.tooltipster-sidetip .tooltipster-arrow-background,.tooltipster-sidetip .tooltipster-arrow-border{height:0;position:absolute;width:0}.tooltipster-sidetip .tooltipster-arrow-background{border:10px solid transparent}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#565656;left:0;top:3px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-left-color:#565656;left:-3px;top:0}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-right-color:#565656;left:3px;top:0}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-top-color:#565656;left:0;top:-3px}.tooltipster-sidetip .tooltipster-arrow-border{border:10px solid transparent;left:0;top:0}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#000}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{border-left-color:#000}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{border-right-color:#000}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{border-top-color:#000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped{top:-10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped{left:-10px}
|
@@ -0,0 +1,388 @@
|
|
1
|
+
/* This is the core CSS of Tooltipster */
|
2
|
+
|
3
|
+
/* GENERAL STRUCTURE RULES (do not edit this section) */
|
4
|
+
|
5
|
+
.tooltipster-base {
|
6
|
+
/* this ensures that a constrained height set by functionPosition,
|
7
|
+
if greater that the natural height of the tooltip, will be enforced
|
8
|
+
in browsers that support display:flex */
|
9
|
+
display: flex;
|
10
|
+
pointer-events: none;
|
11
|
+
/* this may be overriden in JS for fixed position origins */
|
12
|
+
position: absolute;
|
13
|
+
}
|
14
|
+
|
15
|
+
.tooltipster-box {
|
16
|
+
/* see .tooltipster-base. flex-shrink 1 is only necessary for IE10-
|
17
|
+
and flex-basis auto for IE11- (at least) */
|
18
|
+
flex: 1 1 auto;
|
19
|
+
}
|
20
|
+
|
21
|
+
.tooltipster-content {
|
22
|
+
/* prevents an overflow if the user adds padding to the div */
|
23
|
+
box-sizing: border-box;
|
24
|
+
/* these make sure we'll be able to detect any overflow */
|
25
|
+
max-height: 100%;
|
26
|
+
max-width: 100%;
|
27
|
+
overflow: auto;
|
28
|
+
}
|
29
|
+
|
30
|
+
.tooltipster-ruler {
|
31
|
+
/* these let us test the size of the tooltip without overflowing the window */
|
32
|
+
bottom: 0;
|
33
|
+
left: 0;
|
34
|
+
overflow: hidden;
|
35
|
+
position: fixed;
|
36
|
+
right: 0;
|
37
|
+
top: 0;
|
38
|
+
visibility: hidden;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* ANIMATIONS */
|
42
|
+
|
43
|
+
/* Open/close animations */
|
44
|
+
|
45
|
+
/* fade */
|
46
|
+
|
47
|
+
.tooltipster-fade {
|
48
|
+
opacity: 0;
|
49
|
+
-webkit-transition-property: opacity;
|
50
|
+
-moz-transition-property: opacity;
|
51
|
+
-o-transition-property: opacity;
|
52
|
+
-ms-transition-property: opacity;
|
53
|
+
transition-property: opacity;
|
54
|
+
}
|
55
|
+
.tooltipster-fade.tooltipster-show {
|
56
|
+
opacity: 1;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* grow */
|
60
|
+
|
61
|
+
.tooltipster-grow {
|
62
|
+
-webkit-transform: scale(0,0);
|
63
|
+
-moz-transform: scale(0,0);
|
64
|
+
-o-transform: scale(0,0);
|
65
|
+
-ms-transform: scale(0,0);
|
66
|
+
transform: scale(0,0);
|
67
|
+
-webkit-transition-property: -webkit-transform;
|
68
|
+
-moz-transition-property: -moz-transform;
|
69
|
+
-o-transition-property: -o-transform;
|
70
|
+
-ms-transition-property: -ms-transform;
|
71
|
+
transition-property: transform;
|
72
|
+
-webkit-backface-visibility: hidden;
|
73
|
+
}
|
74
|
+
.tooltipster-grow.tooltipster-show {
|
75
|
+
-webkit-transform: scale(1,1);
|
76
|
+
-moz-transform: scale(1,1);
|
77
|
+
-o-transform: scale(1,1);
|
78
|
+
-ms-transform: scale(1,1);
|
79
|
+
transform: scale(1,1);
|
80
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
81
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
82
|
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
83
|
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
84
|
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
85
|
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
86
|
+
}
|
87
|
+
|
88
|
+
/* swing */
|
89
|
+
|
90
|
+
.tooltipster-swing {
|
91
|
+
opacity: 0;
|
92
|
+
-webkit-transform: rotateZ(4deg);
|
93
|
+
-moz-transform: rotateZ(4deg);
|
94
|
+
-o-transform: rotateZ(4deg);
|
95
|
+
-ms-transform: rotateZ(4deg);
|
96
|
+
transform: rotateZ(4deg);
|
97
|
+
-webkit-transition-property: -webkit-transform, opacity;
|
98
|
+
-moz-transition-property: -moz-transform;
|
99
|
+
-o-transition-property: -o-transform;
|
100
|
+
-ms-transition-property: -ms-transform;
|
101
|
+
transition-property: transform;
|
102
|
+
}
|
103
|
+
.tooltipster-swing.tooltipster-show {
|
104
|
+
opacity: 1;
|
105
|
+
-webkit-transform: rotateZ(0deg);
|
106
|
+
-moz-transform: rotateZ(0deg);
|
107
|
+
-o-transform: rotateZ(0deg);
|
108
|
+
-ms-transform: rotateZ(0deg);
|
109
|
+
transform: rotateZ(0deg);
|
110
|
+
-webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);
|
111
|
+
-webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
112
|
+
-moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
113
|
+
-ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
114
|
+
-o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
115
|
+
transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
116
|
+
}
|
117
|
+
|
118
|
+
/* fall */
|
119
|
+
|
120
|
+
.tooltipster-fall {
|
121
|
+
-webkit-transition-property: top;
|
122
|
+
-moz-transition-property: top;
|
123
|
+
-o-transition-property: top;
|
124
|
+
-ms-transition-property: top;
|
125
|
+
transition-property: top;
|
126
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
127
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
128
|
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
129
|
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
130
|
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
131
|
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
132
|
+
}
|
133
|
+
.tooltipster-fall.tooltipster-initial {
|
134
|
+
top: 0 !important;
|
135
|
+
}
|
136
|
+
.tooltipster-fall.tooltipster-show {
|
137
|
+
}
|
138
|
+
.tooltipster-fall.tooltipster-dying {
|
139
|
+
-webkit-transition-property: all;
|
140
|
+
-moz-transition-property: all;
|
141
|
+
-o-transition-property: all;
|
142
|
+
-ms-transition-property: all;
|
143
|
+
transition-property: all;
|
144
|
+
top: 0 !important;
|
145
|
+
opacity: 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
/* slide */
|
149
|
+
|
150
|
+
.tooltipster-slide {
|
151
|
+
-webkit-transition-property: left;
|
152
|
+
-moz-transition-property: left;
|
153
|
+
-o-transition-property: left;
|
154
|
+
-ms-transition-property: left;
|
155
|
+
transition-property: left;
|
156
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
157
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
158
|
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
159
|
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
160
|
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
161
|
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
162
|
+
}
|
163
|
+
.tooltipster-slide.tooltipster-initial {
|
164
|
+
left: -40px !important;
|
165
|
+
}
|
166
|
+
.tooltipster-slide.tooltipster-show {
|
167
|
+
}
|
168
|
+
.tooltipster-slide.tooltipster-dying {
|
169
|
+
-webkit-transition-property: all;
|
170
|
+
-moz-transition-property: all;
|
171
|
+
-o-transition-property: all;
|
172
|
+
-ms-transition-property: all;
|
173
|
+
transition-property: all;
|
174
|
+
left: 0 !important;
|
175
|
+
opacity: 0;
|
176
|
+
}
|
177
|
+
|
178
|
+
/* Update animations */
|
179
|
+
|
180
|
+
/* We use animations rather than transitions here because
|
181
|
+
transition durations may be specified in the style tag due to
|
182
|
+
animationDuration, and we try to avoid collisions and the use
|
183
|
+
of !important */
|
184
|
+
|
185
|
+
/* fade */
|
186
|
+
|
187
|
+
@keyframes tooltipster-fading {
|
188
|
+
0% {
|
189
|
+
opacity: 0;
|
190
|
+
}
|
191
|
+
100% {
|
192
|
+
opacity: 1;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
.tooltipster-update-fade {
|
197
|
+
animation: tooltipster-fading 400ms;
|
198
|
+
}
|
199
|
+
|
200
|
+
/* rotate */
|
201
|
+
|
202
|
+
@keyframes tooltipster-rotating {
|
203
|
+
25% {
|
204
|
+
transform: rotate(-2deg);
|
205
|
+
}
|
206
|
+
75% {
|
207
|
+
transform: rotate(2deg);
|
208
|
+
}
|
209
|
+
100% {
|
210
|
+
transform: rotate(0);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
.tooltipster-update-rotate {
|
215
|
+
animation: tooltipster-rotating 600ms;
|
216
|
+
}
|
217
|
+
|
218
|
+
/* scale */
|
219
|
+
|
220
|
+
@keyframes tooltipster-scaling {
|
221
|
+
50% {
|
222
|
+
transform: scale(1.1);
|
223
|
+
}
|
224
|
+
100% {
|
225
|
+
transform: scale(1);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.tooltipster-update-scale {
|
230
|
+
animation: tooltipster-scaling 600ms;
|
231
|
+
}
|
232
|
+
|
233
|
+
/**
|
234
|
+
* DEFAULT STYLE OF THE SIDETIP PLUGIN
|
235
|
+
*
|
236
|
+
* All styles are "namespaced" with .tooltipster-sidetip to prevent
|
237
|
+
* conflicts between plugins.
|
238
|
+
*/
|
239
|
+
|
240
|
+
/* .tooltipster-box */
|
241
|
+
|
242
|
+
.tooltipster-sidetip .tooltipster-box {
|
243
|
+
background: #565656;
|
244
|
+
border: 2px solid black;
|
245
|
+
border-radius: 4px;
|
246
|
+
}
|
247
|
+
|
248
|
+
.tooltipster-sidetip.tooltipster-bottom .tooltipster-box {
|
249
|
+
margin-top: 8px;
|
250
|
+
}
|
251
|
+
|
252
|
+
.tooltipster-sidetip.tooltipster-left .tooltipster-box {
|
253
|
+
margin-right: 8px;
|
254
|
+
}
|
255
|
+
|
256
|
+
.tooltipster-sidetip.tooltipster-right .tooltipster-box {
|
257
|
+
margin-left: 8px;
|
258
|
+
}
|
259
|
+
|
260
|
+
.tooltipster-sidetip.tooltipster-top .tooltipster-box {
|
261
|
+
margin-bottom: 8px;
|
262
|
+
}
|
263
|
+
|
264
|
+
/* .tooltipster-content */
|
265
|
+
|
266
|
+
.tooltipster-sidetip .tooltipster-content {
|
267
|
+
color: white;
|
268
|
+
line-height: 18px;
|
269
|
+
padding: 6px 14px;
|
270
|
+
}
|
271
|
+
|
272
|
+
/* .tooltipster-arrow : will keep only the zone of .tooltipster-arrow-uncropped that
|
273
|
+
corresponds to the arrow we want to display */
|
274
|
+
|
275
|
+
.tooltipster-sidetip .tooltipster-arrow {
|
276
|
+
overflow: hidden;
|
277
|
+
position: absolute;
|
278
|
+
}
|
279
|
+
|
280
|
+
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow {
|
281
|
+
height: 10px;
|
282
|
+
/* half the width, for centering */
|
283
|
+
margin-left: -10px;
|
284
|
+
top: 0;
|
285
|
+
width: 20px;
|
286
|
+
}
|
287
|
+
|
288
|
+
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow {
|
289
|
+
height: 20px;
|
290
|
+
margin-top: -10px;
|
291
|
+
right: 0;
|
292
|
+
/* top 0 to keep the arrow from overflowing .tooltipster-base when it has not
|
293
|
+
been positioned yet */
|
294
|
+
top: 0;
|
295
|
+
width: 10px;
|
296
|
+
}
|
297
|
+
|
298
|
+
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow {
|
299
|
+
height: 20px;
|
300
|
+
margin-top: -10px;
|
301
|
+
left: 0;
|
302
|
+
/* same as .tooltipster-left .tooltipster-arrow */
|
303
|
+
top: 0;
|
304
|
+
width: 10px;
|
305
|
+
}
|
306
|
+
|
307
|
+
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow {
|
308
|
+
bottom: 0;
|
309
|
+
height: 10px;
|
310
|
+
margin-left: -10px;
|
311
|
+
width: 20px;
|
312
|
+
}
|
313
|
+
|
314
|
+
/* common rules between .tooltipster-arrow-background and .tooltipster-arrow-border */
|
315
|
+
|
316
|
+
.tooltipster-sidetip .tooltipster-arrow-background, .tooltipster-sidetip .tooltipster-arrow-border {
|
317
|
+
height: 0;
|
318
|
+
position: absolute;
|
319
|
+
width: 0;
|
320
|
+
}
|
321
|
+
|
322
|
+
/* .tooltipster-arrow-background */
|
323
|
+
|
324
|
+
.tooltipster-sidetip .tooltipster-arrow-background {
|
325
|
+
border: 10px solid transparent;
|
326
|
+
}
|
327
|
+
|
328
|
+
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background {
|
329
|
+
border-bottom-color: #565656;
|
330
|
+
left: 0px;
|
331
|
+
top: 3px;
|
332
|
+
}
|
333
|
+
|
334
|
+
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background {
|
335
|
+
border-left-color: #565656;
|
336
|
+
left: -3px;
|
337
|
+
top: 0px;
|
338
|
+
}
|
339
|
+
|
340
|
+
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background {
|
341
|
+
border-right-color: #565656;
|
342
|
+
left: 3px;
|
343
|
+
top: 0px;
|
344
|
+
}
|
345
|
+
|
346
|
+
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background {
|
347
|
+
border-top-color: #565656;
|
348
|
+
left: 0px;
|
349
|
+
top: -3px;
|
350
|
+
}
|
351
|
+
|
352
|
+
/* .tooltipster-arrow-border */
|
353
|
+
|
354
|
+
.tooltipster-sidetip .tooltipster-arrow-border {
|
355
|
+
border: 10px solid transparent;
|
356
|
+
left: 0;
|
357
|
+
top: 0;
|
358
|
+
}
|
359
|
+
|
360
|
+
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border {
|
361
|
+
border-bottom-color: black;
|
362
|
+
}
|
363
|
+
|
364
|
+
.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border {
|
365
|
+
border-left-color: black;
|
366
|
+
}
|
367
|
+
|
368
|
+
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border {
|
369
|
+
border-right-color: black;
|
370
|
+
}
|
371
|
+
|
372
|
+
.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border {
|
373
|
+
border-top-color: black;
|
374
|
+
}
|
375
|
+
|
376
|
+
/* tooltipster-arrow-uncropped */
|
377
|
+
|
378
|
+
.tooltipster-sidetip .tooltipster-arrow-uncropped {
|
379
|
+
position: relative;
|
380
|
+
}
|
381
|
+
|
382
|
+
.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped {
|
383
|
+
top: -10px;
|
384
|
+
}
|
385
|
+
|
386
|
+
.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped {
|
387
|
+
left: -10px;
|
388
|
+
}
|
@@ -0,0 +1 @@
|
|
1
|
+
.tooltipster-fall,.tooltipster-grow.tooltipster-show{-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-base{display:flex;pointer-events:none;position:absolute}.tooltipster-box{flex:1 1 auto}.tooltipster-content{box-sizing:border-box;max-height:100%;max-width:100%;overflow:auto}.tooltipster-ruler{bottom:0;left:0;overflow:hidden;position:fixed;right:0;top:0;visibility:hidden}.tooltipster-fade{opacity:0;-webkit-transition-property:opacity;-moz-transition-property:opacity;-o-transition-property:opacity;-ms-transition-property:opacity;transition-property:opacity}.tooltipster-fade.tooltipster-show{opacity:1}.tooltipster-grow{-webkit-transform:scale(0,0);-moz-transform:scale(0,0);-o-transform:scale(0,0);-ms-transform:scale(0,0);transform:scale(0,0);-webkit-transition-property:-webkit-transform;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform;-webkit-backface-visibility:hidden}.tooltipster-grow.tooltipster-show{-webkit-transform:scale(1,1);-moz-transform:scale(1,1);-o-transform:scale(1,1);-ms-transform:scale(1,1);transform:scale(1,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-swing{opacity:0;-webkit-transform:rotateZ(4deg);-moz-transform:rotateZ(4deg);-o-transform:rotateZ(4deg);-ms-transform:rotateZ(4deg);transform:rotateZ(4deg);-webkit-transition-property:-webkit-transform,opacity;-moz-transition-property:-moz-transform;-o-transition-property:-o-transform;-ms-transition-property:-ms-transform;transition-property:transform}.tooltipster-swing.tooltipster-show{opacity:1;-webkit-transform:rotateZ(0);-moz-transform:rotateZ(0);-o-transform:rotateZ(0);-ms-transform:rotateZ(0);transform:rotateZ(0);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,1);-webkit-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-moz-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-ms-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);-o-transition-timing-function:cubic-bezier(.23,.635,.495,2.4);transition-timing-function:cubic-bezier(.23,.635,.495,2.4)}.tooltipster-fall{-webkit-transition-property:top;-moz-transition-property:top;-o-transition-property:top;-ms-transition-property:top;transition-property:top;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-fall.tooltipster-initial{top:0!important}.tooltipster-fall.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;top:0!important;opacity:0}.tooltipster-slide{-webkit-transition-property:left;-moz-transition-property:left;-o-transition-property:left;-ms-transition-property:left;transition-property:left;-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1);-webkit-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-moz-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-ms-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);-o-transition-timing-function:cubic-bezier(.175,.885,.32,1.15);transition-timing-function:cubic-bezier(.175,.885,.32,1.15)}.tooltipster-slide.tooltipster-initial{left:-40px!important}.tooltipster-slide.tooltipster-dying{-webkit-transition-property:all;-moz-transition-property:all;-o-transition-property:all;-ms-transition-property:all;transition-property:all;left:0!important;opacity:0}@keyframes tooltipster-fading{0%{opacity:0}100%{opacity:1}}.tooltipster-update-fade{animation:tooltipster-fading .4s}@keyframes tooltipster-rotating{25%{transform:rotate(-2deg)}75%{transform:rotate(2deg)}100%{transform:rotate(0)}}.tooltipster-update-rotate{animation:tooltipster-rotating .6s}@keyframes tooltipster-scaling{50%{transform:scale(1.1)}100%{transform:scale(1)}}.tooltipster-update-scale{animation:tooltipster-scaling .6s}.tooltipster-sidetip .tooltipster-box{background:#565656;border:2px solid #000;border-radius:4px}.tooltipster-sidetip.tooltipster-bottom .tooltipster-box{margin-top:8px}.tooltipster-sidetip.tooltipster-left .tooltipster-box{margin-right:8px}.tooltipster-sidetip.tooltipster-right .tooltipster-box{margin-left:8px}.tooltipster-sidetip.tooltipster-top .tooltipster-box{margin-bottom:8px}.tooltipster-sidetip .tooltipster-content{color:#fff;line-height:18px;padding:6px 14px}.tooltipster-sidetip .tooltipster-arrow{overflow:hidden;position:absolute}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow{height:10px;margin-left:-10px;top:0;width:20px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow{height:20px;margin-top:-10px;right:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow{height:20px;margin-top:-10px;left:0;top:0;width:10px}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow{bottom:0;height:10px;margin-left:-10px;width:20px}.tooltipster-sidetip .tooltipster-arrow-background,.tooltipster-sidetip .tooltipster-arrow-border{height:0;position:absolute;width:0}.tooltipster-sidetip .tooltipster-arrow-background{border:10px solid transparent}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-background{border-bottom-color:#565656;left:0;top:3px}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-background{border-left-color:#565656;left:-3px;top:0}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-background{border-right-color:#565656;left:3px;top:0}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-background{border-top-color:#565656;left:0;top:-3px}.tooltipster-sidetip .tooltipster-arrow-border{border:10px solid transparent;left:0;top:0}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-border{border-bottom-color:#000}.tooltipster-sidetip.tooltipster-left .tooltipster-arrow-border{border-left-color:#000}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-border{border-right-color:#000}.tooltipster-sidetip.tooltipster-top .tooltipster-arrow-border{border-top-color:#000}.tooltipster-sidetip .tooltipster-arrow-uncropped{position:relative}.tooltipster-sidetip.tooltipster-bottom .tooltipster-arrow-uncropped{top:-10px}.tooltipster-sidetip.tooltipster-right .tooltipster-arrow-uncropped{left:-10px}
|
@@ -0,0 +1,231 @@
|
|
1
|
+
/* This is the core CSS of Tooltipster */
|
2
|
+
|
3
|
+
/* GENERAL STRUCTURE RULES (do not edit this section) */
|
4
|
+
|
5
|
+
.tooltipster-base {
|
6
|
+
/* this ensures that a constrained height set by functionPosition,
|
7
|
+
if greater that the natural height of the tooltip, will be enforced
|
8
|
+
in browsers that support display:flex */
|
9
|
+
display: flex;
|
10
|
+
pointer-events: none;
|
11
|
+
/* this may be overriden in JS for fixed position origins */
|
12
|
+
position: absolute;
|
13
|
+
}
|
14
|
+
|
15
|
+
.tooltipster-box {
|
16
|
+
/* see .tooltipster-base. flex-shrink 1 is only necessary for IE10-
|
17
|
+
and flex-basis auto for IE11- (at least) */
|
18
|
+
flex: 1 1 auto;
|
19
|
+
}
|
20
|
+
|
21
|
+
.tooltipster-content {
|
22
|
+
/* prevents an overflow if the user adds padding to the div */
|
23
|
+
box-sizing: border-box;
|
24
|
+
/* these make sure we'll be able to detect any overflow */
|
25
|
+
max-height: 100%;
|
26
|
+
max-width: 100%;
|
27
|
+
overflow: auto;
|
28
|
+
}
|
29
|
+
|
30
|
+
.tooltipster-ruler {
|
31
|
+
/* these let us test the size of the tooltip without overflowing the window */
|
32
|
+
bottom: 0;
|
33
|
+
left: 0;
|
34
|
+
overflow: hidden;
|
35
|
+
position: fixed;
|
36
|
+
right: 0;
|
37
|
+
top: 0;
|
38
|
+
visibility: hidden;
|
39
|
+
}
|
40
|
+
|
41
|
+
/* ANIMATIONS */
|
42
|
+
|
43
|
+
/* Open/close animations */
|
44
|
+
|
45
|
+
/* fade */
|
46
|
+
|
47
|
+
.tooltipster-fade {
|
48
|
+
opacity: 0;
|
49
|
+
-webkit-transition-property: opacity;
|
50
|
+
-moz-transition-property: opacity;
|
51
|
+
-o-transition-property: opacity;
|
52
|
+
-ms-transition-property: opacity;
|
53
|
+
transition-property: opacity;
|
54
|
+
}
|
55
|
+
.tooltipster-fade.tooltipster-show {
|
56
|
+
opacity: 1;
|
57
|
+
}
|
58
|
+
|
59
|
+
/* grow */
|
60
|
+
|
61
|
+
.tooltipster-grow {
|
62
|
+
-webkit-transform: scale(0,0);
|
63
|
+
-moz-transform: scale(0,0);
|
64
|
+
-o-transform: scale(0,0);
|
65
|
+
-ms-transform: scale(0,0);
|
66
|
+
transform: scale(0,0);
|
67
|
+
-webkit-transition-property: -webkit-transform;
|
68
|
+
-moz-transition-property: -moz-transform;
|
69
|
+
-o-transition-property: -o-transform;
|
70
|
+
-ms-transition-property: -ms-transform;
|
71
|
+
transition-property: transform;
|
72
|
+
-webkit-backface-visibility: hidden;
|
73
|
+
}
|
74
|
+
.tooltipster-grow.tooltipster-show {
|
75
|
+
-webkit-transform: scale(1,1);
|
76
|
+
-moz-transform: scale(1,1);
|
77
|
+
-o-transform: scale(1,1);
|
78
|
+
-ms-transform: scale(1,1);
|
79
|
+
transform: scale(1,1);
|
80
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
81
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
82
|
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
83
|
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
84
|
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
85
|
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
86
|
+
}
|
87
|
+
|
88
|
+
/* swing */
|
89
|
+
|
90
|
+
.tooltipster-swing {
|
91
|
+
opacity: 0;
|
92
|
+
-webkit-transform: rotateZ(4deg);
|
93
|
+
-moz-transform: rotateZ(4deg);
|
94
|
+
-o-transform: rotateZ(4deg);
|
95
|
+
-ms-transform: rotateZ(4deg);
|
96
|
+
transform: rotateZ(4deg);
|
97
|
+
-webkit-transition-property: -webkit-transform, opacity;
|
98
|
+
-moz-transition-property: -moz-transform;
|
99
|
+
-o-transition-property: -o-transform;
|
100
|
+
-ms-transition-property: -ms-transform;
|
101
|
+
transition-property: transform;
|
102
|
+
}
|
103
|
+
.tooltipster-swing.tooltipster-show {
|
104
|
+
opacity: 1;
|
105
|
+
-webkit-transform: rotateZ(0deg);
|
106
|
+
-moz-transform: rotateZ(0deg);
|
107
|
+
-o-transform: rotateZ(0deg);
|
108
|
+
-ms-transform: rotateZ(0deg);
|
109
|
+
transform: rotateZ(0deg);
|
110
|
+
-webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);
|
111
|
+
-webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
112
|
+
-moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
113
|
+
-ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
114
|
+
-o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
115
|
+
transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
|
116
|
+
}
|
117
|
+
|
118
|
+
/* fall */
|
119
|
+
|
120
|
+
.tooltipster-fall {
|
121
|
+
-webkit-transition-property: top;
|
122
|
+
-moz-transition-property: top;
|
123
|
+
-o-transition-property: top;
|
124
|
+
-ms-transition-property: top;
|
125
|
+
transition-property: top;
|
126
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
127
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
128
|
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
129
|
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
130
|
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
131
|
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
132
|
+
}
|
133
|
+
.tooltipster-fall.tooltipster-initial {
|
134
|
+
top: 0 !important;
|
135
|
+
}
|
136
|
+
.tooltipster-fall.tooltipster-show {
|
137
|
+
}
|
138
|
+
.tooltipster-fall.tooltipster-dying {
|
139
|
+
-webkit-transition-property: all;
|
140
|
+
-moz-transition-property: all;
|
141
|
+
-o-transition-property: all;
|
142
|
+
-ms-transition-property: all;
|
143
|
+
transition-property: all;
|
144
|
+
top: 0 !important;
|
145
|
+
opacity: 0;
|
146
|
+
}
|
147
|
+
|
148
|
+
/* slide */
|
149
|
+
|
150
|
+
.tooltipster-slide {
|
151
|
+
-webkit-transition-property: left;
|
152
|
+
-moz-transition-property: left;
|
153
|
+
-o-transition-property: left;
|
154
|
+
-ms-transition-property: left;
|
155
|
+
transition-property: left;
|
156
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
|
157
|
+
-webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
158
|
+
-moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
159
|
+
-ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
160
|
+
-o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
161
|
+
transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
|
162
|
+
}
|
163
|
+
.tooltipster-slide.tooltipster-initial {
|
164
|
+
left: -40px !important;
|
165
|
+
}
|
166
|
+
.tooltipster-slide.tooltipster-show {
|
167
|
+
}
|
168
|
+
.tooltipster-slide.tooltipster-dying {
|
169
|
+
-webkit-transition-property: all;
|
170
|
+
-moz-transition-property: all;
|
171
|
+
-o-transition-property: all;
|
172
|
+
-ms-transition-property: all;
|
173
|
+
transition-property: all;
|
174
|
+
left: 0 !important;
|
175
|
+
opacity: 0;
|
176
|
+
}
|
177
|
+
|
178
|
+
/* Update animations */
|
179
|
+
|
180
|
+
/* We use animations rather than transitions here because
|
181
|
+
transition durations may be specified in the style tag due to
|
182
|
+
animationDuration, and we try to avoid collisions and the use
|
183
|
+
of !important */
|
184
|
+
|
185
|
+
/* fade */
|
186
|
+
|
187
|
+
@keyframes tooltipster-fading {
|
188
|
+
0% {
|
189
|
+
opacity: 0;
|
190
|
+
}
|
191
|
+
100% {
|
192
|
+
opacity: 1;
|
193
|
+
}
|
194
|
+
}
|
195
|
+
|
196
|
+
.tooltipster-update-fade {
|
197
|
+
animation: tooltipster-fading 400ms;
|
198
|
+
}
|
199
|
+
|
200
|
+
/* rotate */
|
201
|
+
|
202
|
+
@keyframes tooltipster-rotating {
|
203
|
+
25% {
|
204
|
+
transform: rotate(-2deg);
|
205
|
+
}
|
206
|
+
75% {
|
207
|
+
transform: rotate(2deg);
|
208
|
+
}
|
209
|
+
100% {
|
210
|
+
transform: rotate(0);
|
211
|
+
}
|
212
|
+
}
|
213
|
+
|
214
|
+
.tooltipster-update-rotate {
|
215
|
+
animation: tooltipster-rotating 600ms;
|
216
|
+
}
|
217
|
+
|
218
|
+
/* scale */
|
219
|
+
|
220
|
+
@keyframes tooltipster-scaling {
|
221
|
+
50% {
|
222
|
+
transform: scale(1.1);
|
223
|
+
}
|
224
|
+
100% {
|
225
|
+
transform: scale(1);
|
226
|
+
}
|
227
|
+
}
|
228
|
+
|
229
|
+
.tooltipster-update-scale {
|
230
|
+
animation: tooltipster-scaling 600ms;
|
231
|
+
}
|