Admin Columns - Version 2.4.1

Version Description

  • [Added] Added the development filter 'cac/menu_types' to add custom menu types
  • [Added] Added public method set_menu_type() to the storage model
  • [Added] Added review notice
  • [Updated] Po file will exclude Actions columns which contain only native WordPress translatable strings
  • [Updated] Updated all languages from Transifex
  • [Updated] Pro addon notice text has been updated
Download this release

Release Info

Developer codepress
Plugin Icon 128x128 Admin Columns
Version 2.4.1
Comparing to
See all releases

Code changes from version 2.4 to 2.4.1

Files changed (50) hide show
  1. assets/css/admin-column.css +1092 -1
  2. assets/css/admin-column.min.css +1 -0
  3. assets/css/column.css +111 -1
  4. assets/css/column.min.css +1 -0
  5. assets/js/admin-columns.min.js +1 -1
  6. assets/js/admin-settings.min.js +1 -4
  7. assets/js/jquery.qtip.min.js +0 -13
  8. assets/js/jquery.qtip.min.min.js +0 -2
  9. assets/js/upgrade.min.js +1 -0
  10. assets/less/admin-column.less +0 -1340
  11. assets/less/column.less +0 -119
  12. classes/column/post/actions.php +1 -0
  13. classes/review_notice.php +73 -0
  14. classes/settings.php +38 -31
  15. classes/storage_model.php +11 -1
  16. classes/storage_model/post.php +3 -3
  17. classes/upgrade.php +2 -2
  18. codepress-admin-columns.php +18 -7
  19. languages/cpac-ar.mo +0 -0
  20. languages/cpac-ar.po +249 -392
  21. languages/cpac-da_DK.mo +0 -0
  22. languages/cpac-da_DK.po +195 -247
  23. languages/cpac-de_DE.mo +0 -0
  24. languages/cpac-es_ES.mo +0 -0
  25. languages/cpac-es_ES.po +195 -247
  26. languages/cpac-fa_IR.mo +0 -0
  27. languages/cpac-fa_IR.po +193 -249
  28. languages/cpac-fr_FR.mo +0 -0
  29. languages/cpac-fr_FR.po +211 -381
  30. languages/cpac-hu_HU.mo +0 -0
  31. languages/cpac-hu_HU.po +196 -247
  32. languages/cpac-it_IT.mo +0 -0
  33. languages/{cpac-de_DE.po → cpac-it_IT.po} +465 -543
  34. languages/cpac-ja.mo +0 -0
  35. languages/cpac-ja.po +195 -249
  36. languages/cpac-nl_NL.mo +0 -0
  37. languages/cpac-nl_NL.po +224 -276
  38. languages/cpac-pl_PL.mo +0 -0
  39. languages/cpac-pl_PL.po +197 -249
  40. languages/cpac-pt_BR.mo +0 -0
  41. languages/cpac-pt_BR.po +197 -246
  42. languages/cpac-ru_RU.mo +0 -0
  43. languages/cpac-ru_RU.po +197 -247
  44. languages/cpac-sv_SE.mo +0 -0
  45. languages/cpac-sv_SE.po +196 -247
  46. languages/cpac-zh_CN.mo +0 -0
  47. languages/cpac-zh_CN.po +193 -249
  48. languages/cpac.mo +0 -0
  49. languages/cpac.po +173 -233
  50. readme.txt +9 -1
