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.
Files changed (28) hide show
  1. checksums.yaml +7 -0
  2. data/README.md +15 -7
  3. data/lib/tooltipster-rails/version.rb +1 -1
  4. data/tooltipster-rails.gemspec +1 -1
  5. data/vendor/assets/javascripts/plugins/tooltipster/SVG/tooltipster-SVG.js +171 -0
  6. data/vendor/assets/javascripts/plugins/tooltipster/SVG/tooltipster-SVG.min.js +1 -0
  7. data/vendor/assets/javascripts/tooltipster.bundle.js +4223 -0
  8. data/vendor/assets/javascripts/tooltipster.bundle.min.js +2 -0
  9. data/vendor/assets/javascripts/tooltipster.core.js +3299 -0
  10. data/vendor/assets/javascripts/tooltipster.core.min.js +1 -0
  11. data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-borderless.min.css +1 -0
  12. data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min.css +1 -0
  13. data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-noir.min.css +1 -0
  14. data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css +1 -0
  15. data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css +1 -0
  16. data/vendor/assets/stylesheets/plugins/tooltipster/sideTip/tooltipster-sideTip.min.css +1 -0
  17. data/vendor/assets/stylesheets/tooltipster.bundle.css +388 -0
  18. data/vendor/assets/stylesheets/tooltipster.bundle.min.css +1 -0
  19. data/vendor/assets/stylesheets/tooltipster.core.css +231 -0
  20. data/vendor/assets/stylesheets/tooltipster.core.min.css +1 -0
  21. metadata +29 -26
  22. data/vendor/assets/images/tooltipster-rails/map.png +0 -0
  23. data/vendor/assets/javascripts/jquery.tooltipster.min.js +0 -1
  24. data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-light.css +0 -12
  25. data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-noir.css +0 -12
  26. data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-punk.css +0 -12
  27. data/vendor/assets/stylesheets/tooltipster-themes/tooltipster-shadow.css +0 -12
  28. data/vendor/assets/stylesheets/tooltipster.css +0 -274
@@ -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}
metadata CHANGED
@@ -1,46 +1,41 @@
1
1
  --- !ruby/object:Gem::Specification
2
2
  name: tooltipster-rails
3
3
  version: !ruby/object:Gem::Version
4
- version: 3.2.6
5
- prerelease:
4
+ version: 4.1.2
6
5
  platform: ruby
7
6
  authors:
8
7
  - Amund Sivertsen
9
8
  autorequire:
10
9
  bindir: bin
11
10
  cert_chain: []
12
- date: 2014-07-29 00:00:00.000000000 Z
11
+ date: 2016-08-16 00:00:00.000000000 Z
13
12
  dependencies:
14
13
  - !ruby/object:Gem::Dependency
15
14
  name: bundler
16
15
  requirement: !ruby/object:Gem::Requirement
17
- none: false
18
16
  requirements:
19
- - - ~>
17
+ - - "~>"
20
18
  - !ruby/object:Gem::Version
21
19
  version: '1.3'
22
20
  type: :development
23
21
  prerelease: false
24
22
  version_requirements: !ruby/object:Gem::Requirement
25
- none: false
26
23
  requirements:
27
- - - ~>
24
+ - - "~>"
28
25
  - !ruby/object:Gem::Version
29
26
  version: '1.3'
30
27
  - !ruby/object:Gem::Dependency
31
28
  name: rake
32
29
  requirement: !ruby/object:Gem::Requirement
33
- none: false
34
30
  requirements:
35
- - - ! '>='
31
+ - - ">="
36
32
  - !ruby/object:Gem::Version
37
33
  version: '0'
38
34
  type: :development
39
35
  prerelease: false
40
36
  version_requirements: !ruby/object:Gem::Requirement
41
- none: false
42
37
  requirements:
43
- - - ! '>='
38
+ - - ">="
44
39
  - !ruby/object:Gem::Version
45
40
  version: '0'
46
41
  description: Rails 3.1+ Asset Gem for Tooltipster
@@ -50,7 +45,7 @@ executables: []
50
45
  extensions: []
51
46
  extra_rdoc_files: []
52
47
  files:
53
- - .gitignore
48
+ - ".gitignore"
54
49
  - Gemfile
55
50
  - LICENSE.txt
56
51
  - README.md
@@ -59,36 +54,44 @@ files:
59
54
  - lib/tooltipster-rails/engine.rb
60
55
  - lib/tooltipster-rails/version.rb
61
56
  - tooltipster-rails.gemspec
