diff --git a/.gitignore b/.gitignore index 2f7b1b90..93f13619 100644 --- a/.gitignore +++ b/.gitignore @@ -1,3 +1,2 @@ -dist node_modules npm-debug.log diff --git a/dist/CHANGELOG.yml b/dist/CHANGELOG.yml new file mode 100644 index 00000000..b80d6bdb --- /dev/null +++ b/dist/CHANGELOG.yml @@ -0,0 +1,133 @@ +v1.3.0: + date: TBD + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.2.0...master + description: API enhancements, new options, and several bug fixes + changes: + - section: Features & Improvements + changes: + - Added openEvents and closeEvents options. + - Added popupClass option for custom tooltip classes. + - section: API + changes: + - The destroy() API method elements argument is now optional. When omitted all instances will be destroyed. + - Added toggle() method to the API. + - section: Bug Fixes + changes: + - The closeDelay timer is now correctly shared between all tooltips. + - Browser dimensions cache is now initialized as soon as PowerTip loads. + - Fixed queuing issue when the API hide() method is called immediately after show(). + - Fixed error when an element with an open tooltip is deleted. + - The mouseOnToPopup option will now be ignored (forced false) when the manual option is enabled. + - Fixed possible repeated event hooks when mouseOnToPopup is enabled. + - Fixed mouseOnToPopup events being applied to other instances where manual is enabled. + - section: Miscellaneous + changes: + - Fixed script url in the examples HTML file incuded in the release. + - Documented the caching quirks for changing tooltip content. +v1.2.0: + date: 2013-04-03 + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.1.0...v1.2.0 + description: Major release with lots of improvements and a significant code rewrite + changes: + - section: Features & Improvements + changes: + - Mouse-follow tooltips will now flip out of the way if they become trapped in the bottom-right corner. + - Escape key will now close tooltip for selected element. + - Added support for elastic tooltips. + - Added manual option to disable the built-in event listeners. + - Added nw-alt, ne-alt, sw-alt, and se-alt placement options. + - Added support for SVG elements. + - PowerTip will now use right position for right aligned tooltips, and bottom position for nothern tooltips. + - Data attributes powertip and powertipjq now accept a function. + - powerTip() will now overwrite any previous powerTip() calls on an element. + - Added support for AMD loading of PowerTip. + - section: API + changes: + - Added show() and hide() methods to the API. + - Added reposition() method to the API. + - Added destroy() method to the API. + - You can now pass API method names as strings to the powerTip() function. + - showTip and hideTip API methods are now deprecated in favor of the new show and hide API methods (but they will continue to work until 2.0). + - section: CSS + changes: + - Added 8 new tooltip CSS themes. + - Changed default z-index in CSS themes to int max. + - Added RGB color fallbacks for tooltip arrows (meaning arrows arrows now work in IE8). + - section: Bug Fixes + changes: + - Fixed bug that would cause the CSS position to be updated even when the tooltip is closed. + - Fixed issue that could cause tooltips to close prematurely during the closeDelay period. + - section: Miscellaneous + changes: + - Project now has a fully automated build process. + - Added a complete test suite and hooked up Travis CI. + - Significant rewrite of the code. +v1.1.0: + date: 2012-08-08 + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.4...v1.1.0 + description: Major release with several significant improvements + changes: + - section: Features & Improvements + changes: + - Added smart placement feature. + - Added custom events. + - Added support for keyboard navigation. + - Added support for jsFiddle. + - section: API + changes: + - Added API with showTip() and closeTip() methods. + - section: Bug Fixes + changes: + - Fixed mouse-follow constraint +v1.0.4: + date: 2012-07-31 + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.3...v1.0.4 + description: Minor release to address issues with IE8 + changes: + - section: CSS + changes: + - Added RBG background color fallback for browsers that do not support RGBA. + - section: Bug Fixes + changes: + - Fixed positioning problems with Internet Explorer 8. +v1.0.3: + date: 2012-07-31 + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.2...v1.0.3 + description: Minor release to address a couple issues + changes: + - section: Features & Improvements + changes: + - Added mouse position tracking to scroll events. + - section: Bug Fixes + changes: + - Fixed rare issue that would make fixed placement tooltips follow the mouse. +v1.0.2: + date: 2012-07-26 + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.1...v1.0.2 + description: Minor release to make a couple small improvements and bug fixes + changes: + - section: Features & Improvements + changes: + - Added placement class to tooltip element. + - Added CSS arrows to tooltips. + - Add nw, ne, sw, and sw placement options. + - Changed default closeDelay to 100ms. + - Changed default fadeOutTime to 100ms. + - Changed default placement to north. + - section: Bug Fixes + changes: + - Fixed error when there is no tooltip content. + - Fixed rare error when moused entered a tooltip during its fadeOut cycle. +v1.0.1: + date: 2012-07-11 + diff: https://github.com/stevenbenner/jquery-powertip/compare/v1.0.0...v1.0.1 + description: Minor release to fix a tip tracking issue + changes: + - section: Bug Fixes + changes: + - Fixed rare issue that caused tooltips to become desynced. +v1.0.0: + date: 2012-07-01 + description: Initial public release + changes: + - section: Initial public release diff --git a/dist/LICENSE.txt b/dist/LICENSE.txt new file mode 100644 index 00000000..ac3432b8 --- /dev/null +++ b/dist/LICENSE.txt @@ -0,0 +1,20 @@ +Copyright (c) 2014 Steven Benner (http://stevenbenner.com/) + +Permission is hereby granted, free of charge, to any person obtaining +a copy of this software and associated documentation files (the +"Software"), to deal in the Software without restriction, including +without limitation the rights to use, copy, modify, merge, publish, +distribute, sublicense, and/or sell copies of the Software, and to +permit persons to whom the Software is furnished to do so, subject to +the following conditions: + +The above copyright notice and this permission notice shall be +included in all copies or substantial portions of the Software. + +THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, +EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF +MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND +NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE +LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION +OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION +WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE. diff --git a/dist/css/jquery.powertip-blue.css b/dist/css/jquery.powertip-blue.css new file mode 100644 index 00000000..4e15bb6b --- /dev/null +++ b/dist/css/jquery.powertip-blue.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the blue theme. + */ + +#powerTip { + cursor: default; + background-color: #d2e6fa; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #a5d2fa inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #a5d2fa inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #a5d2fa inset; + border: 1px solid #4b91d2; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #4b91d2; + border-top: 10px solid rgba(75, 145, 210, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #4b91d2; + border-right: 10px solid rgba(75, 145, 210, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #4b91d2; + border-bottom: 10px solid rgba(75, 145, 210, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #4b91d2; + border-left: 10px solid rgba(75, 145, 210, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #4b91d2; + border-top: 10px solid rgba(75, 145, 210, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #4b91d2; + border-bottom: 10px solid rgba(75, 145, 210, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #4b91d2; + border-top: 10px solid rgba(75, 145, 210, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #4b91d2; + border-bottom: 10px solid rgba(75, 145, 210, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-blue.min.css b/dist/css/jquery.powertip-blue.min.css new file mode 100644 index 00000000..408c1f0e --- /dev/null +++ b/dist/css/jquery.powertip-blue.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#d2e6fa;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #a5d2fa inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #a5d2fa inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #a5d2fa inset;border:1px solid #4b91d2;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #4b91d2;border-top:10px solid rgba(75,145,210,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #4b91d2;border-right:10px solid rgba(75,145,210,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #4b91d2;border-bottom:10px solid rgba(75,145,210,.8);top:-10px}#powerTip.w:before{border-left:10px solid #4b91d2;border-left:10px solid rgba(75,145,210,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #4b91d2;border-top:10px solid rgba(75,145,210,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #4b91d2;border-bottom:10px solid rgba(75,145,210,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #4b91d2;border-top:10px solid rgba(75,145,210,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #4b91d2;border-bottom:10px solid rgba(75,145,210,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-dark.css b/dist/css/jquery.powertip-dark.css new file mode 100644 index 00000000..9394b11b --- /dev/null +++ b/dist/css/jquery.powertip-dark.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the dark monochrome theme. + */ + +#powerTip { + cursor: default; + background-color: #424242; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 2px #323232 inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 2px #323232 inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.2) inset, 0 -2px 2px #323232 inset; + border: 1px solid #000000; + border-radius: 6px; + color: #ffffff; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #000000; + border-top: 10px solid rgba(0, 0, 0, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #000000; + border-right: 10px solid rgba(0, 0, 0, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #000000; + border-bottom: 10px solid rgba(0, 0, 0, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #000000; + border-left: 10px solid rgba(0, 0, 0, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #000000; + border-top: 10px solid rgba(0, 0, 0, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #000000; + border-bottom: 10px solid rgba(0, 0, 0, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #000000; + border-top: 10px solid rgba(0, 0, 0, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #000000; + border-bottom: 10px solid rgba(0, 0, 0, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-dark.min.css b/dist/css/jquery.powertip-dark.min.css new file mode 100644 index 00000000..b8428b92 --- /dev/null +++ b/dist/css/jquery.powertip-dark.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#424242;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.2) inset,0 -2px 2px #323232 inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.2) inset,0 -2px 2px #323232 inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.2) inset,0 -2px 2px #323232 inset;border:1px solid #000;border-radius:6px;color:#fff;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #000;border-top:10px solid rgba(0,0,0,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #000;border-right:10px solid rgba(0,0,0,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #000;border-bottom:10px solid rgba(0,0,0,.8);top:-10px}#powerTip.w:before{border-left:10px solid #000;border-left:10px solid rgba(0,0,0,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #000;border-top:10px solid rgba(0,0,0,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #000;border-bottom:10px solid rgba(0,0,0,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #000;border-top:10px solid rgba(0,0,0,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #000;border-bottom:10px solid rgba(0,0,0,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-green.css b/dist/css/jquery.powertip-green.css new file mode 100644 index 00000000..da0cf8e9 --- /dev/null +++ b/dist/css/jquery.powertip-green.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the green theme. + */ + +#powerTip { + cursor: default; + background-color: #f0ffb9; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #dcf582 inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #dcf582 inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #dcf582 inset; + border: 1px solid #9bc800; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #9bc800; + border-top: 10px solid rgba(155, 200, 0, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #9bc800; + border-right: 10px solid rgba(155, 200, 0, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #9bc800; + border-bottom: 10px solid rgba(155, 200, 0, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #9bc800; + border-left: 10px solid rgba(155, 200, 0, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #9bc800; + border-top: 10px solid rgba(155, 200, 0, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #9bc800; + border-bottom: 10px solid rgba(155, 200, 0, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #9bc800; + border-top: 10px solid rgba(155, 200, 0, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #9bc800; + border-bottom: 10px solid rgba(155, 200, 0, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-green.min.css b/dist/css/jquery.powertip-green.min.css new file mode 100644 index 00000000..fa61f9d8 --- /dev/null +++ b/dist/css/jquery.powertip-green.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#f0ffb9;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.8) inset,0 -2px 2px #dcf582 inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.8) inset,0 -2px 2px #dcf582 inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.8) inset,0 -2px 2px #dcf582 inset;border:1px solid #9bc800;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #9bc800;border-top:10px solid rgba(155,200,0,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #9bc800;border-right:10px solid rgba(155,200,0,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #9bc800;border-bottom:10px solid rgba(155,200,0,.8);top:-10px}#powerTip.w:before{border-left:10px solid #9bc800;border-left:10px solid rgba(155,200,0,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #9bc800;border-top:10px solid rgba(155,200,0,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #9bc800;border-bottom:10px solid rgba(155,200,0,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #9bc800;border-top:10px solid rgba(155,200,0,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #9bc800;border-bottom:10px solid rgba(155,200,0,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-light.css b/dist/css/jquery.powertip-light.css new file mode 100644 index 00000000..03215956 --- /dev/null +++ b/dist/css/jquery.powertip-light.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the light monochrome theme. + */ + +#powerTip { + cursor: default; + background-color: #f2f2f2; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #dcdcdc inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #dcdcdc inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #dcdcdc inset; + border: 1px solid #acacac; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #acacac; + border-top: 10px solid rgba(172, 172, 172, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #acacac; + border-right: 10px solid rgba(172, 172, 172, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #acacac; + border-bottom: 10px solid rgba(172, 172, 172, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #acacac; + border-left: 10px solid rgba(172, 172, 172, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #acacac; + border-top: 10px solid rgba(172, 172, 172, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #acacac; + border-bottom: 10px solid rgba(172, 172, 172, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #acacac; + border-top: 10px solid rgba(172, 172, 172, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #acacac; + border-bottom: 10px solid rgba(172, 172, 172, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-light.min.css b/dist/css/jquery.powertip-light.min.css new file mode 100644 index 00000000..7e00a8e9 --- /dev/null +++ b/dist/css/jquery.powertip-light.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#f2f2f2;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #dcdcdc inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #dcdcdc inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #dcdcdc inset;border:1px solid #acacac;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #acacac;border-top:10px solid rgba(172,172,172,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #acacac;border-right:10px solid rgba(172,172,172,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #acacac;border-bottom:10px solid rgba(172,172,172,.8);top:-10px}#powerTip.w:before{border-left:10px solid #acacac;border-left:10px solid rgba(172,172,172,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #acacac;border-top:10px solid rgba(172,172,172,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #acacac;border-bottom:10px solid rgba(172,172,172,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #acacac;border-top:10px solid rgba(172,172,172,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #acacac;border-bottom:10px solid rgba(172,172,172,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-orange.css b/dist/css/jquery.powertip-orange.css new file mode 100644 index 00000000..4cc94f23 --- /dev/null +++ b/dist/css/jquery.powertip-orange.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the orange theme. + */ + +#powerTip { + cursor: default; + background-color: #ffcdaf; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #fab482 inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #fab482 inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #fab482 inset; + border: 1px solid #f5a550; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #f5a550; + border-top: 10px solid rgba(245, 165, 80, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #f5a550; + border-right: 10px solid rgba(245, 165, 80, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #f5a550; + border-bottom: 10px solid rgba(245, 165, 80, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #f5a550; + border-left: 10px solid rgba(245, 165, 80, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #f5a550; + border-top: 10px solid rgba(245, 165, 80, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #f5a550; + border-bottom: 10px solid rgba(245, 165, 80, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #f5a550; + border-top: 10px solid rgba(245, 165, 80, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #f5a550; + border-bottom: 10px solid rgba(245, 165, 80, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-orange.min.css b/dist/css/jquery.powertip-orange.min.css new file mode 100644 index 00000000..a76ac854 --- /dev/null +++ b/dist/css/jquery.powertip-orange.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#ffcdaf;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #fab482 inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #fab482 inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #fab482 inset;border:1px solid #f5a550;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #f5a550;border-top:10px solid rgba(245,165,80,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #f5a550;border-right:10px solid rgba(245,165,80,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #f5a550;border-bottom:10px solid rgba(245,165,80,.8);top:-10px}#powerTip.w:before{border-left:10px solid #f5a550;border-left:10px solid rgba(245,165,80,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #f5a550;border-top:10px solid rgba(245,165,80,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #f5a550;border-bottom:10px solid rgba(245,165,80,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #f5a550;border-top:10px solid rgba(245,165,80,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #f5a550;border-bottom:10px solid rgba(245,165,80,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-purple.css b/dist/css/jquery.powertip-purple.css new file mode 100644 index 00000000..3c406944 --- /dev/null +++ b/dist/css/jquery.powertip-purple.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the purple theme. + */ + +#powerTip { + cursor: default; + background-color: #ebd2fa; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #d796ff inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #d796ff inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #d796ff inset; + border: 1px solid #914bd2; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #914bd2; + border-top: 10px solid rgba(145, 75, 210, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #914bd2; + border-right: 10px solid rgba(145, 75, 210, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #914bd2; + border-bottom: 10px solid rgba(145, 75, 210, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #914bd2; + border-left: 10px solid rgba(145, 75, 210, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #914bd2; + border-top: 10px solid rgba(145, 75, 210, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #914bd2; + border-bottom: 10px solid rgba(145, 75, 210, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #914bd2; + border-top: 10px solid rgba(145, 75, 210, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #914bd2; + border-bottom: 10px solid rgba(145, 75, 210, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-purple.min.css b/dist/css/jquery.powertip-purple.min.css new file mode 100644 index 00000000..b72803e8 --- /dev/null +++ b/dist/css/jquery.powertip-purple.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#ebd2fa;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #d796ff inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #d796ff inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #d796ff inset;border:1px solid #914bd2;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #914bd2;border-top:10px solid rgba(145,75,210,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #914bd2;border-right:10px solid rgba(145,75,210,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #914bd2;border-bottom:10px solid rgba(145,75,210,.8);top:-10px}#powerTip.w:before{border-left:10px solid #914bd2;border-left:10px solid rgba(145,75,210,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #914bd2;border-top:10px solid rgba(145,75,210,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #914bd2;border-bottom:10px solid rgba(145,75,210,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #914bd2;border-top:10px solid rgba(145,75,210,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #914bd2;border-bottom:10px solid rgba(145,75,210,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-red.css b/dist/css/jquery.powertip-red.css new file mode 100644 index 00000000..9dd7f5ed --- /dev/null +++ b/dist/css/jquery.powertip-red.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the red theme. + */ + +#powerTip { + cursor: default; + background-color: #ffc8c3; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #f5aa9b inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #f5aa9b inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.5) inset, 0 -2px 2px #f5aa9b inset; + border: 1px solid #eb5037; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #eb5037; + border-top: 10px solid rgba(235, 80, 55, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #eb5037; + border-right: 10px solid rgba(235, 80, 55, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #eb5037; + border-bottom: 10px solid rgba(235, 80, 55, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #eb5037; + border-left: 10px solid rgba(235, 80, 55, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #eb5037; + border-top: 10px solid rgba(235, 80, 55, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #eb5037; + border-bottom: 10px solid rgba(235, 80, 55, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #eb5037; + border-top: 10px solid rgba(235, 80, 55, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #eb5037; + border-bottom: 10px solid rgba(235, 80, 55, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-red.min.css b/dist/css/jquery.powertip-red.min.css new file mode 100644 index 00000000..64fefad4 --- /dev/null +++ b/dist/css/jquery.powertip-red.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#ffc8c3;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #f5aa9b inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #f5aa9b inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.5) inset,0 -2px 2px #f5aa9b inset;border:1px solid #eb5037;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #eb5037;border-top:10px solid rgba(235,80,55,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #eb5037;border-right:10px solid rgba(235,80,55,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #eb5037;border-bottom:10px solid rgba(235,80,55,.8);top:-10px}#powerTip.w:before{border-left:10px solid #eb5037;border-left:10px solid rgba(235,80,55,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #eb5037;border-top:10px solid rgba(235,80,55,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #eb5037;border-bottom:10px solid rgba(235,80,55,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #eb5037;border-top:10px solid rgba(235,80,55,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #eb5037;border-bottom:10px solid rgba(235,80,55,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip-yellow.css b/dist/css/jquery.powertip-yellow.css new file mode 100644 index 00000000..bd108cd5 --- /dev/null +++ b/dist/css/jquery.powertip-yellow.css @@ -0,0 +1,102 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the yellow theme. + */ + +#powerTip { + cursor: default; + background-color: #ffffb4; + -webkit-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #fafa6e inset; + -moz-box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #fafa6e inset; + box-shadow: 0 1px 1px rgba(0, 0, 0, 0.15), 0 2px 1px rgba(255, 255, 255, 0.8) inset, 0 -2px 2px #fafa6e inset; + border: 1px solid #fafa50; + border-radius: 6px; + color: #000000; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #fafa50; + border-top: 10px solid rgba(250, 250, 80, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #fafa50; + border-right: 10px solid rgba(250, 250, 80, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #fafa50; + border-bottom: 10px solid rgba(250, 250, 80, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #fafa50; + border-left: 10px solid rgba(250, 250, 80, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #fafa50; + border-top: 10px solid rgba(250, 250, 80, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #fafa50; + border-bottom: 10px solid rgba(250, 250, 80, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #fafa50; + border-top: 10px solid rgba(250, 250, 80, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #fafa50; + border-bottom: 10px solid rgba(250, 250, 80, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip-yellow.min.css b/dist/css/jquery.powertip-yellow.min.css new file mode 100644 index 00000000..4c74cfb9 --- /dev/null +++ b/dist/css/jquery.powertip-yellow.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#ffffb4;-webkit-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.8) inset,0 -2px 2px #fafa6e inset;-moz-box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.8) inset,0 -2px 2px #fafa6e inset;box-shadow:0 1px 1px rgba(0,0,0,.15),0 2px 1px rgba(255,255,255,.8) inset,0 -2px 2px #fafa6e inset;border:1px solid #fafa50;border-radius:6px;color:#000;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #fafa50;border-top:10px solid rgba(250,250,80,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #fafa50;border-right:10px solid rgba(250,250,80,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #fafa50;border-bottom:10px solid rgba(250,250,80,.8);top:-10px}#powerTip.w:before{border-left:10px solid #fafa50;border-left:10px solid rgba(250,250,80,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #fafa50;border-top:10px solid rgba(250,250,80,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #fafa50;border-bottom:10px solid rgba(250,250,80,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #fafa50;border-top:10px solid rgba(250,250,80,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #fafa50;border-bottom:10px solid rgba(250,250,80,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/css/jquery.powertip.css b/dist/css/jquery.powertip.css new file mode 100644 index 00000000..dd52b809 --- /dev/null +++ b/dist/css/jquery.powertip.css @@ -0,0 +1,99 @@ +/** + * PowerTip + * http://stevenbenner.github.io/jquery-powertip/ + * + * Stylesheet for the monochrome (default) theme. + */ + +#powerTip { + cursor: default; + background-color: #333; + background-color: rgba(0, 0, 0, 0.8); + border-radius: 6px; + color: #fff; + display: none; + padding: 10px; + position: absolute; + white-space: nowrap; + z-index: 2147483647; +} +#powerTip:before { + content: ""; + position: absolute; +} +#powerTip.n:before, #powerTip.s:before { + border-right: 5px solid transparent; + border-left: 5px solid transparent; + left: 50%; + margin-left: -5px; +} +#powerTip.e:before, #powerTip.w:before { + border-bottom: 5px solid transparent; + border-top: 5px solid transparent; + margin-top: -5px; + top: 50%; +} +#powerTip.n:before { + border-top: 10px solid #333; + border-top: 10px solid rgba(0, 0, 0, 0.8); + bottom: -10px; +} +#powerTip.e:before { + border-right: 10px solid #333; + border-right: 10px solid rgba(0, 0, 0, 0.8); + left: -10px; +} +#powerTip.s:before { + border-bottom: 10px solid #333; + border-bottom: 10px solid rgba(0, 0, 0, 0.8); + top: -10px; +} +#powerTip.w:before { + border-left: 10px solid #333; + border-left: 10px solid rgba(0, 0, 0, 0.8); + right: -10px; +} +#powerTip.ne:before, #powerTip.se:before { + border-right: 10px solid transparent; + border-left: 0; + left: 10px; +} +#powerTip.nw:before, #powerTip.sw:before { + border-left: 10px solid transparent; + border-right: 0; + right: 10px; +} +#powerTip.ne:before, #powerTip.nw:before { + border-top: 10px solid #333; + border-top: 10px solid rgba(0, 0, 0, 0.8); + bottom: -10px; +} +#powerTip.se:before, #powerTip.sw:before { + border-bottom: 10px solid #333; + border-bottom: 10px solid rgba(0, 0, 0, 0.8); + top: -10px; +} +#powerTip.nw-alt:before, #powerTip.ne-alt:before, +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: 10px solid #333; + border-top: 10px solid rgba(0, 0, 0, 0.8); + bottom: -10px; + border-left: 5px solid transparent; + border-right: 5px solid transparent; + left: 10px; +} +#powerTip.ne-alt:before { + left: auto; + right: 10px; +} +#powerTip.sw-alt:before, #powerTip.se-alt:before { + border-top: none; + border-bottom: 10px solid #333; + border-bottom: 10px solid rgba(0, 0, 0, 0.8); + bottom: auto; + top: -10px; +} +#powerTip.se-alt:before { + left: auto; + right: 10px; +} diff --git a/dist/css/jquery.powertip.min.css b/dist/css/jquery.powertip.min.css new file mode 100644 index 00000000..ed021fc3 --- /dev/null +++ b/dist/css/jquery.powertip.min.css @@ -0,0 +1,9 @@ +/*! + PowerTip v1.2.0 (2014-11-21) + http://stevenbenner.github.io/jquery-powertip/ + Copyright (c) 2014 Steven Benner (http://stevenbenner.com/). + Released under MIT license. + https://raw.github.com/stevenbenner/jquery-powertip/master/LICENSE.txt +*/ + +#powerTip{cursor:default;background-color:#333;background-color:rgba(0,0,0,.8);border-radius:6px;color:#fff;display:none;padding:10px;position:absolute;white-space:nowrap;z-index:2147483647}#powerTip:before{content:"";position:absolute}#powerTip.n:before,#powerTip.s:before{border-right:5px solid transparent;border-left:5px solid transparent;left:50%;margin-left:-5px}#powerTip.e:before,#powerTip.w:before{border-bottom:5px solid transparent;border-top:5px solid transparent;margin-top:-5px;top:50%}#powerTip.n:before{border-top:10px solid #333;border-top:10px solid rgba(0,0,0,.8);bottom:-10px}#powerTip.e:before{border-right:10px solid #333;border-right:10px solid rgba(0,0,0,.8);left:-10px}#powerTip.s:before{border-bottom:10px solid #333;border-bottom:10px solid rgba(0,0,0,.8);top:-10px}#powerTip.w:before{border-left:10px solid #333;border-left:10px solid rgba(0,0,0,.8);right:-10px}#powerTip.ne:before,#powerTip.se:before{border-right:10px solid transparent;border-left:0;left:10px}#powerTip.nw:before,#powerTip.sw:before{border-left:10px solid transparent;border-right:0;right:10px}#powerTip.ne:before,#powerTip.nw:before{border-top:10px solid #333;border-top:10px solid rgba(0,0,0,.8);bottom:-10px}#powerTip.se:before,#powerTip.sw:before{border-bottom:10px solid #333;border-bottom:10px solid rgba(0,0,0,.8);top:-10px}#powerTip.ne-alt:before,#powerTip.nw-alt:before,#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:10px solid #333;border-top:10px solid rgba(0,0,0,.8);bottom:-10px;border-left:5px solid transparent;border-right:5px solid transparent;left:10px}#powerTip.ne-alt:before{left:auto;right:10px}#powerTip.se-alt:before,#powerTip.sw-alt:before{border-top:none;border-bottom:10px solid #333;border-bottom:10px solid rgba(0,0,0,.8);bottom:auto;top:-10px}#powerTip.se-alt:before{left:auto;right:10px} \ No newline at end of file diff --git a/dist/examples/examples.html b/dist/examples/examples.html new file mode 100644 index 00000000..d244823d --- /dev/null +++ b/dist/examples/examples.html @@ -0,0 +1,178 @@ + + +
+ +