assets/css/admin-column.css CHANGED
@@ -1 +1,1092 @@
1
- #cpac a:focus,#cpac a:active{outline:none}#icon-codepress-admin-columns{background:transparent url('../images/icon.png') no-repeat 0 0}.cpac-settings-link{float:right;margin:12px 14px 5px 0;background:transparent url('../images/settings.png') no-repeat 0 0;padding-left:20px;text-decoration:none;display:inline-block;line-height:16px}.cpac-settings-link.current{font-weight:bold}.rtl .cpac-settings-link{float:left;margin:12px 0 5px 14px;padding-right:20px;padding-left:0}a.help{background:transparent url('../images/help.png') no-repeat 0 0;display:inline-block;width:16px;height:16px}.button.loading{padding-right:25px;position:relative}.rtl .button.loading{padding-left:25px;padding-right:0}.button.loading span{position:absolute;top:2px;right:6px;background:transparent url('../images/loading.gif') no-repeat right 50%;width:16px;height:16px;display:inline-block}.rtl .button.loading span{left:6px;right:auto}.icon-yes{background:transparent url(../images/yes.png) no-repeat 0 0;width:16px;height:16px;display:inline-block;position:relative;top:2px}.icon-no{background:transparent url(../images/no.png) no-repeat 0 0;width:16px;height:16px;display:inline-block;position:relative;top:2px}h2.cpac-nav-tab-wrapper{margin-bottom:10px}.cpac-menu{clear:both;overflow:hidden;margin-bottom:10px}.cpac-menu .subsubsub{white-space:normal;margin-right:14px;width:100%;margin:0 14px 0 0}.cpac-menu .subsubsub li.first{font-weight:bold;min-width:90px}.columns-container{margin-right:300px;max-width:700px}.columns-container .columns-left{float:left;width:100%}.columns-container .columns-right{float:right;margin-right:-300px;width:280px}.columns-container .columns-right .columns-right-inside.fixed{position:fixed;top:40px;width:280px}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,0.4)}.ui-sortable-helper .column-meta{border-width:1px}.cpac-placeholder{visibility:visible !important;border-top:1px solid #dfdfdf;padding:5px 4px 7px 0}.cpac-placeholder .inner-placeholder{border:1px dashed #808080;background:#eee;width:100%;height:100%}.cpac-placeholder :first-child{border:none}.columns-left .cpac-boxes .cpac-columns form{box-shadow:0 1px 3px rgba(0,0,0,0.1)}.cpac-column .column-meta{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.cpac-column .column-meta:nth-child(2n) .column-meta{background:#f9f9f9}.cpac-column .column-meta img{margin-right:3px}.cpac-column .column-meta table{border:none;background:transparent;border-radius:0}.cpac-column .column-meta table tr td{vertical-align:top;height:18px;border:none;padding:11px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.cpac-column .column-meta table tr td.column_sort{width:10px;background:transparent url('../images/drag.png') no-repeat 8px 8px;cursor:move}.cpac-column .column-meta table tr td.column_label{width:70%;font-weight:bold;vertical-align:middle;position:relative}.cpac-column .column-meta table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.cpac-column .column-meta table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.cpac-column .column-meta table tr td.column_label .inner>a:hover{color:#333}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button{display:none;color:#a00;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover{color:#f00}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button{color:#0074a2}.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover{color:#2ea2cc}.cpac-column .column-meta table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:normal;color:#b2b2b2;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner .meta span{cursor:pointer}.cpac-column .column-meta table tr td.column_label .inner .meta span.width{margin-right:5px;cursor:auto}.cpac-column .column-meta table tr td.column_label span.vers{float:left}.cpac-column .column-meta table tr td.column_type{width:auto;min-width:120px;text-align:right;vertical-align:middle;color:#999;padding-right:0}.cpac-column .column-meta table tr td.column_type .inner{height:18px;overflow:hidden}.cpac-column .column-meta table tr td.column_type .inner a{color:#999}.cpac-column .column-meta table tr td.column_edit{width:38px;min-width:38px;background:transparent url('../images/arrow.png') no-repeat 23px 18px;cursor:pointer}.cpac-column .column-meta:hover .column_label .inner>a.remove-button,.cpac-column .column-meta:hover .column_label .inner>a.edit-button,.cpac-column .column-meta:hover .column_label .inner>a.clone-button{display:inline-block}.cpac-column .column-meta span.vers{padding-top:2px}.cpac-column .column-meta span.vers .comment-grey-bubble{background:transparent url("../images/comment-grey-bubble.png") no-repeat 0 0;height:12px;width:12px;float:right}.cpac-column .column-form{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.cpac-column .column-form table{border:none;background:#fcfcfc}.cpac-column .column-form table tr td{vertical-align:top;border:none;padding:8px;background:#fff;border-top:1px solid #f5f5f5}.cpac-column .column-form table tr td select,.cpac-column .column-form table tr td input[type=text]{width:99.95%}.cpac-column .column-form table tr td select.small,.cpac-column .column-form table tr td input[type=text].small{width:100px}.cpac-column .column-form table tr td span.suffix{line-height:40px;color:#808080}.cpac-column .column-form table tr td select optgroup:nth-child(2n){background:#f9f9f9}.cpac-column .column-form table tr td.label{position:relative;overflow:visible;background:#f9f9f9;background:#f5f5f5;border-right:1px solid #e1e1e1;vertical-align:top;width:34%;border-top:1px solid #f0f0f0}.cpac-column .column-form table tr td.label label{font-weight:bold;color:#333;display:block;position:relative}.cpac-column .column-form table tr td.label p{color:#666;display:block;font-size:12px;font-style:normal;line-height:16px;margin:0 !important}.cpac-column .column-form table tr td.label p.description{display:none;position:absolute;z-index:99;top:30px;left:0;background:#eaf2fa;border-radius:5px;border:1px solid #c7d7e2;padding:5px 8px !important;font-weight:normal}.cpac-column .column-form table tr td.label p.description em{display:block;color:#999}.cpac-column .column-form table tr td.label .info{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.cpac-column .column-form table tr td.label .info:before{position:absolute;z-index:1;right:10px;top:50%;margin-top:-7px;content:'';display:block;border-radius:32px;border:1px solid #e6e6e6;width:12px;height:12px}.cpac-column .column-form table tr td.label .info:after{position:absolute;z-index:1;right:10px;top:50%;margin-top:-6px;content:'?';display:block;width:14px;height:14px;color:#e6e6e6;font:bold 10px Arial;text-align:center;vertical-align:middle;line-height:14px}.cpac-column .column-form table tr td.input label{padding-left:10px;padding-right:0}.cpac-column .column-form table tr td.input div.msg{margin-top:5px;display:none;color:#333;padding:6px 8px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.cpac-column .column-form table tr td.input .section{padding:12px}.cpac-column .column-form table tr.column_width .input{position:relative}.cpac-column .column-form table tr.column_width .input div.description{font-size:11px;width:54px;position:absolute;left:10px;text-align:middle}.cpac-column .column-form table tr.column_width .input div.description input{background:#efefef;border:none;height:20px;line-height:20px;text-align:right;width:36px;font-size:12px}.cpac-column .column-form table tr.column_width .input div.width-slider{margin-left:60px;margin-right:100px;position:relative;margin-top:4px}.cpac-column .column-form table tr.column_width .input div.width-slider .ui-slider-handle{cursor:ew-resize}.cpac-column .column-form table tr.column_width .input div.unit-select{position:absolute;top:8px;right:10px;width:90px;text-align:right}.cpac-column .column-form table tr.column_width .input div.unit-select label{padding-left:5px}.cpac-column .column-form table tr.column_image_size{border:10px solid #f00}.cpac-column .column-form table tr.column_image_size td.input label.custom-size{display:inline-block;margin-top:4px;margin-bottom:4px}.cpac-column .column-form table tr.column_image_size td.input label.custom-size input{margin-right:3px}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size{display:inline-block}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h{margin:0}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type="text"],.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type="text"]{margin-right:3px;width:40px !important}.cpac-column .column-form table tr.column_action td{background:#f9f9f9}.cpac-column .column-form table tr.column_action td p{margin:0}.cpac-column .column-form table tr.column_action td p a.remove-button{color:#a00;text-decoration:none;text-shadow:none;font-weight:normal;margin-left:5px;font-size:12px;padding:0 5px}.cpac-column .column-form table tr.column_action td p a.remove-button:hover{color:#fff;background:#f00}.cpac-column .column-form table tr:first-child td{border-top:none}.cpac-column.loading .column-form>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.cpac-column.loading .column-form:before{content:'';position:absolute;width:100%;height:100%;background:#fff;z-index:100;opacity:.5}.cpac-column.opened .column-meta{background-color:#c7c7c7;background-image:-ms-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:-moz-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:-o-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:-webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#c7c7c7));background-image:-webkit-linear-gradient(top, #e9e9e9, #c7c7c7);background-image:linear-gradient(top, #e9e9e9, #c7c7c7);border-color:#aeaeae}.cpac-column.opened .column-meta table{background:transparent}.cpac-column.opened .column-meta table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #fff}.cpac-column.opened .column-meta table td a{color:#333;text-shadow:0 1px 0 #fff}.cpac-column.opened .column-meta table td.column_sort{background-position:8px -39px}.cpac-column.opened .column-meta table td.column_label .inner .meta span{color:#808080;text-shadow:none}.cpac-column.opened .column-meta table td.column_type{color:#5c5c5c}.column-footer{background:#eaf2fa;border:1px solid #c7d7e2;min-height:26px;padding:8px;overflow:hidden}.column-footer .order-message{background:transparent url('../images/order_arrow.png') no-repeat 0 0;color:#7a9bbe;float:left;font-family:Comic Sans MS,sans-serif;font-size:11px;height:13px;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #fff;display:inline-block}.column-footer .button-container{float:right;display:inline-block;margin-top:-5px}.column-footer .button-container a{display:inline-block;margin-top:5px}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none repeat scroll 0 0 transparent;border-color:#dfdfdf -moz-use-text-color -moz-use-text-color;border-image:none;border-right:0 none;border-style:solid none none;border-width:1px 0 0;clear:both;margin:30px 0;opacity:.2}#cpac-welcome.about-wrap div.error{display:block !important}.cpac-alert{display:inline-block;background:none repeat scroll 0 0 #fcf8e3;border:1px solid #fbeed5;border-radius:4px 4px 4px 4px;color:#c09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,0.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#dff0d8;border-color:#d6e9c6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#f2dede;border-color:#eed3d7;color:#b94a48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,0.5)}.cac-notification.updated{border-left-color:#0071aa}.cac-notification.updated .learnmore{float:right}.cac-notification.updated .learnmore:after{content:"\f139";font:normal 20px/1 'dashicons';float:right}.columns-right{margin-top:54px}.columns-right .sidebox{background:none repeat scroll 0 0 #fff;border:1px solid #e1e1e1;border-radius:0 0 0 0;box-shadow:0 1px 3px rgba(0,0,0,0.1);position:relative;margin-bottom:14px}.columns-right .sidebox h3{padding:10px;margin:0}.columns-right .sidebox h3.title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:15px;font-weight:normal;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));background-image:-webkit-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-moz-linear-gradient(bottom, #ececec, #f9f9f9);background-image:-o-linear-gradient(bottom, #ececec, #f9f9f9);background-image:linear-gradient(to top, #ececec, #f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.columns-right .sidebox .inside{padding:10px}.columns-right .sidebox .inside p{margin-top:0}.columns-right .sidebox#form-actions .form-reset{border-bottom:1px solid #f5f5f5;padding:8px}.columns-right .sidebox#form-actions .reset-column-type{text-decoration:none;color:#bc0b0b;line-height:25px;display:inline-block}.columns-right .sidebox#form-actions .form-update{padding:8px;overflow:hidden}.columns-right .sidebox#form-actions .submit-update{display:block;width:100%;height:28px;line-height:28px;text-align:center}.columns-right .sidebox#pro-version .cta{background:transparent url(../images/get_the_addon.png) no-repeat 0 0;background-size:cover}.columns-right .sidebox#pro-version .padding-box{padding:8px 15px 0}.columns-right .sidebox#pro-version h3 a{color:#fff;font-size:19px;text-decoration:none;font-weight:normal;margin-top:6px}.columns-right .sidebox#pro-version .inside ul{margin:0 0 10px 0}.columns-right .sidebox#pro-version .inside ul li{margin:0;padding:0}.columns-right .sidebox#pro-version .inside ul li a{display:inline-block;min-height:24px;font-size:19px;line-height:24px;margin-bottom:1px;padding:0 5px;background:#000;color:#fff;text-decoration:none}.columns-right .sidebox#pro-version .inside p{color:#fff;font-size:12px}.columns-right .sidebox#pro-version .inside p a{color:#fff;display:inline-block;background:#a4c518;padding:0 2px;font-size:15px;text-decoration:none}.columns-right .sidebox#direct-feedback #feedback-support,.columns-right .sidebox#direct-feedback #feedback-rate{display:none}.columns-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #ccc;width:48%;height:64px;text-align:center;line-height:64px;font-weight:bold;color:#222;display:inline-block;text-decoration:none}.columns-right .sidebox#direct-feedback .inside>a:hover{background:#fafafa}.columns-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.columns-right .sidebox#direct-feedback .inside form input[type="submit"]{float:right;border-radius:4px;border:1px solid #ccc;height:32px;text-align:center;line-height:32px;font-weight:bold;font-size:12px;padding:0 32px;color:#ccc;display:inline-block;background:none;text-decoration:none;cursor:pointer}.columns-right .sidebox#direct-feedback .inside form input[type="submit"]:hover{background:#fafafa}.columns-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.columns-right .sidebox#direct-feedback .inside ul{margin:0}.columns-right .sidebox#direct-feedback .inside ul.share li{margin:0;display:block;float:left;margin-left:9px;width:30%}.columns-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #ccc;border-radius:4px;display:block}.columns-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#fafafa}.columns-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}table.cpac-form-table{max-width:1100px;margin-top:20px}table.cpac-form-table>tbody>tr>td,table.cpac-form-table>tbody>tr>th{vertical-align:top}table.cpac-form-table td.padding-22{padding-top:22px}table.cpac-form-table td .cpac_export .ms-container{background:transparent url('../images/switch_bw.png') no-repeat 50% 50%}table.cpac-form-table td .cpac_export .ms-container .ms-selectable{width:48%;margin-right:0}table.cpac-form-table td .cpac_export .ms-container .ms-selection{float:right;width:48%}table.cpac-form-table td .cpac_export .ms-container ul.ms-list{width:100%}table.cpac-form-table td .cpac_export .ms-container ul.ms-list li{margin:0;padding-top:5px;padding-bottom:5px}table.cpac-form-table.settings tr td{padding-top:74px}table.cpac-form-table.settings tr:first-child th{padding-top:0}table.cpac-form-table.settings tr:first-child td{padding-top:54px}.wp-pointer-content{overflow:hidden}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .cpac-menu .subsubsub{margin-left:14px;margin-right:0}body.rtl .columns-container{margin-left:300px;margin-right:0}body.rtl .columns-left{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label{padding-left:10px;padding-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help{float:left}body.rtl .columns-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:transparent url('../images/order_arrow-rtl.png') no-repeat right top}body.rtl .columns-left .column-footer .button-container{float:left}body.rtl .columns-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}body.rtl .cpac_export .ms-container .ms-selection{float:left}@media only screen and (max-width:900px){.columns-container{margin-right:0}.columns-container .columns-left{float:none}.columns-container .columns-right{float:none;margin-top:0;margin-right:0;width:100%}.columns-container .columns-right .columns-right-inside.fixed{position:relative;top:0;width:100%}}.cpac-addons li{width:200px;background:#fff;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #ddd;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.15);box-shadow:0 3px 10px 0 rgba(0,0,0,0.15)}.cpac-addons li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,0.25);box-shadow:0 3px 10px 0 rgba(0,0,0,0.25)}.cpac-addons li a{color:#444}.cpac-addons li .cpac-addon-content{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #ddd;background:#0069a4;background:-moz-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:-webkit-gradient(radial, center center, 0, center center, 100%, color-stop(0, #0069a4), color-stop(100%, #085079));background:-webkit-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:-o-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:-ms-radial-gradient(center, ellipse cover, #0069a4 0, #085079 100%);background:radial-gradient(ellipse at center, #0069a4 0, #085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1)}.cpac-addons li .cpac-addon-content>*{display:table-cell;vertical-align:middle}.cpac-addons li .cpac-addon-content h3{padding:0 16px;color:#fff;line-height:150%}.cpac-addons li .cpac-addon-content img{width:100%}.cpac-addons li .cpac-addon-header{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box}.cpac-addons li .cpac-addon-header>*:first-child{margin-top:0}.cpac-addons li .cpac-addon-header>*:last-child{margin-bottom:0}.cpac-addons li .cpac-addon-actions{background:#eee;border-top:1px solid #ddd;padding:8px}.cpac-addons li .cpac-addon-actions .cpac-installed:before{content:"\f147";font-family:'dashicons';vertical-align:middle;margin-left:-5px;margin-right:3px}
1
+ #cpac a:focus,
2
+ #cpac a:active {
3
+ outline: none;
4
+ }
5
+ /**
6
+ * General
7
+ * ----------------------------------------------------------------------------
8
+ */
9
+ #icon-codepress-admin-columns {
10
+ background: transparent url('../images/icon.png') no-repeat 0 0;
11
+ }
12
+ .cpac-settings-link {
13
+ float: right;
14
+ margin: 12px 14px 5px 0;
15
+ background: transparent url('../images/settings.png') no-repeat 0 0;
16
+ padding-left: 20px;
17
+ text-decoration: none;
18
+ display: inline-block;
19
+ line-height: 16px;
20
+ }
21
+ .cpac-settings-link.current {
22
+ font-weight: bold;
23
+ }
24
+ .rtl .cpac-settings-link {
25
+ float: left;
26
+ margin: 12px 0 5px 14px;
27
+ padding-right: 20px;
28
+ padding-left: 0;
29
+ }
30
+ a.help {
31
+ background: transparent url('../images/help.png') no-repeat 0 0;
32
+ display: inline-block;
33
+ width: 16px;
34
+ height: 16px;
35
+ }
36
+ .button.loading {
37
+ padding-right: 25px;
38
+ position: relative;
39
+ }
40
+ .rtl .button.loading {
41
+ padding-left: 25px;
42
+ padding-right: 0;
43
+ }
44
+ .button.loading span {
45
+ position: absolute;
46
+ top: 2px;
47
+ right: 6px;
48
+ background: transparent url('../images/loading.gif') no-repeat right 50%;
49
+ width: 16px;
50
+ height: 16px;
51
+ display: inline-block;
52
+ }
53
+ .rtl .button.loading span {
54
+ left: 6px;
55
+ right: auto;
56
+ }
57
+ /**
58
+ * Admin Notice Message
59
+ * ----------------------------------------------------------------------------
60
+ */
61
+ .cpac_message.error.warning {
62
+ border-left: 4px solid #ffba00;
63
+ }
64
+ /**
65
+ * Icons
66
+ * ----------------------------------------------------------------------------
67
+ */
68
+ .icon-yes {
69
+ background: transparent url(../images/yes.png) no-repeat 0 0;
70
+ width: 16px;
71
+ height: 16px;
72
+ display: inline-block;
73
+ position: relative;
74
+ top: 2px;
75
+ }
76
+ .icon-no {
77
+ background: transparent url(../images/no.png) no-repeat 0 0;
78
+ width: 16px;
79
+ height: 16px;
80
+ display: inline-block;
81
+ position: relative;
82
+ top: 2px;
83
+ }
84
+ /**
85
+ * Header
86
+ * ----------------------------------------------------------------------------
87
+ */
88
+ h2.cpac-nav-tab-wrapper {
89
+ margin-bottom: 10px;
90
+ }
91
+ /**
92
+ * Menu
93
+ * ----------------------------------------------------------------------------
94
+ */
95
+ .cpac-menu {
96
+ clear: both;
97
+ overflow: hidden;
98
+ margin-bottom: 10px;
99
+ }
100
+ .cpac-menu .subsubsub {
101
+ white-space: normal;
102
+ margin-right: 14px;
103
+ width: 100%;
104
+ margin: 0 14px 0 0;
105
+ }
106
+ .cpac-menu .subsubsub li.first {
107
+ font-weight: bold;
108
+ min-width: 100px;
109
+ }
110
+ /**
111
+ * Structure
112
+ * ----------------------------------------------------------------------------
113
+ */
114
+ .columns-container {
115
+ margin-right: 300px;
116
+ max-width: 700px;
117
+ }
118
+ .columns-container .columns-left {
119
+ float: left;
120
+ width: 100%;
121
+ }
122
+ .columns-container .columns-right {
123
+ float: right;
124
+ margin-right: -300px;
125
+ width: 280px;
126
+ }
127
+ .columns-container .columns-right .columns-right-inside.fixed {
128
+ position: fixed;
129
+ top: 40px;
130
+ width: 280px;
131
+ }
132
+ /**
133
+ * UI Sortable Plugin
134
+ * ----------------------------------------------------------------------------
135
+ */
136
+ .ui-sortable-helper {
137
+ -webkit-box-shadow: 1px 3px 6px 0px rgba(1, 1, 1, 0.4);
138
+ box-shadow: 1px 3px 6px 0px rgba(1, 1, 1, 0.4);
139
+ }
140
+ .ui-sortable-helper .column-meta {
141
+ border-width: 1px;
142
+ }
143
+ .cpac-placeholder {
144
+ visibility: visible !important;
145
+ border-top: 1px solid #dfdfdf;
146
+ padding: 5px 4px 7px 0;
147
+ }
148
+ .cpac-placeholder .inner-placeholder {
149
+ border: 1px dashed #808080;
150
+ background: #eee;
151
+ width: 100%;
152
+ height: 100%;
153
+ }
154
+ .cpac-placeholder :first-child {
155
+ border: none;
156
+ }
157
+ /**
158
+ * Columns
159
+ * ----------------------------------------------------------------------------
160
+ */
161
+ .columns-left .cpac-boxes .cpac-columns form {
162
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
163
+ }
164
+ /**
165
+ * Column
166
+ * ----------------------------------------------------------------------------
167
+ */
168
+ .cpac-column .column-meta {
169
+ border-style: solid;
170
+ border-color: #dfdfdf;
171
+ border-width: 1px 1px 0;
172
+ background: #fcfcfc;
173
+ }
174
+ .cpac-column .column-meta:nth-child(2n) .column-meta {
175
+ background: #f9f9f9;
176
+ }
177
+ .cpac-column .column-meta img {
178
+ margin-right: 3px;
179
+ }
180
+ .cpac-column .column-meta table {
181
+ border: none;
182
+ background: transparent;
183
+ border-radius: 0;
184
+ }
185
+ .cpac-column .column-meta table tr td {
186
+ vertical-align: top;
187
+ height: 18px;
188
+ border: none;
189
+ padding: 11px 8px;
190
+ border-width: 1px 0 0;
191
+ border-style: solid;
192
+ border-color: transparent;
193
+ }
194
+ .cpac-column .column-meta table tr td.column_sort {
195
+ width: 10px;
196
+ background: transparent url('../images/drag.png') no-repeat 8px 8px;
197
+ cursor: move;
198
+ }
199
+ .cpac-column .column-meta table tr td.column_label {
200
+ width: 70%;
201
+ font-weight: bold;
202
+ vertical-align: middle;
203
+ position: relative;
204
+ }
205
+ .cpac-column .column-meta table tr td.column_label .inner {
206
+ position: relative;
207
+ overflow: hidden;
208
+ height: 18px;
209
+ }
210
+ .cpac-column .column-meta table tr td.column_label .inner > a {
211
+ color: #5a5a5a;
212
+ padding: 0 4px;
213
+ }
214
+ .cpac-column .column-meta table tr td.column_label .inner > a:hover {
215
+ color: #333333;
216
+ }
217
+ .cpac-column .column-meta table tr td.column_label .inner > a.edit-button,
218
+ .cpac-column .column-meta table tr td.column_label .inner > a.remove-button,
219
+ .cpac-column .column-meta table tr td.column_label .inner > a.clone-button {
220
+ display: none;
221
+ color: #a00;
222
+ text-decoration: none;
223
+ text-shadow: none;
224
+ font-weight: normal;
225
+ margin-left: 5px;
226
+ font-size: 12px;
227
+ }
228
+ .cpac-column .column-meta table tr td.column_label .inner > a.edit-button:hover,
229
+ .cpac-column .column-meta table tr td.column_label .inner > a.remove-button:hover,
230
+ .cpac-column .column-meta table tr td.column_label .inner > a.clone-button:hover {
231
+ color: #f00;
232
+ }
233
+ .cpac-column .column-meta table tr td.column_label .inner > a.edit-button,
234
+ .cpac-column .column-meta table tr td.column_label .inner > a.clone-button {
235
+ color: #0074a2;
236
+ }
237
+ .cpac-column .column-meta table tr td.column_label .inner > a.edit-button:hover,
238
+ .cpac-column .column-meta table tr td.column_label .inner > a.clone-button:hover {
239
+ color: #2ea2cc;
240
+ }
241
+ .cpac-column .column-meta table tr td.column_label .inner .meta {
242
+ display: inline-block;
243
+ float: right;
244
+ font-weight: normal;
245
+ color: #b2b2b2;
246
+ font-size: 12px;
247
+ }
248
+ .cpac-column .column-meta table tr td.column_label .inner .meta span {
249
+ cursor: pointer;
250
+ }
251
+ .cpac-column .column-meta table tr td.column_label .inner .meta span.width {
252
+ margin-right: 5px;
253
+ cursor: auto;
254
+ }
255
+ .cpac-column .column-meta table tr td.column_label span.vers {
256
+ float: left;
257
+ }
258
+ .cpac-column .column-meta table tr td.column_type {
259
+ width: auto;
260
+ min-width: 120px;
261
+ text-align: right;
262
+ vertical-align: middle;
263
+ color: #999999;
264
+ padding-right: 0;
265
+ }
266
+ .cpac-column .column-meta table tr td.column_type .inner {
267
+ height: 18px;
268
+ overflow: hidden;
269
+ }
270
+ .cpac-column .column-meta table tr td.column_type .inner a {
271
+ color: #999999;
272
+ }
273
+ .cpac-column .column-meta table tr td.column_edit {
274
+ width: 38px;
275
+ min-width: 38px;
276
+ background: transparent url('../images/arrow.png') no-repeat 23px 18px;
277
+ cursor: pointer;
278
+ }
279
+ .cpac-column .column-meta:hover .column_label .inner > a.remove-button,
280
+ .cpac-column .column-meta:hover .column_label .inner > a.edit-button,
281
+ .cpac-column .column-meta:hover .column_label .inner > a.clone-button {
282
+ display: inline-block;
283
+ }
284
+ .cpac-column .column-meta span.vers {
285
+ padding-top: 2px;
286
+ }
287
+ .cpac-column .column-meta span.vers .comment-grey-bubble {
288
+ background: transparent url("../images/comment-grey-bubble.png") no-repeat 0 0;
289
+ height: 12px;
290
+ width: 12px;
291
+ float: right;
292
+ }
293
+ .cpac-column .column-form {
294
+ display: none;
295
+ border-width: 1px 1px 0;
296
+ border-style: solid;
297
+ border-color: #dfdfdf;
298
+ position: relative;
299
+ }
300
+ .cpac-column .column-form table {
301
+ border: none;
302
+ background: #fcfcfc;
303
+ }
304
+ .cpac-column .column-form table tr td {
305
+ vertical-align: top;
306
+ border: none;
307
+ padding: 8px;
308
+ background: #ffffff;
309
+ border-top: 1px solid #F5F5F5;
310
+ }
311
+ .cpac-column .column-form table tr td select,
312
+ .cpac-column .column-form table tr td input[type=text] {
313
+ width: 99.95%;
314
+ }
315
+ .cpac-column .column-form table tr td select.small,
316
+ .cpac-column .column-form table tr td input[type=text].small {
317
+ width: 100px;
318
+ }
319
+ .cpac-column .column-form table tr td span.suffix {
320
+ line-height: 40px;
321
+ color: #808080;
322
+ }
323
+ .cpac-column .column-form table tr td select optgroup:nth-child(2n) {
324
+ background: #F9F9F9;
325
+ }
326
+ .cpac-column .column-form table tr td.label {
327
+ position: relative;
328
+ overflow: visible;
329
+ background: #F9F9F9;
330
+ background: #f5f5f5;
331
+ border-right: 1px solid #E1E1E1;
332
+ vertical-align: top;
333
+ width: 34%;
334
+ border-top: 1px solid #F0F0F0;
335
+ }
336
+ .cpac-column .column-form table tr td.label label {
337
+ font-weight: bold;
338
+ color: #333333;
339
+ display: block;
340
+ position: relative;
341
+ }
342
+ .cpac-column .column-form table tr td.label p {
343
+ color: #666666;
344
+ display: block;
345
+ font-size: 12px;
346
+ font-style: normal;
347
+ line-height: 16px;
348
+ margin: 0 !important;
349
+ }
350
+ .cpac-column .column-form table tr td.label p.description {
351
+ display: none;
352
+ position: absolute;
353
+ z-index: 99;
354
+ top: 30px;
355
+ left: 0;
356
+ background: #eaf2fa;
357
+ border-radius: 5px;
358
+ border: 1px solid #c7d7e2;
359
+ padding: 5px 8px !important;
360
+ font-weight: normal;
361
+ }
362
+ .cpac-column .column-form table tr td.label p.description em {
363
+ display: block;
364
+ color: #999;
365
+ }
366
+ .cpac-column .column-form table tr td.label .info {
367
+ position: absolute;
368
+ top: 0;
369
+ left: 0;
370
+ width: 100%;
371
+ height: 100%;
372
+ z-index: 1;
373
+ }
374
+ .cpac-column .column-form table tr td.label .info:before {
375
+ position: absolute;
376
+ z-index: 1;
377
+ right: 10px;
378
+ top: 50%;
379
+ margin-top: -7px;
380
+ content: '';
381
+ display: block;
382
+ border-radius: 32px;
383
+ border: 1px solid #E6E6E6;
384
+ width: 12px;
385
+ height: 12px;
386
+ }
387
+ .cpac-column .column-form table tr td.label .info:after {
388
+ position: absolute;
389
+ z-index: 1;
390
+ right: 10px;
391
+ top: 50%;
392
+ margin-top: -6px;
393
+ content: '?';
394
+ display: block;
395
+ width: 14px;
396
+ height: 14px;
397
+ color: #E6E6E6;
398
+ font: bold 10px Arial;
399
+ text-align: center;
400
+ vertical-align: middle;
401
+ line-height: 14px;
402
+ }
403
+ .cpac-column .column-form table tr td.input label {
404
+ padding-left: 10px;
405
+ padding-right: 0;
406
+ }
407
+ .cpac-column .column-form table tr td.input div.msg {
408
+ margin-top: 5px;
409
+ display: none;
410
+ color: #333;
411
+ padding: 6px 8px;
412
+ background-color: #ffebe8;
413
+ border: 1px solid #fff;
414
+ -moz-border-radius: 3px;
415
+ -webkit-border-radius: 3px;
416
+ border-radius: 3px;
417
+ }
418
+ .cpac-column .column-form table tr td.input .section {
419
+ padding: 12px;
420
+ }
421
+ .cpac-column .column-form table tr.column_width .input {
422
+ position: relative;
423
+ }
424
+ .cpac-column .column-form table tr.column_width .input div.description {
425
+ font-size: 11px;
426
+ width: 54px;
427
+ position: absolute;
428
+ left: 10px;
429
+ text-align: middle;
430
+ }
431
+ .cpac-column .column-form table tr.column_width .input div.description input {
432
+ background: #efefef;
433
+ border: none;
434
+ height: 20px;
435
+ line-height: 20px;
436
+ text-align: right;
437
+ width: 36px;
438
+ font-size: 12px;
439
+ }
440
+ .cpac-column .column-form table tr.column_width .input div.width-slider {
441
+ margin-left: 60px;
442
+ margin-right: 100px;
443
+ position: relative;
444
+ margin-top: 4px;
445
+ }
446
+ .cpac-column .column-form table tr.column_width .input div.width-slider .ui-slider-handle {
447
+ cursor: ew-resize;
448
+ }
449
+ .cpac-column .column-form table tr.column_width .input div.unit-select {
450
+ position: absolute;
451
+ top: 8px;
452
+ right: 10px;
453
+ width: 90px;
454
+ text-align: right;
455
+ }
456
+ .cpac-column .column-form table tr.column_width .input div.unit-select label {
457
+ padding-left: 5px;
458
+ }
459
+ .cpac-column .column-form table tr.column_image_size {
460
+ border: 10px solid red;
461
+ }
462
+ .cpac-column .column-form table tr.column_image_size td.input label.custom-size {
463
+ display: inline-block;
464
+ margin-top: 4px;
465
+ margin-bottom: 4px;
466
+ }
467
+ .cpac-column .column-form table tr.column_image_size td.input label.custom-size input {
468
+ margin-right: 3px;
469
+ }
470
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size {
471
+ display: inline-block;
472
+ }
473
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden {
474
+ display: none;
475
+ }
476
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w,
477
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h {
478
+ margin: 0;
479
+ }
480
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,
481
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden {
482
+ display: none;
483
+ }
484
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type="text"],
485
+ .cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type="text"] {
486
+ margin-right: 3px;
487
+ width: 40px !important;
488
+ }
489
+ .cpac-column .column-form table tr.column_action td {
490
+ background: #f9f9f9;
491
+ }
492
+ .cpac-column .column-form table tr.column_action td p {
493
+ margin: 0;
494
+ }
495
+ .cpac-column .column-form table tr.column_action td p a.remove-button {
496
+ color: #a00;
497
+ text-decoration: none;
498
+ text-shadow: none;
499
+ font-weight: normal;
500
+ margin-left: 5px;
501
+ font-size: 12px;
502
+ padding: 0 5px;
503
+ }
504
+ .cpac-column .column-form table tr.column_action td p a.remove-button:hover {
505
+ color: #fff;
506
+ background: #f00;
507
+ }
508
+ .cpac-column .column-form table tr:first-child td {
509
+ border-top: none;
510
+ }
511
+ .cpac-column.loading .column-form > .spinner {
512
+ position: absolute;
513
+ left: 50%;
514
+ top: 50%;
515
+ z-index: 200;
516
+ margin-left: -10px;
517
+ margin-top: -10px;
518
+ display: block;
519
+ }
520
+ .cpac-column.loading .column-form:before {
521
+ content: '';
522
+ position: absolute;
523
+ width: 100%;
524
+ height: 100%;
525
+ background: #FFF;
526
+ z-index: 100;
527
+ opacity: 0.5;
528
+ }
529
+ .cpac-column.opened .column-meta {
530
+ background-color: #c7c7c7;
531
+ background-image: -ms-linear-gradient(top, #e9e9e9, #c7c7c7);
532
+ background-image: -moz-linear-gradient(top, #e9e9e9, #c7c7c7);
533
+ background-image: -o-linear-gradient(top, #e9e9e9, #c7c7c7);
534
+ background-image: -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#c7c7c7));
535
+ background-image: -webkit-linear-gradient(top, #e9e9e9, #c7c7c7);
536
+ background-image: linear-gradient(top, #e9e9e9, #c7c7c7);
537
+ border-color: #aeaeae;
538
+ }
539
+ .cpac-column.opened .column-meta table {
540
+ background: transparent;
541
+ }
542
+ .cpac-column.opened .column-meta table td {
543
+ border-color: #f8f8f8;
544
+ color: #333;
545
+ text-shadow: 0 1px 0 #FFFFFF;
546
+ }
547
+ .cpac-column.opened .column-meta table td a {
548
+ color: #333;
549
+ text-shadow: 0 1px 0 #FFFFFF;
550
+ }
551
+ .cpac-column.opened .column-meta table td.column_sort {
552
+ background-position: 8px -39px;
553
+ }
554
+ .cpac-column.opened .column-meta table td.column_label .inner .meta span {
555
+ color: #808080;
556
+ text-shadow: none;
557
+ }
558
+ .cpac-column.opened .column-meta table td.column_type {
559
+ color: #5C5C5C;
560
+ }
561
+ /**
562
+ * Column: Footer
563
+ * ----------------------------------------------------------------------------
564
+ */
565
+ .column-footer {
566
+ background: #EAF2FA;
567
+ border: 1px solid #c7d7e2;
568
+ min-height: 26px;
569
+ padding: 8px;
570
+ overflow: hidden;
571
+ }
572
+ .column-footer .order-message {
573
+ background: transparent url('../images/order_arrow.png') no-repeat 0 0;
574
+ color: #7A9BBE;
575
+ float: left;
576
+ font-family: Comic Sans MS, sans-serif;
577
+ font-size: 11px;
578
+ height: 13px;
579
+ line-height: 1em;
580
+ margin-left: 4px;
581
+ padding: 7px 0 0 22px;
582
+ text-shadow: 0 1px 0 #FFFFFF;
583
+ display: inline-block;
584
+ }
585
+ .column-footer .button-container {
586
+ float: right;
587
+ display: inline-block;
588
+ margin-top: -5px;
589
+ }
590
+ .column-footer .button-container a {
591
+ display: inline-block;
592
+ margin-top: 5px;
593
+ }
594
+ /**
595
+ * Welcome Screen
596
+ * ----------------------------------------------------------------------------
597
+ */
598
+ .cpac-content-body hr {
599
+ -moz-border-bottom-colors: none;
600
+ -moz-border-left-colors: none;
601
+ -moz-border-right-colors: none;
602
+ -moz-border-top-colors: none;
603
+ background: none repeat scroll 0 0 transparent;
604
+ border-color: #dfdfdf -moz-use-text-color -moz-use-text-color;
605
+ border-image: none;
606
+ border-right: 0 none;
607
+ border-style: solid none none;
608
+ border-width: 1px 0 0;
609
+ clear: both;
610
+ margin: 30px 0;
611
+ opacity: 0.2;
612
+ }
613
+ #cpac-welcome.about-wrap div.error {
614
+ display: block !important;
615
+ }
616
+ .cpac-alert {
617
+ display: inline-block;
618
+ background: none repeat scroll 0 0 #FCF8E3;
619
+ border: 1px solid #FBEED5;
620
+ border-radius: 4px 4px 4px 4px;
621
+ color: #C09853;
622
+ margin: 20px 0;
623
+ padding: 16px 14px;
624
+ text-shadow: 0 1px 0 rgba(255, 255, 255, 0.5);
625
+ }
626
+ .cpac-alert p {
627
+ margin: 0;
628
+ }
629
+ .cpac-alert.cpac-alert-success {
630
+ background-color: #DFF0D8;
631
+ border-color: #D6E9C6;
632
+ color: #468847;
633
+ }
634
+ .cpac-alert.cpac-alert-error {
635
+ background-color: #F2DEDE;
636
+ border-color: #EED3D7;
637
+ color: #B94A48;
638
+ }
639
+ .cpac-alert a.button-primary {
640
+ height: 28px;
641
+ line-height: 28px;
642
+ display: inline-block;
643
+ }
644
+ #cpac-download-add-ons-table {
645
+ max-width: 600px;
646
+ }
647
+ .wp-core-ui .button-large {
648
+ height: 40px;
649
+ line-height: 40px;
650
+ font-size: 16px;
651
+ padding: 0 15px;
652
+ text-shadow: 0 1px 0 rgba(0, 0, 0, 0.5);
653
+ }
654
+ /**
655
+ * Notifications
656
+ * ----------------------------------------------------------------------------
657
+ */
658
+ .cac-notification.updated {
659
+ border-left-color: #0071aa;
660
+ }
661
+ .cac-notification.updated .learnmore {
662
+ float: right;
663
+ }
664
+ .cac-notification.updated .learnmore:after {
665
+ content: "\f139";
666
+ font: normal 20px/1 'dashicons';
667
+ float: right;
668
+ }
669
+ /**
670
+ * Sidebar
671
+ * ----------------------------------------------------------------------------
672
+ */
673
+ .columns-right {
674
+ margin-top: 54px;
675
+ }
676
+ .columns-right .sidebox {
677
+ background: none repeat scroll 0 0 #FFFFFF;
678
+ border: 1px solid #E1E1E1;
679
+ border-radius: 0 0 0 0;
680
+ box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
681
+ position: relative;
682
+ margin-bottom: 14px;
683
+ }
684
+ .columns-right .sidebox h3 {
685
+ padding: 10px;
686
+ margin: 0;
687
+ }
688
+ .columns-right .sidebox h3.title {
689
+ font-family: Georgia, "Times New Roman", "Bitstream Charter", Times, serif;
690
+ font-size: 15px;
691
+ font-weight: normal;
692
+ line-height: 1;
693
+ margin: 0;
694
+ padding: 7px 10px;
695
+ background: #f1f1f1;
696
+ background-image: -webkit-gradient(linear, left bottom, left top, from(#ececec), to(#f9f9f9));
697
+ background-image: -webkit-linear-gradient(bottom, #ececec, #f9f9f9);
698
+ background-image: -moz-linear-gradient(bottom, #ececec, #f9f9f9);
699
+ background-image: -o-linear-gradient(bottom, #ececec, #f9f9f9);
700
+ background-image: linear-gradient(to top, #ececec, #f9f9f9);
701
+ border-bottom-color: #dfdfdf;
702
+ text-shadow: #fff 0 1px 0;
703
+ -webkit-box-shadow: 0 1px 0 #fff;
704
+ box-shadow: 0 1px 0 #fff;
705
+ border-bottom-style: solid;
706
+ border-bottom-width: 1px;
707
+ }
708
+ .columns-right .sidebox .inside {
709
+ padding: 10px;
710
+ }
711
+ .columns-right .sidebox .inside p {
712
+ margin-top: 0;
713
+ }
714
+ .columns-right .sidebox#form-actions .form-reset {
715
+ border-bottom: 1px solid #F5F5F5;
716
+ padding: 8px;
717
+ }
718
+ .columns-right .sidebox#form-actions .reset-column-type {
719
+ text-decoration: none;
720
+ color: #BC0B0B;
721
+ line-height: 25px;
722
+ display: inline-block;
723
+ }
724
+ .columns-right .sidebox#form-actions .form-update {
725
+ padding: 8px;
726
+ overflow: hidden;
727
+ }
728
+ .columns-right .sidebox#form-actions .submit-update {
729
+ display: block;
730
+ width: 100%;
731
+ height: 28px;
732
+ line-height: 28px;
733
+ text-align: center;
734
+ }
735
+ .columns-right .sidebox#pro-version .cta {
736
+ background: transparent url(../images/get_the_addon.png) no-repeat 0 0;
737
+ background-size: cover;
738
+ }
739
+ .columns-right .sidebox#pro-version .padding-box {
740
+ padding: 8px 15px 0;
741
+ }
742
+ .columns-right .sidebox#pro-version h3 a {
743
+ color: #fff;
744
+ font-size: 19px;
745
+ text-decoration: none;
746
+ font-weight: normal;
747
+ margin-top: 6px;
748
+ }
749
+ .columns-right .sidebox#pro-version .inside ul {
750
+ margin: 0 0 10px 0;
751
+ }
752
+ .columns-right .sidebox#pro-version .inside ul li {
753
+ margin: 0;
754
+ padding: 0;
755
+ }
756
+ .columns-right .sidebox#pro-version .inside ul li a {
757
+ display: inline-block;
758
+ min-height: 24px;
759
+ font-size: 19px;
760
+ line-height: 24px;
761
+ margin-bottom: 1px;
762
+ padding: 0 5px;
763
+ background: #000;
764
+ color: #fff;
765
+ text-decoration: none;
766
+ }
767
+ .columns-right .sidebox#pro-version .inside p {
768
+ color: #fff;
769
+ font-size: 12px;
770
+ }
771
+ .columns-right .sidebox#pro-version .inside p a {
772
+ color: #fff;
773
+ display: inline-block;
774
+ background: #a4c518;
775
+ padding: 0 2px;
776
+ font-size: 15px;
777
+ text-decoration: none;
778
+ }
779
+ .columns-right .sidebox#direct-feedback #feedback-support,
780
+ .columns-right .sidebox#direct-feedback #feedback-rate {
781
+ display: none;
782
+ }
783
+ .columns-right .sidebox#direct-feedback .inside > a {
784
+ border-radius: 4px;
785
+ border: 1px solid #CCC;
786
+ width: 48%;
787
+ height: 64px;
788
+ text-align: center;
789
+ line-height: 64px;
790
+ font-weight: bold;
791
+ color: #222;
792
+ display: inline-block;
793
+ text-decoration: none;
794
+ }
795
+ .columns-right .sidebox#direct-feedback .inside > a:hover {
796
+ background: #FAFAFA;
797
+ }
798
+ .columns-right .sidebox#direct-feedback .inside form textarea {
799
+ width: 100%;
800
+ height: 120px;
801
+ }
802
+ .columns-right .sidebox#direct-feedback .inside form input[type="submit"] {
803
+ float: right;
804
+ border-radius: 4px;
805
+ border: 1px solid #CCC;
806
+ height: 32px;
807
+ text-align: center;
808
+ line-height: 32px;
809
+ font-weight: bold;
810
+ font-size: 12px;
811
+ padding: 0 32px;
812
+ color: #CCC;
813
+ display: inline-block;
814
+ background: none;
815
+ text-decoration: none;
816
+ cursor: pointer;
817
+ }
818
+ .columns-right .sidebox#direct-feedback .inside form input[type="submit"]:hover {
819
+ background: #FAFAFA;
820
+ }
821
+ .columns-right .sidebox#direct-feedback .inside form p.description {
822
+ float: left;
823
+ font-size: 10px;
824
+ }
825
+ .columns-right .sidebox#direct-feedback .inside ul {
826
+ margin: 0;
827
+ }
828
+ .columns-right .sidebox#direct-feedback .inside ul.share li {
829
+ margin: 0;
830
+ display: block;
831
+ float: left;
832
+ margin-left: 9px;
833
+ width: 30%;
834
+ }
835
+ .columns-right .sidebox#direct-feedback .inside ul.share li a {
836
+ text-decoration: none;
837
+ vertical-align: middle;
838
+ line-height: 20px;
839
+ padding: 16px 0;
840
+ width: 100%;
841
+ text-align: center;
842
+ border: 1px solid #CCC;
843
+ border-radius: 4px;
844
+ display: block;
845
+ }
846
+ .columns-right .sidebox#direct-feedback .inside ul.share li a:hover {
847
+ background: #FAFAFA;
848
+ }
849
+ .columns-right .sidebox#direct-feedback .inside ul.share li:first-child {
850
+ margin-left: 0;
851
+ }
852
+ .columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li {
853
+ width: 48%;
854
+ }
855
+ /**
856
+ * Setting Tab
857
+ * ----------------------------------------------------------------------------
858
+ */
859
+ table.cpac-form-table {
860
+ max-width: 1100px;
861
+ margin-top: 20px;
862
+ }
863
+ table.cpac-form-table > tbody > tr > td,
864
+ table.cpac-form-table > tbody > tr > th {
865
+ vertical-align: top;
866
+ }
867
+ table.cpac-form-table td.padding-22 {
868
+ padding-top: 22px;
869
+ }
870
+ table.cpac-form-table td .cpac_export .ms-container {
871
+ background: transparent url('../images/switch_bw.png') no-repeat 50% 50%;
872
+ }
873
+ table.cpac-form-table td .cpac_export .ms-container .ms-selectable {
874
+ width: 48%;
875
+ margin-right: 0;
876
+ }
877
+ table.cpac-form-table td .cpac_export .ms-container .ms-selection {
878
+ float: right;
879
+ width: 48%;
880
+ }
881
+ table.cpac-form-table td .cpac_export .ms-container ul.ms-list {
882
+ width: 100%;
883
+ }
884
+ table.cpac-form-table td .cpac_export .ms-container ul.ms-list li {
885
+ margin: 0;
886
+ padding-top: 5px;
887
+ padding-bottom: 5px;
888
+ }
889
+ table.cpac-form-table.settings tr td {
890
+ padding-top: 74px;
891
+ }
892
+ table.cpac-form-table.settings tr:first-child th {
893
+ padding-top: 0;
894
+ }
895
+ table.cpac-form-table.settings tr:first-child td {
896
+ padding-top: 54px;
897
+ }
898
+ /**
899
+ * WP Pointer
900
+ * ----------------------------------------------------------------------------
901
+ */
902
+ .wp-pointer-content {
903
+ overflow: hidden;
904
+ }
905
+ .wp-pointer-content ol {
906
+ margin-left: 1.5em;
907
+ padding: 0 15px;
908
+ }
909
+ .wp-pointer-right {
910
+ margin-right: 15px;
911
+ }
912
+ /* =RTL language
913
+ -------------------------------------------------------------- */
914
+ body.rtl .wp-pointer-right {
915
+ margin-left: 15px;
916
+ margin-right: 0;
917
+ }
918
+ body.rtl .wp-pointer-right ol {
919
+ margin-right: 1.5em;
920
+ margin-left: 0;
921
+ }
922
+ body.rtl .cpac-menu .subsubsub {
923
+ margin-left: 14px;
924
+ margin-right: 0;
925
+ }
926
+ body.rtl .columns-container {
927
+ margin-left: 300px;
928
+ margin-right: 0;
929
+ }
930
+ body.rtl .columns-left {
931
+ float: right;
932
+ }
933
+ body.rtl .columns-left .cpac-columns .cpac-column .column-meta img {
934
+ margin-left: 3px;
935
+ margin-right: 0;
936
+ }
937
+ body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner > a.remove-button {
938
+ margin-right: 12px;
939
+ margin-left: 0;
940
+ }
941
+ body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta {
942
+ float: left;
943
+ }
944
+ body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers {
945
+ float: right;
946
+ }
947
+ body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type {
948
+ text-align: left;
949
+ padding-left: 0;
950
+ padding-right: auto;
951
+ }
952
+ body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble {
953
+ float: left;
954
+ }
955
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input {
956
+ margin-left: 3px;
957
+ margin-right: 0;
958
+ }
959
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description {
960
+ right: 0;
961
+ left: auto;
962
+ }
963
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info {
964
+ float: left;
965
+ }
966
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description {
967
+ float: right;
968
+ }
969
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range {
970
+ float: right;
971
+ }
972
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label {
973
+ padding-left: 10px;
974
+ padding-right: 0;
975
+ }
976
+ body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help {
977
+ float: left;
978
+ }
979
+ body.rtl .columns-left .column-footer .order-message {
980
+ float: right;
981
+ padding-right: 22px;
982
+ padding-left: 0;
983
+ background: transparent url('../images/order_arrow-rtl.png') no-repeat right top;
984
+ }
985
+ body.rtl .columns-left .column-footer .button-container {
986
+ float: left;
987
+ }
988
+ body.rtl .columns-right {
989
+ float: left;
990
+ margin-left: -300px;
991
+ margin-right: 0;
992
+ }
993
+ body.rtl .cpac-placeholder {
994
+ padding: 5px 0 7px 4px;
995
+ }
996
+ body.rtl .cpac_export .ms-container .ms-selection {
997
+ float: left;
998
+ }
999
+ /* =Responsive
1000
+ -------------------------------------------------------------- */
1001
+ @media only screen and (max-width: 900px) {
1002
+ .columns-container {
1003
+ margin-right: 0;
1004
+ }
1005
+ .columns-container .columns-left {
1006
+ float: none;
1007
+ }
1008
+ .columns-container .columns-right {
1009
+ float: none;
1010
+ margin-top: 0;
1011
+ margin-right: 0;
1012
+ width: 100%;
1013
+ }
1014
+ .columns-container .columns-right .columns-right-inside.fixed {
1015
+ position: relative;
1016
+ top: 0;
1017
+ width: 100%;
1018
+ }
1019
+ }
1020
+ /* =Addons
1021
+ -------------------------------------------------------------- */
1022
+ .cpac-addons li {
1023
+ width: 200px;
1024
+ background: #FFF;
1025
+ float: left;
1026
+ margin-right: 16px;
1027
+ margin-bottom: 16px;
1028
+ border: 1px solid #DDD;
1029
+ -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
1030
+ -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
1031
+ box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.15);
1032
+ }
1033
+ .cpac-addons li:hover {
1034
+ -webkit-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
1035
+ -moz-box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
1036
+ box-shadow: 0px 3px 10px 0px rgba(0, 0, 0, 0.25);
1037
+ }
1038
+ .cpac-addons li a {
1039
+ color: #444;
1040
+ }
1041
+ .cpac-addons li .cpac-addon-content {
1042
+ display: table;
1043
+ width: 100%;
1044
+ height: 125px;
1045
+ text-align: center;
1046
+ vertical-align: middle;
1047
+ border-top: 1px solid #DDD;
1048
+ background: #0069a4;
1049
+ background: -moz-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
1050
+ background: -webkit-gradient(radial, center center, 0px, center center, 100%, color-stop(0%, #0069a4), color-stop(100%, #085079));
1051
+ background: -webkit-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
1052
+ background: -o-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
1053
+ background: -ms-radial-gradient(center, ellipse cover, #0069a4 0%, #085079 100%);
1054
+ background: radial-gradient(ellipse at center, #0069a4 0%, #085079 100%);
1055
+ filter: progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1);
1056
+ }
1057
+ .cpac-addons li .cpac-addon-content > * {
1058
+ display: table-cell;
1059
+ vertical-align: middle;
1060
+ }
1061
+ .cpac-addons li .cpac-addon-content h3 {
1062
+ padding: 0 16px;
1063
+ color: #FFF;
1064
+ line-height: 150%;
1065
+ }
1066
+ .cpac-addons li .cpac-addon-content img {
1067
+ width: 100%;
1068
+ }
1069
+ .cpac-addons li .cpac-addon-header {
1070
+ width: 100%;
1071
+ padding: 25px 15px;
1072
+ -moz-box-sizing: border-box;
1073
+ box-sizing: border-box;
1074
+ }
1075
+ .cpac-addons li .cpac-addon-header > *:first-child {
1076
+ margin-top: 0;
1077
+ }
1078
+ .cpac-addons li .cpac-addon-header > *:last-child {
1079
+ margin-bottom: 0;
1080
+ }
1081
+ .cpac-addons li .cpac-addon-actions {
1082
+ background: #EEE;
1083
+ border-top: 1px solid #DDD;
1084
+ padding: 8px;
1085
+ }
1086
+ .cpac-addons li .cpac-addon-actions .cpac-installed:before {
1087
+ content: "\f147";
1088
+ font-family: 'dashicons';
1089
+ vertical-align: middle;
1090
+ margin-left: -5px;
1091
+ margin-right: 3px;
1092
+ }
assets/css/admin-column.min.css ADDED
@@ -0,0 +1 @@
1
+ .button.loading span,.cpac-settings-link,.icon-no,.icon-yes,a.help{display:inline-block}.button.loading span,.icon-no,.icon-yes{width:16px;height:16px}#cpac a:active,#cpac a:focus{outline:0}#icon-codepress-admin-columns{background:url(../images/icon.png)no-repeat}.cpac-settings-link{float:right;margin:12px 14px 5px 0;background:url(../images/settings.png)no-repeat;padding-left:20px;text-decoration:none;line-height:16px}.cpac-settings-link.current{font-weight:700}.rtl .cpac-settings-link{float:left;margin:12px 0 5px 14px;padding-right:20px;padding-left:0}.cpac-menu,h2.cpac-nav-tab-wrapper{margin-bottom:10px}a.help{background:url(../images/help.png)no-repeat;width:16px;height:16px}.button.loading{padding-right:25px;position:relative}.rtl .button.loading{padding-left:25px;padding-right:0}.button.loading span{position:absolute;top:2px;right:6px;background:url(../images/loading.gif)right 50% no-repeat}.rtl .button.loading span{left:6px;right:auto}.cpac_message.error.warning{border-left:4px solid #ffba00}.icon-yes{background:url(../images/yes.png)no-repeat;position:relative;top:2px}.icon-no{background:url(../images/no.png)no-repeat;position:relative;top:2px}.cpac-menu{clear:both;overflow:hidden}.cpac-menu .subsubsub{white-space:normal;width:100%;margin:0 14px 0 0}.cpac-menu .subsubsub li.first{font-weight:700;min-width:100px}.columns-container{margin-right:300px;max-width:700px}.columns-container .columns-left{float:left;width:100%}.columns-container .columns-right{float:right;margin-right:-300px;width:280px}.columns-container .columns-right .columns-right-inside.fixed{position:fixed;top:40px;width:280px}.ui-sortable-helper{-webkit-box-shadow:1px 3px 6px 0 rgba(1,1,1,.4);box-shadow:1px 3px 6px 0 rgba(1,1,1,.4)}.columns-left .cpac-boxes .cpac-columns form,.columns-right .sidebox{box-shadow:0 1px 3px rgba(0,0,0,.1)}.ui-sortable-helper .column-meta{border-width:1px}.cpac-placeholder{visibility:visible!important;border-top:1px solid #dfdfdf;padding:5px 4px 7px 0}.cpac-placeholder .inner-placeholder{border:1px dashed grey;background:#eee;width:100%;height:100%}.cpac-placeholder :first-child{border:none}.cpac-column .column-meta{border-style:solid;border-color:#dfdfdf;border-width:1px 1px 0;background:#fcfcfc}.cpac-column .column-meta:nth-child(2n) .column-meta{background:#f9f9f9}.cpac-column .column-meta img{margin-right:3px}.cpac-column .column-meta table{border:none;background:0 0;border-radius:0}.cpac-column .column-meta table tr td{vertical-align:top;height:18px;border:none;padding:11px 8px;border-width:1px 0 0;border-style:solid;border-color:transparent}.cpac-column .column-meta table tr td.column_sort{width:10px;background:url(../images/drag.png)8px 8px no-repeat;cursor:move}.cpac-column .column-meta table tr td.column_label{width:70%;font-weight:700;vertical-align:middle;position:relative}.cpac-column .column-meta table tr td.column_label .inner{position:relative;overflow:hidden;height:18px}.cpac-column .column-meta table tr td.column_label .inner>a{color:#5a5a5a;padding:0 4px}.cpac-column .column-meta table tr td.column_label .inner>a:hover{color:#333}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button{display:none;color:#a00;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.remove-button:hover{color:red}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button{color:#0074a2}.cpac-column .column-meta table tr td.column_label .inner>a.clone-button:hover,.cpac-column .column-meta table tr td.column_label .inner>a.edit-button:hover{color:#2ea2cc}.cpac-column .column-meta table tr td.column_label .inner .meta{display:inline-block;float:right;font-weight:400;color:#b2b2b2;font-size:12px}.cpac-column .column-meta table tr td.column_label .inner .meta span{cursor:pointer}.cpac-column .column-meta table tr td.column_label .inner .meta span.width{margin-right:5px;cursor:auto}.cpac-column .column-meta table tr td.column_label span.vers{float:left}.cpac-column .column-meta table tr td.column_type{width:auto;min-width:120px;text-align:right;vertical-align:middle;color:#999;padding-right:0}.cpac-column .column-meta table tr td.column_type .inner{height:18px;overflow:hidden}.cpac-column .column-meta table tr td.column_type .inner a{color:#999}.cpac-column .column-meta table tr td.column_edit{width:38px;min-width:38px;background:url(../images/arrow.png)23px 18px no-repeat;cursor:pointer}.cpac-column .column-meta:hover .column_label .inner>a.clone-button,.cpac-column .column-meta:hover .column_label .inner>a.edit-button,.cpac-column .column-meta:hover .column_label .inner>a.remove-button{display:inline-block}.cpac-column .column-meta span.vers{padding-top:2px}.cpac-column .column-meta span.vers .comment-grey-bubble{background:url(../images/comment-grey-bubble.png)no-repeat;height:12px;width:12px;float:right}.cpac-column .column-form{display:none;border-width:1px 1px 0;border-style:solid;border-color:#dfdfdf;position:relative}.cpac-column .column-form table{border:none;background:#fcfcfc}.cpac-column .column-form table tr td{vertical-align:top;border:none;padding:8px;background:#fff;border-top:1px solid #F5F5F5}.cpac-column .column-form table tr td input[type=text],.cpac-column .column-form table tr td select{width:99.95%}.cpac-column .column-form table tr td input[type=text].small,.cpac-column .column-form table tr td select.small{width:100px}.cpac-column .column-form table tr td span.suffix{line-height:40px;color:grey}.cpac-column .column-form table tr td select optgroup:nth-child(2n){background:#F9F9F9}.cpac-column .column-form table tr td.label{position:relative;overflow:visible;background:#f5f5f5;border-right:1px solid #E1E1E1;vertical-align:top;width:34%;border-top:1px solid #F0F0F0}.column-footer,.wp-pointer-content{overflow:hidden}.cpac-column .column-form table tr td.label label{font-weight:700;color:#333;display:block;position:relative}.cpac-column .column-form table tr td.label p{color:#666;display:block;font-size:12px;font-style:normal;line-height:16px;margin:0!important}.cpac-column .column-form table tr td.label p.description{display:none;position:absolute;z-index:99;top:30px;left:0;background:#eaf2fa;border-radius:5px;border:1px solid #c7d7e2;padding:5px 8px!important;font-weight:400}.cpac-column .column-form table tr td.label p.description em{display:block;color:#999}.cpac-column .column-form table tr td.label .info{position:absolute;top:0;left:0;width:100%;height:100%;z-index:1}.cpac-column .column-form table tr td.label .info:before{position:absolute;z-index:1;right:10px;top:50%;margin-top:-7px;content:'';display:block;border-radius:32px;border:1px solid #E6E6E6;width:12px;height:12px}.cpac-column .column-form table tr td.label .info:after{position:absolute;z-index:1;right:10px;top:50%;margin-top:-6px;content:'?';display:block;width:14px;height:14px;color:#E6E6E6;font:700 10px Arial;text-align:center;vertical-align:middle;line-height:14px}.cpac-column .column-form table tr td.input label{padding-left:10px;padding-right:0}.cpac-column .column-form table tr td.input div.msg{margin-top:5px;display:none;color:#333;padding:6px 8px;background-color:#ffebe8;border:1px solid #fff;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px}.cpac-column .column-form table tr td.input .section{padding:12px}.cpac-column .column-form table tr.column_width .input{position:relative}.cpac-column .column-form table tr.column_width .input div.description{font-size:11px;width:54px;position:absolute;left:10px;text-align:middle}.cpac-column .column-form table tr.column_width .input div.description input{background:#efefef;border:none;height:20px;line-height:20px;text-align:right;width:36px;font-size:12px}.cpac-column .column-form table tr.column_width .input div.width-slider{margin-left:60px;margin-right:100px;position:relative;margin-top:4px}.cpac-column .column-form table tr.column_width .input div.width-slider .ui-slider-handle{cursor:ew-resize}.cpac-column .column-form table tr.column_width .input div.unit-select{position:absolute;top:8px;right:10px;width:90px;text-align:right}.cpac-column .column-form table tr.column_width .input div.unit-select label{padding-left:5px}.cpac-column .column-form table tr.column_image_size{border:10px solid red}.cpac-column .column-form table tr.column_image_size td.input label.custom-size{display:inline-block;margin-top:4px;margin-bottom:4px}.cpac-column .column-form table tr.column_image_size td.input label.custom-size input{margin-right:3px}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size{display:inline-block}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w.hidden,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .hidden{display:none}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h,.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w{margin:0}.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-h input[type=text],.cpac-column .column-form table tr.column_image_size td.input .custom_image_size .custom-size-w input[type=text]{margin-right:3px;width:40px!important}.cpac-column .column-form table tr.column_action td{background:#f9f9f9}.cpac-column .column-form table tr.column_action td p{margin:0}.cpac-column .column-form table tr.column_action td p a.remove-button{color:#a00;text-decoration:none;text-shadow:none;font-weight:400;margin-left:5px;font-size:12px;padding:0 5px}.cpac-column .column-form table tr.column_action td p a.remove-button:hover{color:#fff;background:red}.cpac-column .column-form table tr:first-child td{border-top:none}.cpac-column.loading .column-form>.spinner{position:absolute;left:50%;top:50%;z-index:200;margin-left:-10px;margin-top:-10px;display:block}.cpac-column.loading .column-form:before{content:'';position:absolute;width:100%;height:100%;background:#FFF;z-index:100;opacity:.5}.cpac-column.opened .column-meta{background-color:#c7c7c7;background-image:-ms-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-moz-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-o-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:-webkit-gradient(linear,left top,left bottom,from(#e9e9e9),to(#c7c7c7));background-image:-webkit-linear-gradient(top,#e9e9e9,#c7c7c7);background-image:linear-gradient(top,#e9e9e9,#c7c7c7);border-color:#aeaeae}.cpac-column.opened .column-meta table{background:0 0}.cpac-column.opened .column-meta table td{border-color:#f8f8f8;color:#333;text-shadow:0 1px 0 #FFF}.cpac-column.opened .column-meta table td a{color:#333;text-shadow:0 1px 0 #FFF}.cpac-column.opened .column-meta table td.column_sort{background-position:8px -39px}.cpac-column.opened .column-meta table td.column_label .inner .meta span{color:grey;text-shadow:none}.cpac-column.opened .column-meta table td.column_type{color:#5C5C5C}.column-footer{background:#EAF2FA;border:1px solid #c7d7e2;min-height:26px;padding:8px}.column-footer .order-message{background:url(../images/order_arrow.png)no-repeat;color:#7A9BBE;float:left;font-family:Comic Sans MS,sans-serif;font-size:11px;height:13px;line-height:1em;margin-left:4px;padding:7px 0 0 22px;text-shadow:0 1px 0 #FFF;display:inline-block}.column-footer .button-container{float:right;display:inline-block;margin-top:-5px}.column-footer .button-container a{display:inline-block;margin-top:5px}.cpac-content-body hr{-moz-border-bottom-colors:none;-moz-border-left-colors:none;-moz-border-right-colors:none;-moz-border-top-colors:none;background:none;border-color:#dfdfdf -moz-use-text-color -moz-use-text-color;border-image:none;border-right:0 none;border-style:solid none none;border-width:1px 0 0;clear:both;margin:30px 0;opacity:.2}#cpac-welcome.about-wrap div.error{display:block!important}.cpac-alert{display:inline-block;background:#FCF8E3;border:1px solid #FBEED5;border-radius:4px;color:#C09853;margin:20px 0;padding:16px 14px;text-shadow:0 1px 0 rgba(255,255,255,.5)}.cpac-alert p{margin:0}.cpac-alert.cpac-alert-success{background-color:#DFF0D8;border-color:#D6E9C6;color:#468847}.cpac-alert.cpac-alert-error{background-color:#F2DEDE;border-color:#EED3D7;color:#B94A48}.cpac-alert a.button-primary{height:28px;line-height:28px;display:inline-block}#cpac-download-add-ons-table{max-width:600px}.wp-core-ui .button-large{height:40px;line-height:40px;font-size:16px;padding:0 15px;text-shadow:0 1px 0 rgba(0,0,0,.5)}.cac-notification.updated{border-left-color:#0071aa}.cac-notification.updated .learnmore{float:right}.cac-notification.updated .learnmore:after{content:"\f139";font:400 20px/1 dashicons;float:right}.columns-right{margin-top:54px}.columns-right .sidebox{background:#FFF;border:1px solid #E1E1E1;border-radius:0;position:relative;margin-bottom:14px}.columns-right .sidebox h3{padding:10px;margin:0}.columns-right .sidebox h3.title{font-family:Georgia,"Times New Roman","Bitstream Charter",Times,serif;font-size:15px;font-weight:400;line-height:1;margin:0;padding:7px 10px;background:#f1f1f1;background-image:-webkit-gradient(linear,left bottom,left top,from(#ececec),to(#f9f9f9));background-image:-webkit-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-moz-linear-gradient(bottom,#ececec,#f9f9f9);background-image:-o-linear-gradient(bottom,#ececec,#f9f9f9);background-image:linear-gradient(to top,#ececec,#f9f9f9);border-bottom-color:#dfdfdf;text-shadow:#fff 0 1px 0;-webkit-box-shadow:0 1px 0 #fff;box-shadow:0 1px 0 #fff;border-bottom-style:solid;border-bottom-width:1px}.columns-right .sidebox .inside{padding:10px}.columns-right .sidebox .inside p{margin-top:0}.columns-right .sidebox#form-actions .form-reset{border-bottom:1px solid #F5F5F5;padding:8px}.columns-right .sidebox#form-actions .reset-column-type{text-decoration:none;color:#BC0B0B;line-height:25px;display:inline-block}.columns-right .sidebox#form-actions .form-update{padding:8px;overflow:hidden}.columns-right .sidebox#form-actions .submit-update{display:block;width:100%;height:28px;line-height:28px;text-align:center}.columns-right .sidebox#pro-version .cta{background:url(../images/get_the_addon.png)no-repeat;background-size:cover}.columns-right .sidebox#pro-version .padding-box{padding:8px 15px 0}.columns-right .sidebox#pro-version h3 a{color:#fff;font-size:19px;text-decoration:none;font-weight:400;margin-top:6px}.columns-right .sidebox#pro-version .inside ul{margin:0 0 10px}.columns-right .sidebox#pro-version .inside ul li{margin:0;padding:0}.columns-right .sidebox#pro-version .inside ul li a{display:inline-block;min-height:24px;font-size:19px;line-height:24px;margin-bottom:1px;padding:0 5px;background:#000;color:#fff;text-decoration:none}.columns-right .sidebox#pro-version .inside p{color:#fff;font-size:12px}.columns-right .sidebox#pro-version .inside p a{color:#fff;display:inline-block;background:#a4c518;padding:0 2px;font-size:15px;text-decoration:none}.columns-right .sidebox#direct-feedback #feedback-rate,.columns-right .sidebox#direct-feedback #feedback-support{display:none}.columns-right .sidebox#direct-feedback .inside>a{border-radius:4px;border:1px solid #CCC;width:48%;height:64px;text-align:center;line-height:64px;font-weight:700;color:#222;display:inline-block;text-decoration:none}.columns-right .sidebox#direct-feedback .inside>a:hover{background:#FAFAFA}.columns-right .sidebox#direct-feedback .inside form textarea{width:100%;height:120px}.columns-right .sidebox#direct-feedback .inside form input[type=submit]{float:right;border-radius:4px;border:1px solid #CCC;height:32px;text-align:center;line-height:32px;font-weight:700;font-size:12px;padding:0 32px;color:#CCC;display:inline-block;background:0 0;text-decoration:none;cursor:pointer}.columns-right .sidebox#direct-feedback .inside form input[type=submit]:hover,.columns-right .sidebox#direct-feedback .inside ul.share li a:hover{background:#FAFAFA}.columns-right .sidebox#direct-feedback .inside form p.description{float:left;font-size:10px}.columns-right .sidebox#direct-feedback .inside ul{margin:0}.columns-right .sidebox#direct-feedback .inside ul.share li{margin:0 0 0 9px;display:block;float:left;width:30%}.columns-right .sidebox#direct-feedback .inside ul.share li a{text-decoration:none;vertical-align:middle;line-height:20px;padding:16px 0;width:100%;text-align:center;border:1px solid #CCC;border-radius:4px;display:block}.columns-right .sidebox#direct-feedback .inside ul.share li:first-child{margin-left:0}.columns-right .sidebox#direct-feedback #feedback-support .inside ul.share li{width:48%}table.cpac-form-table{max-width:1100px;margin-top:20px}table.cpac-form-table>tbody>tr>td,table.cpac-form-table>tbody>tr>th{vertical-align:top}table.cpac-form-table td.padding-22{padding-top:22px}table.cpac-form-table td .cpac_export .ms-container{background:url(../images/switch_bw.png)50% 50% no-repeat}table.cpac-form-table td .cpac_export .ms-container .ms-selectable{width:48%;margin-right:0}table.cpac-form-table td .cpac_export .ms-container .ms-selection{float:right;width:48%}table.cpac-form-table td .cpac_export .ms-container ul.ms-list{width:100%}table.cpac-form-table td .cpac_export .ms-container ul.ms-list li{margin:0;padding-top:5px;padding-bottom:5px}table.cpac-form-table.settings tr td{padding-top:74px}table.cpac-form-table.settings tr:first-child th{padding-top:0}table.cpac-form-table.settings tr:first-child td{padding-top:54px}.wp-pointer-content ol{margin-left:1.5em;padding:0 15px}.wp-pointer-right{margin-right:15px}body.rtl .wp-pointer-right{margin-left:15px;margin-right:0}body.rtl .wp-pointer-right ol{margin-right:1.5em;margin-left:0}body.rtl .cpac-menu .subsubsub{margin-left:14px;margin-right:0}body.rtl .columns-container{margin-left:300px;margin-right:0}body.rtl .columns-left{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-meta img{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner>a.remove-button{margin-right:12px;margin-left:0}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label .inner .meta{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_label span.vers{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label a.more-info,body.rtl .columns-left .cpac-columns .cpac-column .column-meta span.vers .comment-grey-bubble{float:left}body.rtl .columns-left .cpac-columns .cpac-column .column-meta .column_type{text-align:left;padding-left:0;padding-right:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr.column_image_size td.input label input{margin-left:3px;margin-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form table tr td.label p.description{right:0;left:auto}body.rtl .columns-left .cpac-columns .cpac-column .column-form div.description,body.rtl .columns-left .cpac-columns .cpac-column .column-form div.input-width-range{float:right}body.rtl .columns-left .cpac-columns .cpac-column .column-form tr td.input label{padding-left:10px;padding-right:0}body.rtl .columns-left .cpac-columns .cpac-column .column-form a.help{float:left}body.rtl .columns-left .column-footer .order-message{float:right;padding-right:22px;padding-left:0;background:url(../images/order_arrow-rtl.png)right top no-repeat}body.rtl .columns-left .column-footer .button-container,body.rtl .cpac_export .ms-container .ms-selection{float:left}body.rtl .columns-right{float:left;margin-left:-300px;margin-right:0}body.rtl .cpac-placeholder{padding:5px 0 7px 4px}@media only screen and (max-width:900px){.columns-container{margin-right:0}.columns-container .columns-left{float:none}.columns-container .columns-right{float:none;margin-top:0;margin-right:0;width:100%}.columns-container .columns-right .columns-right-inside.fixed{position:relative;top:0;width:100%}}.cpac-addons li{width:200px;background:#FFF;float:left;margin-right:16px;margin-bottom:16px;border:1px solid #DDD;-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.15);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,.15);box-shadow:0 3px 10px 0 rgba(0,0,0,.15)}.cpac-addons li:hover{-webkit-box-shadow:0 3px 10px 0 rgba(0,0,0,.25);-moz-box-shadow:0 3px 10px 0 rgba(0,0,0,.25);box-shadow:0 3px 10px 0 rgba(0,0,0,.25)}.cpac-addons li a{color:#444}.cpac-addons li .cpac-addon-content{display:table;width:100%;height:125px;text-align:center;vertical-align:middle;border-top:1px solid #DDD;background:#0069a4;background:-moz-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-webkit-gradient(radial,center center,0,center center,100%,color-stop(0,#0069a4),color-stop(100%,#085079));background:-webkit-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-o-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:-ms-radial-gradient(center,ellipse cover,#0069a4 0,#085079 100%);background:radial-gradient(ellipse at center,#0069a4 0,#085079 100%);filter:progid:DXImageTransform.Microsoft.gradient(startColorstr='#0069a4', endColorstr='#085079', GradientType=1)}.cpac-addons li .cpac-addon-content>*{display:table-cell;vertical-align:middle}.cpac-addons li .cpac-addon-content h3{padding:0 16px;color:#FFF;line-height:150%}.cpac-addons li .cpac-addon-content img{width:100%}.cpac-addons li .cpac-addon-header{width:100%;padding:25px 15px;-moz-box-sizing:border-box;box-sizing:border-box}.cpac-addons li .cpac-addon-header>:first-child{margin-top:0}.cpac-addons li .cpac-addon-header>:last-child{margin-bottom:0}.cpac-addons li .cpac-addon-actions{background:#EEE;border-top:1px solid #DDD;padding:8px}.cpac-addons li .cpac-addon-actions .cpac-installed:before{content:"\f147";font-family:dashicons;vertical-align:middle;margin-left:-5px;margin-right:3px}
assets/css/column.css CHANGED
@@ -1 +1,111 @@
1
- .cpac-divider{display:inline-block;width:14px;height:12px;background:transparent url(../images/square.png) no-repeat 50% 7px}span.status-closed{color:#f00}.tablenav.top .cpac-edit{top:0;display:inline-block;vertical-align:bottom}.cpac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:8px;font-size:12px}.cpac-column-value-image{display:inline-block;background:transparent;margin-right:2px;overflow:hidden}.rtl .cpac-column-value-image{margin-left:2px;margin-right:0}.cpac-column-value-image img{display:block;margin:0 auto}.column-column-attachment img{padding-right:5px;padding-bottom:4px}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#fff;float:left;height:16px;line-height:16px;margin-right:12px;min-width:30px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}div.sizes span.not-available{color:#999}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,0.75);font-weight:normal;min-width:25px}
1
+ /* =General
2
+ -------------------------------------------------------------- */
3
+ .cpac-divider {
4
+ display: inline-block;
5
+ width: 14px;
6
+ height: 12px;
7
+ background: transparent url(../images/square.png) no-repeat 50% 7px;
8
+ }
9
+ span.status-closed {
10
+ color: red;
11
+ }
12
+ .tablenav.top .cpac-edit {
13
+ top: 0;
14
+ display: inline-block;
15
+ vertical-align: bottom;
16
+ }
17
+ /* =General Column
18
+ -------------------------------------------------------------- */
19
+ .cpac-rounded {
20
+ display: inline-block;
21
+ border-radius: 10px;
22
+ min-width: 8px;
23
+ padding: 0 6px;
24
+ height: 20px;
25
+ background-color: #e0e0e0;
26
+ text-align: center;
27
+ margin-left: 8px;
28
+ font-size: 12px;
29
+ }
30
+ /* =Images Column
31
+ -------------------------------------------------------------- */
32
+ .cpac-column-value-image {
33
+ display: inline-block;
34
+ background: transparent;
35
+ margin-right: 2px;
36
+ overflow: hidden;
37
+ }
38
+ .rtl .cpac-column-value-image {
39
+ margin-left: 2px;
40
+ margin-right: 0;
41
+ }
42
+ .cpac-column-value-image img {
43
+ display: block;
44
+ margin: 0 auto;
45
+ }
46
+ .column-column-attachment img {
47
+ padding-right: 5px;
48
+ padding-bottom: 4px;
49
+ }
50
+ .rtl .column-column-attachment img {
51
+ padding-left: 5px;
52
+ padding-right: 0;
53
+ }
54
+ /* =Color Column
55
+ -------------------------------------------------------------- */
56
+ div.cpac-color {
57
+ line-height: 26px;
58
+ }
59
+ div.cpac-color span {
60
+ display: block;
61
+ -webkit-border-radius: 3px;
62
+ border-radius: 3px;
63
+ color: #ffffff;
64
+ float: left;
65
+ height: 16px;
66
+ line-height: 16px;
67
+ margin-right: 12px;
68
+ min-width: 30px;
69
+ overflow: hidden;
70
+ padding: 4px 5px;
71
+ font-size: 10px;
72
+ font-family: Monaco, Menlo, Consolas, "Courier New", monospace;
73
+ min-width: 47px;
74
+ text-align: center;
75
+ }
76
+ .rtl div.cpac-color span {
77
+ float: right;
78
+ margin-left: 12px;
79
+ margin-right: 0;
80
+ }
81
+ /* =Available Sizes column
82
+ -------------------------------------------------------------- */
83
+ div.sizes span.not-available {
84
+ color: #999;
85
+ }
86
+ /* =Actions column
87
+ -------------------------------------------------------------- */
88
+ .button.cpac-button-action {
89
+ position: relative;
90
+ text-indent: 9999px;
91
+ margin-right: 4px;
92
+ padding: 0 13px;
93
+ }
94
+ .button.cpac-button-action:before {
95
+ position: absolute;
96
+ top: 0;
97
+ left: 0;
98
+ width: 100%;
99
+ height: 100%;
100
+ text-indent: 0;
101
+ }
102
+ /* =qTip2
103
+ -------------------------------------------------------------- */
104
+ .cpac-tip {
105
+ display: inline-block;
106
+ }
107
+ .qtip.qtip-tipsy {
108
+ background: rgba(0, 0, 0, 0.75);
109
+ font-weight: normal;
110
+ min-width: 25px;
111
+ }
assets/css/column.min.css ADDED
@@ -0,0 +1 @@
1
+ .cpac-divider{display:inline-block;width:14px;height:12px;background:url(../images/square.png)50% 7px no-repeat}span.status-closed{color:red}.tablenav.top .cpac-edit{top:0;display:inline-block;vertical-align:bottom}.cpac-rounded{display:inline-block;border-radius:10px;min-width:8px;padding:0 6px;height:20px;background-color:#e0e0e0;text-align:center;margin-left:8px;font-size:12px}.cpac-column-value-image{display:inline-block;background:0 0;margin-right:2px;overflow:hidden}.rtl .cpac-column-value-image{margin-left:2px;margin-right:0}.cpac-column-value-image img{display:block;margin:0 auto}.column-column-attachment img{padding-right:5px;padding-bottom:4px}.rtl .column-column-attachment img{padding-left:5px;padding-right:0}div.cpac-color{line-height:26px}div.cpac-color span{display:block;-webkit-border-radius:3px;border-radius:3px;color:#fff;float:left;height:16px;line-height:16px;margin-right:12px;overflow:hidden;padding:4px 5px;font-size:10px;font-family:Monaco,Menlo,Consolas,"Courier New",monospace;min-width:47px;text-align:center}.rtl div.cpac-color span{float:right;margin-left:12px;margin-right:0}div.sizes span.not-available{color:#999}.button.cpac-button-action{position:relative;text-indent:9999px;margin-right:4px;padding:0 13px}.button.cpac-button-action:before{position:absolute;top:0;left:0;width:100%;height:100%;text-indent:0}.cpac-tip{display:inline-block}.qtip.qtip-tipsy{background:rgba(0,0,0,.75);font-weight:400;min-width:25px}
assets/js/admin-columns.min.js CHANGED
@@ -1 +1 @@
1
- function cpac_tooltips(){if(typeof jQuery.fn.qtip=="undefined")return;jQuery(".cpac-tip").qtip({content:{attr:"data-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}jQuery(document).ready(function(e){cpac_tooltips()});
1
+ function cpac_tooltips(){"undefined"!=typeof jQuery.fn.qtip&&jQuery(".cpac-tip").qtip({content:{attr:"data-tip"},position:{my:"top center",at:"bottom center"},style:{tip:!0,classes:"qtip-tipsy"}})}jQuery(document).ready(function(){cpac_tooltips()});
assets/js/admin-settings.min.js CHANGED
@@ -1,4 +1 @@
1
- /*
2
- * Fires when the dom is ready
3
- *
4
- */function cpac_importexport(){jQuery("#php-export-results textarea").on("focus, mouseup",function(){jQuery(this).select()}).select().focus()}function cpac_submit_form(){jQuery(".form-update a.submit-update").click(function(e){e.preventDefault();jQuery(this).closest(".columns-container").find(".cpac-columns form").submit()})}function cpac_create_column(e){var t=jQuery(".for-cloning-only .cpac-column",e).first().clone(),n=e.attr("data-type");if(t.length>0){t.cpac_update_clone_id(n);jQuery(".cpac-columns form",e).append(t);t.column_bind_toggle();t.column_bind_remove();t.column_bind_clone();t.column_bind_events();cpac_sortable();jQuery(document).trigger("column_add",t)}return t}function cpac_add_column(){jQuery("#cpac .add_column").click(function(e){var t=jQuery(this).closest(".columns-container"),n=cpac_create_column(t);n.addClass("opened").find(".column-form").slideDown(150,function(){jQuery("html, body").animate({scrollTop:n.offset().top-58},300)});e.preventDefault()})}function cpac_sidebar_feedback(){jQuery(function(e){var t=e(".sidebox#direct-feedback");t.find("#feedback-choice a.no").click(function(e){e.preventDefault();t.find("#feedback-choice").slideUp();t.find("#feedback-support").slideDown()});t.find("#feedback-choice a.yes").click(function(e){e.preventDefault();t.find("#feedback-choice").slideUp();t.find("#feedback-rate").slideDown()})})}function cpac_clear_input_defaults(){jQuery.fn.cleardefault=function(){return this.focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)})};jQuery("#cpac-box-plugin_settings .addons input").cleardefault()}function cpac_help(){jQuery("#cpac a.help").click(function(e){e.preventDefault();var t=jQuery("#contextual-help-wrap");t.parent().show();jQuery('a[href="#tab-panel-cpac-'+jQuery(this).attr("data-help")+'"]',t).trigger("click");t.slideDown("fast",function(){t.focus()})})}function cpac_pointer(){jQuery(".cpac-pointer").each(function(){var e=jQuery(this),t=e.attr("rel"),n=e.attr("data-pos"),r={at:"left top",my:"right top",edge:"right",offset:"0 0"};"right"==n&&(r={at:"right middle",my:"left middle",edge:"left"});e.pointer({content:jQuery("#"+t).html(),position:r,pointerWidth:250,close:function(){e.removeClass("open")},pointerClass:"wp-pointer wp-pointer-"+r.edge});e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")});e.hover(function(){jQuery(this).pointer("open")},function(){e.hasClass("open")||jQuery(this).pointer("close")})})}function cpac_sortable(){jQuery("div.cpac-columns").each(function(){jQuery(this).hasClass("ui-sortable")?jQuery(this).sortable("refresh"):jQuery(this).sortable({items:".cpac-column"})})}function cpac_menu(){var e=jQuery("#cpac div.cpac-menu");e.find("a").click(function(e,t){var n=jQuery(this).attr("href");if(n){var r=n.replace("#cpac-box-","");jQuery(".cpac-menu a").removeClass("current");jQuery(".columns-container").hide();jQuery(this).addClass("current");var i=jQuery('.columns-container[data-type="'+r+'"]').show(),s=i.find(".cpac-columns");jQuery(document).trigger("cac_menu_change",s)}e.preventDefault()});e.find("a.current").trigger("click")}jQuery(document).ready(function(){if(jQuery("#cpac").length===0)return!1;cpac_pointer();cpac_submit_form();cpac_clear_input_defaults();cpac_sortable();cpac_menu();cpac_help();cpac_add_column();cpac_importexport();cpac_sidebar_feedback();jQuery(".cpac-column").each(function(e,t){jQuery(t).column_bind_toggle();jQuery(t).column_bind_remove();jQuery(t).column_bind_clone();jQuery(t).cpac_bind_container_addon_events()})});jQuery.fn.column_bind_toggle=function(){var e=jQuery(this);e.find("td.column_type a, td.column_edit, td.column_label a.toggle, td.column_label .edit-button").click(function(t){t.preventDefault();e.toggleClass("opened").find(".column-form").slideToggle(150);e.hasClass("events-binded")||e.column_bind_events();e.addClass("events-binded");jQuery(document).trigger("column_init",e)})};jQuery.fn.column_bind_remove=function(){jQuery(this).find(".remove-button").click(function(e){jQuery(this).closest(".cpac-column").column_remove();e.preventDefault()})};jQuery.fn.column_bind_clone=function(){jQuery(this).find(".clone-button").click(function(e){var t,n;e.preventDefault();t=jQuery(this).closest(".cpac-column");n=t.column_clone();typeof n!="undefined"&&n.removeClass("loading").hide().slideDown()})};jQuery.fn.cpac_column_refresh=function(){var e=jQuery(this);e.addClass("loading");e.find(".column-form").prepend('<span class="spinner" />');jQuery.post(ajaxurl,{plugin_id:"cpac",action:"cpac_column_refresh",column:jQuery(this).find("input.column-name").val(),formdata:jQuery(this).parents("form").serialize()},function(t){var n=jQuery("<div>"+t+"</div>").children();e.replaceWith(n);e=n;e.column_bind_toggle();e.column_bind_remove();e.column_bind_clone();e.column_bind_events();e.removeClass("loading").addClass("opened").find(".column-form").show();jQuery(document).trigger("column_change",e)})};jQuery.fn.column_bind_events=function(){var e=jQuery(this),t=e.closest(".columns-container "),n=t.attr("data-type"),r=e.find(".column_type select option:selected").val();e.find(".column_type select").change(function(){var i=jQuery("optgroup",this).children(":selected"),s=i.val(),o=i.text(),u=jQuery(this).next(".msg").hide(),a=t.find('.for-cloning-only .cpac-column[data-type="'+s+'"]');if(a.length)if(a.find(".is-disabled").length){u.html(a.find(".is-disabled").html()).show();jQuery(this).find("option").removeAttr("selected");jQuery(this).find('option[value="'+r+'"]').attr("selected","selected")}else{if(typeof a.attr("data-clone")=="undefined"&&jQuery(".cpac-columns",t).find('[data-type="'+s+'"]').length){u.html(cpac_i18n.clone.replace("%s","<strong>"+o+"</strong>")).show();jQuery(this).find("option").removeAttr("selected");jQuery(this).find('option[value="'+r+'"]').attr("selected","selected");return}var f=a.clone();f.addClass("opened").find(".column-form").show();f.find(".column-meta").replaceWith(e.find(".column-meta"));f.find(".column-form").replaceWith(e.find(".column-form"));f.cpac_update_clone_id(n);e.replaceWith(f);f.cpac_column_refresh()}});e.find(".column_label .input input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".cpac-column").find("td.column_label .inner > a.toggle").text(e)});e.column_width_slider();var i=e.find(".column-meta span.width");i.on("update",function(){var t=e.find("input.width").val(),n=e.find("input.unit").filter(":checked").val();t>0?jQuery(this).text(t+n):jQuery(this).text("")});var s=e.find(".column_width .unit-select label");s.on("click",function(){e.find("span.unit").text(jQuery(this).find("input").val());e.column_width_slider();i.trigger("update")});var o=e.find("input.width").on("keyup",function(){e.column_width_slider();jQuery(this).trigger("validate");i.trigger("update")}).on("validate",function(){var e=o.val(),t=jQuery.trim(e);jQuery.isNumeric(t)||(t=t.replace(/\D/g,""));t.length>3&&(t=t.substring(0,3));t<=0&&(t="");t!==e&&o.val(t)});e.find(".column_image_size label.custom-size").click(function(){var e=jQuery(this).closest(".input");if(jQuery(this).hasClass("image-size-custom")){jQuery(".custom-size-w",e).removeClass("hidden");jQuery(".custom-size-h",e).removeClass("hidden")}else{jQuery(".custom-size-w",e).addClass("hidden");jQuery(".custom-size-h",e).addClass("hidden")}});e.find(".column-form .label label, .column-form .label .info").hover(function(){jQuery(this).parents(".label").find("p.description").show()},function(){jQuery(this).parents(".label").find("p.description").hide()});e.find(".column_type select").val()=="column-meta"&&e.find(".column_field_type select").change(function(){e.cpac_column_refresh()})};jQuery.fn.column_remove=function(){jQuery(this).addClass("deleting").animate({opacity:0,height:0},350,function(e){jQuery(this).remove()})};jQuery.fn.column_width_slider=function(){var e=jQuery(this).find(".column_width"),t=e.find("input.width"),n=e.find("input.unit"),r=n.filter(":checked").val(),i=t.val(),s=e.find(".width-slider"),o=jQuery(this).find(".column-meta span.width");"%"==r&&i>100&&(i=100);t.val(i);s.slider({range:"min",min:0,max:"%"==r?100:500,value:i,slide:function(e,n){t.val(n.value);o.trigger("update");t.trigger("validate")}})};jQuery.fn.column_clone=function(){var e=jQuery(this).closest(".columns-container"),t=jQuery(this);if(typeof t.attr("data-clone")=="undefined"){var n=cpac_i18n.clone.replace("%s","<strong>"+t.find(".column_label .toggle").text()+"</strong>");t.addClass("opened").find(".column-form").slideDown(150);t.find(".msg").html(n).show();return}var r=jQuery(this).clone();r.cpac_update_clone_id(e.attr("data-type"));jQuery(this).after(r);r.column_bind_toggle();r.column_bind_remove();r.column_bind_clone();r.column_bind_events();cpac_sortable();jQuery(document).trigger("column_add",r);return r};jQuery.fn.cpac_update_clone_id=function(e){var t=jQuery(this),n=t.attr("data-type"),r=jQuery('.columns-container[data-type="'+e+'"]').find(".cpac-columns"),i=jQuery(r).find('*[data-type="'+n+'"]').not(t),s=jQuery.map(i,function(e,t){return jQuery(e).attr("data-clone")?parseInt(jQuery(e).attr("data-clone"),10):0});s.sort();var o=Math.max.apply(null,s)+1;for(var u=0;u<=o;u++)if(-1===jQuery.inArray(u,s))break;if(0===u)return;var a=t.attr("data-clone"),f="";a&&(f="-"+a);t.attr("data-clone",u);t.find("input.clone").val(u);t.find("input.column-name").val(n+"-"+u);var l=t.find("input, select, label");jQuery(l).each(function(e,t){var r=n+"-"+u;jQuery(t).attr("name")&&jQuery(t).attr("name",jQuery(t).attr("name").replace(n+f,r));jQuery(t).attr("for")&&jQuery(t).attr("for",jQuery(t).attr("for").replace(n+f,r));jQuery(t).attr("id")&&jQuery(t).attr("id",jQuery(t).attr("id").replace(n+f,r))})};jQuery(document).bind("column_init column_change column_add",function(e,t){jQuery(t).cpac_bind_column_addon_events();jQuery(t).cpac_bind_container_addon_events()});jQuery.fn.cpac_bind_column_addon_events=function(){var e=jQuery(this),t=e.find("[data-toggle-id] label");t.click(function(){var t=jQuery(this).closest("td.input").data("toggle-id"),n=e.find('[data-indicator-id="'+t+'"]').removeClass("on"),r=jQuery("input",this).val();"on"==r&&n.addClass("on")})};jQuery.fn.cpac_bind_container_addon_events=function(){var e=jQuery(this),t=e.find("[data-indicator-id]");t.unbind("click").click(function(){var t=jQuery(this).data("indicator-id"),n=e.find('[data-toggle-id="'+t+'"] input');if(jQuery(this).hasClass("on")){jQuery(this).removeClass("on").addClass("off");n.filter("[value=off]").prop("checked",!0)}else{jQuery(this).removeClass("off").addClass("on");n.filter("[value=on]").prop("checked",!0)}})};
1
+ function cpac_importexport(){jQuery("#php-export-results textarea").on("focus, mouseup",function(){jQuery(this).select()}).select().focus()}function cpac_submit_form(){jQuery(".form-update a.submit-update").click(function(e){e.preventDefault(),jQuery(this).closest(".columns-container").find(".cpac-columns form").submit()})}function cpac_create_column(e){var n=jQuery(".for-cloning-only .cpac-column",e).first().clone(),t=e.attr("data-type");return n.length>0&&(n.cpac_update_clone_id(t),jQuery(".cpac-columns form",e).append(n),n.column_bind_toggle(),n.column_bind_remove(),n.column_bind_clone(),n.column_bind_events(),cpac_sortable(),jQuery(document).trigger("column_add",n)),n}function cpac_add_column(){jQuery("#cpac .add_column").click(function(e){var n=jQuery(this).closest(".columns-container"),t=cpac_create_column(n);t.addClass("opened").find(".column-form").slideDown(150,function(){jQuery("html, body").animate({scrollTop:t.offset().top-58},300)}),e.preventDefault()})}function cpac_sidebar_feedback(){jQuery(function(e){var n=e(".sidebox#direct-feedback");n.find("#feedback-choice a.no").click(function(e){e.preventDefault(),n.find("#feedback-choice").slideUp(),n.find("#feedback-support").slideDown()}),n.find("#feedback-choice a.yes").click(function(e){e.preventDefault(),n.find("#feedback-choice").slideUp(),n.find("#feedback-rate").slideDown()})})}function cpac_clear_input_defaults(){jQuery.fn.cleardefault=function(){return this.focus(function(){this.value==this.defaultValue&&(this.value="")}).blur(function(){this.value.length||(this.value=this.defaultValue)})},jQuery("#cpac-box-plugin_settings .addons input").cleardefault()}function cpac_help(){jQuery("#cpac a.help").click(function(e){e.preventDefault();var n=jQuery("#contextual-help-wrap");n.parent().show(),jQuery('a[href="#tab-panel-cpac-'+jQuery(this).attr("data-help")+'"]',n).trigger("click"),n.slideDown("fast",function(){n.focus()})})}function cpac_pointer(){jQuery(".cpac-pointer").each(function(){var e=jQuery(this),n=e.attr("rel"),t=e.attr("data-pos"),c={at:"left top",my:"right top",edge:"right",offset:"0 0"};"right"==t&&(c={at:"right middle",my:"left middle",edge:"left"}),e.pointer({content:jQuery("#"+n).html(),position:c,pointerWidth:250,close:function(){e.removeClass("open")},pointerClass:"wp-pointer wp-pointer-"+c.edge}),e.click(function(){e.hasClass("open")?e.removeClass("open"):e.addClass("open")}),e.hover(function(){jQuery(this).pointer("open")},function(){e.hasClass("open")||jQuery(this).pointer("close")})})}function cpac_sortable(){jQuery("div.cpac-columns").each(function(){jQuery(this).sortable(jQuery(this).hasClass("ui-sortable")?"refresh":{items:".cpac-column"})})}function cpac_menu(){var e=jQuery("#cpac div.cpac-menu");e.find("a").click(function(e){var n=jQuery(this).attr("href");if(n){var t=n.replace("#cpac-box-","");jQuery(".cpac-menu a").removeClass("current"),jQuery(".columns-container").hide(),jQuery(this).addClass("current");var c=jQuery('.columns-container[data-type="'+t+'"]').show(),i=c.find(".cpac-columns");jQuery(document).trigger("cac_menu_change",i)}e.preventDefault()}),e.find("a.current").trigger("click")}jQuery(document).ready(function(){return 0===jQuery("#cpac").length?!1:(cpac_pointer(),cpac_submit_form(),cpac_clear_input_defaults(),cpac_sortable(),cpac_menu(),cpac_help(),cpac_add_column(),cpac_importexport(),cpac_sidebar_feedback(),void jQuery(".cpac-column").each(function(e,n){jQuery(n).column_bind_toggle(),jQuery(n).column_bind_remove(),jQuery(n).column_bind_clone(),jQuery(n).cpac_bind_container_addon_events()}))}),jQuery.fn.column_bind_toggle=function(){var e=jQuery(this);e.find("td.column_type a, td.column_edit, td.column_label a.toggle, td.column_label .edit-button").click(function(n){n.preventDefault(),e.toggleClass("opened").find(".column-form").slideToggle(150),e.hasClass("events-binded")||e.column_bind_events(),e.addClass("events-binded"),jQuery(document).trigger("column_init",e)})},jQuery.fn.column_bind_remove=function(){jQuery(this).find(".remove-button").click(function(e){jQuery(this).closest(".cpac-column").column_remove(),e.preventDefault()})},jQuery.fn.column_bind_clone=function(){jQuery(this).find(".clone-button").click(function(e){var n,t;e.preventDefault(),n=jQuery(this).closest(".cpac-column"),t=n.column_clone(),"undefined"!=typeof t&&t.removeClass("loading").hide().slideDown()})},jQuery.fn.cpac_column_refresh=function(){var e=jQuery(this);e.addClass("loading"),e.find(".column-form").prepend('<span class="spinner" />'),jQuery.post(ajaxurl,{plugin_id:"cpac",action:"cpac_column_refresh",column:jQuery(this).find("input.column-name").val(),formdata:jQuery(this).parents("form").serialize()},function(n){var t=jQuery("<div>"+n+"</div>").children();e.replaceWith(t),e=t,e.column_bind_toggle(),e.column_bind_remove(),e.column_bind_clone(),e.column_bind_events(),e.removeClass("loading").addClass("opened").find(".column-form").show(),jQuery(document).trigger("column_change",e)})},jQuery.fn.column_bind_events=function(){var e=jQuery(this),n=e.closest(".columns-container "),t=n.attr("data-type"),c=e.find(".column_type select option:selected").val();e.find(".column_type select").change(function(){var i=jQuery("optgroup",this).children(":selected"),a=i.val(),o=i.text(),r=jQuery(this).next(".msg").hide(),u=n.find('.for-cloning-only .cpac-column[data-type="'+a+'"]');if(u.length)if(u.find(".is-disabled").length)r.html(u.find(".is-disabled").html()).show(),jQuery(this).find("option").removeAttr("selected"),jQuery(this).find('option[value="'+c+'"]').attr("selected","selected");else{if("undefined"==typeof u.attr("data-clone")&&jQuery(".cpac-columns",n).find('[data-type="'+a+'"]').length)return r.html(cpac_i18n.clone.replace("%s","<strong>"+o+"</strong>")).show(),jQuery(this).find("option").removeAttr("selected"),void jQuery(this).find('option[value="'+c+'"]').attr("selected","selected");var l=u.clone();l.addClass("opened").find(".column-form").show(),l.find(".column-meta").replaceWith(e.find(".column-meta")),l.find(".column-form").replaceWith(e.find(".column-form")),l.cpac_update_clone_id(t),e.replaceWith(l),l.cpac_column_refresh()}}),e.find(".column_label .input input").bind("keyup change",function(){var e=jQuery(this).val();jQuery(this).closest(".cpac-column").find("td.column_label .inner > a.toggle").text(e)}),e.column_width_slider();var i=e.find(".column-meta span.width");i.on("update",function(){var n=e.find("input.width").val(),t=e.find("input.unit").filter(":checked").val();jQuery(this).text(n>0?n+t:"")});var a=e.find(".column_width .unit-select label");a.on("click",function(){e.find("span.unit").text(jQuery(this).find("input").val()),e.column_width_slider(),i.trigger("update")});var o=e.find("input.width").on("keyup",function(){e.column_width_slider(),jQuery(this).trigger("validate"),i.trigger("update")}).on("validate",function(){var e=o.val(),n=jQuery.trim(e);jQuery.isNumeric(n)||(n=n.replace(/\D/g,"")),n.length>3&&(n=n.substring(0,3)),0>=n&&(n=""),n!==e&&o.val(n)});e.find(".column_image_size label.custom-size").click(function(){var e=jQuery(this).closest(".input");jQuery(this).hasClass("image-size-custom")?(jQuery(".custom-size-w",e).removeClass("hidden"),jQuery(".custom-size-h",e).removeClass("hidden")):(jQuery(".custom-size-w",e).addClass("hidden"),jQuery(".custom-size-h",e).addClass("hidden"))}),e.find(".column-form .label label, .column-form .label .info").hover(function(){jQuery(this).parents(".label").find("p.description").show()},function(){jQuery(this).parents(".label").find("p.description").hide()}),"column-meta"==e.find(".column_type select").val()&&e.find(".column_field_type select").change(function(){e.cpac_column_refresh()})},jQuery.fn.column_remove=function(){jQuery(this).addClass("deleting").animate({opacity:0,height:0},350,function(){jQuery(this).remove()})},jQuery.fn.column_width_slider=function(){var e=jQuery(this).find(".column_width"),n=e.find("input.width"),t=e.find("input.unit"),c=t.filter(":checked").val(),i=n.val(),a=e.find(".width-slider"),o=jQuery(this).find(".column-meta span.width");"%"==c&&i>100&&(i=100),n.val(i),a.slider({range:"min",min:0,max:"%"==c?100:500,value:i,slide:function(e,t){n.val(t.value),o.trigger("update"),n.trigger("validate")}})},jQuery.fn.column_clone=function(){var e=jQuery(this).closest(".columns-container"),n=jQuery(this);if("undefined"==typeof n.attr("data-clone")){var t=cpac_i18n.clone.replace("%s","<strong>"+n.find(".column_label .toggle").text()+"</strong>");return n.addClass("opened").find(".column-form").slideDown(150),void n.find(".msg").html(t).show()}var c=jQuery(this).clone();return c.cpac_update_clone_id(e.attr("data-type")),jQuery(this).after(c),c.column_bind_toggle(),c.column_bind_remove(),c.column_bind_clone(),c.column_bind_events(),cpac_sortable(),jQuery(document).trigger("column_add",c),c},jQuery.fn.cpac_update_clone_id=function(e){var n=jQuery(this),t=n.attr("data-type"),c=jQuery('.columns-container[data-type="'+e+'"]').find(".cpac-columns"),i=jQuery(c).find('*[data-type="'+t+'"]').not(n),a=jQuery.map(i,function(e){return jQuery(e).attr("data-clone")?parseInt(jQuery(e).attr("data-clone"),10):0});a.sort();for(var o=Math.max.apply(null,a)+1,r=0;o>=r&&-1!==jQuery.inArray(r,a);r++);if(0!==r){var u=n.attr("data-clone"),l="";u&&(l="-"+u),n.attr("data-clone",r),n.find("input.clone").val(r),n.find("input.column-name").val(t+"-"+r);var d=n.find("input, select, label");jQuery(d).each(function(e,n){var c=t+"-"+r;jQuery(n).attr("name")&&jQuery(n).attr("name",jQuery(n).attr("name").replace(t+l,c)),jQuery(n).attr("for")&&jQuery(n).attr("for",jQuery(n).attr("for").replace(t+l,c)),jQuery(n).attr("id")&&jQuery(n).attr("id",jQuery(n).attr("id").replace(t+l,c))})}},jQuery(document).bind("column_init column_change column_add",function(e,n){jQuery(n).cpac_bind_column_addon_events(),jQuery(n).cpac_bind_container_addon_events()}),jQuery.fn.cpac_bind_column_addon_events=function(){var e=jQuery(this),n=e.find("[data-toggle-id] label");n.click(function(){var n=jQuery(this).closest("td.input").data("toggle-id"),t=e.find('[data-indicator-id="'+n+'"]').removeClass("on"),c=jQuery("input",this).val();"on"==c&&t.addClass("on")})},jQuery.fn.cpac_bind_container_addon_events=function(){var e=jQuery(this),n=e.find("[data-indicator-id]");n.unbind("click").click(function(){var n=jQuery(this).data("indicator-id"),t=e.find('[data-toggle-id="'+n+'"] input');jQuery(this).hasClass("on")?(jQuery(this).removeClass("on").addClass("off"),t.filter("[value=off]").prop("checked",!0)):(jQuery(this).removeClass("off").addClass("on"),t.filter("[value=on]").prop("checked",!0))})};
assets/js/jquery.qtip.min.js DELETED
@@ -1,13 +0,0 @@
1
- /*
2
- * qTip2 - Pretty powerful tooltips - v2.2.1
3
- * http://qtip2.com
4
- *
5
- * Copyright (c) 2014
6
- * Released under the MIT licenses
7
- * http://jquery.org/license
8
- *
9
- * Date: Mon Sep 8 2014 05:43 EDT-0400
10
- * Plugins: tips
11
- * Styles: core css3
12
- *//*global window: false, jQuery: false, console: false, define: false *//* Cache window, document, undefined */(function(e,t,n){(function(e){"use strict";typeof define=="function"&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.qtip&&e(jQuery)})(function(r){"use strict";function I(e,t,n,i){this.id=n;this.target=e;this.tooltip=o;this.elements={target:e};this._id=T+"-"+n;this.timers={img:{}};this.options=t;this.plugins={};this.cache={event:{},target:r(),disabled:s,attr:i,onTooltip:s,lastClass:""};this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=s}function q(e){return e===o||r.type(e)!=="object"}function R(e){return!(r.isFunction(e)||e&&e.attr||e.length||r.type(e)==="object"&&(e.jquery||e.then))}function U(e){var t,n,u,a;if(q(e))return s;q(e.metadata)&&(e.metadata={type:e.metadata});if("content"in e){t=e.content;q(t)||t.jquery||t.done?t=e.content={text:n=R(t)?s:t}:n=t.text;if("ajax"in t){u=t.ajax;a=u&&u.once!==s;delete t.ajax;t.text=function(e,t){var i=n||r(this).attr(t.options.content.attr)||"Loading...",s=r.ajax(r.extend({},u,{context:t})).then(u.success,o,u.error).then(function(e){e&&a&&t.set("content.text",e);return e},function(e,n,r){if(t.destroyed||e.status===0)return;t.set("content.text",n+": "+r)});return a?i:(t.set("content.text",i),s)}}if("title"in t){if(r.isPlainObject(t.title)){t.button=t.title.button;t.title=t.title.text}R(t.title||s)&&(t.title=s)}}"position"in e&&q(e.position)&&(e.position={my:e.position,at:e.position});"show"in e&&q(e.show)&&(e.show=e.show.jquery?{target:e.show}:e.show===i?{ready:i}:{event:e.show});"hide"in e&&q(e.hide)&&(e.hide=e.hide.jquery?{target:e.hide}:{event:e.hide});"style"in e&&q(e.style)&&(e.style={classes:e.style});r.each(x,function(){this.sanitize&&this.sanitize(e)});return e}function z(e,t){var n=0,r,i=e,s=t.split(".");while(i=i[s[n++]])n<s.length&&(r=i);return[r||e,s.pop()]}function W(e,t){var n,r,i;for(n in this.checks)for(r in this.checks[n])if(i=(new RegExp(r,"i")).exec(e)){t.push(i);(n==="builtin"||this.plugins[n])&&this.checks[n][r].apply(this.plugins[n]||this,t)}}function J(e){return k.concat("").join(e?"-"+e+" ":" ")}function K(e,t){if(t>0)return setTimeout(r.proxy(e,this),t);e.call(this)}function Q(e){if(this.tooltip.hasClass(P))return;clearTimeout(this.timers.show);clearTimeout(this.timers.hide);this.timers.show=K.call(this,function(){this.toggle(i,e)},this.options.show.delay)}function G(e){if(this.tooltip.hasClass(P)||this.destroyed)return;var t=r(e.relatedTarget),n=t.closest(L)[0]===this.tooltip[0],i=t[0]===this.options.show.target[0];clearTimeout(this.timers.show);clearTimeout(this.timers.hide);if(this!==t[0]&&this.options.position.target==="mouse"&&n||this.options.hide.fixed&&/mouse(out|leave|move)/.test(e.type)&&(n||i)){try{e.preventDefault();e.stopImmediatePropagation()}catch(o){}return}this.timers.hide=K.call(this,function(){this.toggle(s,e)},this.options.hide.delay,this)}function Y(e){if(this.tooltip.hasClass(P)||!this.options.hide.inactive)return;clearTimeout(this.timers.inactive);this.timers.inactive=K.call(this,function(){this.hide(e)},this.options.hide.inactive)}function Z(e){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}function et(e,n,i){r(t.body).delegate(e,(n.split?n:n.join("."+T+" "))+"."+T,function(){var e=b.api[r.attr(this,C)];e&&!e.disabled&&i.apply(e,arguments)})}function tt(e,n,u){var a,f,l,c,h,p=r(t.body),d=e[0]===t?p:e,v=e.metadata?e.metadata(u.metadata):o,m=u.metadata.type==="html5"&&v?v[u.metadata.name]:o,g=e.data(u.metadata.name||"qtipopts");try{g=typeof g=="string"?r.parseJSON(g):g}catch(y){}c=r.extend(i,{},b.defaults,u,typeof g=="object"?U(g):o,U(m||v));f=c.position;c.id=n;if("boolean"==typeof c.content.text){l=e.attr(c.content.attr);if(c.content.attr===s||!l)return s;c.content.text=l}f.container.length||(f.container=p);f.target===s&&(f.target=d);c.show.target===s&&(c.show.target=d);c.show.solo===i&&(c.show.solo=f.container.closest("body"));c.hide.target===s&&(c.hide.target=d);c.position.viewport===i&&(c.position.viewport=f.container);f.container=f.container.eq(0);f.at=new E(f.at,i);f.my=new E(f.my);if(e.data(T))if(c.overwrite)e.qtip("destroy",!0);else if(c.overwrite===s)return s;e.attr(N,n);c.suppress&&(h=e.attr("title"))&&e.removeAttr("title").attr(B,h).attr("title","");a=new I(e,c,n,!!l);e.data(T,a);return a}function ht(e){return e.charAt(0).toUpperCase()+e.slice(1)}function vt(e,t){var r=t.charAt(0).toUpperCase()+t.slice(1),i=(t+" "+dt.join(r+" ")+r).split(" "),s,o,u=0;if(pt[t])return e.css(pt[t]);while(s=i[u++])if((o=e.css(s))!==n)return pt[t]=s,o}function mt(e,t){return Math.ceil(parseFloat(vt(e,t)))}function Et(e,t){this._ns="tip";this.options=t;this.offset=t.offset;this.size=[t.width,t.height];this.init(this.qtip=e)}var i=!0,s=!1,o=null,u="x",a="y",f="width",l="height",c="top",h="left",p="bottom",d="right",v="center",m="flip",g="flipinvert",y="shift",b,w,E,S,x={},T="qtip",N="data-hasqtip",C="data-qtip-id",k=["ui-widget","ui-tooltip"],L="."+T,A="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),O=T+"-fixed",M=T+"-default",_=T+"-focus",D=T+"-hover",P=T+"-disabled",H="_replacedByqTip",B="oldtitle",j,F={ie:function(){for(var e=4,n=t.createElement("div");(n.innerHTML="<!--[if gt IE "+e+"]><i></i><![endif]-->")&&n.getElementsByTagName("i")[0];e+=1);return e>4?e:NaN}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||s};w=I.prototype;w._when=function(e){return r.when.apply(r,e)};w.render=function(e){if(this.rendered||this.destroyed)return this;var t=this,n=this.options,o=this.cache,u=this.elements,a=n.content.text,f=n.content.title,l=n.content.button,c=n.position,h="."+this._id+" ",p=[],d;r.attr(this.target[0],"aria-describedby",this._id);o.posClass=this._createPosClass((this.position={my:c.my,at:c.at}).my);this.tooltip=u.tooltip=d=r("<div/>",{id:this._id,"class":[T,M,n.style.classes,o.posClass].join(" "),width:n.style.width||"",height:n.style.height||"",tracking:c.target==="mouse"&&c.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":s,"aria-describedby":this._id+"-content","aria-hidden":i}).toggleClass(P,this.disabled).attr(C,this.id).data(T,this).appendTo(c.container).append(u.content=r("<div />",{"class":T+"-content",id:this._id+"-content","aria-atomic":i}));this.rendered=-1;this.positioning=i;if(f){this._createTitle();r.isFunction(f)||p.push(this._updateTitle(f,s))}l&&this._createButton();r.isFunction(a)||p.push(this._updateContent(a,s));this.rendered=i;this._setWidget();r.each(x,function(e){var n;this.initialize==="render"&&(n=this(t))&&(t.plugins[e]=n)});this._unassignEvents();this._assignEvents();this._when(p).then(function(){t._trigger("render");t.positioning=s;!t.hiddenDuringWait&&(n.show.ready||e)&&t.toggle(i,o.event,s);t.hiddenDuringWait=s});b.api[this.id]=this;return this};w.destroy=function(e){function t(){if(this.destroyed)return;this.destroyed=i;var e=this.target,t=e.attr(B),n;this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove();r.each(this.plugins,function(e){this.destroy&&this.destroy()});for(n in this.timers)clearTimeout(this.timers[n]);e.removeData(T).removeAttr(C).removeAttr(N).removeAttr("aria-describedby");this.options.suppress&&t&&e.attr("title",t).removeAttr(B);this._unassignEvents();this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=o;delete b.api[this.id]}if(this.destroyed)return this.target;if(e===i&&this.triggering!=="hide"||!this.rendered)t.call(this);else{this.tooltip.one("tooltiphidden",r.proxy(t,this));!this.triggering&&this.hide()}return this.target};S=w.checks={builtin:{"^idquot;:function(e,t,n,o){var u=n===i?b.nextid:n,a=T+"-"+u;if(u!==s&&u.length>0&&!r("#"+a).length){this._id=a;if(this.rendered){this.tooltip[0].id=this._id;this.elements.content[0].id=this._id+"-content";this.elements.title[0].id=this._id+"-title"}}else e[t]=o},"^prerender":function(e,t,n){n&&!this.rendered&&this.render(this.options.show.ready)},"^content.textquot;:function(e,t,n){this._updateContent(n)},"^content.attrquot;:function(e,t,n,r){this.options.content.text===this.target.attr(r)&&this._updateContent(this.target.attr(n))},"^content.titlequot;:function(e,t,n){if(!n)return this._removeTitle();n&&!this.elements.title&&this._createTitle();this._updateTitle(n)},"^content.buttonquot;:function(e,t,n){this._updateButton(n)},"^content.title.(text|button)quot;:function(e,t,n){this.set("content."+t,n)},"^position.(my|at)quot;:function(e,t,n){"string"==typeof n&&(this.position[t]=e[t]=new E(n,t==="at"))},"^position.containerquot;:function(e,t,n){this.rendered&&this.tooltip.appendTo(n)},"^show.readyquot;:function(e,t,n){n&&(!this.rendered&&this.render(i)||this.toggle(i))},"^style.classesquot;:function(e,t,n,r){this.rendered&&this.tooltip.removeClass(r).addClass(n)},"^style.(width|height)":function(e,t,n){this.rendered&&this.tooltip.css(t,n)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(e,t,n){this.rendered&&this.tooltip.toggleClass(M,!!n)},"^events.(render|show|move|hide|focus|blur)quot;:function(e,t,n){this.rendered&&this.tooltip[(r.isFunction(n)?"":"un")+"bind"]("tooltip"+t,n)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(!this.rendered)return;var e=this.options.position;this.tooltip.attr("tracking",e.target==="mouse"&&e.adjust.mouse);this._unassignEvents();this._assignEvents()}}};w.get=function(e){if(this.destroyed)return this;var t=z(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};var X=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,V=/^prerender|show\.ready/i;w.set=function(e,t){if(this.destroyed)return this;var n=this.rendered,u=s,a=this.options,f=this.checks,l;if("string"==typeof e){l=e;e={};e[l]=t}else e=r.extend({},e);r.each(e,function(t,i){if(n&&V.test(t)){delete e[t];return}var s=z(a,t.toLowerCase()),o;o=s[0][s[1]];s[0][s[1]]=i&&i.nodeType?r(i):i;u=X.test(t)||u;e[t]=[s[0],s[1],i,o]});U(a);this.positioning=i;r.each(e,r.proxy(W,this));this.positioning=s;this.rendered&&this.tooltip[0].offsetWidth>0&&u&&this.reposition(a.position.target==="mouse"?o:this.cache.event);return this};w._update=function(e,t,n){var u=this,a=this.cache;if(!this.rendered||!e)return s;r.isFunction(e)&&(e=e.call(this.elements.target,a.event,this)||"");if(r.isFunction(e.then)){a.waiting=i;return e.then(function(e){a.waiting=s;return u._update(e,t)},o,function(e){return u._update(e,t)})}if(e===s||!e&&e!=="")return s;e.jquery&&e.length>0?t.empty().append(e.css({display:"block",visibility:"visible"})):t.html(e);return this._waitForContent(t).then(function(e){u.rendered&&u.tooltip[0].offsetWidth>0&&u.reposition(a.event,!e.length)})};w._waitForContent=function(e){var t=this.cache;t.waiting=i;return(r.fn.imagesLoaded?e.imagesLoaded():r.Deferred().resolve([])).done(function(){t.waiting=s}).promise()};w._updateContent=function(e,t){this._update(e,this.elements.content,t)};w._updateTitle=function(e,t){this._update(e,this.elements.title,t)===s&&this._removeTitle(s)};w._createTitle=function(){var e=this.elements,t=this._id+"-title";e.titlebar&&this._removeTitle();e.titlebar=r("<div />",{"class":T+"-titlebar "+(this.options.style.widget?J("header"):"")}).append(e.title=r("<div />",{id:t,"class":T+"-title","aria-atomic":i})).insertBefore(e.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(e){r(this).toggleClass("ui-state-active ui-state-focus",e.type.substr(-4)==="down")}).delegate(".qtip-close","mouseover mouseout",function(e){r(this).toggleClass("ui-state-hover",e.type==="mouseover")});this.options.content.button&&this._createButton()};w._removeTitle=function(e){var t=this.elements;if(t.title){t.titlebar.remove();t.titlebar=t.title=t.button=o;e!==s&&this.reposition()}};w._createPosClass=function(e){return T+"-pos-"+(e||this.options.position.my).abbrev()};w.reposition=function(n,o){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=i;var u=this.cache,a=this.tooltip,f=this.options.position,l=f.target,m=f.my,g=f.at,y=f.viewport,b=f.container,w=f.adjust,E=w.method.split(" "),S=a.outerWidth(s),T=a.outerHeight(s),N=0,C=0,k=a.css("position"),L={left:0,top:0},A=a[0].offsetWidth>0,O=n&&n.type==="scroll",M=r(e),_=b[0].ownerDocument,D=this.mouse,P,H,B,j;if(r.isArray(l)&&l.length===2){g={x:h,y:c};L={left:l[0],top:l[1]}}else if(l==="mouse"){g={x:h,y:c};(!w.mouse||this.options.hide.distance)&&u.origin&&u.origin.pageX?n=u.origin:!n||n&&(n.type==="resize"||n.type==="scroll")?n=u.event:D&&D.pageX&&(n=D);k!=="static"&&(L=b.offset());_.body.offsetWidth!==(e.innerWidth||_.documentElement.clientWidth)&&(H=r(t.body).offset());L={left:n.pageX-L.left+(H&&H.left||0),top:n.pageY-L.top+(H&&H.top||0)};if(w.mouse&&O&&D){L.left-=(D.scrollX||0)-M.scrollLeft();L.top-=(D.scrollY||0)-M.scrollTop()}}else{l==="event"?n&&n.target&&n.type!=="scroll"&&n.type!=="resize"?u.target=r(n.target):n.target||(u.target=this.elements.target):l!=="event"&&(u.target=r(l.jquery?l:this.elements.target));l=u.target;l=r(l).eq(0);if(l.length===0)return this;if(l[0]===t||l[0]===e){N=F.iOS?e.innerWidth:l.width();C=F.iOS?e.innerHeight:l.height();l[0]===e&&(L={top:(y||l).scrollTop(),left:(y||l).scrollLeft()})}else if(x.imagemap&&l.is("area"))P=x.imagemap(this,l,g,x.viewport?E:s);else if(x.svg&&l&&l[0].ownerSVGElement)P=x.svg(this,l,g,x.viewport?E:s);else{N=l.outerWidth(s);C=l.outerHeight(s);L=l.offset()}if(P){N=P.width;C=P.height;H=P.offset;L=P.position}L=this.reposition.offset(l,L,b);if(F.iOS>3.1&&F.iOS<4.1||F.iOS>=4.3&&F.iOS<4.33||!F.iOS&&k==="fixed"){L.left-=M.scrollLeft();L.top-=M.scrollTop()}if(!P||P&&P.adjustable!==s){L.left+=g.x===d?N:g.x===v?N/2:0;L.top+=g.y===p?C:g.y===v?C/2:0}}L.left+=w.x+(m.x===d?-S:m.x===v?-S/2:0);L.top+=w.y+(m.y===p?-T:m.y===v?-T/2:0);if(x.viewport){B=L.adjusted=x.viewport(this,L,f,N,C,S,T);H&&B.left&&(L.left+=H.left);H&&B.top&&(L.top+=H.top);B.my&&(this.position.my=B.my)}else L.adjusted={left:0,top:0};u.posClass!==(j=this._createPosClass(this.position.my))&&a.removeClass(u.posClass).addClass(u.posClass=j);if(!this._trigger("move",[L,y.elem||y],n))return this;delete L.adjusted;if(o===s||!A||isNaN(L.left)||isNaN(L.top)||l==="mouse"||!r.isFunction(f.effect))a.css(L);else if(r.isFunction(f.effect)){f.effect.call(a,this,r.extend({},L));a.queue(function(e){r(this).css({opacity:"",height:""});F.ie&&this.style.removeAttribute("filter");e()})}this.positioning=s;return this};w.reposition.offset=function(e,n,i){function h(e,t){n.left+=t*e.scrollLeft();n.top+=t*e.scrollTop()}if(!i[0])return n;var s=r(e[0].ownerDocument),o=!!F.ie&&t.compatMode!=="CSS1Compat",u=i[0],a,f,l,c;do if((f=r.css(u,"position"))!=="static"){if(f==="fixed"){l=u.getBoundingClientRect();h(s,-1)}else{l=r(u).position();l.left+=parseFloat(r.css(u,"borderLeftWidth"))||0;l.top+=parseFloat(r.css(u,"borderTopWidth"))||0}n.left-=l.left+(parseFloat(r.css(u,"marginLeft"))||0);n.top-=l.top+(parseFloat(r.css(u,"marginTop"))||0);!a&&(c=r.css(u,"overflow"))!=="hidden"&&c!=="visible"&&(a=r(u))}while(u=u.offsetParent);a&&(a[0]!==s[0]||o)&&h(a,1);return n};var $=(E=w.reposition.Corner=function(e,t){e=(""+e).replace(/([A-Z])/," $1").replace(/middle/gi,v).toLowerCase();this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase();this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase();this.forceY=!!t;var n=e.charAt(0);this.precedance=n==="t"||n==="b"?a:u}).prototype;$.invert=function(e,t){this[e]=this[e]===h?d:this[e]===d?h:t||this[e]};$.string=function(e){var t=this.x,n=this.y,r=t!==n?t==="center"||n!=="center"&&(this.precedance===a||this.forceY)?[n,t]:[t,n]:[t];return e!==!1?r.join(" "):r};$.abbrev=function(){var e=this.string(!1);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")};$.clone=function(){return new E(this.string(),this.forceY)};w.toggle=function(e,n){var u=this.cache,a=this.options,f=this.tooltip;if(n){if(/over|enter/.test(n.type)&&u.event&&/out|leave/.test(u.event.type)&&a.show.target.add(n.target).length===a.show.target.length&&f.has(n.relatedTarget).length)return this;u.event=r.event.fix(n)}this.waiting&&!e&&(this.hiddenDuringWait=i);if(!this.rendered)return e?this.render(1):this;if(this.destroyed||this.disabled)return this;var l=e?"show":"hide",c=this.options[l],h=this.options[e?"hide":"show"],p=this.options.position,d=this.options.content,v=this.tooltip.css("width"),m=this.tooltip.is(":visible"),g=e||c.target.length===1,y=!n||c.target.length<2||u.target[0]===n.target,b,w,E,S,x;(typeof e).search("boolean|number")&&(e=!m);b=!f.is(":animated")&&m===e&&y;w=b?o:!!this._trigger(l,[90]);if(this.destroyed)return this;w!==s&&e&&this.focus(n);if(!w||b)return this;r.attr(f[0],"aria-hidden",!e);if(e){this.mouse&&(u.origin=r.event.fix(this.mouse));r.isFunction(d.text)&&this._updateContent(d.text,s);r.isFunction(d.title)&&this._updateTitle(d.title,s);if(!j&&p.target==="mouse"&&p.adjust.mouse){r(t).bind("mousemove."+T,this._storeMouse);j=i}v||f.css("width",f.outerWidth(s));this.reposition(n,arguments[2]);v||f.css("width","");!c.solo||(typeof c.solo=="string"?r(c.solo):r(L,c.solo)).not(f).not(c.target).qtip("hide",r.Event("tooltipsolo"))}else{clearTimeout(this.timers.show);delete u.origin;if(j&&!r(L+'[tracking="true"]:visible',c.solo).not(f).length){r(t).unbind("mousemove."+T);j=s}this.blur(n)}x=r.proxy(function(){if(e){F.ie&&f[0].style.removeAttribute("filter");f.css("overflow","");"string"==typeof c.autofocus&&r(this.options.show.autofocus,f).focus();this.options.show.target.trigger("qtip-"+this.id+"-inactive")}else f.css({display:"",visibility:"",opacity:"",left:"",top:""});this._trigger(e?"visible":"hidden")},this);if(c.effect===s||g===s){f[l]();x()}else if(r.isFunction(c.effect)){f.stop(1,1);c.effect.call(f,this);f.queue("fx",function(e){x();e()})}else f.fadeTo(90,e?1:0,x);e&&c.target.trigger("qtip-"+this.id+"-inactive");return this};w.show=function(e){return this.toggle(i,e)};w.hide=function(e){return this.toggle(s,e)};w.focus=function(e){if(!this.rendered||this.destroyed)return this;var t=r(L),n=this.tooltip,i=parseInt(n[0].style.zIndex,10),s=b.zindex+t.length,o;if(!n.hasClass(_)&&this._trigger("focus",[s],e)){if(i!==s){t.each(function(){this.style.zIndex>i&&(this.style.zIndex=this.style.zIndex-1)});t.filter("."+_).qtip("blur",e)}n.addClass(_)[0].style.zIndex=s}return this};w.blur=function(e){if(!this.rendered||this.destroyed)return this;this.tooltip.removeClass(_);this._trigger("blur",[this.tooltip.css("zIndex")],e);return this};w.disable=function(e){if(this.destroyed)return this;e==="toggle"?e=this.rendered?!this.tooltip.hasClass(P):!this.disabled:"boolean"!=typeof e&&(e=i);this.rendered&&this.tooltip.toggleClass(P,e).attr("aria-disabled",e);this.disabled=!!e;return this};w.enable=function(){return this.disable(s)};w._createButton=function(){var e=this,t=this.elements,n=t.tooltip,i=this.options.content.button,o=typeof i=="string",u=o?i:"Close tooltip";t.button&&t.button.remove();i.jquery?t.button=i:t.button=r("<a />",{"class":"qtip-close "+(this.options.style.widget?"":T+"-icon"),title:u,"aria-label":u}).prepend(r("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"}));t.button.appendTo(t.titlebar||n).attr("role","button").click(function(t){n.hasClass(P)||e.hide(t);return s})};w._updateButton=function(e){if(!this.rendered)return s;var t=this.elements.button;e?this._createButton():t.remove()};w._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,r=n.hasClass(P);n.removeClass(P);P=e?"ui-state-disabled":"qtip-disabled";n.toggleClass(P,r);n.toggleClass("ui-helper-reset "+J(),e).toggleClass(M,this.options.style.def&&!e);t.content&&t.content.toggleClass(J("content"),e);t.titlebar&&t.titlebar.toggleClass(J("header"),e);t.button&&t.button.toggleClass(T+"-icon",!e)};w._storeMouse=function(e){(this.mouse=r.event.fix(e)).type="mousemove";return this};w._bind=function(e,t,n,i,s){if(!e||!n||!t.length)return;var o="."+this._id+(i?"-"+i:"");r(e).bind((t.split?t:t.join(o+" "))+o,r.proxy(n,s||this));return this};w._unbind=function(e,t){e&&r(e).unbind("."+this._id+(t?"-"+t:""));return this};w._trigger=function(e,t,n){var i=r.Event("tooltip"+e);i.originalEvent=n&&r.extend({},n)||this.cache.event||o;this.triggering=e;this.tooltip.trigger(i,[this].concat(t||[]));this.triggering=s;return!i.isDefaultPrevented()};w._bindEvents=function(e,t,n,i,s,o){var u=n.filter(i).add(i.filter(n)),a=[];if(u.length){r.each(t,function(t,n){var i=r.inArray(n,e);i>-1&&a.push(e.splice(i,1)[0])});if(a.length){this._bind(u,a,function(e){var t=this.rendered?this.tooltip[0].offsetWidth>0:!1;(t?o:s).call(this,e)});n=n.not(u);i=i.not(u)}}this._bind(n,e,s);this._bind(i,t,o)};w._assignInitialEvents=function(e){function f(e){if(this.disabled||this.destroyed)return s;this.cache.event=e&&r.event.fix(e);this.cache.target=e&&r(e.target);clearTimeout(this.timers.show);this.timers.show=K.call(this,function(){this.render(typeof e=="object"||t.show.ready)},t.prerender?0:t.show.delay)}var t=this.options,n=t.show.target,o=t.hide.target,u=t.show.event?r.trim(""+t.show.event).split(" "):[],a=t.hide.event?r.trim(""+t.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(e){this.destroy(!0)},"destroy");/mouse(over|enter)/i.test(t.show.event)&&!/mouse(out|leave)/i.test(t.hide.event)&&a.push("mouseleave");this._bind(n,"mousemove",function(e){this._storeMouse(e);this.cache.onTarget=i});this._bindEvents(u,a,n,o,f,function(){if(!this.timers)return s;clearTimeout(this.timers.show)});(t.show.ready||t.prerender)&&f.call(this,e)};w._assignEvents=function(){var n=this,i=this.options,o=i.position,u=this.tooltip,a=i.show.target,f=i.hide.target,l=o.container,c=o.viewport,h=r(t),p=r(t.body),d=r(e),v=i.show.event?r.trim(""+i.show.event).split(" "):[],m=i.hide.event?r.trim(""+i.hide.event).split(" "):[];r.each(i.events,function(e,t){n._bind(u,e==="toggle"?["tooltipshow","tooltiphide"]:["tooltip"+e],t,null,u)});/mouse(out|leave)/i.test(i.hide.event)&&i.hide.leave==="window"&&this._bind(h,["mouseout","blur"],function(e){!/select|option/.test(e.target.nodeName)&&!e.relatedTarget&&this.hide(e)});i.hide.fixed?f=f.add(u.addClass(O)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(f,"mouseleave",function(){clearTimeout(this.timers.show)});(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(e){var t=r(e.target),n=this.rendered&&!this.tooltip.hasClass(P)&&this.tooltip[0].offsetWidth>0,i=t.parents(L).filter(this.tooltip[0]).length>0;t[0]!==this.target[0]&&t[0]!==this.tooltip[0]&&!i&&!this.target.has(t[0]).length&&n&&this.hide(e)});if("number"==typeof i.hide.inactive){this._bind(a,"qtip-"+this.id+"-inactive",Y,"inactive");this._bind(f.add(u),b.inactiveEvents,Y)}this._bindEvents(v,m,a,f,Q,G);this._bind(a.add(u),"mousemove",function(e){if("number"==typeof i.hide.distance){var t=this.cache.origin||{},n=this.options.hide.distance,r=Math.abs;(r(e.pageX-t.pageX)>=n||r(e.pageY-t.pageY)>=n)&&this.hide(e)}this._storeMouse(e)});if(o.target==="mouse"&&o.adjust.mouse){i.hide.event&&this._bind(a,["mouseenter","mouseleave"],function(e){if(!this.cache)return s;this.cache.onTarget=e.type==="mouseenter"});this._bind(h,"mousemove",function(e){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(P)&&this.tooltip[0].offsetWidth>0&&this.reposition(e)})}(o.adjust.resize||c.length)&&this._bind(r.event.special.resize?c:d,"resize",Z);o.adjust.scroll&&this._bind(d.add(o.container),"scroll",Z)};w._unassignEvents=function(){var n=this.options,i=n.show.target,s=n.hide.target,o=r.grep([this.elements.target[0],this.rendered&&this.tooltip[0],n.position.container[0],n.position.viewport[0],n.position.container.closest("html")[0],e,t],function(e){return typeof e=="object"});i&&i.toArray&&(o=o.concat(i.toArray()));s&&s.toArray&&(o=o.concat(s.toArray()));this._unbind(o)._unbind(o,"destroy")._unbind(o,"inactive")};r(function(){et(L,["mouseenter","mouseleave"],function(e){var t=e.type==="mouseenter",n=r(e.currentTarget),i=r(e.relatedTarget||e.target),s=this.options;if(t){this.focus(e);n.hasClass(O)&&!n.hasClass(P)&&clearTimeout(this.timers.hide)}else s.position.target==="mouse"&&s.position.adjust.mouse&&s.hide.event&&s.show.target&&!i.closest(s.show.target[0]).length&&this.hide(e);n.toggleClass(D,t)});et("["+C+"]",A,Y)});b=r.fn.qtip=function(e,t,u){var a=(""+e).toLowerCase(),f=o,l=r.makeArray(arguments).slice(1),c=l[l.length-1],h=this[0]?r.data(this[0],T):o;if(!arguments.length&&h||a==="api")return h;if("string"==typeof e){this.each(function(){var e=r.data(this,T);if(!e)return i;c&&c.timeStamp&&(e.cache.event=c);if(!t||a!=="option"&&a!=="options")e[a]&&e[a].apply(e,l);else{if(u===n&&!r.isPlainObject(t)){f=e.get(t);return s}e.set(t,u)}});return f!==o?f:this}if("object"==typeof e||!arguments.length){h=U(r.extend(i,{},e));return this.each(function(e){var t,n;n=r.isArray(h.id)?h.id[e]:h.id;n=!n||n===s||n.length<1||b.api[n]?b.nextid++:n;t=tt(r(this),n,h);if(t===s)return i;b.api[n]=t;r.each(x,function(){this.initialize==="initialize"&&this(t)});t._assignInitialEvents(c)})}};r.qtip=I;b.api={};r.each({attr:function(e,t){if(this.length){var n=this[0],i="title",s=r.data(n,"qtip");if(e===i&&s&&"object"==typeof s&&s.options.suppress){if(arguments.length<2)return r.attr(n,B);s&&s.options.content.attr===i&&s.cache.attr&&s.set("content.text",t);return this.attr(B,t)}}return r.fn["attr"+H].apply(this,arguments)},clone:function(e){var t=r([]),n="title",i=r.fn["clone"+H].apply(this,arguments);e||i.filter("["+B+"]").attr("title",function(){return r.attr(this,B)}).removeAttr(B);return i}},function(e,t){if(!t||r.fn[e+H])return i;var n=r.fn[e+H]=r.fn[e];r.fn[e]=function(){return t.apply(this,arguments)||n.apply(this,arguments)}});if(!r.ui){r["cleanData"+H]=r.cleanData;r.cleanData=function(e){for(var t=0,n;(n=r(e[t])).length;t++)if(n.attr(N))try{n.triggerHandler("removeqtip")}catch(i){}r["cleanData"+H].apply(this,arguments)}}b.version="2.2.1";b.nextid=0;b.inactiveEvents=A;b.zindex=15e3;b.defaults={prerender:s,id:s,overwrite:i,suppress:i,content:{text:i,attr:"title",title:s,button:s},position:{my:"top left",at:"bottom right",target:s,container:s,viewport:s,adjust:{x:0,y:0,mouse:i,scroll:i,resize:i,method:"flipinvert flipinvert"},effect:function(e,t,n){r(this).animate(t,{duration:200,queue:s})}},show:{target:s,event:"mouseenter",effect:i,delay:90,solo:s,ready:s,autofocus:s},hide:{target:s,event:"mouseleave",effect:i,delay:0,fixed:s,inactive:s,leave:"window",distance:s},style:{classes:"",widget:s,width:s,height:s,def:i},events:{render:o,move:o,show:o,hide:o,toggle:o,visible:o,hidden:o,focus:o,blur:o}};var nt,rt=".qtip-tip",it="margin",st="border",ot="color",ut="background-color",at="transparent",ft=" !important",lt=!!t.createElement("canvas").getContext,ct=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,pt={},dt=["Webkit","O","Moz","ms"];if(!lt)var gt=function(e,t,n){return"<qtipvml:"+e+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(t||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'};else var yt=e.devicePixelRatio||1,bt=function(){var e=t.createElement("canvas").getContext("2d");return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}(),wt=yt/bt;r.extend(Et.prototype,{init:function(e){var t,n;n=this.element=e.elements.tip=r("<div />",{"class":T+"-tip"}).prependTo(e.tooltip);if(lt){t=r("<canvas />").appendTo(this.element)[0].getContext("2d");t.lineJoin="miter";t.miterLimit=1e5;t.save()}else{t=gt("shape",'coordorigin="0,0"',"position:absolute;");this.element.html(t+t);e._bind(r("*",n).add(n),["click","mousedown"],function(e){e.stopPropagation()},this._ns)}e._bind(e.tooltip,"tooltipmove",this.reposition,this._ns,this);this.create()},_swapDimensions:function(){this.size[0]=this.options.height;this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width;this.size[1]=this.options.height},_useTitle:function(e){var t=this.qtip.elements.titlebar;return t&&(e.y===c||e.y===v&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(i))},_parseCorner:function(e){var t=this.qtip.options.position.my;if(e===s||t===s)e=s;else if(e===i)e=new E(t.string());else if(!e.string){e=new E(e);e.fixed=i}return e},_parseWidth:function(e,t,n){var r=this.qtip.elements,i=st+ht(t)+"Width";return(n?mt(n,i):mt(r.content,i)||mt(this._useTitle(e)&&r.titlebar||r.content,i)||mt(r.tooltip,i))||0},_parseRadius:function(e){var t=this.qtip.elements,n=st+ht(e.y)+ht(e.x)+"Radius";return F.ie<9?0:mt(this._useTitle(e)&&t.titlebar||t.content,n)||mt(t.tooltip,n)||0},_invalidColour:function(e,t,n){var r=e.css(t);return!r||n&&r===e.css(n)||ct.test(r)?s:r},_parseColours:function(e){var t=this.qtip.elements,n=this.element.css("cssText",""),i=st+ht(e[e.precedance])+ht(ot),s=this._useTitle(e)&&t.titlebar||t.content,o=this._invalidColour,u=[];u[0]=o(n,ut)||o(s,ut)||o(t.content,ut)||o(t.tooltip,ut)||n.css(ut);u[1]=o(n,i,ot)||o(s,i,ot)||o(t.content,i,ot)||o(t.tooltip,i,ot)||t.tooltip.css(i);r("*",n).add(n).css("cssText",ut+":"+at+ft+";"+st+":0"+ft+";");return u},_calculateSize:function(e){var t=e.precedance===a,n=this.options.width,r=this.options.height,i=e.abbrev()==="c",s=(t?n:r)*(i?.5:1),o=Math.pow,u=Math.round,f,l,c,h=Math.sqrt(o(s,2)+o(r,2)),p=[this.border/s*h,this.border/r*h];p[2]=Math.sqrt(o(p[0],2)-o(this.border,2));p[3]=Math.sqrt(o(p[1],2)-o(this.border,2));f=h+p[2]+p[3]+(i?0:p[0]);l=f/h;c=[u(l*n),u(l*r)];return t?c:c.reverse()},_calculateTip:function(e,t,n){n=n||1;t=t||this.size;var r=t[0]*n,i=t[1]*n,s=Math.ceil(r/2),o=Math.ceil(i/2),u={br:[0,0,r,i,r,0],bl:[0,0,r,0,0,i],tr:[0,i,r,0,r,i],tl:[0,0,0,i,r,i],tc:[0,i,s,0,r,i],bc:[0,0,r,0,s,i],rc:[0,0,r,o,0,i],lc:[r,0,r,i,0,o]};u.lt=u.br;u.rt=u.bl;u.lb=u.tr;u.rb=u.tl;return u[e.abbrev()]},_drawCoords:function(e,t){e.beginPath();e.moveTo(t[0],t[1]);e.lineTo(t[2],t[3]);e.lineTo(t[4],t[5]);e.closePath()},create:function(){var e=this.corner=(lt||F.ie)&&this._parseCorner(this.options.corner);if(this.enabled=!!this.corner&&this.corner.abbrev()!=="c"){this.qtip.cache.corner=e.clone();this.update()}this.element.toggle(this.enabled);return this.corner},update:function(t,n){if(!this.enabled)return this;var o=this.qtip.elements,m=this.element,g=m.children(),y=this.options,b=this.size,w=y.mimic,S=Math.round,x,T,N,C,k,L,A,O,M;t||(t=this.qtip.cache.corner||this.corner);if(w===s)w=t;else{w=new E(w);w.precedance=t.precedance;w.x==="inherit"?w.x=t.x:w.y==="inherit"?w.y=t.y:w.x===w.y&&(w[t.precedance]=t[t.precedance])}T=w.precedance;t.precedance===u?this._swapDimensions():this._resetDimensions();x=this.color=this._parseColours(t);if(x[1]!==at){O=this.border=this._parseWidth(t,t[t.precedance]);y.border&&O<1&&!ct.test(x[1])&&(x[0]=x[1]);this.border=O=y.border!==i?y.border:O}else this.border=O=0;A=this.size=this._calculateSize(t);m.css({width:A[0],height:A[1],lineHeight:A[1]+"px"});t.precedance===a?L=[S(w.x===h?O:w.x===d?A[0]-b[0]-O:(A[0]-b[0])/2),S(w.y===c?A[1]-b[1]:0)]:L=[S(w.x===h?A[0]-b[0]:0),S(w.y===c?O:w.y===p?A[1]-b[1]-O:(A[1]-b[1])/2)];if(lt){N=g[0].getContext("2d");N.restore();N.save();N.clearRect(0,0,6e3,6e3);C=this._calculateTip(w,b,wt);k=this._calculateTip(w,this.size,wt);g.attr(f,A[0]*wt).attr(l,A[1]*wt);g.css(f,A[0]).css(l,A[1]);this._drawCoords(N,k);N.fillStyle=x[1];N.fill();N.translate(L[0]*wt,L[1]*wt);this._drawCoords(N,C);N.fillStyle=x[0];N.fill()}else{C=this._calculateTip(w);C="m"+C[0]+","+C[1]+" l"+C[2]+","+C[3]+" "+C[4]+","+C[5]+" xe";L[2]=O&&/^(r|b)/i.test(t.string())?F.ie===8?2:1:0;g.css({coordsize:A[0]+O+" "+(A[1]+O),antialias:""+(w.string().indexOf(v)>-1),left:L[0]-L[2]*Number(T===u),top:L[1]-L[2]*Number(T===a),width:A[0]+O,height:A[1]+O}).each(function(e){var t=r(this);t[t.prop?"prop":"attr"]({coordsize:A[0]+O+" "+(A[1]+O),path:C,fillcolor:x[0],filled:!!e,stroked:!e}).toggle(!!O||!!e);!e&&t.html(gt("stroke",'weight="'+O*2+'px" color="'+x[1]+'" miterlimit="1000" joinstyle="miter"'))})}e.opera&&setTimeout(function(){o.tip.css({display:"inline-block",visibility:"visible"})},1);n!==s&&this.calculate(t,A)},calculate:function(e,t){if(!this.enabled)return s;var n=this,i=this.qtip.elements,o=this.element,f=this.options.offset,l=i.tooltip.hasClass("ui-widget"),p={},d,m;e=e||this.corner;d=e.precedance;t=t||this._calculateSize(e);m=[e.x,e.y];d===u&&m.reverse();r.each(m,function(r,s){var o,u,l;if(s===v){o=d===a?h:c;p[o]="50%";p[it+"-"+o]=-Math.round(t[d===a?0:1]/2)+f}else{o=n._parseWidth
13
- (e,s,i.tooltip);u=n._parseWidth(e,s,i.content);l=n._parseRadius(e);p[s]=Math.max(-n.border,r?u:f+(l>o?l:-o))}});p[e[d]]-=t[d===u?0:1];o.css({margin:"",top:"",bottom:"",left:"",right:""}).css(p);return p},reposition:function(e,t,r,o){function N(e,t,n,r,i){e===y&&l.precedance===t&&m[r]&&l[n]!==v?l.precedance=l.precedance===u?a:u:e!==y&&m[r]&&(l[t]=l[t]===v?m[r]>0?r:i:l[t]===r?i:r)}function C(e,t,i){if(l[e]===v)x[it+"-"+t]=E[e]=S[it+"-"+t]-m[t];else{T=S[i]!==n?[m[t],-S[t]]:[-m[t],S[t]];if((E[e]=Math.max(T[0],T[1]))>T[0]){r[t]-=m[t];E[t]=s}x[S[i]!==n?i:t]=E[e]}}if(!this.enabled)return;var f=t.cache,l=this.corner.clone(),m=r.adjusted,g=t.options.position.adjust.method.split(" "),b=g[0],w=g[1]||g[0],E={left:s,top:s,x:0,y:0},S,x={},T;if(this.corner.fixed!==i){N(b,u,a,h,d);N(w,a,u,c,p);(l.string()!==f.corner.string()||f.cornerTop!==m.top||f.cornerLeft!==m.left)&&this.update(l,s)}S=this.calculate(l);S.right!==n&&(S.left=-S.right);S.bottom!==n&&(S.top=-S.bottom);S.user=this.offset;(E.left=b===y&&!!m.left)&&C(u,h,d);(E.top=w===y&&!!m.top)&&C(a,c,p);this.element.css(x).toggle(!(E.x&&E.y||l.x===v&&E.y||l.y===v&&E.x));r.left-=S.left.charAt?S.user:b!==y||E.top||!E.left&&!E.top?S.left+this.border:0;r.top-=S.top.charAt?S.user:w!==y||E.left||!E.left&&!E.top?S.top+this.border:0;f.cornerLeft=m.left;f.cornerTop=m.top;f.corner=l.clone()},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns);this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}});nt=x.tip=function(e){return new Et(e,e.options.style.tip)};nt.initialize="render";nt.sanitize=function(e){if(e.style&&"tip"in e.style){var t=e.style.tip;typeof t!="object"&&(t=e.style.tip={corner:t});/string|boolean/i.test(typeof t.corner)||(t.corner=i)}};S.tip={"^position.my|style.tip.(corner|mimic|border)quot;:function(){this.create();this.qtip.reposition()},"^style.tip.(height|width)quot;:function(e){this.size=[e.width,e.height];this.update();this.qtip.reposition()},"^content.title|style.(classes|widget)quot;:function(){this.update()}};r.extend(i,b.defaults,{style:{tip:{corner:i,mimic:s,width:6,height:6,border:i,offset:0}}})})})(window,document);
assets/js/jquery.qtip.min.min.js DELETED
@@ -1,2 +0,0 @@
1
- /* qTip2 v2.2.1 | Plugins: tips | Styles: core css3 | qtip2.com | Licensed MIT | Mon Sep 08 2014 17:43:49 */!function(e,t,n){!function(e){"use strict";"function"==typeof define&&define.amd?define(["jquery"],e):jQuery&&!jQuery.fn.qtip&&e(jQuery)}(function(r){"use strict";function i(e,t,n,i){this.id=n,this.target=e,this.tooltip=_,this.elements={target:e},this._id=W+"-"+n,this.timers={img:{}},this.options=t,this.plugins={},this.cache={event:{},target:r(),disabled:M,attr:i,onTooltip:M,lastClass:""},this.rendered=this.destroyed=this.disabled=this.waiting=this.hiddenDuringWait=this.positioning=this.triggering=M}function s(e){return e===_||"object"!==r.type(e)}function o(e){return!(r.isFunction(e)||e&&e.attr||e.length||"object"===r.type(e)&&(e.jquery||e.then))}function u(e){var t,n,i,u;return s(e)?M:(s(e.metadata)&&(e.metadata={type:e.metadata}),"content"in e&&(t=e.content,s(t)||t.jquery||t.done?t=e.content={text:n=o(t)?M:t}:n=t.text,"ajax"in t&&(i=t.ajax,u=i&&i.once!==M,delete t.ajax,t.text=function(e,t){var s=n||r(this).attr(t.options.content.attr)||"Loading...",o=r.ajax(r.extend({},i,{context:t})).then(i.success,_,i.error).then(function(e){return e&&u&&t.set("content.text",e),e},function(e,n,r){t.destroyed||0===e.status||t.set("content.text",n+": "+r)});return u?s:(t.set("content.text",s),o)}),"title"in t&&(r.isPlainObject(t.title)&&(t.button=t.title.button,t.title=t.title.text),o(t.title||M)&&(t.title=M))),"position"in e&&s(e.position)&&(e.position={my:e.position,at:e.position}),"show"in e&&s(e.show)&&(e.show=e.show.jquery?{target:e.show}:e.show===O?{ready:O}:{event:e.show}),"hide"in e&&s(e.hide)&&(e.hide=e.hide.jquery?{target:e.hide}:{event:e.hide}),"style"in e&&s(e.style)&&(e.style={classes:e.style}),r.each(z,function(){this.sanitize&&this.sanitize(e)}),e)}function f(e,t){for(var n,r=0,i=e,s=t.split(".");i=i[s[r++]];)r<s.length&&(n=i);return[n||e,s.pop()]}function l(e,t){var n,r,i;for(n in this.checks)for(r in this.checks[n])(i=(new RegExp(r,"i")).exec(e))&&(t.push(i),("builtin"===n||this.plugins[n])&&this.checks[n][r].apply(this.plugins[n]||this,t))}function h(e){return $.concat("").join(e?"-"+e+" ":" ")}function p(e,t){return t>0?setTimeout(r.proxy(e,this),t):void e.call(this)}function d(e){this.tooltip.hasClass(et)||(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this.timers.show=p.call(this,function(){this.toggle(O,e)},this.options.show.delay))}function v(e){if(!this.tooltip.hasClass(et)&&!this.destroyed){var t=r(e.relatedTarget),n=t.closest(J)[0]===this.tooltip[0],i=t[0]===this.options.show.target[0];if(clearTimeout(this.timers.show),clearTimeout(this.timers.hide),this!==t[0]&&"mouse"===this.options.position.target&&n||this.options.hide.fixed&&/mouse(out|leave|move)/.test(e.type)&&(n||i))try{e.preventDefault(),e.stopImmediatePropagation()}catch(s){}else this.timers.hide=p.call(this,function(){this.toggle(M,e)},this.options.hide.delay,this)}}function m(e){!this.tooltip.hasClass(et)&&this.options.hide.inactive&&(clearTimeout(this.timers.inactive),this.timers.inactive=p.call(this,function(){this.hide(e)},this.options.hide.inactive))}function g(e){this.rendered&&this.tooltip[0].offsetWidth>0&&this.reposition(e)}function y(e,n,i){r(t.body).delegate(e,(n.split?n:n.join("."+W+" "))+"."+W,function(){var e=N.api[r.attr(this,V)];e&&!e.disabled&&i.apply(e,arguments)})}function w(e,n,s){var o,a,f,l,c,h=r(t.body),p=e[0]===t?h:e,d=e.metadata?e.metadata(s.metadata):_,v="html5"===s.metadata.type&&d?d[s.metadata.name]:_,m=e.data(s.metadata.name||"qtipopts");try{m="string"==typeof m?r.parseJSON(m):m}catch(g){}if(l=r.extend(O,{},N.defaults,s,"object"==typeof m?u(m):_,u(v||d)),a=l.position,l.id=n,"boolean"==typeof l.content.text){if(f=e.attr(l.content.attr),l.content.attr===M||!f)return M;l.content.text=f}if(a.container.length||(a.container=h),a.target===M&&(a.target=p),l.show.target===M&&(l.show.target=p),l.show.solo===O&&(l.show.solo=a.container.closest("body")),l.hide.target===M&&(l.hide.target=p),l.position.viewport===O&&(l.position.viewport=a.container),a.container=a.container.eq(0),a.at=new k(a.at,O),a.my=new k(a.my),e.data(W))if(l.overwrite)e.qtip("destroy",!0);else if(l.overwrite===M)return M;return e.attr(X,n),l.suppress&&(c=e.attr("title"))&&e.removeAttr("title").attr(nt,c).attr("title",""),o=new i(e,l,n,!!f),e.data(W,o),o}function E(e){return e.charAt(0).toUpperCase()+e.slice(1)}function S(e,t){var r,i,s=t.charAt(0).toUpperCase()+t.slice(1),o=(t+" "+gt.join(s+" ")+s).split(" "),u=0;if(mt[t])return e.css(mt[t]);for(;r=o[u++];)if((i=e.css(r))!==n)return mt[t]=r,i}function x(e,t){return Math.ceil(parseFloat(S(e,t)))}function T(e,t){this._ns="tip",this.options=t,this.offset=t.offset,this.size=[t.width,t.height],this.init(this.qtip=e)}var N,C,k,L,A,O=!0,M=!1,_=null,D="x",P="y",H="width",B="height",j="top",F="left",I="bottom",q="right",R="center",U="shift",z={},W="qtip",X="data-hasqtip",V="data-qtip-id",$=["ui-widget","ui-tooltip"],J="."+W,K="click dblclick mousedown mouseup mousemove mouseleave mouseenter".split(" "),Q=W+"-fixed",G=W+"-default",Y=W+"-focus",Z=W+"-hover",et=W+"-disabled",tt="_replacedByqTip",nt="oldtitle",rt={ie:function(){for(var e=4,n=t.createElement("div");(n.innerHTML="<!--[if gt IE "+e+"]><i></i><![endif]-->")&&n.getElementsByTagName("i")[0];e+=1);return e>4?e:0/0}(),iOS:parseFloat((""+(/CPU.*OS ([0-9_]{1,5})|(CPU like).*AppleWebKit.*Mobile/i.exec(navigator.userAgent)||[0,""])[1]).replace("undefined","3_2").replace("_",".").replace("_",""))||M};C=i.prototype,C._when=function(e){return r.when.apply(r,e)},C.render=function(e){if(this.rendered||this.destroyed)return this;var t,n=this,i=this.options,s=this.cache,o=this.elements,u=i.content.text,a=i.content.title,f=i.content.button,l=i.position,c=("."+this._id+" ",[]);return r.attr(this.target[0],"aria-describedby",this._id),s.posClass=this._createPosClass((this.position={my:l.my,at:l.at}).my),this.tooltip=o.tooltip=t=r("<div/>",{id:this._id,"class":[W,G,i.style.classes,s.posClass].join(" "),width:i.style.width||"",height:i.style.height||"",tracking:"mouse"===l.target&&l.adjust.mouse,role:"alert","aria-live":"polite","aria-atomic":M,"aria-describedby":this._id+"-content","aria-hidden":O}).toggleClass(et,this.disabled).attr(V,this.id).data(W,this).appendTo(l.container).append(o.content=r("<div />",{"class":W+"-content",id:this._id+"-content","aria-atomic":O})),this.rendered=-1,this.positioning=O,a&&(this._createTitle(),r.isFunction(a)||c.push(this._updateTitle(a,M))),f&&this._createButton(),r.isFunction(u)||c.push(this._updateContent(u,M)),this.rendered=O,this._setWidget(),r.each(z,function(e){var t;"render"===this.initialize&&(t=this(n))&&(n.plugins[e]=t)}),this._unassignEvents(),this._assignEvents(),this._when(c).then(function(){n._trigger("render"),n.positioning=M,n.hiddenDuringWait||!i.show.ready&&!e||n.toggle(O,s.event,M),n.hiddenDuringWait=M}),N.api[this.id]=this,this},C.destroy=function(e){function t(){if(!this.destroyed){this.destroyed=O;var e,t=this.target,n=t.attr(nt);this.rendered&&this.tooltip.stop(1,0).find("*").remove().end().remove(),r.each(this.plugins,function(){this.destroy&&this.destroy()});for(e in this.timers)clearTimeout(this.timers[e]);t.removeData(W).removeAttr(V).removeAttr(X).removeAttr("aria-describedby"),this.options.suppress&&n&&t.attr("title",n).removeAttr(nt),this._unassignEvents(),this.options=this.elements=this.cache=this.timers=this.plugins=this.mouse=_,delete N.api[this.id]}}return this.destroyed?this.target:(e===O&&"hide"!==this.triggering||!this.rendered?t.call(this):(this.tooltip.one("tooltiphidden",r.proxy(t,this)),!this.triggering&&this.hide()),this.target)},L=C.checks={builtin:{"^idquot;:function(e,t,n,i){var s=n===O?N.nextid:n,o=W+"-"+s;s!==M&&s.length>0&&!r("#"+o).length?(this._id=o,this.rendered&&(this.tooltip[0].id=this._id,this.elements.content[0].id=this._id+"-content",this.elements.title[0].id=this._id+"-title")):e[t]=i},"^prerender":function(e,t,n){n&&!this.rendered&&this.render(this.options.show.ready)},"^content.textquot;:function(e,t,n){this._updateContent(n)},"^content.attrquot;:function(e,t,n,r){this.options.content.text===this.target.attr(r)&&this._updateContent(this.target.attr(n))},"^content.titlequot;:function(e,t,n){return n?(n&&!this.elements.title&&this._createTitle(),void this._updateTitle(n)):this._removeTitle()},"^content.buttonquot;:function(e,t,n){this._updateButton(n)},"^content.title.(text|button)quot;:function(e,t,n){this.set("content."+t,n)},"^position.(my|at)quot;:function(e,t,n){"string"==typeof n&&(this.position[t]=e[t]=new k(n,"at"===t))},"^position.containerquot;:function(e,t,n){this.rendered&&this.tooltip.appendTo(n)},"^show.readyquot;:function(e,t,n){n&&(!this.rendered&&this.render(O)||this.toggle(O))},"^style.classesquot;:function(e,t,n,r){this.rendered&&this.tooltip.removeClass(r).addClass(n)},"^style.(width|height)":function(e,t,n){this.rendered&&this.tooltip.css(t,n)},"^style.widget|content.title":function(){this.rendered&&this._setWidget()},"^style.def":function(e,t,n){this.rendered&&this.tooltip.toggleClass(G,!!n)},"^events.(render|show|move|hide|focus|blur)quot;:function(e,t,n){this.rendered&&this.tooltip[(r.isFunction(n)?"":"un")+"bind"]("tooltip"+t,n)},"^(show|hide|position).(event|target|fixed|inactive|leave|distance|viewport|adjust)":function(){if(this.rendered){var e=this.options.position;this.tooltip.attr("tracking","mouse"===e.target&&e.adjust.mouse),this._unassignEvents(),this._assignEvents()}}}},C.get=function(e){if(this.destroyed)return this;var t=f(this.options,e.toLowerCase()),n=t[0][t[1]];return n.precedance?n.string():n};var it=/^position\.(my|at|adjust|target|container|viewport)|style|content|show\.ready/i,st=/^prerender|show\.ready/i;C.set=function(e,t){if(this.destroyed)return this;var n,i=this.rendered,s=M,o=this.options;this.checks;return"string"==typeof e?(n=e,e={},e[n]=t):e=r.extend({},e),r.each(e,function(t,n){if(i&&st.test(t))return void delete e[t];var u,l=f(o,t.toLowerCase());u=l[0][l[1]],l[0][l[1]]=n&&n.nodeType?r(n):n,s=it.test(t)||s,e[t]=[l[0],l[1],n,u]}),u(o),this.positioning=O,r.each(e,r.proxy(l,this)),this.positioning=M,this.rendered&&this.tooltip[0].offsetWidth>0&&s&&this.reposition("mouse"===o.position.target?_:this.cache.event),this},C._update=function(e,t){var n=this,i=this.cache;return this.rendered&&e?(r.isFunction(e)&&(e=e.call(this.elements.target,i.event,this)||""),r.isFunction(e.then)?(i.waiting=O,e.then(function(e){return i.waiting=M,n._update(e,t)},_,function(e){return n._update(e,t)})):e===M||!e&&""!==e?M:(e.jquery&&e.length>0?t.empty().append(e.css({display:"block",visibility:"visible"})):t.html(e),this._waitForContent(t).then(function(e){n.rendered&&n.tooltip[0].offsetWidth>0&&n.reposition(i.event,!e.length)}))):M},C._waitForContent=function(e){var t=this.cache;return t.waiting=O,(r.fn.imagesLoaded?e.imagesLoaded():r.Deferred().resolve([])).done(function(){t.waiting=M}).promise()},C._updateContent=function(e,t){this._update(e,this.elements.content,t)},C._updateTitle=function(e,t){this._update(e,this.elements.title,t)===M&&this._removeTitle(M)},C._createTitle=function(){var e=this.elements,t=this._id+"-title";e.titlebar&&this._removeTitle(),e.titlebar=r("<div />",{"class":W+"-titlebar "+(this.options.style.widget?h("header"):"")}).append(e.title=r("<div />",{id:t,"class":W+"-title","aria-atomic":O})).insertBefore(e.content).delegate(".qtip-close","mousedown keydown mouseup keyup mouseout",function(e){r(this).toggleClass("ui-state-active ui-state-focus","down"===e.type.substr(-4))}).delegate(".qtip-close","mouseover mouseout",function(e){r(this).toggleClass("ui-state-hover","mouseover"===e.type)}),this.options.content.button&&this._createButton()},C._removeTitle=function(e){var t=this.elements;t.title&&(t.titlebar.remove(),t.titlebar=t.title=t.button=_,e!==M&&this.reposition())},C._createPosClass=function(e){return W+"-pos-"+(e||this.options.position.my).abbrev()},C.reposition=function(n,i){if(!this.rendered||this.positioning||this.destroyed)return this;this.positioning=O;var s,o,u,f,l=this.cache,c=this.tooltip,h=this.options.position,p=h.target,d=h.my,v=h.at,m=h.viewport,g=h.container,y=h.adjust,w=y.method.split(" "),E=c.outerWidth(M),S=c.outerHeight(M),x=0,T=0,N=c.css("position"),C={left:0,top:0},k=c[0].offsetWidth>0,L=n&&"scroll"===n.type,A=r(e),_=g[0].ownerDocument,D=this.mouse;if(r.isArray(p)&&2===p.length)v={x:F,y:j},C={left:p[0],top:p[1]};else if("mouse"===p)v={x:F,y:j},(!y.mouse||this.options.hide.distance)&&l.origin&&l.origin.pageX?n=l.origin:!n||n&&("resize"===n.type||"scroll"===n.type)?n=l.event:D&&D.pageX&&(n=D),"static"!==N&&(C=g.offset()),_.body.offsetWidth!==(e.innerWidth||_.documentElement.clientWidth)&&(o=r(t.body).offset()),C={left:n.pageX-C.left+(o&&o.left||0),top:n.pageY-C.top+(o&&o.top||0)},y.mouse&&L&&D&&(C.left-=(D.scrollX||0)-A.scrollLeft(),C.top-=(D.scrollY||0)-A.scrollTop());else{if("event"===p?n&&n.target&&"scroll"!==n.type&&"resize"!==n.type?l.target=r(n.target):n.target||(l.target=this.elements.target):"event"!==p&&(l.target=r(p.jquery?p:this.elements.target)),p=l.target,p=r(p).eq(0),0===p.length)return this;p[0]===t||p[0]===e?(x=rt.iOS?e.innerWidth:p.width(),T=rt.iOS?e.innerHeight:p.height(),p[0]===e&&(C={top:(m||p).scrollTop(),left:(m||p).scrollLeft()})):z.imagemap&&p.is("area")?s=z.imagemap(this,p,v,z.viewport?w:M):z.svg&&p&&p[0].ownerSVGElement?s=z.svg(this,p,v,z.viewport?w:M):(x=p.outerWidth(M),T=p.outerHeight(M),C=p.offset()),s&&(x=s.width,T=s.height,o=s.offset,C=s.position),C=this.reposition.offset(p,C,g),(rt.iOS>3.1&&rt.iOS<4.1||rt.iOS>=4.3&&rt.iOS<4.33||!rt.iOS&&"fixed"===N)&&(C.left-=A.scrollLeft(),C.top-=A.scrollTop()),(!s||s&&s.adjustable!==M)&&(C.left+=v.x===q?x:v.x===R?x/2:0,C.top+=v.y===I?T:v.y===R?T/2:0)}return C.left+=y.x+(d.x===q?-E:d.x===R?-E/2:0),C.top+=y.y+(d.y===I?-S:d.y===R?-S/2:0),z.viewport?(u=C.adjusted=z.viewport(this,C,h,x,T,E,S),o&&u.left&&(C.left+=o.left),o&&u.top&&(C.top+=o.top),u.my&&(this.position.my=u.my)):C.adjusted={left:0,top:0},l.posClass!==(f=this._createPosClass(this.position.my))&&c.removeClass(l.posClass).addClass(l.posClass=f),this._trigger("move",[C,m.elem||m],n)?(delete C.adjusted,i===M||!k||isNaN(C.left)||isNaN(C.top)||"mouse"===p||!r.isFunction(h.effect)?c.css(C):r.isFunction(h.effect)&&(h.effect.call(c,this,r.extend({},C)),c.queue(function(e){r(this).css({opacity:"",height:""}),rt.ie&&this.style.removeAttribute("filter"),e()})),this.positioning=M,this):this},C.reposition.offset=function(e,n,i){function s(e,t){n.left+=t*e.scrollLeft(),n.top+=t*e.scrollTop()}if(!i[0])return n;var o,u,a,f,l=r(e[0].ownerDocument),c=!!rt.ie&&"CSS1Compat"!==t.compatMode,h=i[0];do"static"!==(u=r.css(h,"position"))&&("fixed"===u?(a=h.getBoundingClientRect(),s(l,-1)):(a=r(h).position(),a.left+=parseFloat(r.css(h,"borderLeftWidth"))||0,a.top+=parseFloat(r.css(h,"borderTopWidth"))||0),n.left-=a.left+(parseFloat(r.css(h,"marginLeft"))||0),n.top-=a.top+(parseFloat(r.css(h,"marginTop"))||0),o||"hidden"===(f=r.css(h,"overflow"))||"visible"===f||(o=r(h)));while(h=h.offsetParent);return o&&(o[0]!==l[0]||c)&&s(o,1),n};var ot=(k=C.reposition.Corner=function(e,t){e=(""+e).replace(/([A-Z])/," $1").replace(/middle/gi,R).toLowerCase(),this.x=(e.match(/left|right/i)||e.match(/center/)||["inherit"])[0].toLowerCase(),this.y=(e.match(/top|bottom|center/i)||["inherit"])[0].toLowerCase(),this.forceY=!!t;var n=e.charAt(0);this.precedance="t"===n||"b"===n?P:D}).prototype;ot.invert=function(e,t){this[e]=this[e]===F?q:this[e]===q?F:t||this[e]},ot.string=function(e){var t=this.x,n=this.y,r=t!==n?"center"===t||"center"!==n&&(this.precedance===P||this.forceY)?[n,t]:[t,n]:[t];return e!==!1?r.join(" "):r},ot.abbrev=function(){var e=this.string(!1);return e[0].charAt(0)+(e[1]&&e[1].charAt(0)||"")},ot.clone=function(){return new k(this.string(),this.forceY)},C.toggle=function(e,n){var i=this.cache,s=this.options,o=this.tooltip;if(n){if(/over|enter/.test(n.type)&&i.event&&/out|leave/.test(i.event.type)&&s.show.target.add(n.target).length===s.show.target.length&&o.has(n.relatedTarget).length)return this;i.event=r.event.fix(n)}if(this.waiting&&!e&&(this.hiddenDuringWait=O),!this.rendered)return e?this.render(1):this;if(this.destroyed||this.disabled)return this;var u,a,f,l=e?"show":"hide",c=this.options[l],h=(this.options[e?"hide":"show"],this.options.position),p=this.options.content,d=this.tooltip.css("width"),v=this.tooltip.is(":visible"),m=e||1===c.target.length,g=!n||c.target.length<2||i.target[0]===n.target;return(typeof e).search("boolean|number")&&(e=!v),u=!o.is(":animated")&&v===e&&g,a=u?_:!!this._trigger(l,[90]),this.destroyed?this:(a!==M&&e&&this.focus(n),!a||u?this:(r.attr(o[0],"aria-hidden",!e),e?(this.mouse&&(i.origin=r.event.fix(this.mouse)),r.isFunction(p.text)&&this._updateContent(p.text,M),r.isFunction(p.title)&&this._updateTitle(p.title,M),!A&&"mouse"===h.target&&h.adjust.mouse&&(r(t).bind("mousemove."+W,this._storeMouse),A=O),d||o.css("width",o.outerWidth(M)),this.reposition(n,arguments[2]),d||o.css("width",""),c.solo&&("string"==typeof c.solo?r(c.solo):r(J,c.solo)).not(o).not(c.target).qtip("hide",r.Event("tooltipsolo"))):(clearTimeout(this.timers.show),delete i.origin,A&&!r(J+'[tracking="true"]:visible',c.solo).not(o).length&&(r(t).unbind("mousemove."+W),A=M),this.blur(n)),f=r.proxy(function(){e?(rt.ie&&o[0].style.removeAttribute("filter"),o.css("overflow",""),"string"==typeof c.autofocus&&r(this.options.show.autofocus,o).focus(),this.options.show.target.trigger("qtip-"+this.id+"-inactive")):o.css({display:"",visibility:"",opacity:"",left:"",top:""}),this._trigger(e?"visible":"hidden")},this),c.effect===M||m===M?(o[l](),f()):r.isFunction(c.effect)?(o.stop(1,1),c.effect.call(o,this),o.queue("fx",function(e){f(),e()})):o.fadeTo(90,e?1:0,f),e&&c.target.trigger("qtip-"+this.id+"-inactive"),this))},C.show=function(e){return this.toggle(O,e)},C.hide=function(e){return this.toggle(M,e)},C.focus=function(e){if(!this.rendered||this.destroyed)return this;var t=r(J),n=this.tooltip,i=parseInt(n[0].style.zIndex,10),s=N.zindex+t.length;return n.hasClass(Y)||this._trigger("focus",[s],e)&&(i!==s&&(t.each(function(){this.style.zIndex>i&&(this.style.zIndex=this.style.zIndex-1)}),t.filter("."+Y).qtip("blur",e)),n.addClass(Y)[0].style.zIndex=s),this},C.blur=function(e){return!this.rendered||this.destroyed?this:(this.tooltip.removeClass(Y),this._trigger("blur",[this.tooltip.css("zIndex")],e),this)},C.disable=function(e){return this.destroyed?this:("toggle"===e?e=this.rendered?!this.tooltip.hasClass(et):!this.disabled:"boolean"!=typeof e&&(e=O),this.rendered&&this.tooltip.toggleClass(et,e).attr("aria-disabled",e),this.disabled=!!e,this)},C.enable=function(){return this.disable(M)},C._createButton=function(){var e=this,t=this.elements,n=t.tooltip,i=this.options.content.button,s="string"==typeof i,o=s?i:"Close tooltip";t.button&&t.button.remove(),t.button=i.jquery?i:r("<a />",{"class":"qtip-close "+(this.options.style.widget?"":W+"-icon"),title:o,"aria-label":o}).prepend(r("<span />",{"class":"ui-icon ui-icon-close",html:"&times;"})),t.button.appendTo(t.titlebar||n).attr("role","button").click(function(t){return n.hasClass(et)||e.hide(t),M})},C._updateButton=function(e){if(!this.rendered)return M;var t=this.elements.button;e?this._createButton():t.remove()},C._setWidget=function(){var e=this.options.style.widget,t=this.elements,n=t.tooltip,r=n.hasClass(et);n.removeClass(et),et=e?"ui-state-disabled":"qtip-disabled",n.toggleClass(et,r),n.toggleClass("ui-helper-reset "+h(),e).toggleClass(G,this.options.style.def&&!e),t.content&&t.content.toggleClass(h("content"),e),t.titlebar&&t.titlebar.toggleClass(h("header"),e),t.button&&t.button.toggleClass(W+"-icon",!e)},C._storeMouse=function(e){return(this.mouse=r.event.fix(e)).type="mousemove",this},C._bind=function(e,t,n,i,s){if(e&&n&&t.length){var o="."+this._id+(i?"-"+i:"");return r(e).bind((t.split?t:t.join(o+" "))+o,r.proxy(n,s||this)),this}},C._unbind=function(e,t){return e&&r(e).unbind("."+this._id+(t?"-"+t:"")),this},C._trigger=function(e,t,n){var i=r.Event("tooltip"+e);return i.originalEvent=n&&r.extend({},n)||this.cache.event||_,this.triggering=e,this.tooltip.trigger(i,[this].concat(t||[])),this.triggering=M,!i.isDefaultPrevented()},C._bindEvents=function(e,t,n,i,s,o){var u=n.filter(i).add(i.filter(n)),a=[];u.length&&(r.each(t,function(t,n){var i=r.inArray(n,e);i>-1&&a.push(e.splice(i,1)[0])}),a.length&&(this._bind(u,a,function(e){var t=this.rendered?this.tooltip[0].offsetWidth>0:!1;(t?o:s).call(this,e)}),n=n.not(u),i=i.not(u))),this._bind(n,e,s),this._bind(i,t,o)},C._assignInitialEvents=function(e){function t(e){return this.disabled||this.destroyed?M:(this.cache.event=e&&r.event.fix(e),this.cache.target=e&&r(e.target),clearTimeout(this.timers.show),void (this.timers.show=p.call(this,function(){this.render("object"==typeof e||n.show.ready)},n.prerender?0:n.show.delay)))}var n=this.options,i=n.show.target,s=n.hide.target,o=n.show.event?r.trim(""+n.show.event).split(" "):[],u=n.hide.event?r.trim(""+n.hide.event).split(" "):[];this._bind(this.elements.target,["remove","removeqtip"],function(){this.destroy(!0)},"destroy"),/mouse(over|enter)/i.test(n.show.event)&&!/mouse(out|leave)/i.test(n.hide.event)&&u.push("mouseleave"),this._bind(i,"mousemove",function(e){this._storeMouse(e),this.cache.onTarget=O}),this._bindEvents(o,u,i,s,t,function(){return this.timers?void clearTimeout(this.timers.show):M}),(n.show.ready||n.prerender)&&t.call(this,e)},C._assignEvents=function(){var n=this,i=this.options,s=i.position,o=this.tooltip,u=i.show.target,f=i.hide.target,l=s.container,c=s.viewport,h=r(t),p=(r(t.body),r(e)),y=i.show.event?r.trim(""+i.show.event).split(" "):[],w=i.hide.event?r.trim(""+i.hide.event).split(" "):[];r.each(i.events,function(e,t){n._bind(o,"toggle"===e?["tooltipshow","tooltiphide"]:["tooltip"+e],t,null,o)}),/mouse(out|leave)/i.test(i.hide.event)&&"window"===i.hide.leave&&this._bind(h,["mouseout","blur"],function(e){/select|option/.test(e.target.nodeName)||e.relatedTarget||this.hide(e)}),i.hide.fixed?f=f.add(o.addClass(Q)):/mouse(over|enter)/i.test(i.show.event)&&this._bind(f,"mouseleave",function(){clearTimeout(this.timers.show)}),(""+i.hide.event).indexOf("unfocus")>-1&&this._bind(l.closest("html"),["mousedown","touchstart"],function(e){var t=r(e.target),n=this.rendered&&!this.tooltip.hasClass(et)&&this.tooltip[0].offsetWidth>0,i=t.parents(J).filter(this.tooltip[0]).length>0;t[0]===this.target[0]||t[0]===this.tooltip[0]||i||this.target.has(t[0]).length||!n||this.hide(e)}),"number"==typeof i.hide.inactive&&(this._bind(u,"qtip-"+this.id+"-inactive",m,"inactive"),this._bind(f.add(o),N.inactiveEvents,m)),this._bindEvents(y,w,u,f,d,v),this._bind(u.add(o),"mousemove",function(e){if("number"==typeof i.hide.distance){var t=this.cache.origin||{},n=this.options.hide.distance,r=Math.abs;(r(e.pageX-t.pageX)>=n||r(e.pageY-t.pageY)>=n)&&this.hide(e)}this._storeMouse(e)}),"mouse"===s.target&&s.adjust.mouse&&(i.hide.event&&this._bind(u,["mouseenter","mouseleave"],function(e){return this.cache?void (this.cache.onTarget="mouseenter"===e.type):M}),this._bind(h,"mousemove",function(e){this.rendered&&this.cache.onTarget&&!this.tooltip.hasClass(et)&&this.tooltip[0].offsetWidth>0&&this.reposition(e)})),(s.adjust.resize||c.length)&&this._bind(r.event.special.resize?c:p,"resize",g),s.adjust.scroll&&this._bind(p.add(s.container),"scroll",g)},C._unassignEvents=function(){var n=this.options,i=n.show.target,s=n.hide.target,o=r.grep([this.elements.target[0],this.rendered&&this.tooltip[0],n.position.container[0],n.position.viewport[0],n.position.container.closest("html")[0],e,t],function(e){return"object"==typeof e});i&&i.toArray&&(o=o.concat(i.toArray())),s&&s.toArray&&(o=o.concat(s.toArray())),this._unbind(o)._unbind(o,"destroy")._unbind(o,"inactive")},r(function(){y(J,["mouseenter","mouseleave"],function(e){var t="mouseenter"===e.type,n=r(e.currentTarget),i=r(e.relatedTarget||e.target),s=this.options;t?(this.focus(e),n.hasClass(Q)&&!n.hasClass(et)&&clearTimeout(this.timers.hide)):"mouse"===s.position.target&&s.position.adjust.mouse&&s.hide.event&&s.show.target&&!i.closest(s.show.target[0]).length&&this.hide(e),n.toggleClass(Z,t)}),y("["+V+"]",K,m)}),N=r.fn.qtip=function(e,t,i){var s=(""+e).toLowerCase(),o=_,a=r.makeArray(arguments).slice(1),f=a[a.length-1],l=this[0]?r.data(this[0],W):_;return!arguments.length&&l||"api"===s?l:"string"==typeof e?(this.each(function(){var e=r.data(this,W);if(!e)return O;if(f&&f.timeStamp&&(e.cache.event=f),!t||"option"!==s&&"options"!==s)e[s]&&e[s].apply(e,a);else{if(i===n&&!r.isPlainObject(t))return o=e.get(t),M;e.set(t,i)}}),o!==_?o:this):"object"!=typeof e&&arguments.length?void 0:(l=u(r.extend(O,{},e)),this.each(function(e){var t,n;return n=r.isArray(l.id)?l.id[e]:l.id,n=!n||n===M||n.length<1||N.api[n]?N.nextid++:n,t=w(r(this),n,l),t===M?O:(N.api[n]=t,r.each(z,function(){"initialize"===this.initialize&&this(t)}),void t._assignInitialEvents(f))}))},r.qtip=i,N.api={},r.each({attr:function(e,t){if(this.length){var n=this[0],i="title",s=r.data(n,"qtip");if(e===i&&s&&"object"==typeof s&&s.options.suppress)return arguments.length<2?r.attr(n,nt):(s&&s.options.content.attr===i&&s.cache.attr&&s.set("content.text",t),this.attr(nt,t))}return r.fn["attr"+tt].apply(this,arguments)},clone:function(e){var t=(r([]),r.fn["clone"+tt].apply(this,arguments));return e||t.filter("["+nt+"]").attr("title",function(){return r.attr(this,nt)}).removeAttr(nt),t}},function(e,t){if(!t||r.fn[e+tt])return O;var n=r.fn[e+tt]=r.fn[e];r.fn[e]=function(){return t.apply(this,arguments)||n.apply(this,arguments)}}),r.ui||(r["cleanData"+tt]=r.cleanData,r.cleanData=function(e){for(var t,n=0;(t=r(e[n])).length;n++)if(t.attr(X))try{t.triggerHandler("removeqtip")}catch(i){}r["cleanData"+tt].apply(this,arguments)}),N.version="2.2.1",N.nextid=0,N.inactiveEvents=K,N.zindex=15e3,N.defaults={prerender:M,id:M,overwrite:O,suppress:O,content:{text:O,attr:"title",title:M,button:M},position:{my:"top left",at:"bottom right",target:M,container:M,viewport:M,adjust:{x:0,y:0,mouse:O,scroll:O,resize:O,method:"flipinvert flipinvert"},effect:function(e,t){r(this).animate(t,{duration:200,queue:M})}},show:{target:M,event:"mouseenter",effect:O,delay:90,solo:M,ready:M,autofocus:M},hide:{target:M,event:"mouseleave",effect:O,delay:0,fixed:M,inactive:M,leave:"window",distance:M},style:{classes:"",widget:M,width:M,height:M,def:O},events:{render:_,move:_,show:_,hide:_,toggle:_,visible:_,hidden:_,focus:_,blur:_}};var ut,at="margin",ft="border",lt="color",ct="background-color",ht="transparent",pt=" !important",dt=!!t.createElement("canvas").getContext,vt=/rgba?\(0, 0, 0(, 0)?\)|transparent|#123456/i,mt={},gt=["Webkit","O","Moz","ms"];if(dt)var yt=e.devicePixelRatio||1,bt=function(){var e=t.createElement("canvas").getContext("2d");return e.backingStorePixelRatio||e.webkitBackingStorePixelRatio||e.mozBackingStorePixelRatio||e.msBackingStorePixelRatio||e.oBackingStorePixelRatio||1}(),wt=yt/bt;else var Et=function(e,t,n){return"<qtipvml:"+e+' xmlns="urn:schemas-microsoft.com:vml" class="qtip-vml" '+(t||"")+' style="behavior: url(#default#VML); '+(n||"")+'" />'};r.extend(T.prototype,{init:function(e){var t,n;n=this.element=e.elements.tip=r("<div />",{"class":W+"-tip"}).prependTo(e.tooltip),dt?(t=r("<canvas />").appendTo(this.element)[0].getContext("2d"),t.lineJoin="miter",t.miterLimit=1e5,t.save()):(t=Et("shape",'coordorigin="0,0"',"position:absolute;"),this.element.html(t+t),e._bind(r("*",n).add(n),["click","mousedown"],function(e){e.stopPropagation()},this._ns)),e._bind(e.tooltip,"tooltipmove",this.reposition,this._ns,this),this.create()},_swapDimensions:function(){this.size[0]=this.options.height,this.size[1]=this.options.width},_resetDimensions:function(){this.size[0]=this.options.width,this.size[1]=this.options.height},_useTitle:function(e){var t=this.qtip.elements.titlebar;return t&&(e.y===j||e.y===R&&this.element.position().top+this.size[1]/2+this.options.offset<t.outerHeight(O))},_parseCorner:function(e){var t=this.qtip.options.position.my;return e===M||t===M?e=M:e===O?e=new k(t.string()):e.string||(e=new k(e),e.fixed=O),e},_parseWidth:function(e,t,n){var r=this.qtip.elements,i=ft+E(t)+"Width";return(n?x(n,i):x(r.content,i)||x(this._useTitle(e)&&r.titlebar||r.content,i)||x(r.tooltip,i))||0},_parseRadius:function(e){var t=this.qtip.elements,n=ft+E(e.y)+E(e.x)+"Radius";return rt.ie<9?0:x(this._useTitle(e)&&t.titlebar||t.content,n)||x(t.tooltip,n)||0},_invalidColour:function(e,t,n){var r=e.css(t);return!r||n&&r===e.css(n)||vt.test(r)?M:r},_parseColours:function(e){var t=this.qtip.elements,n=this.element.css("cssText",""),i=ft+E(e[e.precedance])+E(lt),s=this._useTitle(e)&&t.titlebar||t.content,o=this._invalidColour,u=[];return u[0]=o(n,ct)||o(s,ct)||o(t.content,ct)||o(t.tooltip,ct)||n.css(ct),u[1]=o(n,i,lt)||o(s,i,lt)||o(t.content,i,lt)||o(t.tooltip,i,lt)||t.tooltip.css(i),r("*",n).add(n).css("cssText",ct+":"+ht+pt+";"+ft+":0"+pt+";"),u},_calculateSize:function(e){var t,n,r,i=e.precedance===P,s=this.options.width,o=this.options.height,u="c"===e.abbrev(),a=(i?s:o)*(u?.5:1),f=Math.pow,l=Math.round,c=Math.sqrt(f(a,2)+f(o,2)),h=[this.border/a*c,this.border/o*c];return h[2]=Math.sqrt(f(h[0],2)-f(this.border,2)),h[3]=Math.sqrt(f(h[1],2)-f(this.border,2)),t=c+h[2]+h[3]+(u?0:h[0]),n=t/c,r=[l(n*s),l(n*o)],i?r:r.reverse()},_calculateTip:function(e,t,n){n=n||1,t=t||this.size;var r=t[0]*n,i=t[1]*n,s=Math.ceil(r/2),o=Math.ceil(i/2),u={br:[0,0,r,i,r,0],bl:[0,0,r,0,0,i],tr:[0,i,r,0,r,i],tl:[0,0,0,i,r,i],tc:[0,i,s,0,r,i],bc:[0,0,r,0,s,i],rc:[0,0,r,o,0,i],lc:[r,0,r,i,0,o]};return u.lt=u.br,u.rt=u.bl,u.lb=u.tr,u.rb=u.tl,u[e.abbrev()]},_drawCoords:function(e,t){e.beginPath(),e.moveTo(t[0],t[1]),e.lineTo(t[2],t[3]),e.lineTo(t[4],t[5]),e.closePath()},create:function(){var e=this.corner=(dt||rt.ie)&&this._parseCorner(this.options.corner);return(this.enabled=!!this.corner&&"c"!==this.corner.abbrev())&&(this.qtip.cache.corner=e.clone(),this.update()),this.element.toggle(this.enabled),this.corner},update:function(t,n){if(!this.enabled)return this;var i,s,o,u,f,l,c,h,p=this.qtip.elements,d=this.element,v=d.children(),m=this.options,g=this.size,y=m.mimic,b=Math.round;t||(t=this.qtip.cache.corner||this.corner),y===M?y=t:(y=new k(y),y.precedance=t.precedance,"inherit"===y.x?y.x=t.x:"inherit"===y.y?y.y=t.y:y.x===y.y&&(y[t.precedance]=t[t.precedance])),s=y.precedance,t.precedance===D?this._swapDimensions():this._resetDimensions(),i=this.color=this._parseColours(t),i[1]!==ht?(h=this.border=this._parseWidth(t,t[t.precedance]),m.border&&1>h&&!vt.test(i[1])&&(i[0]=i[1]),this.border=h=m.border!==O?m.border:h):this.border=h=0,c=this.size=this._calculateSize(t),d.css({width:c[0],height:c[1],lineHeight:c[1]+"px"}),l=t.precedance===P?[b(y.x===F?h:y.x===q?c[0]-g[0]-h:(c[0]-g[0])/2),b(y.y===j?c[1]-g[1]:0)]:[b(y.x===F?c[0]-g[0]:0),b(y.y===j?h:y.y===I?c[1]-g[1]-h:(c[1]-g[1])/2)],dt?(o=v[0].getContext("2d"),o.restore(),o.save(),o.clearRect(0,0,6e3,6e3),u=this._calculateTip(y,g,wt),f=this._calculateTip(y,this.size,wt),v.attr(H,c[0]*wt).attr(B,c[1]*wt),v.css(H,c[0]).css(B,c[1]),this._drawCoords(o,f),o.fillStyle=i[1],o.fill(),o.translate(l[0]*wt,l[1]*wt),this._drawCoords(o,u),o.fillStyle=i[0],o.fill()):(u=this._calculateTip(y),u="m"+u[0]+","+u[1]+" l"+u[2]+","+u[3]+" "+u[4]+","+u[5]+" xe",l[2]=h&&/^(r|b)/i.test(t.string())?8===rt.ie?2:1:0,v.css({coordsize:c[0]+h+" "+(c[1]+h),antialias:""+(y.string().indexOf(R)>-1),left:l[0]-l[2]*Number(s===D),top:l[1]-l[2]*Number(s===P),width:c[0]+h,height:c[1]+h}).each(function(e){var t=r(this);t[t.prop?"prop":"attr"]({coordsize:c[0]+h+" "+(c[1]+h),path:u,fillcolor:i[0],filled:!!e,stroked:!e}).toggle(!!h||!!e),!e&&t.html(Et("stroke",'weight="'+2*h+'px" color="'+i[1]+'" miterlimit="1000" joinstyle="miter"'))})),e.opera&&setTimeout(function(){p.tip.css({display:"inline-block",visibility:"visible"})},1),n!==M&&this.calculate(t,c)},calculate:function(e,t){if(!this.enabled)return M;var n,i,s=this,o=this.qtip.elements,u=this.element,a=this.options.offset,f=(o.tooltip.hasClass("ui-widget"),{});return e=e||this.corner,n=e.precedance,t=t||this._calculateSize(e),i=[e.x,e.y],n===D&&i.reverse(),r.each(i,function(r,i){var u,l,h;i===R?(u=n===P?F:j,f[u]="50%",f[at+"-"+u]=-Math.round(t[n===P?0:1]/2)+a):(u=s._parseWidth(e,i,o.tooltip),l=s._parseWidth(e,i,o.content),h=s._parseRadius(e),f[i]=Math.max(-s.border,r?l:a+(h>u?h:-u)))}),f[e[n]]-=t[n===D?0:1],u.css({margin:"",top:"",bottom:"",left:"",right:""}).css(f),f},reposition:function(e,t,r){function i(e,t,n,r,i){e===U&&f.precedance===t&&l[r]&&f[n]!==R?f.precedance=f.precedance===D?P:D:e!==U&&l[r]&&(f[t]=f[t]===R?l[r]>0?r:i:f[t]===r?i:r)}function s(e,t,i){f[e]===R?m[at+"-"+t]=v[e]=o[at+"-"+t]-l[t]:(u=o[i]!==n?[l[t],-o[t]]:[-l[t],o[t]],(v[e]=Math.max(u[0],u[1]))>u[0]&&(r[t]-=l[t],v[t]=M),m[o[i]!==n?i:t]=v[e])}if(this.enabled){var o,u,a=t.cache,f=this.corner
2
- .clone(),l=r.adjusted,h=t.options.position.adjust.method.split(" "),p=h[0],d=h[1]||h[0],v={left:M,top:M,x:0,y:0},m={};this.corner.fixed!==O&&(i(p,D,P,F,q),i(d,P,D,j,I),(f.string()!==a.corner.string()||a.cornerTop!==l.top||a.cornerLeft!==l.left)&&this.update(f,M)),o=this.calculate(f),o.right!==n&&(o.left=-o.right),o.bottom!==n&&(o.top=-o.bottom),o.user=this.offset,(v.left=p===U&&!!l.left)&&s(D,F,q),(v.top=d===U&&!!l.top)&&s(P,j,I),this.element.css(m).toggle(!(v.x&&v.y||f.x===R&&v.y||f.y===R&&v.x)),r.left-=o.left.charAt?o.user:p!==U||v.top||!v.left&&!v.top?o.left+this.border:0,r.top-=o.top.charAt?o.user:d!==U||v.left||!v.left&&!v.top?o.top+this.border:0,a.cornerLeft=l.left,a.cornerTop=l.top,a.corner=f.clone()}},destroy:function(){this.qtip._unbind(this.qtip.tooltip,this._ns),this.qtip.elements.tip&&this.qtip.elements.tip.find("*").remove().end().remove()}}),ut=z.tip=function(e){return new T(e,e.options.style.tip)},ut.initialize="render",ut.sanitize=function(e){if(e.style&&"tip"in e.style){var t=e.style.tip;"object"!=typeof t&&(t=e.style.tip={corner:t}),/string|boolean/i.test(typeof t.corner)||(t.corner=O)}},L.tip={"^position.my|style.tip.(corner|mimic|border)quot;:function(){this.create(),this.qtip.reposition()},"^style.tip.(height|width)quot;:function(e){this.size=[e.width,e.height],this.update(),this.qtip.reposition()},"^content.title|style.(classes|widget)quot;:function(){this.update()}},r.extend(O,N.defaults,{style:{tip:{corner:O,mimic:M,width:6,height:6,border:O,offset:0}}})})}(window,document);
assets/js/upgrade.min.js ADDED
@@ -0,0 +1 @@
1
+ function add_message(a){jQuery("#wpbody-content").append("<p>"+a+"</p>")}function run_upgrade(a){jQuery.ajax({url:ajaxurl,data:{action:"cpac_upgrade",version:a},type:"post",dataType:"json",success:function(a){a?a.status?(add_message(a.message),a.next?run_upgrade(a.next):add_message(cpac_upgrade_i18n.complete)):add_message(cpac_upgrade_i18n.error+": "+a.message):add_message(cpac_upgrade_i18n.major_error)}})}
assets/less/admin-column.less DELETED
@@ -1,1340 +0,0 @@
1
- #cpac {
2
-
3
- a:focus,
4
- a:active {
5
- outline: none;
6
- }
7
- }
8
-
9
- /**
10
- * General
11
- * ----------------------------------------------------------------------------
12
- */
13
- #icon-codepress-admin-columns {
14
- background: transparent url('../images/icon.png') no-repeat 0 0;
15
- }
16
- .cpac-settings-link {
17
- float: right;
18
- margin: 12px 14px 5px 0;
19
- background: transparent url('../images/settings.png') no-repeat 0 0;
20
- padding-left: 20px;
21
- text-decoration: none;
22
- display: inline-block;
23
- line-height: 16px;
24
-
25
- &.current {
26
- font-weight: bold;
27
- }
28
- }
29
- .rtl .cpac-settings-link {
30
- float: left;
31
- margin: 12px 0 5px 14px;
32
- padding-right: 20px;
33
- padding-left: 0;
34
- }
35
- a.help {
36
- background: transparent url('../images/help.png') no-repeat 0 0;
37
- display: inline-block;
38
- width: 16px;
39
- height: 16px;
40
- }
41
- .button.loading {
42
- padding-right: 25px;
43
- position: relative;
44
- }
45
- .rtl .button.loading {
46
- padding-left: 25px;
47
- padding-right: 0;
48
- }
49
- .button.loading span {
50
- position: absolute;
51
- top: 2px;
52
- right: 6px;
53
- background: transparent url('../images/loading.gif') no-repeat right 50%;
54
- width: 16px;
55
- height: 16px;
56
- display: inline-block;
57
- }
58
- .rtl .button.loading span {
59
- left: 6px;
60
- right: auto;
61
- }
62
-
63
- /**
64
- * Icons
65
- * ----------------------------------------------------------------------------
66
- */
67
- .icon-yes {
68
- background: transparent url(../images/yes.png) no-repeat 0 0;
69
- width: 16px;
70
- height: 16px;
71
- display: inline-block;
72
- position: relative;
73
- top: 2px;
74
- }
75
- .icon-no {
76
- background: transparent url(../images/no.png) no-repeat 0 0;
77
- width: 16px;
78
- height: 16px;
79
- display: inline-block;
80
- position: relative;
81
- top: 2px;
82
- }
83
-
84
- /**
85
- * Header
86
- * ----------------------------------------------------------------------------
87
- */
88
- h2.cpac-nav-tab-wrapper {
89
- margin-bottom: 10px;
90
- }
91
-
92
- /**
93
- * Menu
94
- * ----------------------------------------------------------------------------
95
- */
96
- .cpac-menu {
97
- clear: both;
98
- overflow: hidden;
99
- margin-bottom: 10px;
100
-
101
- .subsubsub {
102
- white-space: normal;
103
- margin-right: 14px;
104
- width: 100%;
105
- margin: 0 14px 0 0;
106
-
107
- li {
108
-
109
- &.first {
110
- font-weight: bold;
111
- min-width: 90px;
112
- }
113
- }
114
- }
115
- }
116
-
117
- /**
118
- * Structure
119
- * ----------------------------------------------------------------------------
120
- */
121
- .columns-container {
122
- margin-right: 300px;
123
- max-width: 700px;
124
-
125
- .columns-left {
126
- float: left;
127
- width: 100%;
128
- }
129
-
130
- .columns-right {
131
- float: right;
132
- margin-right: -300px;
133
- width: 280px;
134
-
135
- .columns-right-inside.fixed {
136
- position: fixed;
137
- top: 40px;
138
- width: 280px;
139
- }
140
- }
141
- }
142
-
143
- /**
144
- * UI Sortable Plugin
145
- * ----------------------------------------------------------------------------
146
- */
147
- .ui-sortable-helper {
148
- -webkit-box-shadow: 1px 3px 6px 0px rgba(1, 1, 1, 0.4);
149
- box-shadow: 1px 3px 6px 0px rgba(1, 1, 1, 0.4);
150
-
151
- .column-meta {
152
- border-width: 1px;
153
- }
154
- }
155
- .cpac-placeholder {
156
- visibility: visible !important;
157
- border-top: 1px solid #dfdfdf;
158
- padding: 5px 4px 7px 0;
159
-
160
- .inner-placeholder {
161
- border: 1px dashed #808080;
162
- background: #eee;
163
- width: 100%;
164
- height: 100%;
165
- }
166
-
167
- :first-child {
168
- border: none;
169
- }
170
- }
171
-
172
- /**
173
- * Columns
174
- * ----------------------------------------------------------------------------
175
- */
176
- .columns-left {
177
- .cpac-boxes {
178
- .cpac-columns {
179
- form {
180
- box-shadow: 0 1px 3px rgba(0, 0, 0, 0.1);
181
- }
182
- }
183
- }
184
- }
185
-
186
- /**
187
- * Column
188
- * ----------------------------------------------------------------------------
189
- */
190
- .cpac-column {
191
-
192
- // Column Header
193
- .column-meta {
194
- border-style: solid;
195
- border-color: #dfdfdf;
196
- border-width: 1px 1px 0;
197
- background: #fcfcfc;
198
-
199
- &:nth-child(2n) .column-meta {
200
- background: #f9f9f9;
201
- }
202
-
203
- img {
204
- margin-right: 3px;
205
- }
206
-
207
- table {
208
- border: none;
209
- background: transparent;
210
- border-radius: 0;
211
-
212
- tr {
213
- td {
214
- vertical-align: top;
215
- height: 18px;
216
- border: none;
217
- padding: 11px 8px;
218
- border-width: 1px 0 0;
219
- border-style: solid;
220
- border-color: transparent;
221
-
222
- &.column_sort {
223
- width: 10px;
224
- background: transparent url('../images/drag.png') no-repeat 8px 8px;
225
- cursor: move;
226
- }
227
-
228
- &.column_label {
229
- width: 70%;
230
- font-weight: bold;
231
- vertical-align: middle;
232
- position: relative;
233
-
234
- .inner {
235
- position: relative;
236
- overflow: hidden;
237
- height: 18px;
238
-
239
- > a {
240
- color: #5a5a5a;
241
- padding: 0 4px;
242
-
243
- &:hover {
244
- color: #333333;
245
- }
246
-
247
- &.edit-button,
248
- &.remove-button,
249
- &.clone-button {
250
- display: none;
251
- color: #a00;
252
- text-decoration: none;
253
- text-shadow: none;
254
- font-weight: normal;
255
- margin-left: 5px;
256
- font-size: 12px;
257
-
258
- &:hover {
259
- color: #f00;
260
- }
261
- }
262
-
263
- &.edit-button,
264
- &.clone-button {
265
- color: #0074a2;
266
-
267
- &:hover {
268
- color: #2ea2cc;
269
- //background-color: #2ea2cc;
270
- }
271
- }
272
- }
273
-
274
- .meta {
275
- display: inline-block;
276
- float: right;
277
- font-weight: normal;
278
- color: #b2b2b2;
279
- font-size: 12px;
280
-
281
- span {
282
- cursor: pointer;
283
-
284
- &.width {
285
- margin-right: 5px;
286
- cursor: auto;
287
- }
288
- }
289
- }
290
- }
291
-
292
- // wp default icon
293
- span.vers {
294
- float: left;
295
- }
296
- }
297
-
298
- &.column_type {
299
- width: auto;
300
- min-width: 120px;
301
- text-align: right;
302
- vertical-align: middle;
303
- color: #999999;
304
- padding-right: 0;
305
-
306
- .inner {
307
- height: 18px;
308
- overflow: hidden;
309
-
310
- a {
311
- color: #999999;
312
- }
313
- }
314
- }
315
-
316
- &.column_edit {
317
- width: 38px;
318
- min-width: 38px;
319
- background: transparent url('../images/arrow.png') no-repeat 23px 18px;
320
- cursor: pointer;
321
- }
322
- } // td
323
- } // tr
324
- } // table
325
-
326
- &:hover {
327
- .column_label .inner > a {
328
- &.remove-button,
329
- &.edit-button,
330
- &.clone-button {
331
- display: inline-block;
332
- }
333
- }
334
- }
335
-
336
- // WP Default icons
337
- span.vers {
338
- padding-top: 2px;
339
-
340
- .comment-grey-bubble {
341
- background: transparent url("../images/comment-grey-bubble.png") no-repeat 0 0;
342
- height: 12px;
343
- width: 12px;
344
- float: right;
345
- }
346
- }
347
-
348
- } // .column-meta
349
-
350
- // Column Body
351
- .column-form {
352
- display: none;
353
- border-width: 1px 1px 0;
354
- border-style: solid;
355
- border-color: #dfdfdf;
356
- position: relative;
357
-
358
- table {
359
- border: none;
360
- background: #fcfcfc;
361
-
362
- tr {
363
-
364
- td {
365
- vertical-align: top;
366
- border: none;
367
- padding: 8px;
368
- background: #ffffff;
369
- border-top: 1px solid #F5F5F5;
370
-
371
- select,
372
- input[type=text] {
373
- width: 99.95%; // excl padding
374
-
375
- &.small {
376
- width: 100px;
377
- }
378
- }
379
-
380
- span.suffix {
381
- line-height: 40px;
382
- color: #808080;
383
- }
384
-
385
- select optgroup:nth-child(2n) {
386
- background: #F9F9F9;
387
- }
388
-
389
- &.label {
390
- position: relative;
391
- overflow: visible;
392
- background: #F9F9F9;
393
- background: #f5f5f5;
394
- border-right: 1px solid #E1E1E1;
395
- vertical-align: top;
396
- width: 34%;
397
- border-top: 1px solid #F0F0F0;
398
-
399
- label {
400
- font-weight: bold;
401
- color: #333333;
402
- display: block;
403
- position: relative;
404
- }
405
-
406
- p {
407
- color: #666666;
408
- display: block;
409
- font-size: 12px;
410
- font-style: normal;
411
- line-height: 16px;
412
- margin: 0 !important;
413
-
414
- &.description {
415
- display: none;
416
- position: absolute;
417
- z-index: 99;
418
- top: 30px;
419
- left: 0;
420
- background: #eaf2fa;
421
- border-radius: 5px;
422
- border: 1px solid #c7d7e2;
423
- padding: 5px 8px !important;
424
- font-weight: normal;
425
-
426
- em {
427
- display: block;
428
- color: #999;
429
- }
430
- }
431
- }
432
-
433
- .info {
434
- position: absolute;
435
- top: 0;
436
- left: 0;
437
- width: 100%;
438
- height: 100%;
439
- z-index: 1;
440
-
441
- &:before {
442
- position: absolute;
443
- z-index: 1;
444
- right: 10px;
445
- top: 50%;
446
- margin-top: -7px;
447
- content: '';
448
- display: block;
449
- border-radius: 32px;
450
- border: 1px solid #E6E6E6;
451
- width: 12px;
452
- height: 12px;
453
- }
454
-
455
- &:after {
456
- position: absolute;
457
- z-index: 1;
458
- right: 10px;
459
- top: 50%;
460
- margin-top: -6px;
461
- content: '?';
462
- display: block;
463
- width: 14px;
464
- height: 14px;
465
- color: #E6E6E6;
466
- font: bold 10px Arial;
467
- text-align: center;
468
- vertical-align: middle;
469
- line-height: 14px;
470
- }
471
- }
472
- }
473
-
474
- &.input {
475
- label {
476
- padding-left: 10px;
477
- padding-right: 0;
478
- }
479
-
480
- div.msg {
481
- margin-top: 5px;
482
- display: none;
483
- color: #333;
484
- padding: 6px 8px;
485
- background-color: #ffebe8;
486
- border: 1px solid #fff;
487
- -moz-border-radius: 3px;
488
- -webkit-border-radius: 3px;
489
- border-radius: 3px;
490
- }
491
-
492
- .section {
493
- padding: 12px;
494
- }
495
- }
496
- }
497
-
498
- &.column_width {
499
-
500
- .input {
501
- position: relative;
502
-
503
- div.description {
504
- font-size: 11px;
505
- width: 54px;
506
- position: absolute;
507
- left: 10px;
508
- text-align: middle;
509
-
510
- input {
511
- background: #efefef;
512
- border: none;
513
- height: 20px;
514
- line-height: 20px;
515
- text-align: right;
516
- width: 36px;
517
- font-size: 12px;
518
- }
519
- }
520
- div.width-slider {
521
- margin-left: 60px;
522
- margin-right: 100px;
523
- position: relative;
524
- margin-top: 4px;
525
-
526
- .ui-slider-handle {
527
- cursor:ew-resize;
528
- }
529
- }
530
- div.unit-select {
531
- position: absolute;
532
- top: 8px;
533
- right: 10px;
534
- width: 90px;
535
- text-align: right;
536
-
537
- label {
538
- padding-left: 5px;
539
- }
540
- }
541
- }
542
- }
543
-
544
- &.column_image_size {
545
-
546
- border: 10px solid red;
547
- td.label {}
548
- td.input {
549
- label.custom-size {
550
- display: inline-block;
551
- margin-top: 4px;
552
- margin-bottom: 4px;
553
-
554
- input {
555
- margin-right: 3px;
556
- }
557
- }
558
-
559
- .custom_image_size {
560
- display: inline-block;
561
-
562
- .hidden {
563
- display: none;
564
- }
565
-
566
- .custom-size-w,
567
- .custom-size-h {
568
- margin: 0;
569
-
570
- &.hidden {
571
- display: none;
572
- }
573
-
574
- input[type="text"] {
575
- margin-right: 3px;
576
- width: 40px !important;
577
- }
578
- }
579
- }
580
- }
581
- }
582
-
583
- &.column_action {
584
- td {
585
- background: #f9f9f9;
586
-
587
- p {
588
- margin: 0;
589
-
590
- a.remove-button {
591
- color: #a00;
592
- text-decoration: none;
593
- text-shadow: none;
594
- font-weight: normal;
595
- margin-left: 5px;
596
- font-size: 12px;
597
- padding: 0 5px;
598
-
599
- &:hover {
600
- color: #fff;
601
- background: #f00;
602
- }
603
- }
604
- }
605
- }
606
- }
607
-
608
- &:first-child td {
609
- border-top: none;
610
- }
611
- }
612
- }
613
- }
614
-
615
- &.loading .column-form {
616
- > .spinner {
617
- position: absolute;
618
- left: 50%;
619
- top: 50%;
620
- z-index: 200;
621
- margin-left: -10px;
622
- margin-top: -10px;
623
- display: block;
624
- }
625
-
626
- &:before {
627
- content: '';
628
- position: absolute;
629
- width: 100%;
630
- height: 100%;
631
- background: #FFF;
632
- z-index: 100;
633
- opacity: 0.5;
634
- }
635
- }
636
-
637
- // Open state
638
- &.opened {
639
- .column-meta {
640
- background-color: #c7c7c7;
641
- background-image: -ms-linear-gradient(top, #e9e9e9, #c7c7c7);
642
- background-image: -moz-linear-gradient(top, #e9e9e9, #c7c7c7);
643
- background-image: -o-linear-gradient(top, #e9e9e9, #c7c7c7);
644
- background-image: -webkit-gradient(linear, left top, left bottom, from(#e9e9e9), to(#c7c7c7));
645
- background-image: -webkit-linear-gradient(top, #e9e9e9, #c7c7c7);
646
- background-image: linear-gradient(top, #e9e9e9, #c7c7c7);
647
- border-color: #aeaeae;
648
-
649
- table {
650
- background: transparent;
651
-
652
- td {
653
- border-color: #f8f8f8;
654
- color: #333;
655
- text-shadow: 0 1px 0 #FFFFFF;
656
-
657
- a {
658
- color: #333;
659
- text-shadow: 0 1px 0 #FFFFFF;
660
- }
661
-
662