62
- - vendor/assets/images/tooltipster-rails/map.png
63
- - vendor/assets/javascripts/jquery.tooltipster.min.js
64
- - vendor/assets/stylesheets/tooltipster-themes/tooltipster-light.css
65
- - vendor/assets/stylesheets/tooltipster-themes/tooltipster-noir.css
66
- - vendor/assets/stylesheets/tooltipster-themes/tooltipster-punk.css
67
- - vendor/assets/stylesheets/tooltipster-themes/tooltipster-shadow.css
68
- - vendor/assets/stylesheets/tooltipster.css
57
+ - vendor/assets/javascripts/plugins/tooltipster/SVG/tooltipster-SVG.js
58
+ - vendor/assets/javascripts/plugins/tooltipster/SVG/tooltipster-SVG.min.js
59
+ - vendor/assets/javascripts/tooltipster.bundle.js
60
+ - vendor/assets/javascripts/tooltipster.bundle.min.js
61
+ - vendor/assets/javascripts/tooltipster.core.js
62
+ - vendor/assets/javascripts/tooltipster.core.min.js
63
+ - vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-borderless.min.css
64
+ - vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-light.min.css
65
+ - vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-noir.min.css
66
+ - vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-punk.min.css
67
+ - vendor/assets/stylesheets/plugins/tooltipster/sideTip/themes/tooltipster-sideTip-shadow.min.css
68
+ - vendor/assets/stylesheets/plugins/tooltipster/sideTip/tooltipster-sideTip.min.css
69
+ - vendor/assets/stylesheets/tooltipster.bundle.css
70
+ - vendor/assets/stylesheets/tooltipster.bundle.min.css
71
+ - vendor/assets/stylesheets/tooltipster.core.css
72
+ - vendor/assets/stylesheets/tooltipster.core.min.css
69
73
  homepage: ''
70
74
  licenses:
71
- - GPL-3.0
75
+ - MIT
76
+ metadata: {}
72
77
  post_install_message:
73
78
  rdoc_options: []
74
79
  require_paths:
75
80
  - lib
76
81
  required_ruby_version: !ruby/object:Gem::Requirement
77
- none: false
78
82
  requirements:
79
- - - ! '>='
83
+ - - ">="
80
84
  - !ruby/object:Gem::Version
81
85
  version: '0'
82
86
  required_rubygems_version: !ruby/object:Gem::Requirement
83
- none: false
84
87
  requirements:
85
- - - ! '>='
88
+ - - ">="
86
89
  - !ruby/object:Gem::Version
87
90
  version: '0'
88
91
  requirements: []
89
92
  rubyforge_project:
90
- rubygems_version: 1.8.23
93
+ rubygems_version: 2.5.1
91
94
  signing_key:
92
- specification_version: 3
95
+ specification_version: 4
93
96
  summary: Asset pipeline gem for Tooltipster (https://github.com/iamceege/tooltipster)
94
97
  test_files: []
@@ -1 +0,0 @@
1
- /* Tooltipster v3.2.6 */;(function(e,t,n){function s(t,n){this.bodyOverflowX;this.callbacks={hide:[],show:[]};this.checkInterval=null;this.Content;this.$el=e(t);this.$elProxy;this.elProxyPosition;this.enabled=true;this.options=e.extend({},i,n);this.mouseIsOverProxy=false;this.namespace="tooltipster-"+Math.round(Math.random()*1e5);this.Status="hidden";this.timerHide=null;this.timerShow=null;this.$tooltip;this.options.iconTheme=this.options.iconTheme.replace(".","");this.options.theme=this.options.theme.replace(".","");this._init()}function o(t,n){var r=true;e.each(t,function(e,i){if(typeof n[e]==="undefined"||t[e]!==n[e]){r=false;return false}});return r}function f(){return!a&&u}function l(){var e=n.body||n.documentElement,t=e.style,r="transition";if(typeof t[r]=="string"){return true}v=["Moz","Webkit","Khtml","O","ms"],r=r.charAt(0).toUpperCase()+r.substr(1);for(var i=0;i<v.length;i++){if(typeof t[v[i]+r]=="string"){return true}}return false}var r="tooltipster",i={animation:"fade",arrow:true,arrowColor:"",autoClose:true,content:null,contentAsHTML:false,contentCloning:true,debug:true,delay:200,minWidth:0,maxWidth:null,functionInit:function(e,t){},functionBefore:function(e,t){t()},functionReady:function(e,t){},functionAfter:function(e){},icon:"(?)",iconCloning:true,iconDesktop:false,iconTouch:false,iconTheme:"tooltipster-icon",interactive:false,interactiveTolerance:350,multiple:false,offsetX:0,offsetY:0,onlyOne:false,position:"top",positionTracker:false,speed:350,timer:0,theme:"tooltipster-default",touchDevices:true,trigger:"hover",updateAnimation:true};s.prototype={_init:function(){var t=this;if(n.querySelector){if(t.options.content!==null){t._content_set(t.options.content)}else{var r=t.$el.attr("title");if(typeof r==="undefined")r=null;t._content_set(r)}var i=t.options.functionInit.call(t.$el,t.$el,t.Content);if(typeof i!=="undefined")t._content_set(i);t.$el.removeAttr("title").addClass("tooltipstered");if(!u&&t.options.iconDesktop||u&&t.options.iconTouch){if(typeof t.options.icon==="string"){t.$elProxy=e('<span class="'+t.options.iconTheme+'"></span>');t.$elProxy.text(t.options.icon)}else{if(t.options.iconCloning)t.$elProxy=t.options.icon.clone(true);else t.$elProxy=t.options.icon}t.$elProxy.insertAfter(t.$el)}else{t.$elProxy=t.$el}if(t.options.trigger=="hover"){t.$elProxy.on("mouseenter."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=true;t._show()}}).on("mouseleave."+t.namespace,function(){if(!f()||t.options.touchDevices){t.mouseIsOverProxy=false}});if(u&&t.options.touchDevices){t.$elProxy.on("touchstart."+t.namespace,function(){t._showNow()})}}else if(t.options.trigger=="click"){t.$elProxy.on("click."+t.namespace,function(){if(!f()||t.options.touchDevices){t._show()}})}}},_show:function(){var e=this;if(e.Status!="shown"&&e.Status!="appearing"){if(e.options.delay){e.timerShow=setTimeout(function(){if(e.options.trigger=="click"||e.options.trigger=="hover"&&e.mouseIsOverProxy){e._showNow()}},e.options.delay)}else e._showNow()}},_showNow:function(n){var r=this;r.options.functionBefore.call(r.$el,r.$el,function(){if(r.enabled&&r.Content!==null){if(n)r.callbacks.show.push(n);r.callbacks.hide=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;if(r.options.onlyOne){e(".tooltipstered").not(r.$el).each(function(t,n){var r=e(n),i=r.data("tooltipster-ns");e.each(i,function(e,t){var n=r.data(t),i=n.status(),s=n.option("autoClose");if(i!=="hidden"&&i!=="disappearing"&&s){n.hide()}})})}var i=function(){r.Status="shown";e.each(r.callbacks.show,function(e,t){t.call(r.$el)});r.callbacks.show=[]};if(r.Status!=="hidden"){var s=0;if(r.Status==="disappearing"){r.Status="appearing";if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-dying").addClass("tooltipster-"+r.options.animation+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.stop().fadeIn(i)}}else if(r.Status==="shown"){i()}}else{r.Status="appearing";var s=r.options.speed;r.bodyOverflowX=e("body").css("overflow-x");e("body").css("overflow-x","hidden");var o="tooltipster-"+r.options.animation,a="-webkit-transition-duration: "+r.options.speed+"ms; -webkit-animation-duration: "+r.options.speed+"ms; -moz-transition-duration: "+r.options.speed+"ms; -moz-animation-duration: "+r.options.speed+"ms; -o-transition-duration: "+r.options.speed+"ms; -o-animation-duration: "+r.options.speed+"ms; -ms-transition-duration: "+r.options.speed+"ms; -ms-animation-duration: "+r.options.speed+"ms; transition-duration: "+r.options.speed+"ms; animation-duration: "+r.options.speed+"ms;",f=r.options.minWidth?"min-width:"+Math.round(r.options.minWidth)+"px;":"",c=r.options.maxWidth?"max-width:"+Math.round(r.options.maxWidth)+"px;":"",h=r.options.interactive?"pointer-events: auto;":"";r.$tooltip=e('<div class="tooltipster-base '+r.options.theme+'" style="'+f+" "+c+" "+h+" "+a+'"><div class="tooltipster-content"></div></div>');if(l())r.$tooltip.addClass(o);r._content_insert();r.$tooltip.appendTo("body");r.reposition();r.options.functionReady.call(r.$el,r.$el,r.$tooltip);if(l()){r.$tooltip.addClass(o+"-show");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(i)}else{r.$tooltip.css("display","none").fadeIn(r.options.speed,i)}r._interval_set();e(t).on("scroll."+r.namespace+" resize."+r.namespace,function(){r.reposition()});if(r.options.autoClose){e("body").off("."+r.namespace);if(r.options.trigger=="hover"){if(u){setTimeout(function(){e("body").on("touchstart."+r.namespace,function(){r.hide()})},0)}if(r.options.interactive){if(u){r.$tooltip.on("touchstart."+r.namespace,function(e){e.stopPropagation()})}var p=null;r.$elProxy.add(r.$tooltip).on("mouseleave."+r.namespace+"-autoClose",function(){clearTimeout(p);p=setTimeout(function(){r.hide()},r.options.interactiveTolerance)}).on("mouseenter."+r.namespace+"-autoClose",function(){clearTimeout(p)})}else{r.$elProxy.on("mouseleave."+r.namespace+"-autoClose",function(){r.hide()})}}else if(r.options.trigger=="click"){setTimeout(function(){e("body").on("click."+r.namespace+" touchstart."+r.namespace,function(){r.hide()})},0);if(r.options.interactive){r.$tooltip.on("click."+r.namespace+" touchstart."+r.namespace,function(e){e.stopPropagation()})}}}}if(r.options.timer>0){r.timerHide=setTimeout(function(){r.timerHide=null;r.hide()},r.options.timer+s)}}})},_interval_set:function(){var t=this;t.checkInterval=setInterval(function(){if(e("body").find(t.$el).length===0||e("body").find(t.$elProxy).length===0||t.Status=="hidden"||e("body").find(t.$tooltip).length===0){if(t.Status=="shown"||t.Status=="appearing")t.hide();t._interval_cancel()}else{if(t.options.positionTracker){var n=t._repositionInfo(t.$elProxy),r=false;if(o(n.dimension,t.elProxyPosition.dimension)){if(t.$elProxy.css("position")==="fixed"){if(o(n.position,t.elProxyPosition.position))r=true}else{if(o(n.offset,t.elProxyPosition.offset))r=true}}if(!r){t.reposition()}}}},200)},_interval_cancel:function(){clearInterval(this.checkInterval);this.checkInterval=null},_content_set:function(e){if(typeof e==="object"&&e!==null&&this.options.contentCloning){e=e.clone(true)}this.Content=e},_content_insert:function(){var e=this,t=this.$tooltip.find(".tooltipster-content");if(typeof e.Content==="string"&&!e.options.contentAsHTML){t.text(e.Content)}else{t.empty().append(e.Content)}},_update:function(e){var t=this;t._content_set(e);if(t.Content!==null){if(t.Status!=="hidden"){t._content_insert();t.reposition();if(t.options.updateAnimation){if(l()){t.$tooltip.css({width:"","-webkit-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-moz-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-o-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms","-ms-transition":"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms",transition:"all "+t.options.speed+"ms, width 0ms, height 0ms, left 0ms, top 0ms"}).addClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!="hidden"){t.$tooltip.removeClass("tooltipster-content-changing");setTimeout(function(){if(t.Status!=="hidden"){t.$tooltip.css({"-webkit-transition":t.options.speed+"ms","-moz-transition":t.options.speed+"ms","-o-transition":t.options.speed+"ms","-ms-transition":t.options.speed+"ms",transition:t.options.speed+"ms"})}},t.options.speed)}},t.options.speed)}else{t.$tooltip.fadeTo(t.options.speed,.5,function(){if(t.Status!="hidden"){t.$tooltip.fadeTo(t.options.speed,1)}})}}}}else{t.hide()}},_repositionInfo:function(e){return{dimension:{height:e.outerHeight(false),width:e.outerWidth(false)},offset:e.offset(),position:{left:parseInt(e.css("left")),top:parseInt(e.css("top"))}}},hide:function(n){var r=this;if(n)r.callbacks.hide.push(n);r.callbacks.show=[];clearTimeout(r.timerShow);r.timerShow=null;clearTimeout(r.timerHide);r.timerHide=null;var i=function(){e.each(r.callbacks.hide,function(e,t){t.call(r.$el)});r.callbacks.hide=[]};if(r.Status=="shown"||r.Status=="appearing"){r.Status="disappearing";var s=function(){r.Status="hidden";if(typeof r.Content=="object"&&r.Content!==null){r.Content.detach()}r.$tooltip.remove();r.$tooltip=null;e(t).off("."+r.namespace);e("body").off("."+r.namespace).css("overflow-x",r.bodyOverflowX);e("body").off("."+r.namespace);r.$elProxy.off("."+r.namespace+"-autoClose");r.options.functionAfter.call(r.$el,r.$el);i()};if(l()){r.$tooltip.clearQueue().removeClass("tooltipster-"+r.options.animation+"-show").addClass("tooltipster-dying");if(r.options.speed>0)r.$tooltip.delay(r.options.speed);r.$tooltip.queue(s)}else{r.$tooltip.stop().fadeOut(r.options.speed,s)}}else if(r.Status=="hidden"){i()}return r},show:function(e){this._showNow(e);return this},update:function(e){return this.content(e)},content:function(e){if(typeof e==="undefined"){return this.Content}else{this._update(e);return this}},reposition:function(){var n=this;if(e("body").find(n.$tooltip).length!==0){n.$tooltip.css("width","");n.elProxyPosition=n._repositionInfo(n.$elProxy);var r=null,i=e(t).width(),s=n.elProxyPosition,o=n.$tooltip.outerWidth(false),u=n.$tooltip.innerWidth()+1,a=n.$tooltip.outerHeight(false);if(n.$elProxy.is("area")){var f=n.$elProxy.attr("shape"),l=n.$elProxy.parent().attr("name"),c=e('img[usemap="#'+l+'"]'),h=c.offset().left,p=c.offset().top,d=n.$elProxy.attr("coords")!==undefined?n.$elProxy.attr("coords").split(","):undefined;if(f=="circle"){var v=parseInt(d[0]),m=parseInt(d[1]),g=parseInt(d[2]);s.dimension.height=g*2;s.dimension.width=g*2;s.offset.top=p+m-g;s.offset.left=h+v-g}else if(f=="rect"){var v=parseInt(d[0]),m=parseInt(d[1]),y=parseInt(d[2]),b=parseInt(d[3]);s.dimension.height=b-m;s.dimension.width=y-v;s.offset.top=p+m;s.offset.left=h+v}else if(f=="poly"){var w=[],E=[],S=0,x=0,T=0,N=0,C="even";for(var k=0;k<d.length;k++){var L=parseInt(d[k]);if(C=="even"){if(L>T){T=L;if(k===0){S=T}}if(L<S){S=L}C="odd"}else{if(L>N){N=L;if(k==1){x=N}}if(L<x){x=L}C="even"}}s.dimension.height=N-x;s.dimension.width=T-S;s.offset.top=p+x;s.offset.left=h+S}else{s.dimension.height=c.outerHeight(false);s.dimension.width=c.outerWidth(false);s.offset.top=p;s.offset.left=h}}var A=0,O=0,M=0,_=parseInt(n.options.offsetY),D=parseInt(n.options.offsetX),P=n.options.position;function H(){var n=e(t).scrollLeft();if(A-n<0){r=A-n;A=n}if(A+o-n>i){r=A-(i+n-o);A=i+n-o}}function B(n,r){if(s.offset.top-e(t).scrollTop()-a-_-12<0&&r.indexOf("top")>-1){P=n}if(s.offset.top+s.dimension.height+a+12+_>e(t).scrollTop()+e(t).height()&&r.indexOf("bottom")>-1){P=n;M=s.offset.top-a-_-12}}if(P=="top"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left+D-j/2;M=s.offset.top-a-_-12;H();B("bottom","top")}if(P=="top-left"){A=s.offset.left+D;M=s.offset.top-a-_-12;H();B("bottom-left","top-left")}if(P=="top-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top-a-_-12;H();B("bottom-right","top-right")}if(P=="bottom"){var j=s.offset.left+o-(s.offset.left+s.dimension.width);A=s.offset.left-j/2+D;M=s.offset.top+s.dimension.height+_+12;H();B("top","bottom")}if(P=="bottom-left"){A=s.offset.left+D;M=s.offset.top+s.dimension.height+_+12;H();B("top-left","bottom-left")}if(P=="bottom-right"){A=s.offset.left+s.dimension.width+D-o;M=s.offset.top+s.dimension.height+_+12;H();B("top-right","bottom-right")}if(P=="left"){A=s.offset.left-D-o-12;O=s.offset.left+D+s.dimension.width+12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A<0&&O+o>i){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=o+A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);A=s.offset.left-D-q-12-I;F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A<0){A=s.offset.left+D+s.dimension.width+12;r="left"}}if(P=="right"){A=s.offset.left+D+s.dimension.width+12;O=s.offset.left-D-o-12;var F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_;if(A+o>i&&O<0){var I=parseFloat(n.$tooltip.css("border-width"))*2,q=i-A-I;n.$tooltip.css("width",q+"px");a=n.$tooltip.outerHeight(false);F=s.offset.top+a-(s.offset.top+s.dimension.height);M=s.offset.top-F/2-_}else if(A+o>i){A=s.offset.left-D-o-12;r="right"}}if(n.options.arrow){var R="tooltipster-arrow-"+P;if(n.options.arrowColor.length<1){var U=n.$tooltip.css("background-color")}else{var U=n.options.arrowColor}if(!r){r=""}else if(r=="left"){R="tooltipster-arrow-right";r=""}else if(r=="right"){R="tooltipster-arrow-left";r=""}else{r="left:"+Math.round(r)+"px;"}if(P=="top"||P=="top-left"||P=="top-right"){var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}else if(P=="bottom"||P=="bottom-left"||P=="bottom-right"){var z=parseFloat(n.$tooltip.css("border-top-width")),W=n.$tooltip.css("border-top-color")}else if(P=="left"){var z=parseFloat(n.$tooltip.css("border-right-width")),W=n.$tooltip.css("border-right-color")}else if(P=="right"){var z=parseFloat(n.$tooltip.css("border-left-width")),W=n.$tooltip.css("border-left-color")}else{var z=parseFloat(n.$tooltip.css("border-bottom-width")),W=n.$tooltip.css("border-bottom-color")}if(z>1){z++}var X="";if(z!==0){var V="",J="border-color: "+W+";";if(R.indexOf("bottom")!==-1){V="margin-top: -"+Math.round(z)+"px;"}else if(R.indexOf("top")!==-1){V="margin-bottom: -"+Math.round(z)+"px;"}else if(R.indexOf("left")!==-1){V="margin-right: -"+Math.round(z)+"px;"}else if(R.indexOf("right")!==-1){V="margin-left: -"+Math.round(z)+"px;"}X='<span class="tooltipster-arrow-border" style="'+V+" "+J+';"></span>'}n.$tooltip.find(".tooltipster-arrow").remove();var K='<div class="'+R+' tooltipster-arrow" style="'+r+'">'+X+'<span style="border-color:'+U+';"></span></div>';n.$tooltip.append(K)}n.$tooltip.css({top:Math.round(M)+"px",left:Math.round(A)+"px"})}return n},enable:function(){this.enabled=true;return this},disable:function(){this.hide();this.enabled=false;return this},destroy:function(){var t=this;t.hide();if(t.$el[0]!==t.$elProxy[0])t.$elProxy.remove();t.$el.removeData(t.namespace).off("."+t.namespace);var n=t.$el.data("tooltipster-ns");if(n.length===1){var r=typeof t.Content==="string"?t.Content:e("<div></div>").append(t.Content).html();t.$el.removeClass("tooltipstered").attr("title",r).removeData(t.namespace).removeData("tooltipster-ns").off("."+t.namespace)}else{n=e.grep(n,function(e,n){return e!==t.namespace});t.$el.data("tooltipster-ns",n)}return t},elementIcon:function(){return this.$el[0]!==this.$elProxy[0]?this.$elProxy[0]:undefined},elementTooltip:function(){return this.$tooltip?this.$tooltip[0]:undefined},option:function(e,t){if(typeof t=="undefined")return this.options[e];else{this.options[e]=t;return this}},status:function(){return this.Status}};e.fn[r]=function(){var t=arguments;if(this.length===0){if(typeof t[0]==="string"){var n=true;switch(t[0]){case"setDefaults":e.extend(i,t[1]);break;default:n=false;break}if(n)return true;else return this}else{return this}}else{if(typeof t[0]==="string"){var r="#*$~&";this.each(function(){var n=e(this).data("tooltipster-ns"),i=n?e(this).data(n[0]):null;if(i){if(typeof i[t[0]]==="function"){var s=i[t[0]](t[1],t[2])}else{throw new Error('Unknown method .tooltipster("'+t[0]+'")')}if(s!==i){r=s;return false}}else{throw new Error("You called Tooltipster's \""+t[0]+'" method on an uninitialized element')}});return r!=="#*$~&"?r:this}else{var o=[],u=t[0]&&typeof t[0].multiple!=="undefined",a=u&&t[0].multiple||!u&&i.multiple,f=t[0]&&typeof t[0].debug!=="undefined",l=f&&t[0].debug||!f&&i.debug;this.each(function(){var n=false,r=e(this).data("tooltipster-ns"),i=null;if(!r){n=true}else if(a){n=true}else if(l){console.log('Tooltipster: one or more tooltips are already attached to this element: ignoring. Use the "multiple" option to attach more tooltips.')}if(n){i=new s(this,t[0]);if(!r)r=[];r.push(i.namespace);e(this).data("tooltipster-ns",r);e(this).data(i.namespace,i)}o.push(i)});if(a)return o;else return this}}};var u=!!("ontouchstart"in t);var a=false;e("body").one("mousemove",function(){a=true})})(jQuery,window,document);
@@ -1,12 +0,0 @@
1
- .tooltipster-light {
2
- border-radius: 5px;
3
- border: 1px solid #cccccc;
4
- background: #ededed;
5
- color: #666666;
6
- }
7
- .tooltipster-light .tooltipster-content {
8
- font-family: Arial, sans-serif;
9
- font-size: 14px;
10
- line-height: 16px;
11
- padding: 8px 10px;
12
- }
@@ -1,12 +0,0 @@
1
- .tooltipster-noir {
2
- border-radius: 0px;
3
- border: 3px solid #2c2c2c;
4
- background: #fff;
5
- color: #2c2c2c;
6
- }
7
- .tooltipster-noir .tooltipster-content {
8
- font-family: 'Georgia', serif;
9
- font-size: 14px;
10
- line-height: 16px;
11
- padding: 8px 10px;
12
- }
@@ -1,12 +0,0 @@
1
- .tooltipster-punk {
2
- border-radius: 5px;
3
- border-bottom: 3px solid #f71169;
4
- background: #2a2a2a;
5
- color: #fff;
6
- }
7
- .tooltipster-punk .tooltipster-content {
8
- font-family: 'Courier', monospace;
9
- font-size: 14px;
10
- line-height: 16px;
11
- padding: 8px 10px;
12
- }
@@ -1,12 +0,0 @@
1
- .tooltipster-shadow {
2
- border-radius: 5px;
3
- background: #fff;
4
- box-shadow: 0px 0px 14px rgba(0,0,0,0.3);
5
- color: #2c2c2c;
6
- }
7
- .tooltipster-shadow .tooltipster-content {
8
- font-family: 'Arial', sans-serif;
9
- font-size: 14px;
10
- line-height: 16px;
11
- padding: 8px 10px;
12
- }
@@ -1,274 +0,0 @@
1
- /* This is the default Tooltipster theme (feel free to modify or duplicate and create multiple themes!): */
2
- .tooltipster-default {
3
- border-radius: 5px;
4
- border: 2px solid #000;
5
- background: #4c4c4c;
6
- color: #fff;
7
- }
8
-
9
- /* Use this next selector to style things like font-size and line-height: */
10
- .tooltipster-default .tooltipster-content {
11
- font-family: Arial, sans-serif;
12
- font-size: 14px;
13
- line-height: 16px;
14
- padding: 8px 10px;
15
- overflow: hidden;
16
- }
17
-
18
- /* This next selector defines the color of the border on the outside of the arrow. This will automatically match the color and size of the border set on the main tooltip styles. Set display: none; if you would like a border around the tooltip but no border around the arrow */
19
- .tooltipster-default .tooltipster-arrow .tooltipster-arrow-border {
20
- /* border-color: ... !important; */
21
- }
22
-
23
-
24
- /* If you're using the icon option, use this next selector to style them */
25
- .tooltipster-icon {
26
- cursor: help;
27
- margin-left: 4px;
28
- }
29
-
30
-
31
-
32
-
33
-
34
-
35
-
36
-
37
- /* This is the base styling required to make all Tooltipsters work */
38
- .tooltipster-base {
39
- padding: 0;
40
- font-size: 0;
41
- line-height: 0;
42
- position: absolute;
43
- left: 0;
44
- top: 0;
45
- z-index: 9999999;
46
- pointer-events: none;
47
- width: auto;
48
- overflow: visible;
49
- }
50
- .tooltipster-base .tooltipster-content {
51
- overflow: hidden;
52
- }
53
-
54
-
55
- /* These next classes handle the styles for the little arrow attached to the tooltip. By default, the arrow will inherit the same colors and border as what is set on the main tooltip itself. */
56
- .tooltipster-arrow {
57
- display: block;
58
- text-align: center;
59
- width: 100%;
60
- height: 100%;
61
- position: absolute;
62
- top: 0;
63
- left: 0;
64
- z-index: -1;
65
- }
66
- .tooltipster-arrow span, .tooltipster-arrow-border {
67
- display: block;
68
- width: 0;
69
- height: 0;
70
- position: absolute;
71
- }
72
- .tooltipster-arrow-top span, .tooltipster-arrow-top-right span, .tooltipster-arrow-top-left span {
73
- border-left: 8px solid transparent !important;
74
- border-right: 8px solid transparent !important;
75
- border-top: 8px solid;
76
- bottom: -7px;
77
- }
78
- .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-top-left .tooltipster-arrow-border {
79
- border-left: 9px solid transparent !important;
80
- border-right: 9px solid transparent !important;
81
- border-top: 9px solid;
82
- bottom: -7px;
83
- }
84
-
85
- .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom-right span, .tooltipster-arrow-bottom-left span {
86
- border-left: 8px solid transparent !important;
87
- border-right: 8px solid transparent !important;
88
- border-bottom: 8px solid;
89
- top: -7px;
90
- }
91
- .tooltipster-arrow-bottom .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
92
- border-left: 9px solid transparent !important;
93
- border-right: 9px solid transparent !important;
94
- border-bottom: 9px solid;
95
- top: -7px;
96
- }
97
- .tooltipster-arrow-top span, .tooltipster-arrow-top .tooltipster-arrow-border, .tooltipster-arrow-bottom span, .tooltipster-arrow-bottom .tooltipster-arrow-border {
98
- left: 0;
99
- right: 0;
100
- margin: 0 auto;
101
- }
102
- .tooltipster-arrow-top-left span, .tooltipster-arrow-bottom-left span {
103
- left: 6px;
104
- }
105
- .tooltipster-arrow-top-left .tooltipster-arrow-border, .tooltipster-arrow-bottom-left .tooltipster-arrow-border {
106
- left: 5px;
107
- }
108
- .tooltipster-arrow-top-right span, .tooltipster-arrow-bottom-right span {
109
- right: 6px;
110
- }
111
- .tooltipster-arrow-top-right .tooltipster-arrow-border, .tooltipster-arrow-bottom-right .tooltipster-arrow-border {
112
- right: 5px;
113
- }
114
- .tooltipster-arrow-left span, .tooltipster-arrow-left .tooltipster-arrow-border {
115
- border-top: 8px solid transparent !important;
116
- border-bottom: 8px solid transparent !important;
117
- border-left: 8px solid;
118
- top: 50%;
119
- margin-top: -7px;
120
- right: -7px;
121
- }
122
- .tooltipster-arrow-left .tooltipster-arrow-border {
123
- border-top: 9px solid transparent !important;
124
- border-bottom: 9px solid transparent !important;
125
- border-left: 9px solid;
126
- margin-top: -8px;
127
- }
128
- .tooltipster-arrow-right span, .tooltipster-arrow-right .tooltipster-arrow-border {
129
- border-top: 8px solid transparent !important;
130
- border-bottom: 8px solid transparent !important;
131
- border-right: 8px solid;
132
- top: 50%;
133
- margin-top: -7px;
134
- left: -7px;
135
- }
136
- .tooltipster-arrow-right .tooltipster-arrow-border {
137
- border-top: 9px solid transparent !important;
138
- border-bottom: 9px solid transparent !important;
139
- border-right: 9px solid;
140
- margin-top: -8px;
141
- }
142
-
143
-
144
- /* Some CSS magic for the awesome animations - feel free to make your own custom animations and reference it in your Tooltipster settings! */
145
-
146
- .tooltipster-fade {
147
- opacity: 0;
148
- -webkit-transition-property: opacity;
149
- -moz-transition-property: opacity;
150
- -o-transition-property: opacity;
151
- -ms-transition-property: opacity;
152
- transition-property: opacity;
153
- }
154
- .tooltipster-fade-show {
155
- opacity: 1;
156
- }
157
-
158
- .tooltipster-grow {
159
- -webkit-transform: scale(0,0);
160
- -moz-transform: scale(0,0);
161
- -o-transform: scale(0,0);
162
- -ms-transform: scale(0,0);
163
- transform: scale(0,0);
164
- -webkit-transition-property: -webkit-transform;
165
- -moz-transition-property: -moz-transform;
166
- -o-transition-property: -o-transform;
167
- -ms-transition-property: -ms-transform;
168
- transition-property: transform;
169
- -webkit-backface-visibility: hidden;
170
- }
171
- .tooltipster-grow-show {
172
- -webkit-transform: scale(1,1);
173
- -moz-transform: scale(1,1);
174
- -o-transform: scale(1,1);
175
- -ms-transform: scale(1,1);
176
- transform: scale(1,1);
177
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
178
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
179
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
180
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
181
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
182
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
183
- }
184
-
185
- .tooltipster-swing {
186
- opacity: 0;
187
- -webkit-transform: rotateZ(4deg);
188
- -moz-transform: rotateZ(4deg);
189
- -o-transform: rotateZ(4deg);
190
- -ms-transform: rotateZ(4deg);
191
- transform: rotateZ(4deg);
192
- -webkit-transition-property: -webkit-transform, opacity;
193
- -moz-transition-property: -moz-transform;
194
- -o-transition-property: -o-transform;
195
- -ms-transition-property: -ms-transform;
196
- transition-property: transform;
197
- }
198
- .tooltipster-swing-show {
199
- opacity: 1;
200
- -webkit-transform: rotateZ(0deg);
201
- -moz-transform: rotateZ(0deg);
202
- -o-transform: rotateZ(0deg);
203
- -ms-transform: rotateZ(0deg);
204
- transform: rotateZ(0deg);
205
- -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 1);
206
- -webkit-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
207
- -moz-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
208
- -ms-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
209
- -o-transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
210
- transition-timing-function: cubic-bezier(0.230, 0.635, 0.495, 2.4);
211
- }
212
-
213
- .tooltipster-fall {
214
- top: 0;
215
- -webkit-transition-property: top;
216
- -moz-transition-property: top;
217
- -o-transition-property: top;
218
- -ms-transition-property: top;
219
- transition-property: top;
220
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
221
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
222
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
223
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
224
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
225
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
226
- }
227
- .tooltipster-fall-show {
228
- }
229
- .tooltipster-fall.tooltipster-dying {
230
- -webkit-transition-property: all;
231
- -moz-transition-property: all;
232
- -o-transition-property: all;
233
- -ms-transition-property: all;
234
- transition-property: all;
235
- top: 0px !important;
236
- opacity: 0;
237
- }
238
-
239
- .tooltipster-slide {
240
- left: -40px;
241
- -webkit-transition-property: left;
242
- -moz-transition-property: left;
243
- -o-transition-property: left;
244
- -ms-transition-property: left;
245
- transition-property: left;
246
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1);
247
- -webkit-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
248
- -moz-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
249
- -ms-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
250
- -o-transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
251
- transition-timing-function: cubic-bezier(0.175, 0.885, 0.320, 1.15);
252
- }
253
- .tooltipster-slide.tooltipster-slide-show {
254
- }
255
- .tooltipster-slide.tooltipster-dying {
256
- -webkit-transition-property: all;
257
- -moz-transition-property: all;
258
- -o-transition-property: all;
259
- -ms-transition-property: all;
260
- transition-property: all;
261
- left: 0px !important;
262
- opacity: 0;
263
- }
264
-
265
-
266
- /* CSS transition for when contenting is changing in a tooltip that is still open. The only properties that will NOT transition are: width, height, top, and left */
267
- .tooltipster-content-changing {
268
- opacity: 0.5;
269
- -webkit-transform: scale(1.1, 1.1);
270
- -moz-transform: scale(1.1, 1.1);
271
- -o-transform: scale(1.1, 1.1);
272
- -ms-transform: scale(1.1, 1.1);
273
- transform: scale(1.1, 1.1);
274
- }