contour 0.7.2 → 0.8.0
Sign up to get free protection for your applications and to get access to all the features.
- data/CHANGELOG.rdoc +15 -0
- data/README.rdoc +2 -4
- data/app/assets/images/contour/gentleface/LICENSE +5 -0
- data/app/assets/images/contour/gentleface/app_window_16.png +0 -0
- data/app/assets/images/contour/gentleface/app_window_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/app_window_32.png +0 -0
- data/app/assets/images/contour/gentleface/app_window_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/chart_line_16.png +0 -0
- data/app/assets/images/contour/gentleface/chart_line_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/chart_line_32.png +0 -0
- data/app/assets/images/contour/gentleface/chart_line_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_checked_16.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_checked_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_checked_32.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_checked_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_unchecked_16.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_unchecked_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_unchecked_32.png +0 -0
- data/app/assets/images/contour/gentleface/checkbox_unchecked_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/clipboard_copy_16.png +0 -0
- data/app/assets/images/contour/gentleface/clipboard_copy_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/clipboard_copy_32.png +0 -0
- data/app/assets/images/contour/gentleface/clipboard_copy_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cog_16.png +0 -0
- data/app/assets/images/contour/gentleface/cog_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cog_32.png +0 -0
- data/app/assets/images/contour/gentleface/cog_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_H_split_16.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_H_split_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_H_split_32.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_H_split_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_16.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_2_16.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_2_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_2_32.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_2_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_32.png +0 -0
- data/app/assets/images/contour/gentleface/cursor_drag_arrow_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/doc_edit_16.png +0 -0
- data/app/assets/images/contour/gentleface/doc_edit_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/doc_edit_32.png +0 -0
- data/app/assets/images/contour/gentleface/doc_edit_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/doc_new_16.png +0 -0
- data/app/assets/images/contour/gentleface/doc_new_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/doc_new_32.png +0 -0
- data/app/assets/images/contour/gentleface/doc_new_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/expand_16.png +0 -0
- data/app/assets/images/contour/gentleface/expand_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/expand_32.png +0 -0
- data/app/assets/images/contour/gentleface/expand_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/home_16.png +0 -0
- data/app/assets/images/contour/gentleface/home_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/home_32.png +0 -0
- data/app/assets/images/contour/gentleface/home_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/indent_decrease_16.png +0 -0
- data/app/assets/images/contour/gentleface/indent_decrease_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/indent_decrease_32.png +0 -0
- data/app/assets/images/contour/gentleface/indent_decrease_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/indent_increase_16.png +0 -0
- data/app/assets/images/contour/gentleface/indent_increase_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/indent_increase_32.png +0 -0
- data/app/assets/images/contour/gentleface/indent_increase_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/lightbulb_16.png +0 -0
- data/app/assets/images/contour/gentleface/lightbulb_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/lightbulb_32.png +0 -0
- data/app/assets/images/contour/gentleface/lightbulb_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/list_bullets_16.png +0 -0
- data/app/assets/images/contour/gentleface/list_bullets_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/list_bullets_32.png +0 -0
- data/app/assets/images/contour/gentleface/list_bullets_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_ff_16.png +0 -0
- data/app/assets/images/contour/gentleface/playback_ff_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_ff_32.png +0 -0
- data/app/assets/images/contour/gentleface/playback_ff_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_next_16.png +0 -0
- data/app/assets/images/contour/gentleface/playback_next_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_next_32.png +0 -0
- data/app/assets/images/contour/gentleface/playback_next_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_pause_16.png +0 -0
- data/app/assets/images/contour/gentleface/playback_pause_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_pause_32.png +0 -0
- data/app/assets/images/contour/gentleface/playback_pause_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_play_16.png +0 -0
- data/app/assets/images/contour/gentleface/playback_play_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_play_32.png +0 -0
- data/app/assets/images/contour/gentleface/playback_play_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_prev_16.png +0 -0
- data/app/assets/images/contour/gentleface/playback_prev_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_prev_32.png +0 -0
- data/app/assets/images/contour/gentleface/playback_prev_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_rew_16.png +0 -0
- data/app/assets/images/contour/gentleface/playback_rew_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/playback_rew_32.png +0 -0
- data/app/assets/images/contour/gentleface/playback_rew_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/redo_16.png +0 -0
- data/app/assets/images/contour/gentleface/redo_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/redo_16_q.png +0 -0
- data/app/assets/images/contour/gentleface/redo_16_q_g1.png +0 -0
- data/app/assets/images/contour/gentleface/redo_32.png +0 -0
- data/app/assets/images/contour/gentleface/redo_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/sq_minus_16.png +0 -0
- data/app/assets/images/contour/gentleface/sq_minus_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/sq_minus_32.png +0 -0
- data/app/assets/images/contour/gentleface/sq_minus_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/sq_plus_16.png +0 -0
- data/app/assets/images/contour/gentleface/sq_plus_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/sq_plus_32.png +0 -0
- data/app/assets/images/contour/gentleface/sq_plus_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/trash_16.png +0 -0
- data/app/assets/images/contour/gentleface/trash_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/trash_32.png +0 -0
- data/app/assets/images/contour/gentleface/trash_32_g1.png +0 -0
- data/app/assets/images/contour/gentleface/undo_16.png +0 -0
- data/app/assets/images/contour/gentleface/undo_16_g1.png +0 -0
- data/app/assets/images/contour/gentleface/undo_16_q.png +0 -0
- data/app/assets/images/contour/gentleface/undo_16_q_g1.png +0 -0
- data/app/assets/images/contour/gentleface/undo_32.png +0 -0
- data/app/assets/images/contour/gentleface/undo_32_g1.png +0 -0
- data/app/assets/javascripts/external/jquery.qtip.min.js +13 -0
- data/app/assets/stylesheets/jquery.qtip.css +560 -0
- data/app/controllers/contour/authentications_controller.rb +1 -1
- data/contour.gemspec +2 -2
- data/lib/contour/version.rb +2 -2
- data/lib/generators/templates/omniauth.rb +1 -1
- data/test/dummy/config/initializers/omniauth.rb +1 -1
- metadata +130 -11
data/CHANGELOG.rdoc
CHANGED
@@ -1,3 +1,18 @@
|
|
1
|
+
== 0.8.0
|
2
|
+
|
3
|
+
* Enhancements
|
4
|
+
* Updated to require Rails 3.2.x for ~> 0.8.0
|
5
|
+
* Google Omniauth authentication now uses OpenID protocol
|
6
|
+
# Replace
|
7
|
+
provider :google_apps, OpenID::Store::Filesystem.new('/tmp')
|
8
|
+
# With
|
9
|
+
provider :open_id, OpenID::Store::Filesystem.new('/tmp'), :name => 'google_apps', :identifier => 'https://www.google.com/accounts/o8/id'
|
10
|
+
* Added icons from gentleface.com (see LICENSE in /app/assets/images/contour/gentleface/LICENSE)
|
11
|
+
* Added qTip2, http://craigsworks.com/projects/qtip2/, distributed under http://creativecommons.org/licenses/by/3.0/
|
12
|
+
|
13
|
+
* Bug Fix
|
14
|
+
* Fixed Rails 3.2.x deprecation warning due to passing the format in the template name for render :template
|
15
|
+
|
1
16
|
== 0.7.2
|
2
17
|
|
3
18
|
* Bug Fix
|
data/README.rdoc
CHANGED
@@ -36,7 +36,7 @@ In order to get registration working, you can use the modified Contour Authentic
|
|
36
36
|
|
37
37
|
== Setting up a new project with quick authentication
|
38
38
|
|
39
|
-
Make sure you have Rails 3.
|
39
|
+
Make sure you have Rails 3.2.0
|
40
40
|
|
41
41
|
rails -v
|
42
42
|
|
@@ -46,9 +46,7 @@ Make sure you have Rails 3.1.3
|
|
46
46
|
|
47
47
|
Modify Gemfile and add
|
48
48
|
|
49
|
-
gem 'contour', '~> 0.
|
50
|
-
gem 'devise' # User Authorization
|
51
|
-
gem 'omniauth' # User Multi-Authentication
|
49
|
+
gem 'contour', '~> 0.8.0' # Basic Layout and Assets
|
52
50
|
|
53
51
|
Run Bundle install
|
54
52
|
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
Binary file
|
@@ -0,0 +1,13 @@
|
|
1
|
+
/*
|
2
|
+
* qTip2 - Pretty powerful tooltips
|
3
|
+
* http://craigsworks.com/projects/qtip2/
|
4
|
+
*
|
5
|
+
* Version: nightly
|
6
|
+
* Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com
|
7
|
+
*
|
8
|
+
* Dual licensed under MIT or GPLv2 licenses
|
9
|
+
* http://en.wikipedia.org/wiki/MIT_License
|
10
|
+
* http://en.wikipedia.org/wiki/GNU_General_Public_License
|
11
|
+
*
|
12
|
+
* Date: Fri Nov 4 13:47:48.0000000000 2011
|
13
|
+
*//*jslint browser: true, onevar: true, undef: true, nomen: true, bitwise: true, regexp: true, newcap: true, immed: true, strict: true *//*global window: false, jQuery: false, console: false */(function(a,b,c){function D(c){var f=this,g=c.options.show.modal,i=c.elements,j=i.tooltip,k="#qtip-overlay",l=".qtipmodal",m=l+c.id,o="is-modal-qtip",q=a(document.body),r;c.checks.modal={"^show.modal.(on|blur)$":function(){f.init(),i.overlay.toggle(j.is(":visible"))}},a.extend(f,{init:function(){if(!g.on)return f;r=f.create(),j.attr(o,d).css("z-index",h.modal.zindex+a(n+"["+o+"]").length).unbind(l).unbind(m).bind("tooltipshow"+l+" tooltiphide"+l,function(b,c,d){var e=b.originalEvent;if(e&&b.type==="tooltiphide"&&/mouse(leave|enter)/.test(e.type)&&a(e.relatedTarget).closest(r[0]).length)try{b.preventDefault()}catch(g){}else(!e||e&&!e.solo)&&f[b.type.replace("tooltip","")](b,d)}).bind("tooltipfocus"+l,function(b){if(!b.isDefaultPrevented()){var c=a(n).filter("["+o+"]"),d=h.modal.zindex+c.length,e=parseInt(j[0].style.zIndex,10);r[0].style.zIndex=d-1,c.each(function(){this.style.zIndex>e&&(this.style.zIndex-=1)}),c.end().filter("."+p).qtip("blur",b.originalEvent),j.addClass(p)[0].style.zIndex=d;try{b.preventDefault()}catch(f){}}}).bind("tooltiphide"+l,function(b){a("["+o+"]").filter(":visible").not(j).last().qtip("focus",b)}),g.escape&&a(b).unbind(m).bind("keydown"+m,function(a){a.keyCode===27&&j.hasClass(p)&&c.hide(a)}),g.blur&&i.overlay.unbind(m).bind("click"+m,function(a){j.hasClass(p)&&c.hide(a)});return f},create:function(){var c=a(k);if(c.length)return i.overlay=c.insertAfter(a(n).last());r=i.overlay=a("<div />",{id:k.substr(1),html:"<div></div>",mousedown:function(){return e}}).insertAfter(a(n).last()),a(b).unbind(l).bind("resize"+l,function(){r.css({height:a(b).height(),width:a(b).width()})}).triggerHandler("resize");return r},toggle:function(b,c,h){if(b&&b.isDefaultPrevented())return f;var i=g.effect,k=c?"show":"hide",l=r.is(":visible"),p=a("["+o+"]").filter(":visible").not(j),s;r||(r=f.create());if(r.is(":animated")&&l===c||!c&&p.length)return f;c?(r.css({left:0,top:0}),r.toggleClass("blurs",g.blur),q.bind("focusin"+m,function(b){var c=a(b.target),d=c.closest(".qtip"),f=d.length<1?e:parseInt(d[0].style.zIndex,10)>parseInt(j[0].style.zIndex,10);!f&&a(b.target).closest(n)[0]!==j[0]&&j.find("input:visible").filter(":first").focus()})):q.undelegate("*","focusin"+m),r.stop(d,e),a.isFunction(i)?i.call(r,c):i===e?r[k]():r.fadeTo(parseInt(h,10)||90,c?1:0,function(){c||a(this).hide()}),c||r.queue(function(a){r.css({left:"",top:""}),a()});return f},show:function(a,b){return f.toggle(a,d,b)},hide:function(a,b){return f.toggle(a,e,b)},destroy:function(){var d=r;d&&(d=a("["+o+"]").not(j).length<1,d?(i.overlay.remove(),a(b).unbind(l)):i.overlay.unbind(l+c.id),q.undelegate("*","focusin"+m));return j.removeAttr(o).unbind(l)}}),f.init()}function C(b,g){function w(a){var b=a.precedance==="y",c=n[b?"width":"height"],d=n[b?"height":"width"],e=a.string().indexOf("center")>-1,f=c*(e?.5:1),g=Math.pow,h=Math.round,i,j,k,l=Math.sqrt(g(f,2)+g(d,2)),m=[p/f*l,p/d*l];m[2]=Math.sqrt(g(m[0],2)-g(p,2)),m[3]=Math.sqrt(g(m[1],2)-g(p,2)),i=l+m[2]+m[3]+(e?0:m[0]),j=i/l,k=[h(j*d),h(j*c)];return{height:k[b?0:1],width:k[b?1:0]}}function v(b){var c=k.titlebar&&b.y==="top",d=c?k.titlebar:k.content,e=a.browser.mozilla,f=e?"-moz-":a.browser.webkit?"-webkit-":"",g=b.y+(e?"":"-")+b.x,h=f+(e?"border-radius-"+g:"border-"+g+"-radius");return parseInt(d.css(h),10)||parseInt(l.css(h),10)||0}function u(a,b,c){b=b?b:a[a.precedance];var d=l.hasClass(r),e=k.titlebar&&a.y==="top",f=e?k.titlebar:k.content,g="border-"+b+"-width",h;l.addClass(r),h=parseInt(f.css(g),10),h=(c?h||parseInt(l.css(g),10):h)||0,l.toggleClass(r,d);return h}function t(f,g,h,l){if(k.tip){var n=a.extend({},i.corner),o=h.adjusted,p=b.options.position.adjust.method.split(" "),q=p[0],r=p[1]||p[0],s={left:e,top:e,x:0,y:0},t,u={},v;i.corner.fixed!==d&&(q==="shift"&&n.precedance==="x"&&o.left&&n.y!=="center"?n.precedance=n.precedance==="x"?"y":"x":q==="flip"&&o.left&&(n.x=n.x==="center"?o.left>0?"left":"right":n.x==="left"?"right":"left"),r==="shift"&&n.precedance==="y"&&o.top&&n.x!=="center"?n.precedance=n.precedance==="y"?"x":"y":r==="flip"&&o.top&&(n.y=n.y==="center"?o.top>0?"top":"bottom":n.y==="top"?"bottom":"top"),n.string()!==m.corner&&(m.top!==o.top||m.left!==o.left)&&i.update(n,e)),t=i.position(n,o),t.right!==c&&(t.left=-t.right),t.bottom!==c&&(t.top=-t.bottom),t.user=Math.max(0,j.offset);if(s.left=q==="shift"&&!!o.left)n.x==="center"?u["margin-left"]=s.x=t["margin-left"]-o.left:(v=t.right!==c?[o.left,-t.left]:[-o.left,t.left],(s.x=Math.max(v[0],v[1]))>v[0]&&(h.left-=o.left,s.left=e),u[t.right!==c?"right":"left"]=s.x);if(s.top=r==="shift"&&!!o.top)n.y==="center"?u["margin-top"]=s.y=t["margin-top"]-o.top:(v=t.bottom!==c?[o.top,-t.top]:[-o.top,t.top],(s.y=Math.max(v[0],v[1]))>v[0]&&(h.top-=o.top,s.top=e),u[t.bottom!==c?"bottom":"top"]=s.y);k.tip.css(u).toggle(!(s.x&&s.y||n.x==="center"&&s.y||n.y==="center"&&s.x)),h.left-=t.left.charAt?t.user:q!=="shift"||s.top||!s.left&&!s.top?t.left:0,h.top-=t.top.charAt?t.user:r!=="shift"||s.left||!s.left&&!s.top?t.top:0,m.left=o.left,m.top=o.top,m.corner=n.string()}}var i=this,j=b.options.style.tip,k=b.elements,l=k.tooltip,m={top:0,left:0,corner:""},n={width:j.width,height:j.height},o={},p=j.border||0,q=".qtip-tip",s=!!(a("<canvas />")[0]||{}).getContext;i.mimic=i.corner=f,i.border=p,i.offset=j.offset,i.size=n,b.checks.tip={"^position.my|style.tip.(corner|mimic|border)$":function(){i.init()||i.destroy(),b.reposition()},"^style.tip.(height|width)$":function(){n={width:j.width,height:j.height},i.create(),i.update(),b.reposition()},"^content.title.text|style.(classes|widget)$":function(){k.tip&&i.update()}},a.extend(i,{init:function(){var b=i.detectCorner()&&(s||a.browser.msie);b&&(i.create(),i.update(),l.unbind(q).bind("tooltipmove"+q,t));return b},detectCorner:function(){var a=j.corner,c=b.options.position,f=c.at,g=c.my.string?c.my.string():c.my;if(a===e||g===e&&f===e)return e;a===d?i.corner=new h.Corner(g):a.string||(i.corner=new h.Corner(a),i.corner.fixed=d);return i.corner.string()!=="centercenter"},detectColours:function(c){var d,e,f,g=k.tip.css("cssText",""),h=c||i.corner,m=h[h.precedance],p="border-"+m+"-color",q="border"+m.charAt(0)+m.substr(1)+"Color",s=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,t="background-color",u="transparent",v=" !important",w=a(document.body).css("color"),x=b.elements.content.css("color"),y=k.titlebar&&(h.y==="top"||h.y==="center"&&g.position().top+n.height/2+j.offset<k.titlebar.outerHeight(1)),z=y?k.titlebar:k.content;l.addClass(r),o.fill=e=g.css(t),o.border=f=g[0].style[q]||g.css(p)||l.css(p);if(!e||s.test(e))o.fill=z.css(t)||u,s.test(o.fill)&&(o.fill=l.css(t)||e);if(!f||s.test(f)||f===w)o.border=z.css(p)||u,s.test(o.border)&&(o.border=f);a("*",g).add(g).css("cssText",t+":"+u+v+";border:0"+v+";"),l.removeClass(r)},create:function(){var b=n.width,c=n.height,d;k.tip&&k.tip.remove(),k.tip=a("<div />",{"class":"ui-tooltip-tip"}).css({width:b,height:c}).prependTo(l),s?a("<canvas />").appendTo(k.tip)[0].getContext("2d").save():(d='<vml:shape coordorigin="0,0" style="display:inline-block; position:absolute; behavior:url(#default#VML);"></vml:shape>',k.tip.html(d+d))},update:function(b,c){var g=k.tip,l=g.children(),m=n.width,q=n.height,r="px solid ",t="px dashed transparent",v=j.mimic,x=Math.round,y,z,A,C,D;b||(b=i.corner),v===e?v=b:(v=new h.Corner(v),v.precedance=b.precedance,v.x==="inherit"?v.x=b.x:v.y==="inherit"?v.y=b.y:v.x===v.y&&(v[b.precedance]=b[b.precedance])),y=v.precedance,i.detectColours(b),o.border!=="transparent"&&o.border!=="#123456"?(p=u(b,f,d),j.border===0&&p>0&&(o.fill=o.border),i.border=p=j.border!==d?j.border:p):i.border=p=0,A=B(v,m,q),i.size=D=w(b),g.css(D),b.precedance==="y"?C=[x(v.x==="left"?p:v.x==="right"?D.width-m-p:(D.width-m)/2),x(v.y==="top"?D.height-q:0)]:C=[x(v.x==="left"?D.width-m:0),x(v.y==="top"?p:v.y==="bottom"?D.height-q-p:(D.height-q)/2)],s?(l.attr(D),z=l[0].getContext("2d"),z.restore(),z.save(),z.clearRect(0,0,3e3,3e3),z.translate(C[0],C[1]),z.beginPath(),z.moveTo(A[0][0],A[0][1]),z.lineTo(A[1][0],A[1][1]),z.lineTo(A[2][0],A[2][1]),z.closePath(),z.fillStyle=o.fill,z.strokeStyle=o.border,z.lineWidth=p*2,z.lineJoin="miter",z.miterLimit=100,p&&z.stroke(),z.fill()):(A="m"+A[0][0]+","+A[0][1]+" l"+A[1][0]+","+A[1][1]+" "+A[2][0]+","+A[2][1]+" xe",C[2]=p&&/^(r|b)/i.test(b.string())?parseFloat(a.browser.version,10)===8?2:1:0,l.css({antialias:""+(v.string().indexOf("center")>-1),left:C[0]-C[2]*Number(y==="x"),top:C[1]-C[2]*Number(y==="y"),width:m+p,height:q+p}).each(function(b){var c=a(this);c[c.prop?"prop":"attr"]({coordsize:m+p+" "+(q+p),path:A,fillcolor:o.fill,filled:!!b,stroked:!b}).css({display:p||b?"block":"none"}),!b&&c.html()===""&&c.html('<vml:stroke weight="'+p*2+'px" color="'+o.border+'" miterlimit="1000" joinstyle="miter" style="behavior:url(#default#VML); display:inline-block;" />')})),c!==e&&i.position(b)},position:function(b){var c=k.tip,f={},g=Math.max(0,j.offset),h,l,m;if(j.corner===e||!c)return e;b=b||i.corner,h=b.precedance,l=w(b),m=[b.x,b.y],h==="x"&&m.reverse(),a.each(m,function(a,c){var e,i;c==="center"?(e=h==="y"?"left":"top",f[e]="50%",f["margin-"+e]=-Math.round(l[h==="y"?"width":"height"]/2)+g):(e=u(b,c,d),i=v(b),f[c]=a?p?u(b,c):0:g+(i>e?i:0))}),f[b[h]]-=l[h==="x"?"width":"height"],c.css({top:"",bottom:"",left:"",right:"",margin:""}).css(f);return f},destroy:function(){k.tip&&k.tip.remove(),l.unbind(q)}}),i.init()}function B(a,b,c){var d=Math.ceil(b/2),e=Math.ceil(c/2),f={bottomright:[[0,0],[b,c],[b,0]],bottomleft:[[0,0],[b,0],[0,c]],topright:[[0,c],[b,0],[b,c]],topleft:[[0,0],[0,c],[b,c]],topcenter:[[0,c],[d,0],[b,c]],bottomcenter:[[0,0],[b,0],[d,c]],rightcenter:[[0,0],[b,e],[0,c]],leftcenter:[[b,0],[b,c],[0,e]]};f.lefttop=f.bottomright,f.righttop=f.bottomleft,f.leftbottom=f.topright,f.rightbottom=f.topleft;return f[a.string()]}function A(b){var c=this,f=b.elements.tooltip,g=b.options.content.ajax,h=".qtip-ajax",i=/<script\b[^<]*(?:(?!<\/script>)<[^<]*)*<\/script>/gi,j=d;b.checks.ajax={"^content.ajax":function(a,b,d){b==="ajax"&&(g=d),b==="once"?c.init():g&&g.url?c.load():f.unbind(h)}},a.extend(c,{init:function(){g&&g.url&&f.unbind(h)[g.once?"one":"bind"]("tooltipshow"+h,c.load);return c},load:function(d,f){function p(a,c,d){a.status!==0&&b.set("content.text",c+": "+d)}function o(c){k&&(c=a("<div/>").append(c.replace(i,"")).find(k)),b.set("content.text",c)}function n(){l&&(b.show(d.originalEvent),f=e),a.isFunction(g.complete)&&g.complete.apply(this,arguments)}var h=g.url.indexOf(" "),j=g.url,k,l=g.once&&!g.loading&&f;if(l)try{d.preventDefault()}catch(m){}else if(d&&d.isDefaultPrevented())return c;h>-1&&(k=j.substr(h),j=j.substr(0,h)),a.ajax(a.extend({success:o,error:p,context:b},g,{url:j,complete:n}))}}),c.init()}function z(b,c){var i,j,k,l,m,n=a(this),o=a(document.body),p=this===document?o:n,q=n.metadata?n.metadata(c.metadata):f,r=c.metadata.type==="html5"&&q?q[c.metadata.name]:f,s=n.data(c.metadata.name||"qtipopts");try{s=typeof s==="string"?(new Function("return "+s))():s}catch(t){w("Unable to parse HTML5 attribute data: "+s)}l=a.extend(d,{},g.defaults,c,typeof s==="object"?x(s):f,x(r||q)),j=l.position,l.id=b;if("boolean"===typeof l.content.text){k=n.attr(l.content.attr);if(l.content.attr!==e&&k)l.content.text=k;else{w("Unable to locate content for tooltip! Aborting render of tooltip on element: ",n);return e}}j.container===e&&(j.container=o),j.target===e&&(j.target=p),l.show.target===e&&(l.show.target=p),l.show.solo===d&&(l.show.solo=o),l.hide.target===e&&(l.hide.target=p),l.position.viewport===d&&(l.position.viewport=j.container),j.at=new h.Corner(j.at),j.my=new h.Corner(j.my);if(a.data(this,"qtip"))if(l.overwrite)n.qtip("destroy");else if(l.overwrite===e)return e;l.suppress&&(m=a.attr(this,"title"))&&a(this).removeAttr("title").attr(u,m),i=new y(n,l,b,!!k),a.data(this,"qtip",i),n.bind("remove.qtip-"+b,function(){i.destroy()});return i}function y(s,t,w,y){function R(){var c=[t.show.target[0],t.hide.target[0],z.rendered&&G.tooltip[0],t.position.container[0],t.position.viewport[0],b,document];z.rendered?a([]).pushStack(a.grep(c,function(a){return typeof a==="object"})).unbind(F):t.show.target.unbind(F+"-create")}function Q(){function p(a){E.is(":visible")&&z.reposition(a)}function o(a){if(E.hasClass(m))return e;clearTimeout(z.timers.inactive),z.timers.inactive=setTimeout(function(){z.hide(a)},t.hide.inactive)}function l(b){if(E.hasClass(m)||C||D)return e;var d=a(b.relatedTarget||b.target),g=d.closest(n)[0]===E[0],h=d[0]===f.show[0];clearTimeout(z.timers.show),clearTimeout(z.timers.hide);if(c.target==="mouse"&&g||t.hide.fixed&&(/mouse(out|leave|move)/.test(b.type)&&(g||h)))try{b.preventDefault(),b.stopImmediatePropagation()}catch(i){}else t.hide.delay>0?z.timers.hide=setTimeout(function(){z.hide(b)},t.hide.delay):z.hide(b)}function k(a){if(E.hasClass(m))return e;clearTimeout(z.timers.show),clearTimeout(z.timers.hide);var b=function(){z.toggle(d,a)};t.show.delay>0?z.timers.show=setTimeout(b,t.show.delay):b()}var c=t.position,f={show:t.show.target,hide:t.hide.target,viewport:a(c.viewport),document:a(document),body:a(document.body),window:a(b)},h={show:a.trim(""+t.show.event).split(" "),hide:a.trim(""+t.hide.event).split(" ")},j=a.browser.msie&&parseInt(a.browser.version,10)===6;E.bind("mouseenter"+F+" mouseleave"+F,function(a){var b=a.type==="mouseenter";b&&z.focus(a),E.toggleClass(q,b)}),t.hide.fixed&&(f.hide=f.hide.add(E),E.bind("mouseover"+F,function(){E.hasClass(m)||clearTimeout(z.timers.hide)})),/mouse(out|leave)/i.test(t.hide.event)?t.hide.leave==="window"&&f.window.bind("mouseout"+F,function(a){/select|option/.test(a.target)&&!a.relatedTarget&&z.hide(a)}):/mouse(over|enter)/i.test(t.show.event)&&f.hide.bind("mouseleave"+F,function(a){clearTimeout(z.timers.show)}),(""+t.hide.event).indexOf("unfocus")>-1&&f.body.bind("mousedown"+F,function(b){var c=a(b.target),d=!E.hasClass(m)&&E.is(":visible");c[0]!==E[0]&&c.parents(n).length===0&&c.add(s).length>1&&!c.attr("disabled")&&z.hide(b)}),"number"===typeof t.hide.inactive&&(f.show.bind("qtip-"+w+"-inactive",o),a.each(g.inactiveEvents,function(a,b){f.hide.add(G.tooltip).bind(b+F+"-inactive",o)})),a.each(h.hide,function(b,c){var d=a.inArray(c,h.show),e=a(f.hide);d>-1&&e.add(f.show).length===e.length||c==="unfocus"?(f.show.bind(c+F,function(a){E.is(":visible")?l(a):k(a)}),delete h.show[d]):f.hide.bind(c+F,l)}),a.each(h.show,function(a,b){f.show.bind(b+F,k)}),"number"===typeof t.hide.distance&&f.show.add(E).bind("mousemove"+F,function(a){var b=H.origin||{},c=t.hide.distance,d=Math.abs;(d(a.pageX-b.pageX)>=c||d(a.pageY-b.pageY)>=c)&&z.hide(a)}),c.target==="mouse"&&(f.show.bind("mousemove"+F,function(a){i={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),c.adjust.mouse&&(t.hide.event&&E.bind("mouseleave"+F,function(a){(a.relatedTarget||a.target)!==f.show[0]&&z.hide(a)}),f.document.bind("mousemove"+F,function(a){!E.hasClass(m)&&E.is(":visible")&&z.reposition(a||i)}))),(c.adjust.resize||f.viewport.length)&&(a.event.special.resize?f.viewport:f.window).bind("resize"+F,p),(f.viewport.length||j&&E.css("position")==="fixed")&&f.viewport.bind("scroll"+F,p)}function P(b,d){function g(b){function i(c){c&&(delete h[c.src],clearTimeout(z.timers.img[c.src]),a(c).unbind(F)),a.isEmptyObject(h)&&(z.redraw(),d!==e&&z.reposition(H.event),b())}var g,h={};if((g=f.find("img:not([height]):not([width])")).length===0)return i();g.each(function(b,d){if(h[d.src]===c){var e=0,f=3;(function g(){if(d.height||d.width||e>f)return i(d);e+=1,z.timers.img[d.src]=setTimeout(g,700)})(),a(d).bind("error"+F+" load"+F,function(){i(this)}),h[d.src]=d}})}var f=G.content;if(!z.rendered||!b)return e;a.isFunction(b)&&(b=b.call(s,H.event,z)||""),b.jquery&&b.length>0?f.empty().append(b.css({display:"block"})):f.html(b),z.rendered<0?E.queue("fx",g):(D=0,g(a.noop));return z}function O(b,c){var d=G.title;if(!z.rendered||!b)return e;a.isFunction(b)&&(b=b.call(s,H.event,z));if(b===e)return K(e);b.jquery&&b.length>0?d.empty().append(b.css({display:"block"})):d.html(b),z.redraw(),c!==e&&z.rendered&&E.is(":visible")&&z.reposition(H.event)}function N(a){var b=G.button,c=G.title;if(!z.rendered)return e;a?(c||M(),L()):b.remove()}function M(){var b=B+"-title";G.titlebar&&K(),G.titlebar=a("<div />",{"class":k+"-titlebar "+(t.style.widget?"ui-widget-header":"")}).append(G.title=a("<div />",{id:b,"class":k+"-title","aria-atomic":d})).insertBefore(G.content).delegate(".ui-tooltip-close","mousedown keydown mouseup keyup mouseout",function(b){a(this).toggleClass("ui-state-active ui-state-focus",b.type.substr(-4)==="down")}).delegate(".ui-tooltip-close","mouseover mouseout",function(b){a(this).toggleClass("ui-state-hover",b.type==="mouseover")}),t.content.title.button?L():z.rendered&&z.redraw()}function L(){var b=t.content.title.button,c=typeof b==="string",d=c?b:"Close tooltip";G.button&&G.button.remove(),b.jquery?G.button=b:G.button=a("<a />",{"class":"ui-state-default ui-tooltip-close "+(t.style.widget?"":k+"-icon"),title:d,"aria-label":d}).prepend(a("<span />",{"class":"ui-icon ui-icon-close",html:"×"})),G.button.appendTo(G.titlebar).attr("role","button").click(function(a){E.hasClass(m)||z.hide(a);return e}),z.redraw()}function K(a){G.title&&(G.titlebar.remove(),G.titlebar=G.title=G.button=f,a!==e&&z.reposition())}function J(){var a=t.style.widget;E.toggleClass(l,a).toggleClass(o,!a),G.content.toggleClass(l+"-content",a),G.titlebar&&G.titlebar.toggleClass(l+"-header",a),G.button&&G.button.toggleClass(k+"-icon",!a)}function I(a){var b=0,c,d=t,e=a.split(".");while(d=d[e[b++]])b<e.length&&(c=d);return[c||t,e.pop()]}var z=this,A=document.body,B=k+"-"+w,C=0,D=0,E=a(),F=".qtip-"+w,G,H;z.id=w,z.rendered=e,z.elements=G={target:s},z.timers={img:{}},z.options=t,z.checks={},z.plugins={},z.cache=H={event:{},target:a(),disabled:e,attr:y},z.checks.builtin={"^id$":function(b,c,f){var h=f===d?g.nextid:f,i=k+"-"+h;h!==e&&h.length>0&&!a("#"+i).length&&(E[0].id=i,G.content[0].id=i+"-content",G.title[0].id=i+"-title")},"^content.text$":function(a,b,c){P(c)},"^content.title.text$":function(a,b,c){if(!c)return K();!G.title&&c&&M(),O(c)},"^content.title.button$":function(a,b,c){N(c)},"^position.(my|at)$":function(a,b,c){"string"===typeof c&&(a[b]=new h.Corner(c))},"^position.container$":function(a,b,c){z.rendered&&E.appendTo(c)},"^show.ready$":function(){z.rendered?z.toggle(d):z.render(1)},"^style.classes$":function(a,b,c){E.attr("class",k+" qtip ui-helper-reset "+c)},"^style.widget|content.title":J,"^events.(render|show|move|hide|focus|blur)$":function(b,c,d){E[(a.isFunction(d)?"":"un")+"bind"]("tooltip"+c,d)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){var a=t.position;E.attr("tracking",a.target==="mouse"&&a.adjust.mouse),R(),Q()}},a.extend(z,{render:function(b){if(z.rendered)return z;var c=t.content.text,f=t.content.title.text,g=t.position,i=a.Event("tooltiprender");a.attr(s[0],"aria-describedby",B),E=G.tooltip=a("<div/>",{id:B,"class":k+" qtip ui-helper-reset "+o+" "+t.style.classes+" "+k+"-pos-"+t.position.my.abbreviation(),width:t.style.width||"",height:t.style.height||"",tracking:g.target==="mouse"&&g.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":e,"aria-describedby":B+"-content","aria-hidden":d}).toggleClass(m,H.disabled).data("qtip",z).appendTo(t.position.container).append(G.content=a("<div />",{"class":k+"-content",id:B+"-content","aria-atomic":d})),z.rendered=-1,C=D=1,f&&(M(),a.isFunction(f)||O(f,e)),a.isFunction(c)||P(c,e),z.rendered=d,J(),a.each(t.events,function(b,c){a.isFunction(c)&&E.bind(b==="toggle"?"tooltipshow tooltiphide":"tooltip"+b,c)}),a.each(h,function(){this.initialize==="render"&&this(z)}),Q(),E.queue("fx",function(a){i.originalEvent=H.event,E.trigger(i,[z]),C=D=0,z.redraw(),(t.show.ready||b)&&z.toggle(d,H.event),a()});return z},get:function(a){var b,c;switch(a.toLowerCase()){case"dimensions":b={height:E.outerHeight(),width:E.outerWidth()};break;case"offset":b=h.offset(E,t.position.container);break;default:c=I(a.toLowerCase()),b=c[0][c[1]],b=b.precedance?b.string():b}return b},set:function(b,c){function m(a,b){var c,d,e;for(c in k)for(d in k[c])if(e=(new RegExp(d,"i")).exec(a))b.push(e),k[c][d].apply(z,b)}var g=/^position\.(my|at|adjust|target|container)|style|content|show\.ready/i,h=/^content\.(title|attr)|style/i,i=e,j=e,k=z.checks,l;"string"===typeof b?(l=b,b={},b[l]=c):b=a.extend(d,{},b),a.each(b,function(c,d){var e=I(c.toLowerCase()),f;f=e[0][e[1]],e[0][e[1]]="object"===typeof d&&d.nodeType?a(d):d,b[c]=[e[0],e[1],d,f],i=g.test(c)||i,j=h.test(c)||j}),x(t),C=D=1,a.each(b,m),C=D=0,E.is(":visible")&&z.rendered&&(i&&z.reposition(t.position.target==="mouse"?f:H.event),j&&z.redraw());return z},toggle:function(b,c){function q(){b?(a.browser.msie&&E[0].style.removeAttribute("filter"),E.css("overflow",""),"string"===typeof h.autofocus&&a(h.autofocus,E).focus(),p=a.Event("tooltipvisible"),p.originalEvent=c?H.event:f,E.trigger(p,[z]),h.target.trigger("qtip-"+w+"-inactive")):E.css({display:"",visibility:"",opacity:"",left:"",top:""})}if(!z.rendered)return b?z.render(1):z;var g=b?"show":"hide",h=t[g],j=E.is(":visible"),k=!c||t[g].target.length<2||H.target[0]===c.target,l=t.position,m=t.content,o,p;(typeof b).search("boolean|number")&&(b=!j);if(!E.is(":animated")&&j===b&&k)return z;if(c){if(/over|enter/.test(c.type)&&/out|leave/.test(H.event.type)&&c.target===t.show.target[0]&&E.has(c.relatedTarget).length)return z;H.event=a.extend({},c)}p=a.Event("tooltip"+g),p.originalEvent=c?H.event:f,E.trigger(p,[z,90]);if(p.isDefaultPrevented())return z;a.attr(E[0],"aria-hidden",!b),b?(H.origin=a.extend({},i),z.focus(c),a.isFunction(m.text)&&P(m.text,e),a.isFunction(m.title.text)&&O(m.title.text,e),!v&&l.target==="mouse"&&l.adjust.mouse&&(a(document).bind("mousemove.qtip",function(a){i={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),v=d),z.reposition(c),(p.solo=!!h.solo)&&a(n,h.solo).not(E).qtip("hide",p)):(clearTimeout(z.timers.show),delete H.origin,v&&!a(n+'[tracking="true"]:visible',h.solo).not(E).length&&(a(document).unbind("mousemove.qtip"),v=e),z.blur(c)),k&&E.stop(0,1),h.effect===e?(E[g](),q.call(E)):a.isFunction(h.effect)?(h.effect.call(E,z),E.queue("fx",function(a){q(),a()})):E.fadeTo(90,b?1:0,q),b&&h.target.trigger("qtip-"+w+"-inactive");return z},show:function(a){return z.toggle(d,a)},hide:function(a){return z.toggle(e,a)},focus:function(b){if(!z.rendered)return z;var c=a(n),d=parseInt(E[0].style.zIndex,10),e=g.zindex+c.length,f=a.extend({},b),h,i;E.hasClass(p)||(i=a.Event("tooltipfocus"),i.originalEvent=f,E.trigger(i,[z,e]),i.isDefaultPrevented()||(d!==e&&(c.each(function(){this.style.zIndex>d&&(this.style.zIndex=this.style.zIndex-1)}),c.filter("."+p).qtip("blur",f)),E.addClass(p)[0].style.zIndex=e));return z},blur:function(b){var c=a.extend({},b),d;E.removeClass(p),d=a.Event("tooltipblur"),d.originalEvent=c,E.trigger(d,[z]);return z},reposition:function(c,d){if(!z.rendered||C)return z;C=1;var f=t.position.target,g=t.position,j=g.my,l=g.at,m=g.adjust,n=m.method.split(" "),o=E.outerWidth(),p=E.outerHeight(),q=0,r=0,s=a.Event("tooltipmove"),u=E.css("position")==="fixed",v=g.viewport,w={left:0,top:0},x=e,y=z.plugins.tip,B={horizontal:n[0],vertical:n[1]=n[1]||n[0],enabled:v.jquery&&f[0]!==b&&f[0]!==A&&m.method!=="none",left:function(a){var b=B.horizontal==="shift",c=v.offset.left+v.scrollLeft,d=j.x==="left"?o:j.x==="right"?-o:-o/2,e=l.x==="left"?q:l.x==="right"?-q:-q/2,f=y&&y.size?y.size.width||0:0,g=y&&y.corner&&y.corner.precedance==="x"&&!b?f:0,h=c-a+g,i=a+o-v.width-c+g,k=d-(j.precedance==="x"||j.x===j.y?e:0),n=j.x==="center";b?(g=y&&y.corner&&y.corner.precedance==="y"?f:0,k=(j.x==="left"?1:-1)*d-g,w.left+=h>0?h:i>0?-i:0,w.left=Math.max(v.offset.left+(g&&y.corner.x==="center"?y.offset:0),a-k,Math.min(Math.max(v.offset.left+v.width,a+k),w.left))):(h>0&&(j.x!=="left"||i>0)?w.left-=k:i>0&&(j.x!=="right"||h>0)&&(w.left-=n?-k:k),w.left!==a&&n&&(w.left-=m.x),w.left<c&&-w.left>i&&(w.left=a));return w.left-a},top:function(a){var b=B.vertical==="shift",c=v.offset.top+v.scrollTop,d=j.y==="top"?p:j.y==="bottom"?-p:-p/2,e=l.y==="top"?r:l.y==="bottom"?-r:-r/2,f=y&&y.size?y.size.height||0:0,g=y&&y.corner&&y.corner.precedance==="y"&&!b?f:0,h=c-a+g,i=a+p-v.height-c+g,k=d-(j.precedance==="y"||j.x===j.y?e:0),n=j.y==="center";b?(g=y&&y.corner&&y.corner.precedance==="x"?f:0,k=(j.y==="top"?1:-1)*d-g,w.top+=h>0?h:i>0?-i:0,w.top=Math.max(v.offset.top+(g&&y.corner.x==="center"?y.offset:0),a-k,Math.min(Math.max(v.offset.top+v.height,a+k),w.top))):(h>0&&(j.y!=="top"||i>0)?w.top-=k:i>0&&(j.y!=="bottom"||h>0)&&(w.top-=n?-k:k),w.top!==a&&n&&(w.top-=m.y),w.top<0&&-w.top>i&&(w.top=a));return w.top-a}},D;if(a.isArray(f)&&f.length===2)l={x:"left",y:"top"},w={left:f[0],top:f[1]};else if(f==="mouse"&&(c&&c.pageX||H.event.pageX))l={x:"left",y:"top"},c=(c&&(c.type==="resize"||c.type==="scroll")?H.event:c&&c.pageX&&c.type==="mousemove"?c:i&&i.pageX&&(m.mouse||!c||!c.pageX)?{pageX:i.pageX,pageY:i.pageY}:!m.mouse&&H.origin&&H.origin.pageX?H.origin:c)||c||H.event||i||{},w={top:c.pageY,left:c.pageX};else{f==="event"?c&&c.target&&c.type!=="scroll"&&c.type!=="resize"?f=H.target=a(c.target):f=H.target:H.target=a(f),f=a(f).eq(0);if(f.length===0)return z;f[0]===document||f[0]===b?(q=h.iOS?b.innerWidth:f.width(),r=h.iOS?b.innerHeight:f.height(),f[0]===b&&(w={top:!u||h.iOS?(v||f).scrollTop():0,left:!u||h.iOS?(v||f).scrollLeft():0})):f.is("area")&&h.imagemap?w=h.imagemap(f,l,B.enabled?n:e):f[0].namespaceURI==="http://www.w3.org/2000/svg"&&h.svg?w=h.svg(f,l):(q=f.outerWidth(),r=f.outerHeight(),w=h.offset(f,g.container)),w.offset&&(q=w.width,r=w.height,x=w.flipoffset,w=w.offset);if(h.iOS<4.1&&h.iOS>3.1||h.iOS==4.3||!h.iOS&&u)D=a(b),w.left-=D.scrollLeft(),w.top-=D.scrollTop();w.left+=l.x==="right"?q:l.x==="center"?q/2:0,w.top+=l.y==="bottom"?r:l.y==="center"?r/2:0}w.left+=m.x+(j.x==="right"?-o:j.x==="center"?-o/2:0),w.top+=m.y+(j.y==="bottom"?-p:j.y==="center"?-p/2:0),B.enabled?(v={elem:v,height:v[(v[0]===b?"h":"outerH")+"eight"](),width:v[(v[0]===b?"w":"outerW")+"idth"](),scrollLeft:u?0:v.scrollLeft(),scrollTop:u?0:v.scrollTop(),offset:v.offset()||{left:0,top:0}},w.adjusted={left:B.horizontal!=="none"?B.left(w.left):0,top:B.vertical!=="none"?B.top(w.top):0},w.adjusted.left+w.adjusted.top&&E.attr("class",function(a,b){return b.replace(/ui-tooltip-pos-\w+/i,k+"-pos-"+j.abbreviation())}),x&&w.adjusted.left&&(w.left+=x.left),x&&w.adjusted.top&&(w.top+=x.top)):w.adjusted={left:0,top:0},s.originalEvent=a.extend({},c),E.trigger(s,[z,w,v.elem||v]);if(s.isDefaultPrevented())return z;delete w.adjusted,d===e||isNaN(w.left)||isNaN(w.top)||f==="mouse"||!a.isFunction(g.effect)?E.css(w):a.isFunction(g.effect)&&(g.effect.call(E,z,a.extend({},w)),E.queue(function(b){a(this).css({opacity:"",height:""}),a.browser.msie&&this.style.removeAttribute("filter"),b()})),C=0;return z},redraw:function(){if(z.rendered<1||D)return z;var a=t.position.container,b,c,d,e;D=1,t.style.height&&E.css("height",t.style.height),t.style.width?E.css("width",t.style.width):(E.css("width","").addClass(r),c=E.width()+1,d=E.css("max-width")||"",e=E.css("min-width")||"",b=(d+e).indexOf("%")>-1?a.width()/100:0,d=(d.indexOf("%")>-1?b:1)*parseInt(d,10)||c,e=(e.indexOf("%")>-1?b:1)*parseInt(e,10)||0,c=d+e?Math.min(Math.max(c,e),d):c,E.css("width",Math.round(c)).removeClass(r)),D=0;return z},disable:function(b){"boolean"!==typeof b&&(b=!E.hasClass(m)&&!H.disabled),z.rendered?(E.toggleClass(m,b),a.attr(E[0],"aria-disabled",b)):H.disabled=!!b;return z},enable:function(){return z.disable(e)},destroy:function(){var b=s[0],c=a.attr(b,u),d=s.data("qtip");z.rendered&&(E.remove(),a.each(z.plugins,function(){this.destroy&&this.destroy()})),clearTimeout(z.timers.show),clearTimeout(z.timers.hide),R();if(!d||z===d)a.removeData(b,"qtip"),t.suppress&&c&&(a.attr(b,"title",c),s.removeAttr(u)),s.removeAttr("aria-describedby");s.unbind(".qtip-"+w),delete j[z.id];return s}})}function x(b){var c;if(!b||"object"!==typeof b)return e;"object"!==typeof b.metadata&&(b.metadata={type:b.metadata});if("content"in b){if("object"!==typeof b.content||b.content.jquery)b.content={text:b.content};c=b.content.text||e,!a.isFunction(c)&&(!c&&!c.attr||c.length<1||"object"===typeof c&&!c.jquery)&&(b.content.text=e),"title"in b.content&&("object"!==typeof b.content.title&&(b.content.title={text:b.content.title}),c=b.content.title.text||e,!a.isFunction(c)&&(!c&&!c.attr||c.length<1||"object"===typeof c&&!c.jquery)&&(b.content.title.text=e))}"position"in b&&("object"!==typeof b.position&&(b.position={my:b.position,at:b.position})),"show"in b&&("object"!==typeof b.show&&(b.show.jquery?b.show={target:b.show}:b.show={event:b.show})),"hide"in b&&("object"!==typeof b.hide&&(b.hide.jquery?b.hide={target:b.hide}:b.hide={event:b.hide})),"style"in b&&("object"!==typeof b.style&&(b.style={classes:b.style})),a.each(h,function(){this.sanitize&&this.sanitize(b)});return b}function w(){w.history=w.history||[],w.history.push(arguments);if("object"===typeof console){var a=console[console.warn?"warn":"log"],b=Array.prototype.slice.call(arguments),c;typeof arguments[0]==="string"&&(b[0]="qTip2: "+b[0]),c=a.apply?a.apply(console,b):a(b)}}"use strict";var d=!0,e=!1,f=null,g,h,i,j={},k="ui-tooltip",l="ui-widget",m="ui-state-disabled",n="div.qtip."+k,o=k+"-default",p=k+"-focus",q=k+"-hover",r=k+"-fluid",s="-31000px",t="_replacedByqTip",u="oldtitle",v;g=a.fn.qtip=function(b,h,i){var j=(""+b).toLowerCase(),k=f,l=j==="disable"?[d]:a.makeArray(arguments).slice(1),m=l[l.length-1],n=this[0]?a.data(this[0],"qtip"):f;if(!arguments.length&&n||j==="api")return n;if("string"===typeof b){this.each(function(){var b=a.data(this,"qtip");if(!b)return d;m&&m.timeStamp&&(b.cache.event=m);if(j!=="option"&&j!=="options"||!h)b[j]&&b[j].apply(b[j],l);else if(a.isPlainObject(h)||i!==c)b.set(h,i);else{k=b.get(h);return e}});return k!==f?k:this}if("object"===typeof b||!arguments.length){n=x(a.extend(d,{},b));return g.bind.call(this,n,m)}},g.bind=function(b,f){return this.each(function(k){function r(b){function d(){p.render(typeof b==="object"||l.show.ready),m.show.add(m.hide).unbind(o)}if(p.cache.disabled)return e;p.cache.event=a.extend({},b),p.cache.target=b?a(b.target):[c],l.show.delay>0?(clearTimeout(p.timers.show),p.timers.show=setTimeout(d,l.show.delay),n.show!==n.hide&&m.hide.bind(n.hide,function(){clearTimeout(p.timers.show)})):d()}var l,m,n,o,p,q;q=a.isArray(b.id)?b.id[k]:b.id,q=!q||q===e||q.length<1||j[q]?g.nextid++:j[q]=q,o=".qtip-"+q+"-create",p=z.call(this,q,b);if(p===e)return d;l=p.options,a.each(h,function(){this.initialize==="initialize"&&this(p)}),m={show:l.show.target,hide:l.hide.target},n={show:a.trim(""+l.show.event).replace(/ /g,o+" ")+o,hide:a.trim(""+l.hide.event).replace(/ /g,o+" ")+o},/mouse(over|enter)/i.test(n.show)&&!/mouse(out|leave)/i.test(n.hide)&&(n.hide+=" mouseleave"+o),m.show.bind("mousemove"+o,function(a){i={pageX:a.pageX,pageY:a.pageY,type:"mousemove"}}),m.show.bind(n.show,r),(l.show.ready||l.prerender)&&r(f)})},h=g.plugins={Corner:function(a){a=(""+a).replace(/([A-Z])/," $1").replace(/middle/gi,"center").toLowerCase(),this.x=(a.match(/left|right/i)||a.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(a.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.precedance=a.charAt(0).search(/^(t|b)/)>-1?"y":"x",this.string=function(){return this.precedance==="y"?this.y+this.x:this.x+this.y},this.abbreviation=function(){var a=this.x.substr(0,1),b=this.y.substr(0,1);return a===b?a:a==="c"||a!=="c"&&b!=="c"?b+a:a+b}},offset:function(a,b){function i(a,b){c.left+=b*a.scrollLeft(),c.top+=b*a.scrollTop()}var c=a.offset(),d=b,e=0,f=document.body,g,h;if(d){do{d.css("position")!=="static"&&(g=d[0]===f?{left:parseInt(d.css("left"),10)||0,top:parseInt(d.css("top"),10)||0}:d.position(),c.left-=g.left+(parseInt(d.css("borderLeftWidth"),10)||0)+(parseInt(d.css("marginLeft"),10)||0),c.top-=g.top+(parseInt(d.css("borderTopWidth"),10)||0),h=d.css("overflow"),(h==="scroll"||h==="auto")&&++e);if(d[0]===f)break}while(d=d.offsetParent());b[0]!==f&&e&&i(b,1)}return c},iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,3})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_","."))||e,fn:{attr:function(b,c){if(this.length){var d=this[0],e="title",f=a.data(d,"qtip");if(b===e&&f&&"object"===typeof f&&f.options.suppress){if(arguments.length<2)return a.attr(d,u);f&&f.options.content.attr===e&&f.cache.attr&&f.set("content.text",c);return this.attr(u,c)}}return a.fn["attr"+t].apply(this,arguments)},clone:function(b){var c=a([]),d="title",e=a.fn["clone"+t].apply(this,arguments);b||e.filter("["+u+"]").attr("title",function(){return a.attr(this,u)}).removeAttr(u);return e},remove:a.ui?f:function(b,c){a.ui||a(this).each(function(){c||(!b||a.filter(b,[this]).length)&&a("*",this).add(this).each(function(){a(this).triggerHandler("remove")})})}}},a.each(h.fn,function(b,c){if(!c||a.fn[b+t])return d;var e=a.fn[b+t]=a.fn[b];a.fn[b]=function(){return c.apply(this,arguments)||e.apply(this,arguments)}}),g.version="nightly",g.nextid=0,g.inactiveEvents="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),g.zindex=15e3,g.defaults={prerender:e,id:e,overwrite:d,suppress:d,content:{text:d,attr:"title",title:{text:e,button:e}},position:{my:"top left",at:"bottom right",target:e,container:e,viewport:e,adjust:{x:0,y:0,mouse:d,resize:d,method:"flip flip"},effect:function(b,c,d){a(this).animate(c,{duration:200,queue:e})}},show:{target:e,event:"mouseenter",effect:d,delay:90,solo:e,ready:e,autofocus:e},hide:{target:e,event:"mouseleave",effect:d,delay:0,fixed:e,inactive:e,leave:"window",distance:e},style:{classes:"",widget:e,width:e,height:e},events:{render:f,move:f,show:f,hide:f,toggle:f,visible:f,focus:f,blur:f}},h.ajax=function(a){var b=a.plugins.ajax;return"object"===typeof b?b:a.plugins.ajax=new A(a)},h.ajax.initialize="render",h.ajax.sanitize=function(a){var b=a.content,c;b&&"ajax"in b&&(c=b.ajax,typeof c!=="object"&&(c=a.content.ajax={url:c}),"boolean"!==typeof c.once&&c.once&&(c.once=!!c.once))},a.extend(d,g.defaults,{content:{ajax:{loading:d,once:d}}}),h.tip=function(a){var b=a.plugins.tip;return"object"===typeof b?b:a.plugins.tip=new C(a)},h.tip.initialize="render",h.tip.sanitize=function(a){var b=a.style,c;b&&"tip"in b&&(c=a.style.tip,typeof c!=="object"&&(a.style.tip={corner:c}),/string|boolean/i.test(typeof c.corner)||(c.corner=d),typeof c.width!=="number"&&delete c.width,typeof c.height!=="number"&&delete c.height,typeof c.border!=="number"&&c.border!==d&&delete c.border,typeof c.offset!=="number"&&delete c.offset)},a.extend(d,g.defaults,{style:{tip:{corner:d,mimic:e,width:6,height:6,border:d,offset:0}}}),h.modal=function(a){var b=a.plugins.modal;return"object"===typeof b?b:a.plugins.modal=new D(a)},h.modal.initialize="render",h.modal.sanitize=function(a){a.show&&(typeof a.show.modal!=="object"?a.show.modal={on:!!a.show.modal}:typeof a.show.modal.on==="undefined"&&(a.show.modal.on=d))},h.modal.zindex=g.zindex-=200,a.extend(d,g.defaults,{show:{modal:{on:e,effect:d,blur:d,escape:d}}})})(jQuery,window)
|
@@ -0,0 +1,560 @@
|
|
1
|
+
/*
|
2
|
+
* qTip2 - Pretty powerful tooltips
|
3
|
+
* http://craigsworks.com/projects/qtip2/
|
4
|
+
*
|
5
|
+
* Version: nightly
|
6
|
+
* Copyright 2009-2010 Craig Michael Thompson - http://craigsworks.com
|
7
|
+
*
|
8
|
+
* Dual licensed under MIT or GPLv2 licenses
|
9
|
+
* http://en.wikipedia.org/wiki/MIT_License
|
10
|
+
* http://en.wikipedia.org/wiki/GNU_General_Public_License
|
11
|
+
*
|
12
|
+
* Date: Fri Nov 4 13:47:48.0000000000 2011
|
13
|
+
*/
|
14
|
+
|
15
|
+
/* Core qTip styles */
|
16
|
+
.ui-tooltip, .qtip{
|
17
|
+
position: absolute;
|
18
|
+
left: -28000px;
|
19
|
+
top: -28000px;
|
20
|
+
display: none;
|
21
|
+
|
22
|
+
/* max-width: 280px;*/
|
23
|
+
max-width: 560px;
|
24
|
+
min-width: 50px;
|
25
|
+
|
26
|
+
font-size: 10.5px;
|
27
|
+
line-height: 12px;
|
28
|
+
|
29
|
+
z-index: 15000;
|
30
|
+
}
|
31
|
+
|
32
|
+
/* Fluid class for determining actual width in IE */
|
33
|
+
.ui-tooltip-fluid{
|
34
|
+
display: block;
|
35
|
+
visibility: hidden;
|
36
|
+
position: static !important;
|
37
|
+
float: left !important;
|
38
|
+
}
|
39
|
+
|
40
|
+
.ui-tooltip-content{
|
41
|
+
position: relative;
|
42
|
+
padding: 5px 9px;
|
43
|
+
overflow: hidden;
|
44
|
+
|
45
|
+
border-width: 1px;
|
46
|
+
border-style: solid;
|
47
|
+
|
48
|
+
text-align: left;
|
49
|
+
word-wrap: break-word;
|
50
|
+
overflow: hidden;
|
51
|
+
}
|
52
|
+
|
53
|
+
.ui-tooltip-titlebar{
|
54
|
+
position: relative;
|
55
|
+
min-height: 14px;
|
56
|
+
padding: 5px 35px 5px 10px;
|
57
|
+
overflow: hidden;
|
58
|
+
|
59
|
+
border-width: 1px 1px 0;
|
60
|
+
border-style: solid;
|
61
|
+
|
62
|
+
font-weight: bold;
|
63
|
+
}
|
64
|
+
|
65
|
+
.ui-tooltip-titlebar + .ui-tooltip-content{ border-top-width: 0px !important; }
|
66
|
+
|
67
|
+
/*! Default close button class */
|
68
|
+
.ui-tooltip-titlebar .ui-state-default{
|
69
|
+
position: absolute;
|
70
|
+
right: 4px;
|
71
|
+
top: 50%;
|
72
|
+
margin-top: -9px;
|
73
|
+
|
74
|
+
cursor: pointer;
|
75
|
+
outline: medium none;
|
76
|
+
|
77
|
+
border-width: 1px;
|
78
|
+
border-style: solid;
|
79
|
+
}
|
80
|
+
|
81
|
+
* html .ui-tooltip-titlebar .ui-state-default{ top: 16px; } /* IE fix */
|
82
|
+
|
83
|
+
.ui-tooltip-titlebar .ui-icon,
|
84
|
+
.ui-tooltip-icon .ui-icon{
|
85
|
+
display: block;
|
86
|
+
text-indent: -1000em;
|
87
|
+
}
|
88
|
+
|
89
|
+
.ui-tooltip-icon, .ui-tooltip-icon .ui-icon{
|
90
|
+
-moz-border-radius: 3px;
|
91
|
+
-webkit-border-radius: 3px;
|
92
|
+
border-radius: 3px;
|
93
|
+
}
|
94
|
+
|
95
|
+
.ui-tooltip-icon .ui-icon{
|
96
|
+
width: 18px;
|
97
|
+
height: 14px;
|
98
|
+
|
99
|
+
text-align: center;
|
100
|
+
text-indent: 0;
|
101
|
+
font: normal bold 10px/13px Tahoma,sans-serif;
|
102
|
+
|
103
|
+
color: inherit;
|
104
|
+
background: transparent none no-repeat -100em -100em;
|
105
|
+
}
|
106
|
+
|
107
|
+
|
108
|
+
/* Applied to 'focused' tooltips e.g. most recently displayed/interacted with */
|
109
|
+
.ui-tooltip-focus{
|
110
|
+
|
111
|
+
}
|
112
|
+
|
113
|
+
/* Applied on hover of tooltips i.e. added/removed on mouseenter/mouseleave respectively */
|
114
|
+
.ui-tooltip-hover{
|
115
|
+
|
116
|
+
}
|
117
|
+
|
118
|
+
|
119
|
+
/*! Default tooltip style */
|
120
|
+
.ui-tooltip-default .ui-tooltip-titlebar,
|
121
|
+
.ui-tooltip-default .ui-tooltip-content{
|
122
|
+
border-color: #F1D031;
|
123
|
+
background-color: #FFFFA3;
|
124
|
+
color: #555;
|
125
|
+
}
|
126
|
+
|
127
|
+
.ui-tooltip-default .ui-tooltip-titlebar{
|
128
|
+
background-color: #FFEF93;
|
129
|
+
}
|
130
|
+
|
131
|
+
.ui-tooltip-default .ui-tooltip-icon{
|
132
|
+
border-color: #CCC;
|
133
|
+
background: #F1F1F1;
|
134
|
+
color: #777;
|
135
|
+
}
|
136
|
+
|
137
|
+
.ui-tooltip-default .ui-tooltip-titlebar .ui-state-hover{
|
138
|
+
border-color: #AAA;
|
139
|
+
color: #111;
|
140
|
+
}
|
141
|
+
|
142
|
+
/* Tips plugin */
|
143
|
+
.ui-tooltip .ui-tooltip-tip{
|
144
|
+
margin: 0 auto;
|
145
|
+
overflow: hidden;
|
146
|
+
z-index: 10;
|
147
|
+
}
|
148
|
+
|
149
|
+
.ui-tooltip .ui-tooltip-tip,
|
150
|
+
.ui-tooltip .ui-tooltip-tip *{
|
151
|
+
position: absolute;
|
152
|
+
|
153
|
+
line-height: 0.1px !important;
|
154
|
+
font-size: 0.1px !important;
|
155
|
+
color: #123456;
|
156
|
+
|
157
|
+
background: transparent;
|
158
|
+
border: 0px dashed transparent;
|
159
|
+
}
|
160
|
+
|
161
|
+
.ui-tooltip .ui-tooltip-tip canvas{ top: 0; left: 0; }
|
162
|
+
|
163
|
+
|
164
|
+
/* Modal plugin */
|
165
|
+
#qtip-overlay{
|
166
|
+
position: fixed;
|
167
|
+
left: -10000em;
|
168
|
+
top: -10000em;
|
169
|
+
}
|
170
|
+
|
171
|
+
/* Applied to modals with show.modal.blur set to true */
|
172
|
+
#qtip-overlay.blurs{ cursor: pointer; }
|
173
|
+
|
174
|
+
/* Change opacity of overlay here */
|
175
|
+
#qtip-overlay div{
|
176
|
+
position: absolute;
|
177
|
+
left: 0; top: 0;
|
178
|
+
width: 100%; height: 100%;
|
179
|
+
|
180
|
+
background-color: black;
|
181
|
+
|
182
|
+
opacity: 0.7;
|
183
|
+
filter:alpha(opacity=70);
|
184
|
+
-ms-filter:"progid:DXImageTransform.Microsoft.Alpha(Opacity=70)";
|
185
|
+
}
|
186
|
+
|
187
|
+
/*! Light tooltip style */
|
188
|
+
.ui-tooltip-light .ui-tooltip-titlebar,
|
189
|
+
.ui-tooltip-light .ui-tooltip-content{
|
190
|
+
border-color: #E2E2E2;
|
191
|
+
color: #454545;
|
192
|
+
}
|
193
|
+
|
194
|
+
.ui-tooltip-light .ui-tooltip-content{
|
195
|
+
background-color: white;
|
196
|
+
}
|
197
|
+
|
198
|
+
.ui-tooltip-light .ui-tooltip-titlebar{
|
199
|
+
background-color: #f1f1f1;
|
200
|
+
}
|
201
|
+
|
202
|
+
|
203
|
+
/*! Dark tooltip style */
|
204
|
+
.ui-tooltip-dark .ui-tooltip-titlebar,
|
205
|
+
.ui-tooltip-dark .ui-tooltip-content{
|
206
|
+
border-color: #303030;
|
207
|
+
color: #f3f3f3;
|
208
|
+
}
|
209
|
+
|
210
|
+
.ui-tooltip-dark .ui-tooltip-content{
|
211
|
+
background-color: #505050;
|
212
|
+
}
|
213
|
+
|
214
|
+
.ui-tooltip-dark .ui-tooltip-titlebar{
|
215
|
+
background-color: #404040;
|
216
|
+
}
|
217
|
+
|
218
|
+
.ui-tooltip-dark .ui-tooltip-icon{
|
219
|
+
border-color: #444;
|
220
|
+
}
|
221
|
+
|
222
|
+
.ui-tooltip-dark .ui-tooltip-titlebar .ui-state-hover{
|
223
|
+
border-color: #303030;
|
224
|
+
}
|
225
|
+
|
226
|
+
|
227
|
+
/*! Cream tooltip style */
|
228
|
+
.ui-tooltip-cream .ui-tooltip-titlebar,
|
229
|
+
.ui-tooltip-cream .ui-tooltip-content{
|
230
|
+
border-color: #F9E98E;
|
231
|
+
color: #A27D35;
|
232
|
+
}
|
233
|
+
|
234
|
+
.ui-tooltip-cream .ui-tooltip-content{
|
235
|
+
background-color: #FBF7AA;
|
236
|
+
}
|
237
|
+
|
238
|
+
.ui-tooltip-cream .ui-tooltip-titlebar{
|
239
|
+
background-color: #F0DE7D;
|
240
|
+
}
|
241
|
+
|
242
|
+
.ui-tooltip-cream .ui-state-default .ui-tooltip-icon{
|
243
|
+
background-position: -82px 0;
|
244
|
+
}
|
245
|
+
|
246
|
+
|
247
|
+
/*! Red tooltip style */
|
248
|
+
.ui-tooltip-red .ui-tooltip-titlebar,
|
249
|
+
.ui-tooltip-red .ui-tooltip-content{
|
250
|
+
border-color: #D95252;
|
251
|
+
color: #912323;
|
252
|
+
}
|
253
|
+
|
254
|
+
.ui-tooltip-red .ui-tooltip-content{
|
255
|
+
background-color: #F78B83;
|
256
|
+
}
|
257
|
+
|
258
|
+
.ui-tooltip-red .ui-tooltip-titlebar{
|
259
|
+
background-color: #F06D65;
|
260
|
+
}
|
261
|
+
|
262
|
+
.ui-tooltip-red .ui-state-default .ui-tooltip-icon{
|
263
|
+
background-position: -102px 0;
|
264
|
+
}
|
265
|
+
|
266
|
+
.ui-tooltip-red .ui-tooltip-icon{
|
267
|
+
border-color: #D95252;
|
268
|
+
}
|
269
|
+
|
270
|
+
.ui-tooltip-red .ui-tooltip-titlebar .ui-state-hover{
|
271
|
+
border-color: #D95252;
|
272
|
+
}
|
273
|
+
|
274
|
+
|
275
|
+
/*! Green tooltip style */
|
276
|
+
.ui-tooltip-green .ui-tooltip-titlebar,
|
277
|
+
.ui-tooltip-green .ui-tooltip-content{
|
278
|
+
border-color: #90D93F;
|
279
|
+
color: #3F6219;
|
280
|
+
}
|
281
|
+
|
282
|
+
.ui-tooltip-green .ui-tooltip-content{
|
283
|
+
background-color: #CAED9E;
|
284
|
+
}
|
285
|
+
|
286
|
+
.ui-tooltip-green .ui-tooltip-titlebar{
|
287
|
+
background-color: #B0DE78;
|
288
|
+
}
|
289
|
+
|
290
|
+
.ui-tooltip-green .ui-state-default .ui-tooltip-icon{
|
291
|
+
background-position: -42px 0;
|
292
|
+
}
|
293
|
+
|
294
|
+
|
295
|
+
/*! Blue tooltip style */
|
296
|
+
.ui-tooltip-blue .ui-tooltip-titlebar,
|
297
|
+
.ui-tooltip-blue .ui-tooltip-content{
|
298
|
+
border-color: #ADD9ED;
|
299
|
+
color: #5E99BD;
|
300
|
+
}
|
301
|
+
|
302
|
+
.ui-tooltip-blue .ui-tooltip-content{
|
303
|
+
background-color: #E5F6FE;
|
304
|
+
}
|
305
|
+
|
306
|
+
.ui-tooltip-blue .ui-tooltip-titlebar{
|
307
|
+
background-color: #D0E9F5;
|
308
|
+
}
|
309
|
+
|
310
|
+
.ui-tooltip-blue .ui-state-default .ui-tooltip-icon{
|
311
|
+
background-position: -2px 0;
|
312
|
+
}
|
313
|
+
|
314
|
+
/*! Add shadows to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE6+, Safari 2+ */
|
315
|
+
.ui-tooltip-shadow{
|
316
|
+
-webkit-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
317
|
+
-moz-box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
318
|
+
box-shadow: 1px 1px 3px 1px rgba(0, 0, 0, 0.15);
|
319
|
+
}
|
320
|
+
|
321
|
+
.ui-tooltip-shadow .ui-tooltip-titlebar,
|
322
|
+
.ui-tooltip-shadow .ui-tooltip-content{
|
323
|
+
filter: progid:DXImageTransform.Microsoft.Shadow(Color='gray', Direction=135, Strength=3);
|
324
|
+
-ms-filter:"progid:DXImageTransform.Microsoft.Shadow(Color='gray', Direction=135, Strength=3)";
|
325
|
+
|
326
|
+
_margin-bottom: -3px; /* IE6 */
|
327
|
+
.margin-bottom: -3px; /* IE7 */
|
328
|
+
}
|
329
|
+
|
330
|
+
|
331
|
+
/*! Add rounded corners to your tooltips in: FF3+, Chrome 2+, Opera 10.6+, IE9+, Safari 2+ */
|
332
|
+
.ui-tooltip-rounded,
|
333
|
+
.ui-tooltip-rounded .ui-tooltip-content,
|
334
|
+
.ui-tooltip-tipsy,
|
335
|
+
.ui-tooltip-tipsy .ui-tooltip-content,
|
336
|
+
.ui-tooltip-youtube,
|
337
|
+
.ui-tooltip-youtube .ui-tooltip-content{
|
338
|
+
-moz-border-radius: 4px;
|
339
|
+
-webkit-border-radius: 4px;
|
340
|
+
border-radius: 4px;
|
341
|
+
}
|
342
|
+
|
343
|
+
.ui-tooltip-rounded .ui-tooltip-titlebar,
|
344
|
+
.ui-tooltip-tipsy .ui-tooltip-titlebar,
|
345
|
+
.ui-tooltip-youtube .ui-tooltip-titlebar{
|
346
|
+
-moz-border-radius: 5px 5px 0 0;
|
347
|
+
-webkit-border-radius: 5px 5px 0 0;
|
348
|
+
border-radius: 5px 5px 0 0;
|
349
|
+
}
|
350
|
+
|
351
|
+
.ui-tooltip-rounded .ui-tooltip-titlebar + .ui-tooltip-content,
|
352
|
+
.ui-tooltip-tipsy .ui-tooltip-titlebar + .ui-tooltip-content,
|
353
|
+
.ui-tooltip-youtube .ui-tooltip-titlebar + .ui-tooltip-content{
|
354
|
+
-moz-border-radius: 0 0 5px 5px;
|
355
|
+
-webkit-border-radius: 0 0 5px 5px;
|
356
|
+
border-radius: 0 0 5px 5px;
|
357
|
+
}
|
358
|
+
|
359
|
+
|
360
|
+
/*! Youtube tooltip style */
|
361
|
+
.ui-tooltip-youtube{
|
362
|
+
-webkit-box-shadow: 0 0 3px #333;
|
363
|
+
-moz-box-shadow: 0 0 3px #333;
|
364
|
+
box-shadow: 0 0 3px #333;
|
365
|
+
}
|
366
|
+
|
367
|
+
.ui-tooltip-youtube .ui-tooltip-titlebar,
|
368
|
+
.ui-tooltip-youtube .ui-tooltip-content{
|
369
|
+
_margin-bottom: 0; /* IE6 */
|
370
|
+
.margin-bottom: 0; /* IE7 */
|
371
|
+
|
372
|
+
background: transparent;
|
373
|
+
background: rgba(0, 0, 0, 0.85);
|
374
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);
|
375
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";
|
376
|
+
|
377
|
+
color: white;
|
378
|
+
border-color: #CCCCCC;
|
379
|
+
}
|
380
|
+
|
381
|
+
.ui-tooltip-youtube .ui-tooltip-icon{
|
382
|
+
border-color: #222;
|
383
|
+
}
|
384
|
+
|
385
|
+
.ui-tooltip-youtube .ui-tooltip-titlebar .ui-state-hover{
|
386
|
+
border-color: #303030;
|
387
|
+
}
|
388
|
+
|
389
|
+
|
390
|
+
/* jQuery TOOLS Tooltip style */
|
391
|
+
.ui-tooltip-jtools{
|
392
|
+
background: #232323;
|
393
|
+
background: rgba(0, 0, 0, 0.7);
|
394
|
+
background-image: -moz-linear-gradient(top, #717171, #232323);
|
395
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(#717171), to(#232323));
|
396
|
+
|
397
|
+
border: 2px solid #ddd;
|
398
|
+
border: 2px solid rgba(241,241,241,1);
|
399
|
+
|
400
|
+
-moz-border-radius: 2px;
|
401
|
+
-webkit-border-radius: 2px;
|
402
|
+
border-radius: 2px;
|
403
|
+
|
404
|
+
-webkit-box-shadow: 0 0 12px #333;
|
405
|
+
-moz-box-shadow: 0 0 12px #333;
|
406
|
+
box-shadow: 0 0 12px #333;
|
407
|
+
}
|
408
|
+
|
409
|
+
/* IE Specific */
|
410
|
+
.ui-tooltip-jtools .ui-tooltip-titlebar{
|
411
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A);
|
412
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#717171,endColorstr=#4A4A4A)";
|
413
|
+
}
|
414
|
+
.ui-tooltip-jtools .ui-tooltip-content{
|
415
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323);
|
416
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#4A4A4A,endColorstr=#232323)";
|
417
|
+
}
|
418
|
+
|
419
|
+
.ui-tooltip-jtools .ui-tooltip-titlebar,
|
420
|
+
.ui-tooltip-jtools .ui-tooltip-content{
|
421
|
+
background: transparent;
|
422
|
+
color: white;
|
423
|
+
border: 0 dashed transparent;
|
424
|
+
}
|
425
|
+
|
426
|
+
.ui-tooltip-jtools .ui-tooltip-icon{
|
427
|
+
border-color: #555;
|
428
|
+
}
|
429
|
+
|
430
|
+
.ui-tooltip-jtools .ui-tooltip-titlebar .ui-state-hover{
|
431
|
+
border-color: #333;
|
432
|
+
}
|
433
|
+
|
434
|
+
|
435
|
+
/* Cluetip style */
|
436
|
+
.ui-tooltip-cluetip{
|
437
|
+
-webkit-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
|
438
|
+
-moz-box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
|
439
|
+
box-shadow: 4px 4px 5px rgba(0, 0, 0, 0.4);
|
440
|
+
}
|
441
|
+
|
442
|
+
.ui-tooltip-cluetip .ui-tooltip-titlebar{
|
443
|
+
background-color: #87876A;
|
444
|
+
color: white;
|
445
|
+
border: 0 dashed transparent;
|
446
|
+
}
|
447
|
+
|
448
|
+
.ui-tooltip-cluetip .ui-tooltip-content{
|
449
|
+
background-color: #D9D9C2;
|
450
|
+
color: #111;
|
451
|
+
border: 0 dashed transparent;
|
452
|
+
}
|
453
|
+
|
454
|
+
.ui-tooltip-cluetip .ui-tooltip-icon{
|
455
|
+
border-color: #808064;
|
456
|
+
}
|
457
|
+
|
458
|
+
.ui-tooltip-cluetip .ui-tooltip-titlebar .ui-state-hover{
|
459
|
+
border-color: #696952;
|
460
|
+
color: #696952;
|
461
|
+
}
|
462
|
+
|
463
|
+
|
464
|
+
/* Tipsy style */
|
465
|
+
.ui-tooltip-tipsy{
|
466
|
+
border: 0;
|
467
|
+
}
|
468
|
+
|
469
|
+
.ui-tooltip-tipsy .ui-tooltip-titlebar,
|
470
|
+
.ui-tooltip-tipsy .ui-tooltip-content{
|
471
|
+
_margin-bottom: 0; /* IE6 */
|
472
|
+
.margin-bottom: 0; /* IE7 */
|
473
|
+
|
474
|
+
background: transparent;
|
475
|
+
background: rgba(0, 0, 0, .87);
|
476
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000);
|
477
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#D9000000,endColorstr=#D9000000)";
|
478
|
+
|
479
|
+
color: white;
|
480
|
+
border: 0px transparent;
|
481
|
+
|
482
|
+
font-size: 11px;
|
483
|
+
font-family: 'Lucida Grande', sans-serif;
|
484
|
+
font-weight: bold;
|
485
|
+
line-height: 16px;
|
486
|
+
text-shadow: 0 1px black;
|
487
|
+
}
|
488
|
+
|
489
|
+
.ui-tooltip-tipsy .ui-tooltip-titlebar{
|
490
|
+
padding: 6px 35px 0 10;
|
491
|
+
}
|
492
|
+
|
493
|
+
.ui-tooltip-tipsy .ui-tooltip-content{
|
494
|
+
padding: 6px 10;
|
495
|
+
}
|
496
|
+
|
497
|
+
.ui-tooltip-tipsy .ui-tooltip-icon{
|
498
|
+
border-color: #222;
|
499
|
+
text-shadow: none;
|
500
|
+
}
|
501
|
+
|
502
|
+
.ui-tooltip-tipsy .ui-tooltip-titlebar .ui-state-hover{
|
503
|
+
border-color: #303030;
|
504
|
+
}
|
505
|
+
|
506
|
+
|
507
|
+
/* Tipped style */
|
508
|
+
.ui-tooltip-tipped{
|
509
|
+
|
510
|
+
}
|
511
|
+
|
512
|
+
.ui-tooltip-tipped .ui-tooltip-titlebar,
|
513
|
+
.ui-tooltip-tipped .ui-tooltip-content{
|
514
|
+
border: 3px solid #959FA9;
|
515
|
+
|
516
|
+
filter: none; -ms-filter: none;
|
517
|
+
}
|
518
|
+
|
519
|
+
.ui-tooltip-tipped .ui-tooltip-titlebar{
|
520
|
+
background: #3A79B8;
|
521
|
+
background-image: -moz-linear-gradient(top, #3A79B8, #2E629D);
|
522
|
+
background-image: -webkit-gradient(linear, left top, left bottom, from(#3A79B8), to(#2E629D));
|
523
|
+
filter:progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D);
|
524
|
+
-ms-filter: "progid:DXImageTransform.Microsoft.gradient(startColorstr=#3A79B8,endColorstr=#2E629D)";
|
525
|
+
|
526
|
+
color: white;
|
527
|
+
font-weight: normal;
|
528
|
+
font-family: serif;
|
529
|
+
|
530
|
+
border-bottom-width: 0;
|
531
|
+
-moz-border-radius: 3px 3px 0 0;
|
532
|
+
-webkit-border-radius: 3px 3px 0 0;
|
533
|
+
border-radius: 3px 3px 0 0;
|
534
|
+
}
|
535
|
+
|
536
|
+
.ui-tooltip-tipped .ui-tooltip-content{
|
537
|
+
background-color: #F9F9F9;
|
538
|
+
color: #454545;
|
539
|
+
|
540
|
+
-moz-border-radius: 0 0 3px 3px;
|
541
|
+
-webkit-border-radius: 0 0 3px 3px;
|
542
|
+
border-radius: 0 0 3px 3px;
|
543
|
+
}
|
544
|
+
|
545
|
+
.ui-tooltip-tipped .ui-tooltip-icon{
|
546
|
+
border: 2px solid #285589;
|
547
|
+
background: #285589;
|
548
|
+
}
|
549
|
+
|
550
|
+
.ui-tooltip-tipped .ui-tooltip-icon .ui-icon{
|
551
|
+
background-color: #FBFBFB;
|
552
|
+
color: #555;
|
553
|
+
}
|
554
|
+
|
555
|
+
/* IE9 fix - removes all filters */
|
556
|
+
.ui-tooltip:not(.ie9haxors) div.ui-tooltip-content,
|
557
|
+
.ui-tooltip:not(.ie9haxors) div.ui-tooltip-titlebar{
|
558
|
+
filter: none;
|
559
|
+
-ms-filter: none;
|
560
|
+
}
|