Slider by Soliloquy – Responsive Image Slider for WordPress - Version 2.5.0.8

Version Description

  • Fix: Minor Bug fixes
Download this release

Release Info

Developer chrisakelley
Plugin Icon 128x128 Slider by Soliloquy – Responsive Image Slider for WordPress
Version 2.5.0.8
Comparing to
See all releases

Code changes from version 2.5.0.1 to 2.5.0.8

assets/css/metabox.css CHANGED
@@ -1,4 +1,4 @@
1
- @font-face{font-family:'soliloquy';src:url("../fonts/soliloquy.eot");src:url("../fonts/soliloquy.eot?#iefix") format("embedded-opentype"),url("../fonts/soliloquy.woff") format("woff"),url("../fonts/soliloquy.ttf") format("truetype"),url("../fonts/soliloquy.svg#soliloquy") format("svg");font-weight:normal;font-style:normal}[class*='soliloquy-icon-']:before{display:inline-block;font-family:'soliloquy';font-style:normal;font-weight:normal;font-size:13px;line-height:1.5;margin-right:8px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.soliloquy-icon-configuration:before{content:'\0041'}.soliloquy-icon-soliloquy:before{content:'\0042'}.soliloquy-icon-pinterest:before{content:'\0043'}.soliloquy-icon-lightbox:before{content:'\0044'}.soliloquy-icon-misc:before{content:'\0045'}.soliloquy-icon-mobile:before{content:'\0046'}.soliloquy-icon-pagination:before{content:'\0047'}.soliloquy-icon-proofing:before{content:'\0048'}.soliloquy-icon-slideshow:before{content:'\0049'}.soliloquy-icon-tags:before{content:'\004a'}.soliloquy-icon-thumbnails:before{content:'\004b'}.soliloquy-icon-video:before{content:'\004c'}.soliloquy-icon-watermark:before{content:'\004d'}.soliloquy-icon-cloud-download:before{content:'\004e'}.soliloquy-icon-toggle-on:before{content:'\004f'}.soliloquy-icon-plus-circle:before{content:'\0050'}.soliloquy-icon-list:before{content:'\0052'}.soliloquy-icon-grid:before{content:'\0053'}.soliloquy-icon-pencil:before{content:'\0055'}.soliloquy-icon-close:before{content:'\0056'}.soliloquy-icon-check:before{content:'\0057'}.soliloquy-icon-schedule:before{content:'\0058'}.soliloquy-icon-carousel:before{content:'\0059'}#soliloquy-header{background-color:#ff3700;height:120px;margin-left:-20px}#soliloquy-header #soliloquy-logo{margin:0;padding-top:25px;line-height:120px;margin-left:20px}#soliloquy-header #soliloquy-logo img{max-width:288px}.wp-core-ui .button-soliloquy{background:#ff3700;border-color:#ff3700;-webkit-box-shadow:none;box-shadow:none;color:#fff;text-decoration:none;font-weight:500;text-shadow:none;line-height:15px;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy:hover{background:#ff3700;border-color:#ff3700;color:#fff;opacity:.8}.wp-core-ui .button-soliloquy-secondary{background:#f7f7f7;border:1px solid;border-color:#ddd;-webkit-box-shadow:none;box-shadow:none;color:#23282d;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy-secondary:hover{background:#f7f7f7;border-color:#999;color:#23282d}.wp-core-ui .button-soliloquy-delete{background:#e3231b;border:1px solid;border-color:#e3231b;-webkit-box-shadow:none;box-shadow:none;color:#fff;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy-delete:hover{background:#e3231b;color:#fff;opacity:.8}.wp-core-ui a.button-soliloquy,.wp-core-ui a.button-soliloquy-secondary,.wp-core-ui a.button-soliloquy-delete{line-height:32px}#soliloquy-settings-content input:not([type=checkbox]){background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;height:35px;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}#soliloquy-settings-content input[type=checkbox]:checked{-color:#ff3700}#soliloquy-settings-content textarea{width:100%}#soliloquy-settings-content input[type="password"].soliloquy-input{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}input[type="password"].soliloquy-input{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;height:35px;color:#32373c;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}pre.soliloquy-code{background-color:#ddd;border-radius:3px;padding:15px}.soliloquy-clipboard{display:block;text-decoration:underline !important;padding-top:8px;font-size:11px;outline:0 !important}.soliloquy-clipboard:focus{outline-style:none;box-shadow:none;border-color:transparent}.soliloquy-code{display:block;background-color:#f7f7f7;border-radius:3px;padding:10px !important}.soliloquy-list-inline{margin:0;list-style:none}.soliloquy-list-inline li{display:inline-block;margin-right:5px}.soliloquy-list-inline li:last-child{margin-right:0 !important}.soliloquy-yt iframe{max-width:100%;height:auto}.soliloquy-hidden{display:none !important}.soliloquy-hideme{visibility:hidden}.soliloquy-no-border{border:none !important}.soliloquy-right{float:right}.soliloquy-left{float:left}.soliloquy-clearfix{clear:both;display:block;height:0;overflow:hidden;visibility:hidden;width:0}.no-margin{margin:0 !important}.no-margin-top{margin-top:0 !important}.no-margin-bottom{margin-bottom:0 !important}[data-soliloquy-tooltip]{position:relative;z-index:2;cursor:pointer}[data-soliloquy-tooltip]:before,[data-soliloquy-tooltip]:after{visibility:hidden;opacity:0;pointer-events:none}[data-soliloquy-tooltip]:before{position:absolute;bottom:120%;left:50%;margin-bottom:5px;margin-left:-35px;padding:7px;width:60px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#000;color:#fff;content:attr(data-soliloquy-tooltip);text-align:center;font-size:12px;line-height:1.2}[data-soliloquy-tooltip]:after{position:absolute;bottom:120%;left:50%;width:0;margin-left:-5px;border-top:5px solid #000;border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}[data-soliloquy-tooltip]:hover:before,[data-soliloquy-tooltip]:hover:after{visibility:visible;opacity:1}.soliloquy-alert{position:relative;margin:0 0 20px 0;padding:20px;-webkit-border-radius:2px;-moz-border-radius:2px;-o-border-radius:2px;border-radius:2px;background:#fcf8e3}[class*=soliloquy-grid-]{float:left;margin-left:2%}[class*=soliloquy-grid-] input[type=text]{width:100% !important}.soliloquy-grid-1{width:6.5%}.soliloquy-grid-2{width:15%}.soliloquy-grid-3{width:23.5%}.soliloquy-grid-4{width:32%}.soliloquy-grid-5{width:40.5%}.soliloquy-grid-6{width:49%}.soliloquy-grid-7{width:57.5%}.soliloquy-grid-8{width:66%}.soliloquy-grid-9{width:74.5%}.soliloquy-grid-10{width:83%}.soliloquy-grid-11{width:91.5%}.soliloquy-grid-12{width:100%}.soliloquy-first{margin-left:0px}/*!
2
  Chosen, a Select Box Enhancer for jQuery and Prototype
3
  by Patrick Filler for Harvest, http://getharvest.com
4
 
@@ -8,4 +8,4 @@ Copyright (c) 2011-2016 Harvest http://getharvest.com
8
 
9
  MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
  This file is generated by `grunt build`, do not edit it by hand.
11
- */.soliloquy-select *{box-shadow:none !important;background-image:none !important}.soliloquy-select *:after{background-image:none !important}.soliloquy-select .soliloquy-chosen{height:35px;max-width:350px;width:100%}.soliloquy-select .chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:350px;font-weight:600}.soliloquy-select .chosen-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.soliloquy-select .chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;width:100%;border:1px solid #ddd;border-top:0;background:#fff}.soliloquy-select .chosen-container.chosen-with-drop .chosen-drop{left:0}.soliloquy-select .chosen-container a{cursor:pointer}.soliloquy-select .chosen-container .search-choice .group-name,.soliloquy-select .chosen-container .chosen-single .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:normal;color:#999999}.soliloquy-select .chosen-container .search-choice .group-name:after,.soliloquy-select .chosen-container .chosen-single .group-name:after{content:":";padding-left:2px;vertical-align:top}.soliloquy-select .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:35px;border:1px solid #ddd;border-radius:3px;background:#fff;background-clip:padding-box;color:#444;text-decoration:none;white-space:nowrap;line-height:35px}.soliloquy-select .chosen-container-single .chosen-default{color:#999}.soliloquy-select .chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.soliloquy-select .chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.soliloquy-select .chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.soliloquy-select .chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-single .chosen-single div{border-left:1px solid #ddd;position:absolute;top:0;right:0;display:block;width:30px;height:100%;padding-left:9px}.soliloquy-select .chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;line-height:35px}.soliloquy-select .chosen-container-single .chosen-single div b:before{content:"\0051";display:block;font-weight:normal;font-size:8px !important;font-family:'soliloquy';position:absolute;text-align:center}.soliloquy-select .chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.soliloquy-select .chosen-container-single .chosen-search input[type="text"]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #ddd;background:#fff url("chosen-sprite.png") no-repeat 100% -20px;background:url("chosen-sprite.png") no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.soliloquy-select .chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 2px 2px;background-clip:padding-box}.soliloquy-select .chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.soliloquy-select .chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.soliloquy-select .chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.soliloquy-select .chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.soliloquy-select .chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.soliloquy-select .chosen-container .chosen-results li.highlighted{background:#ff3700;color:#fff}.soliloquy-select .chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.soliloquy-select .chosen-container .chosen-results li.group-result{display:list-item;font-weight:bold;cursor:default}.soliloquy-select .chosen-container .chosen-results li.group-option{padding-left:15px}.soliloquy-select .chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.soliloquy-select .chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto !important;height:1%;border:1px solid #ddd;background:#fff;cursor:text}.soliloquy-select .chosen-container-multi .chosen-choices li{float:left;list-style:none}.soliloquy-select .chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.soliloquy-select .chosen-container-multi .chosen-choices li.search-field input[type="text"]{margin:1px 0;padding:0;height:25px;outline:0;border:0 !important;background:transparent !important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #ddd;max-width:100%;border-radius:2px;background:#fff;background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);color:#333;line-height:13px;cursor:default}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url("chosen-sprite.png") -42px 1px no-repeat;font-size:1px}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ddd;background:#e4e4e4;color:#666}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.soliloquy-select .chosen-container-multi .chosen-results{margin:0;padding:0}.soliloquy-select .chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.soliloquy-select .chosen-container-active .chosen-single{border:1px solid #ddd}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #ddd;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background:#fff}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div{border-left:1px solid transparent;background:transparent}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.soliloquy-select .chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,0.3)}.soliloquy-select .chosen-container-active .chosen-choices li.search-field input[type="text"]{color:#222 !important}.soliloquy-select .chosen-disabled{opacity:0.5 !important;cursor:default}.soliloquy-select .chosen-disabled .chosen-single{cursor:default}.soliloquy-select .chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.soliloquy-select .chosen-rtl{text-align:right}.soliloquy-select .chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.soliloquy-select .chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.soliloquy-select .chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.soliloquy-select .chosen-rtl .chosen-single div{right:auto;left:3px}.soliloquy-select .chosen-rtl .chosen-single abbr{right:auto;left:26px}.soliloquy-select .chosen-rtl .chosen-choices li{float:right}.soliloquy-select .chosen-rtl .chosen-choices li.search-field input[type="text"]{direction:rtl}.soliloquy-select .chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.soliloquy-select .chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.soliloquy-select .chosen-rtl.chosen-container-single-nosearch .chosen-search,.soliloquy-select .chosen-rtl .chosen-drop{left:9999px}.soliloquy-select .chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.soliloquy-select .chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.soliloquy-select .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.soliloquy-select .chosen-rtl .chosen-search input[type="text"]{padding:4px 5px 4px 20px;background:#fff url("chosen-sprite.png") no-repeat -30px -20px;background:url("chosen-sprite.png") no-repeat -30px -20px;direction:rtl}.soliloquy-select .chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.soliloquy-select .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx){.soliloquy-select .chosen-rtl .chosen-search input[type="text"],.soliloquy-select .chosen-container-single .chosen-single abbr,.soliloquy-select .chosen-container-single .chosen-search input[type="text"],.soliloquy-select .chosen-container-multi .chosen-choices .search-choice .search-choice-close,.soliloquy-select .chosen-container .chosen-results-scroll-down span,.soliloquy-select .chosen-container .chosen-results-scroll-up span{background-image:none !important;background-size:52px 37px !important;background-repeat:no-repeat !important}}.soliloquy-select select.soliloquy-chosen+.chosen-container.chosen-container-single .chosen-single{padding-right:35px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info,#soliloquy-meta-edit .attachment-details .attachment-info{padding:16px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings,#soliloquy-meta-edit .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .soliloquy-meta.code,#soliloquy-meta-edit .attachment-details .attachment-info .settings .soliloquy-meta.code{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .soliloquy-meta.code span.name,#soliloquy-meta-edit .attachment-details .attachment-info .settings .soliloquy-meta.code span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px;margin-bottom:3px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting .check-label,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting .check-label{font-style:italic}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting input[type="text"],#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting textarea,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting input[type="text"],#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting input[type="checkbox"],#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting input[type="checkbox"]{float:left;margin:7px 3px 0 0}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting select,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting select{margin:0}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting span.name,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting span.description,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting span.description{text-align:left;font-style:normal;font-size:13px;font-style:italic;color:#666;margin:0px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting div.description,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting div.description{text-align:left;font-style:normal;font-size:13px;font-style:italic;color:#666;margin-top:4px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info div.actions a.button,#soliloquy-meta-edit .attachment-details .attachment-info div.actions a.button{display:inline-block}#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit-bulk .mce-window,#soliloquy-meta-edit #wp-link-wrap,#soliloquy-meta-edit .mce-window{-webkit-box-shadow:0 3px 6px rgba(0,0,0,0.3)}#soliloquy-meta-edit-bulk .wp-editor-tools,#soliloquy-meta-edit .wp-editor-tools{z-index:1}#soliloquy-meta-edit-bulk .wp-editor-tools:after,#soliloquy-meta-edit .wp-editor-tools:after{clear:both;content:"";display:table}#soliloquy-meta-edit-bulk .wp-editor-container,#soliloquy-meta-edit .wp-editor-container{clear:both}#soliloquy-meta-edit-bulk .wp-editor-area,#soliloquy-meta-edit .wp-editor-area{font-family:Consolas, Monaco, monospace;font-size:13px;padding:10px;margin:1px 0 0;line-height:150%;border:0;outline:0;display:block;resize:vertical;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#soliloquy-meta-edit-bulk .rtl .wp-editor-area,#soliloquy-meta-edit .rtl .wp-editor-area{font-family:Tahoma,Monaco,monospace}#soliloquy-meta-edit-bulk .locale-he-il .wp-editor-area,#soliloquy-meta-edit .locale-he-il .wp-editor-area{font-family:Arial,Monaco,monospace}#soliloquy-meta-edit-bulk .wp-editor-container textarea.wp-editor-area,#soliloquy-meta-edit .wp-editor-container textarea.wp-editor-area{width:100%;margin:0;-webkit-box-shadow:none;box-shadow:none}#soliloquy-meta-edit-bulk .wp-editor-tabs,#soliloquy-meta-edit .wp-editor-tabs{float:right}#soliloquy-meta-edit-bulk .wp-switch-editor,#soliloquy-meta-edit .wp-switch-editor{float:left;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;top:1px;background:#ebebeb;color:#666;cursor:pointer;font-size:13px;line-height:19px;height:20px;margin:5px 0 0 5px;padding:3px 8px 4px;border:1px solid #e5e5e5}#soliloquy-meta-edit-bulk .wp-switch-editor:focus,#soliloquy-meta-edit .wp-switch-editor:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);outline:0;color:#23282d}#soliloquy-meta-edit-bulk .html-active .switch-html:focus,#soliloquy-meta-edit-bulk .tmce-active .switch-tmce:focus,#soliloquy-meta-edit-bulk .wp-switch-editor:active,#soliloquy-meta-edit .html-active .switch-html:focus,#soliloquy-meta-edit .tmce-active .switch-tmce:focus,#soliloquy-meta-edit .wp-switch-editor:active{-webkit-box-shadow:none;box-shadow:none}#soliloquy-meta-edit-bulk .wp-switch-editor:active,#soliloquy-meta-edit .wp-switch-editor:active{background-color:#f5f5f5;-webkit-box-shadow:none;box-shadow:none}#soliloquy-meta-edit-bulk .js .tmce-active .wp-editor-area,#soliloquy-meta-edit .js .tmce-active .wp-editor-area{color:#fff}#soliloquy-meta-edit-bulk .tmce-active .quicktags-toolbar,#soliloquy-meta-edit .tmce-active .quicktags-toolbar{display:none}#soliloquy-meta-edit-bulk .html-active .switch-html,#soliloquy-meta-edit-bulk .tmce-active .switch-tmce,#soliloquy-meta-edit .html-active .switch-html,#soliloquy-meta-edit .tmce-active .switch-tmce{background:#f5f5f5;color:#555;border-bottom-color:#f5f5f5}#soliloquy-meta-edit-bulk .wp-media-buttons,#soliloquy-meta-edit .wp-media-buttons{float:left}#soliloquy-meta-edit-bulk .wp-media-buttons .button,#soliloquy-meta-edit .wp-media-buttons .button{margin-right:5px;margin-bottom:4px;padding-left:7px;padding-right:7px}#soliloquy-meta-edit-bulk .wp-media-buttons .button:active,#soliloquy-meta-edit .wp-media-buttons .button:active{position:relative;top:1px;margin-top:-1px;margin-bottom:1px}#soliloquy-meta-edit-bulk .wp-media-buttons .insert-media,#soliloquy-meta-edit .wp-media-buttons .insert-media{padding-left:5px}#soliloquy-meta-edit-bulk .wp-media-buttons a,#soliloquy-meta-edit .wp-media-buttons a{text-decoration:none;color:#444;font-size:12px}#soliloquy-meta-edit-bulk .wp-media-buttons img,#soliloquy-meta-edit .wp-media-buttons img{padding:0 4px;vertical-align:middle}#soliloquy-meta-edit-bulk .wp-media-buttons span.wp-media-buttons-icon,#soliloquy-meta-edit .wp-media-buttons span.wp-media-buttons-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}#soliloquy-meta-edit-bulk .wp-media-buttons .add_media span.wp-media-buttons-icon,#soliloquy-meta-edit .wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}#soliloquy-meta-edit-bulk .wp-media-buttons .add_media span.wp-media-buttons-icon:before,#soliloquy-meta-edit .wp-media-buttons .add_media span.wp-media-buttons-icon:before{font:400 18px / 1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:""}#soliloquy-meta-edit-bulk .quicktags-toolbar,#soliloquy-meta-edit .quicktags-toolbar{padding:3px;border-bottom:1px solid #ddd;background:#f5f5f5;min-height:30px}#soliloquy-meta-edit-bulk .has-dfw .quicktags-toolbar,#soliloquy-meta-edit .has-dfw .quicktags-toolbar{padding-right:35px}#soliloquy-meta-edit-bulk .wp-core-ui .quicktags-toolbar input.button.button-small,#soliloquy-meta-edit .wp-core-ui .quicktags-toolbar input.button.button-small{margin:2px}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value=link],#soliloquy-meta-edit .quicktags-toolbar input[value=link]{text-decoration:underline}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value=del],#soliloquy-meta-edit .quicktags-toolbar input[value=del]{text-decoration:line-through}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value="i"],#soliloquy-meta-edit .quicktags-toolbar input[value="i"]{font-style:italic}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value="b"],#soliloquy-meta-edit .quicktags-toolbar input[value="b"]{font-weight:700}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,#soliloquy-meta-edit-bulk .qt-dfw,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,#soliloquy-meta-edit .qt-dfw{position:absolute;top:0;right:0;margin:5px 5px 0 0}#soliloquy-meta-edit-bulk .qt-fullscreen,#soliloquy-meta-edit .qt-fullscreen{position:static;margin:2px}@media screen and (max-width: 782px){#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn button,#soliloquy-meta-edit-bulk .qt-dfw,#soliloquy-meta-edit .mce-toolbar .mce-btn button,#soliloquy-meta-edit .qt-dfw{padding:6px 7px}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn.mce-primary button,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn.mce-primary button{padding:6px 7px 5px}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn{margin:1px}#soliloquy-meta-edit-bulk .qt-dfw,#soliloquy-meta-edit .qt-dfw{width:36px;height:34px}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw{margin:4px 4px 0 0}#soliloquy-meta-edit-bulk .mce-toolbar .mce-colorbutton .mce-preview,#soliloquy-meta-edit .mce-toolbar .mce-colorbutton .mce-preview{left:8px;bottom:6px}#soliloquy-meta-edit-bulk .mce-window .mce-btn,#soliloquy-meta-edit .mce-window .mce-btn{padding:2px 0}#soliloquy-meta-edit-bulk .has-dfw .quicktags-toolbar,#soliloquy-meta-edit-bulk .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first,#soliloquy-meta-edit .has-dfw .quicktags-toolbar,#soliloquy-meta-edit .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first{padding-right:40px}}@media screen and (min-width: 782px){#soliloquy-meta-edit-bulk .wp-core-ui .quicktags-toolbar input.button.button-small,#soliloquy-meta-edit .wp-core-ui .quicktags-toolbar input.button.button-small{font-size:12px;height:26px;line-height:24px}}#soliloquy-meta-edit-bulk #wp_editbtns,#soliloquy-meta-edit-bulk #wp_gallerybtns,#soliloquy-meta-edit #wp_editbtns,#soliloquy-meta-edit #wp_gallerybtns{padding:2px;position:absolute;display:none;z-index:100020}#soliloquy-meta-edit-bulk #wp_delgallery,#soliloquy-meta-edit-bulk #wp_delimgbtn,#soliloquy-meta-edit-bulk #wp_editgallery,#soliloquy-meta-edit-bulk #wp_editimgbtn,#soliloquy-meta-edit #wp_delgallery,#soliloquy-meta-edit #wp_delimgbtn,#soliloquy-meta-edit #wp_editgallery,#soliloquy-meta-edit #wp_editimgbtn{border-color:#999;background-color:#eee;margin:2px;padding:2px;border-width:1px;border-style:solid;-webkit-border-radius:3px;border-radius:3px}#soliloquy-meta-edit-bulk #wp_delgallery:hover,#soliloquy-meta-edit-bulk #wp_delimgbtn:hover,#soliloquy-meta-edit-bulk #wp_editgallery:hover,#soliloquy-meta-edit-bulk #wp_editimgbtn:hover,#soliloquy-meta-edit #wp_delgallery:hover,#soliloquy-meta-edit #wp_delimgbtn:hover,#soliloquy-meta-edit #wp_editgallery:hover,#soliloquy-meta-edit #wp_editimgbtn:hover{border-color:#555;background-color:#ccc}#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{display:none;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,0.3);width:500px;overflow:hidden;margin-left:-250px;position:fixed;top:50%;left:50%;z-index:100105;-webkit-transition:height .2s, margin-top .2s;transition:height .2s, margin-top .2s;height:500px;margin-top:-250px}#soliloquy-meta-edit-bulk #wp-link-backdrop,#soliloquy-meta-edit #wp-link-backdrop{display:none;position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}#soliloquy-meta-edit-bulk #wp-link,#soliloquy-meta-edit #wp-link{position:relative;height:100%}#soliloquy-meta-edit-bulk #wp-link-wrap .wp-link-text-field,#soliloquy-meta-edit #wp-link-wrap .wp-link-text-field{display:none}#soliloquy-meta-edit-bulk #wp-link-wrap.has-text-field .wp-link-text-field,#soliloquy-meta-edit #wp-link-wrap.has-text-field .wp-link-text-field{display:block}#soliloquy-meta-edit-bulk #link-modal-title,#soliloquy-meta-edit #link-modal-title{background:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:18px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}#soliloquy-meta-edit-bulk #wp-link-close,#soliloquy-meta-edit #wp-link-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}#soliloquy-meta-edit-bulk #wp-link-close:before,#soliloquy-meta-edit #wp-link-close:before{font:400 20px / 36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:36px;height:36px;content:""}#soliloquy-meta-edit-bulk #wp-link-close:focus,#soliloquy-meta-edit-bulk #wp-link-close:hover,#soliloquy-meta-edit #wp-link-close:focus,#soliloquy-meta-edit #wp-link-close:hover{color:#00a0d2}#soliloquy-meta-edit-bulk #wp-link-close:focus,#soliloquy-meta-edit #wp-link-close:focus{outline:0;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}#soliloquy-meta-edit-bulk #wp-link-wrap #link-selector,#soliloquy-meta-edit #wp-link-wrap #link-selector{-webkit-overflow-scrolling:touch;padding:0 16px;position:absolute;top:37px;left:0;right:0;bottom:44px}#soliloquy-meta-edit-bulk #wp-link ol,#soliloquy-meta-edit-bulk #wp-link ul,#soliloquy-meta-edit #wp-link ol,#soliloquy-meta-edit #wp-link ul{list-style:none;margin:0;padding:0}#soliloquy-meta-edit-bulk #wp-link input[type=text],#soliloquy-meta-edit #wp-link input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#soliloquy-meta-edit-bulk #wp-link #link-options,#soliloquy-meta-edit #wp-link #link-options{padding:8px 0 12px}#soliloquy-meta-edit-bulk #wp-link p.howto,#soliloquy-meta-edit #wp-link p.howto{margin:3px 0}#soliloquy-meta-edit-bulk #wp-link p.howto a,#soliloquy-meta-edit #wp-link p.howto a{text-decoration:none;color:inherit}#soliloquy-meta-edit-bulk #wp-link label input[type=text],#soliloquy-meta-edit #wp-link label input[type=text]{margin-top:5px;width:70%}#soliloquy-meta-edit-bulk #wp-link #link-options label span,#soliloquy-meta-edit-bulk #wp-link #search-panel label span.search-label,#soliloquy-meta-edit #wp-link #link-options label span,#soliloquy-meta-edit #wp-link #search-panel label span.search-label{display:inline-block;width:80px;text-align:right;padding-right:5px;max-width:24%;vertical-align:middle;word-wrap:break-word}#soliloquy-meta-edit-bulk #wp-link .link-search-field,#soliloquy-meta-edit #wp-link .link-search-field{float:left;width:250px;max-width:70%}#soliloquy-meta-edit-bulk #wp-link .link-search-wrapper,#soliloquy-meta-edit #wp-link .link-search-wrapper{margin:5px 0 9px;display:block;overflow:hidden}#soliloquy-meta-edit-bulk #wp-link .link-search-wrapper span,#soliloquy-meta-edit #wp-link .link-search-wrapper span{float:left;margin-top:4px}#soliloquy-meta-edit-bulk #wp-link .link-search-wrapper .spinner,#soliloquy-meta-edit #wp-link .link-search-wrapper .spinner{margin-top:5px}#soliloquy-meta-edit-bulk #wp-link .link-target,#soliloquy-meta-edit #wp-link .link-target{padding:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#soliloquy-meta-edit-bulk #wp-link .link-target label,#soliloquy-meta-edit #wp-link .link-target label{max-width:70%}#soliloquy-meta-edit-bulk #wp-link .query-results,#soliloquy-meta-edit #wp-link .query-results{border:1px solid #dfdfdf;margin:0 0 12px;background:#fff;overflow:auto;position:absolute;left:16px;right:16px;bottom:0;top:166px}#soliloquy-meta-edit-bulk .has-text-field #wp-link .query-results,#soliloquy-meta-edit .has-text-field #wp-link .query-results{top:200px}#soliloquy-meta-edit-bulk #wp-link li,#soliloquy-meta-edit #wp-link li{clear:both;margin-bottom:0;border-bottom:1px solid #f1f1f1;color:#32373c;padding:4px 6px 4px 10px;cursor:pointer;position:relative}#soliloquy-meta-edit-bulk #wp-link .query-notice,#soliloquy-meta-edit-bulk #wp-link li.unselectable,#soliloquy-meta-edit #wp-link .query-notice,#soliloquy-meta-edit #wp-link li.unselectable{border-bottom:1px solid #dfdfdf}#soliloquy-meta-edit-bulk #wp-link .query-notice,#soliloquy-meta-edit #wp-link .query-notice{padding:0;background-color:#f7fcfe;color:#000}#soliloquy-meta-edit-bulk #wp-link .query-notice .query-notice-default,#soliloquy-meta-edit-bulk #wp-link .query-notice .query-notice-hint,#soliloquy-meta-edit #wp-link .query-notice .query-notice-default,#soliloquy-meta-edit #wp-link .query-notice .query-notice-hint{display:block;padding:6px;border-left:4px solid #00a0d2}#soliloquy-meta-edit-bulk #wp-link .unselectable.no-matches-found,#soliloquy-meta-edit #wp-link .unselectable.no-matches-found{padding:0;border-bottom:1px solid #dfdfdf;background-color:#fef7f1}#soliloquy-meta-edit-bulk #wp-link .no-matches-found .item-title,#soliloquy-meta-edit #wp-link .no-matches-found .item-title{display:block;padding:6px;border-left:4px solid #d54e21}#soliloquy-meta-edit-bulk #wp-link .query-results em,#soliloquy-meta-edit #wp-link .query-results em{font-style:normal}#soliloquy-meta-edit-bulk #wp-link li:hover,#soliloquy-meta-edit #wp-link li:hover{background:#eaf2fa;color:#151515}#soliloquy-meta-edit-bulk #wp-link li.unselectable:hover,#soliloquy-meta-edit #wp-link li.unselectable:hover{background:#fff;cursor:auto;color:#32373c}#soliloquy-meta-edit-bulk #wp-link li.selected,#soliloquy-meta-edit #wp-link li.selected{background:#ddd;color:#32373c}#soliloquy-meta-edit-bulk #wp-link li.selected .item-title,#soliloquy-meta-edit #wp-link li.selected .item-title{font-weight:700}#soliloquy-meta-edit-bulk #wp-link li:last-child,#soliloquy-meta-edit #wp-link li:last-child{border:none}#soliloquy-meta-edit-bulk #wp-link .item-title,#soliloquy-meta-edit #wp-link .item-title{display:inline-block;width:80%;width:-webkit-calc(100% - 68px);width:calc(100% - 68px);word-wrap:break-word}#soliloquy-meta-edit-bulk #wp-link .item-info,#soliloquy-meta-edit #wp-link .item-info{text-transform:uppercase;color:#666;font-size:11px;position:absolute;right:5px;top:5px}#soliloquy-meta-edit-bulk #wp-link .river-waiting,#soliloquy-meta-edit #wp-link .river-waiting{display:none;padding:10px 0}#soliloquy-meta-edit-bulk #wp-link .submitbox,#soliloquy-meta-edit #wp-link .submitbox{padding:8px 16px;background:#fcfcfc;border-top:1px solid #ddd;position:absolute;bottom:0;left:0;right:0}#soliloquy-meta-edit-bulk #wp-link-cancel,#soliloquy-meta-edit #wp-link-cancel{line-height:25px;float:left}#soliloquy-meta-edit-bulk #wp-link-update,#soliloquy-meta-edit #wp-link-update{line-height:23px;float:right}#soliloquy-meta-edit-bulk #wp-link-submit,#soliloquy-meta-edit #wp-link-submit{float:right}@media screen and (max-width: 782px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{margin-top:-140px}#soliloquy-meta-edit-bulk #wp-link-wrap .query-results,#soliloquy-meta-edit #wp-link-wrap .query-results{top:195px}#soliloquy-meta-edit-bulk #wp-link-wrap.has-text-field .query-results,#soliloquy-meta-edit #wp-link-wrap.has-text-field .query-results{top:235px}#soliloquy-meta-edit-bulk #link-selector,#soliloquy-meta-edit #link-selector{padding:0 16px 60px}#soliloquy-meta-edit-bulk #wp-link-wrap #link-selector,#soliloquy-meta-edit #wp-link-wrap #link-selector{bottom:52px}#soliloquy-meta-edit-bulk #wp-link-cancel,#soliloquy-meta-edit #wp-link-cancel{line-height:32px}#soliloquy-meta-edit-bulk #wp-link .link-target,#soliloquy-meta-edit #wp-link .link-target{padding-top:10px}#soliloquy-meta-edit-bulk #wp-link .submitbox .button,#soliloquy-meta-edit #wp-link .submitbox .button{margin-bottom:0}}@media screen and (max-width: 520px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{width:auto;margin-left:0;left:10px;right:10px;max-width:500px}}@media screen and (max-height: 520px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{-webkit-transition:none;transition:none;height:auto;margin-top:0;top:10px;bottom:10px}#soliloquy-meta-edit-bulk #link-selector,#soliloquy-meta-edit #link-selector{overflow:auto}#soliloquy-meta-edit-bulk #search-panel .query-results,#soliloquy-meta-edit #search-panel .query-results{position:static}}@media screen and (max-height: 290px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{height:auto;margin-top:0;top:10px;bottom:10px}#soliloquy-meta-edit-bulk #link-selector,#soliloquy-meta-edit #link-selector{overflow:auto;height:-webkit-calc(100% - 92px);height:calc(100% - 92px);padding-bottom:2px}#soliloquy-meta-edit-bulk #search-panel .query-results,#soliloquy-meta-edit #search-panel .query-results{position:static}}#soliloquy-meta-edit-bulk div.wp-link-preview,#soliloquy-meta-edit div.wp-link-preview{float:left;margin:5px;max-width:694px;overflow:hidden;text-overflow:ellipsis}#soliloquy-meta-edit-bulk div.wp-link-preview a,#soliloquy-meta-edit div.wp-link-preview a{color:#0073aa;text-decoration:underline;-webkit-transition-property:border, background, color;transition-property:border, background, color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;cursor:pointer}#soliloquy-meta-edit-bulk div.wp-link-input,#soliloquy-meta-edit div.wp-link-input{float:left;margin:2px;max-width:694px}#soliloquy-meta-edit-bulk div.wp-link-input input,#soliloquy-meta-edit div.wp-link-input input{width:300px;padding:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#soliloquy-meta-edit-bulk .mce-toolbar div.wp-link-input ~ .mce-btn,#soliloquy-meta-edit-bulk .mce-toolbar div.wp-link-preview ~ .mce-btn,#soliloquy-meta-edit .mce-toolbar div.wp-link-input ~ .mce-btn,#soliloquy-meta-edit .mce-toolbar div.wp-link-preview ~ .mce-btn{margin:2px 1px}#soliloquy-meta-edit-bulk .mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child,#soliloquy-meta-edit .mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child{margin-right:2px}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete{z-index:100110;max-height:200px;overflow-y:auto;padding:0;margin:0;list-style:none;position:absolute;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,0.8);box-shadow:0 1px 2px rgba(30,140,190,0.8);background-color:#fff}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete li,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete li{margin-bottom:0;padding:4px 10px;clear:both;white-space:normal;text-align:left}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete li .wp-editor-float-right,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete li .wp-editor-float-right{float:right}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete li.ui-state-focus,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}@media screen and (max-width: 782px){#soliloquy-meta-edit-bulk div.wp-link-input,#soliloquy-meta-edit-bulk div.wp-link-preview,#soliloquy-meta-edit div.wp-link-input,#soliloquy-meta-edit div.wp-link-preview{max-width:70%;max-width:-webkit-calc(100% - 86px);max-width:calc(100% - 86px)}#soliloquy-meta-edit-bulk div.wp-link-preview,#soliloquy-meta-edit div.wp-link-preview{margin:8px 0 8px 5px}#soliloquy-meta-edit-bulk div.wp-link-input,#soliloquy-meta-edit div.wp-link-input{width:300px}#soliloquy-meta-edit-bulk div.wp-link-input input,#soliloquy-meta-edit div.wp-link-input input{width:100%;font-size:16px;padding:5px}}#soliloquy-meta-edit-bulk .mce-fullscreen,#soliloquy-meta-edit .mce-fullscreen{z-index:100010}#soliloquy-meta-edit-bulk .rtl .quicktags-toolbar input,#soliloquy-meta-edit-bulk .rtl .wp-switch-editor,#soliloquy-meta-edit .rtl .quicktags-toolbar input,#soliloquy-meta-edit .rtl .wp-switch-editor{font-family:Tahoma,sans-serif}#soliloquy-meta-edit-bulk .mce-rtl .mce-flow-layout .mce-flow-layout-item>div,#soliloquy-meta-edit .mce-rtl .mce-flow-layout .mce-flow-layout-item>div{direction:rtl}#soliloquy-meta-edit-bulk .mce-rtl .mce-listbox i.mce-caret,#soliloquy-meta-edit .mce-rtl .mce-listbox i.mce-caret{left:6px}#soliloquy-meta-edit-bulk html:lang(he-il) .rtl .quicktags-toolbar input,#soliloquy-meta-edit-bulk html:lang(he-il) .rtl .wp-switch-editor,#soliloquy-meta-edit html:lang(he-il) .rtl .quicktags-toolbar input,#soliloquy-meta-edit html:lang(he-il) .rtl .wp-switch-editor{font-family:Arial,sans-serif}@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){#soliloquy-meta-edit-bulk .wp-media-buttons .add_media span.wp-media-buttons-icon,#soliloquy-meta-edit .wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}}.soliloquy-tab{display:none}.soliloquy-tab-active{display:block}.post-type-soliloquy #wp-link-wrap{z-index:180105 !important}.post-type-soliloquy #wp-link-backdrop{z-index:160105 !important}.post-type-soliloquy #wpbody-content h1{margin:0;padding-left:20px;line-height:45px;font-size:20px;font-weight:400;background-color:#fff;height:45px;margin-left:-20px;margin-right:-20px;margin-bottom:20px}.post-type-soliloquy #wpbody-content h1 .page-title-action{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;color:#ff3700;border-radius:0;background:none;text-shadow:none;font-weight:600;font-size:13px}.post-type-soliloquy #wpbody-content h1 .page-title-action:hover{background:none;color:#999}.post-type-soliloquy #wpbody-content h1 .page-title-action:before{display:inline-block;font-family:'soliloquy';content:'\0050';margin-top:-3px;margin-right:8px;vertical-align:middle}.post-type-soliloquy .wrap{margin-top:0px !important}.soliloquy-spinner{float:none;display:inline-block;margin-top:0}#soliloquy-uploader{margin-top:20px;box-sizing:border-box}#soliloquy-uploader #soliloquy-slider-type-tabs{margin-bottom:-1px;box-sizing:border-box}#soliloquy-uploader #soliloquy-slider-type-tabs:after{content:"";display:table;clear:both}#soliloquy-uploader #soliloquy-external{text-align:center}#soliloquy-uploader #soliloquy-external ul li a{color:#000}#soliloquy-uploader #soliloquy-external ul li a:hover{color:#000}#soliloquy-uploader #soliloquy-external a.button{padding:0 32px 1px;line-height:48px;height:50px;font-size:18px;text-transform:uppercase;margin:15px 0}#soliloquy-uploader .soliloquy-type-tab{position:relative;z-index:2;width:49.8%;display:block;text-align:center;text-decoration:none;font-size:16px;font-weight:600;line-height:55px;margin:0;height:55px;color:#999;background-color:#f7f7f7;border:1px solid #e5e5e5;box-sizing:border-box;border-top-left-radius:3px;border-top-right-radius:3px}#soliloquy-uploader .soliloquy-type-tab input{display:none}#soliloquy-uploader .soliloquy-type-tab:first-child{float:left;border-left:1px solid #e5e5e5}#soliloquy-uploader .soliloquy-type-tab:last-child{border-right:1px solid #e5e5e5;float:right}#soliloquy-uploader .soliloquy-type-tab.soliloquy-tab-nav-active{background-color:white;color:#23282d;border-bottom:none}#soliloquy-uploader .soliloquy-type-tab.soliloquy-tab-nav-active:before{color:#ff3700}#soliloquy-uploader .soliloquy-tab-container{padding:20px;position:relative;min-width:255px;min-height:245px;border:1px solid #e5e5e5;background:#fff}#soliloquy-uploader h2.soliloquy-type-label{text-align:center;padding:0;margin:20px 0}#soliloquy-uploader h2.soliloquy-type-label span{font-size:24px}#soliloquy-uploader ul#soliloquy-types-nav{text-align:center}#soliloquy-uploader ul#soliloquy-types-nav li{display:inline-block;margin:0 20px 0 0;vertical-align:top}#soliloquy-uploader ul#soliloquy-types-nav li:last-child{margin:0}#soliloquy-uploader ul#soliloquy-types-nav li label{float:left;width:110px}#soliloquy-uploader ul#soliloquy-types-nav li label input{display:none}#soliloquy-uploader ul#soliloquy-types-nav li label div.icon{width:110px;height:110px;margin:0 0 10px 0;border:1px solid #ddd;background-size:64px 64px;background-position:center;background-repeat:no-repeat}#soliloquy-uploader ul#soliloquy-types-nav li label div.title{font-weight:700}#soliloquy-uploader ul#soliloquy-types-nav li:hover label div.icon,#soliloquy-uploader ul#soliloquy-types-nav li.soliloquy-active label div.icon{background-color:#f7fcf3;border-color:#7cc048}#soliloquy-uploader ul#soliloquy-types-nav li#soliloquy-type-fc label div.icon{background-image:url(../images/fc.png)}#soliloquy-uploader ul#soliloquy-types-nav li#soliloquy-type-instagram label div.icon{background-image:url(../images/instagram.png)}#soliloquy-uploader ul#soliloquy-types-nav li#soliloquy-type-wc label div.icon{background-image:url(../images/woo.png)}#soliloquy-uploader #plupload-upload-ui{display:none}#soliloquy-uploader #plupload-upload-ui.drag-drop{display:block}#soliloquy-uploader #plupload-upload-ui.drag-drop #drag-drop-area{border:3px dashed #d7d7d7;border-radius:6px}#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-info{font-size:24px;color:#23282d}#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-inside{width:520px;margin-top:40px}#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-inside p.drag-drop-buttons{text-align:left}#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-inside .soliloquy-progress-bar{display:none;width:100%;position:relative;height:10px;width:100%;margin:10px auto;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,0.1)}#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-inside .soliloquy-progress-bar div{height:10px;min-width:20px;width:0;background:#aaa;background:rgba(0,0,0,0.2);border-radius:10px;-webkit-transition:width 300ms;-moz-transition:width 300ms;-ms-transition:width 300ms;-o-transition:width 300ms;transition:width 300ms}#soliloquy-uploader #plupload-upload-ui .button{background:#f7f7f7;border:1px solid;border-color:#ddd;-webkit-box-shadow:none;box-shadow:none;color:#7f7f7f;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}#soliloquy-uploader #plupload-upload-ui .button:hover{background:#f7f7f7;border-color:#999;color:#23282d}#soliloquy-uploader #plupload-upload-ui a.soliloquy-media-library.button{display:block;position:absolute;margin:0 auto;left:250px;right:0;line-height:32px;width:240px;top:110px;text-align:center}#soliloquy-uploader #plupload-upload-ui p.upload-flash-bypass{display:none}#soliloquy-uploader p.max-upload-size{margin-bottom:0}#soliloquy-codepanel .soliloquy-clipboard{text-align:right}#soliloquy-slider-settings{margin-top:20px;position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#f7f7f7;width:100%}#soliloquy-slider-settings a{text-decoration:none}#soliloquy-slider-settings:after{content:"";display:table;clear:both}#soliloquy-slider-settings #soliloquy-settings-tabs{width:150px;margin:0;padding:0;border-right:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab{float:left;width:100%;margin:0;padding:0}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a{float:left;width:110px;margin:0 20px;padding:20px 0;text-decoration:none;color:#999;border-bottom:1px solid #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;-webkit-transition:none}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a:focus{outline-style:none;box-shadow:none;border-color:transparent}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a:before{display:inline-block;font-family:'soliloquy';font-style:normal;font-weight:normal;font-size:15px;line-height:1.5;vertical-align:middle;margin-right:8px;padding-left:4px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab:hover,#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab.soliloquy-tab-nav-active{background-color:#fff;margin-right:-1px;margin-top:-1px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab:hover a,#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab.soliloquy-tab-nav-active a{border-bottom:none}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab:hover a:before,#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab.soliloquy-tab-nav-active a:before{color:#ff3700}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-slider a:before{content:'\0042'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-config a:before{content:'\0041'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-mobile_lite a:before{content:'\0046'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-pinterest_lite a:before{content:'\0043'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-thumbnails_lite a:before{content:'\004b'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-schedule_lite a:before{content:'\0058'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-misc a:before{content:'\0045'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-lightbox_lite a:before{content:'\0044'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-carousel_lite a:before{content:'\0059'}#soliloquy-slider-settings #soliloquy-settings-content{margin:0 0 0 150px;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-empty-slider{position:relative;background-color:#f7f7f7;min-height:350px;width:100%;text-align:center;border-radius:3px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-empty-slider div{max-width:450px;max-height:150px;margin:auto;position:absolute;top:0;left:0;bottom:0;right:0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-empty-slider img{max-width:336px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-external-req{border:1px solid #ff3700;border-radius:3px;padding:30px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-external-req h2{font-size:20px;margin:0;padding:0}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-slide-header label{font-weight:600}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-slide-header .soliloquy-clear-selected{display:none;margin-left:15px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-help{font-size:14px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-help a{margin-left:5px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-bulk-actions{display:none;margin-bottom:20px}#soliloquy-slider-settings #soliloquy-settings-content table.form-table{clear:none}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-config-header{border-bottom:1px solid #ddd;padding-bottom:30px;margin-bottom:30px}#soliloquy-slider-settings #soliloquy-settings-content h2.soliloquy-intro{margin:0 !important;padding:0;border-bottom:none}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-intro{font-size:16px !important;font-weight:bold;margin:0}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle{position:absolute;right:20px;top:20px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li a{color:#ddd}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li a i:before{font-size:16px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li a.active-display{color:#23282d}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-select-all{margin:20px 8px 20px 0px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-slides-delete{margin-right:10px}#soliloquy-slider-settings #soliloquy-settings-content input[type=checkbox]{background-color:#fff;border:1px solid #ddd;box-shadow:none;margin-right:10px}#soliloquy-slider-settings #soliloquy-settings-content input[type=checkbox]:checked{background-color:#72b63d;border-color:#72b63d}#soliloquy-slider-settings #soliloquy-settings-content input[type=checkbox]:checked:before{color:#fff !important}#soliloquy-slider-settings #soliloquy-settings-content input[type="text"],#soliloquy-slider-settings #soliloquy-settings-content input[type="number"],#soliloquy-slider-settings #soliloquy-settings-content input[type="password"]{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;height:35px;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out;min-width:210px;max-width:350px;width:92%;border-radius:3px;padding-right:0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-mobile-width,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-mobile-height,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-slider-height,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-slider-width{max-width:166px;min-width:75px}#soliloquy-slider-settings #soliloquy-settings-content th{min-width:210px;max-width:100%;padding-right:0}#soliloquy-slider-settings #soliloquy-settings-content .description{font-size:13px;line-height:1.5}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output{margin:0 0 10px;padding:0;list-style:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li{background-color:#fff;margin:0;list-style:none;border:1px solid #cecece;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.06);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.06);box-shadow:0 1px 2px rgba(0,0,0,0.06);cursor:move;position:relative}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li h3{display:block;margin:0;padding:0;text-overflow:ellipsis}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li.ui-sortable-helper{border:2px solid #1e8cbe}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-remove-slide,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-modify-slide{display:block;height:25px;outline:none;position:absolute;width:25px;z-index:20;color:#fff;text-align:center;line-height:25px;vertical-align:middle;border-radius:3px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status i:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status i:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-remove-slide i:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-modify-slide i:before{margin:0;font-size:10px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status span:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status span:before{font-size:16px;vertical-align:middle}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status{background-color:#74b445}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status{background-color:#ffa93b}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-remove-slide{background-color:#e3231b}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-modify-slide{background-color:#0072ac}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li.dropzone{background:transparent;border:2px dashed #ddd;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li{display:inline-block;width:150px;margin:0 30px 30px 0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-item-img{display:block;margin:0 auto auto auto;top:0;left:0;right:0;bottom:0;max-width:150px;max-height:150px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-video-wrap,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-html-wrap{position:relative;width:150px;height:150px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-video-inside,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-html-inside{width:150px;height:150px;display:table;position:absolute;max-width:100%;max-height:100%;cursor:move}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-video-table,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-html-table{display:table-cell;vertical-align:middle;text-align:center;cursor:move}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li span.overlay{max-height:15px;max-width:40px;display:block;position:absolute;top:0;left:0;right:0;bottom:10px;margin:auto;padding:4px 8px;background:rgba(255,255,255,0.8);z-index:2;text-align:center;border-radius:3px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-item-info h3{display:block;border-top:1px solid #ddd;background-color:#f7f7f7;margin:0;padding:8px 4px;text-align:center;font-size:13px;max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-item-info img{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li a.check{display:none;position:absolute;margin:auto;top:0;left:0;bottom:0;right:0;width:24px;height:24px;background-color:#72b63d;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #72b63d;box-shadow:0 0 0 1px #fff,0 0 0 2px #72b63d;z-index:10}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li a.check div.media-modal-icon{width:15px;height:15px;margin:5px 0 0 5px;background-position:-21px 0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li.selected{border:1px solid #72b63d}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li.selected a.check{display:block}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-active-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-draft-slide.grid-status{display:block;bottom:40px;left:5px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-active-slide.list-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-draft-slide.list-status{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-remove-slide{left:5px;top:5px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-modify-slide{right:5px;top:5px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li{display:inline-block;min-height:100px;padding:20px;margin-bottom:10px;width:100%;box-sizing:border-box}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li span.overlay{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-video-wrap{float:left;height:75px;width:75px;margin-left:20px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-video-wrap .soliloquy-item-img{float:none;margin-left:0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-item-img{margin-left:20px;position:relative;float:left;max-width:75px;max-height:75px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-item-info{position:absolute;margin:auto 0;top:0;bottom:0;left:160px;height:30px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-item-info img{margin-top:-20px;max-width:100px;margin-bottom:10px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li a.check{display:block;position:relative;float:left;margin:auto 0;width:25px;height:25px;margin-top:25px;background-color:#fff;border:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li a.check div.media-modal-icon{width:15px;display:none;height:15px;margin:5px 0 0 5px;background-position:-21px 0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li.selected{border:1px solid #72b63d}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li.selected a.check{background-color:#72b63d;display:block}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li.selected a.check div.media-modal-icon{display:block}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.grid-status{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.list-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.list-status{display:block;margin-top:10px;font-weight:600;color:black}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.list-status:hover,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.list-status:hover{text-decoration:none;color:black}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.list-status span{margin-left:5px;border-radius:3px;padding:3px 5px;background-color:#74b445;color:white}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.list-status span{margin-left:5px;border-radius:3px;padding:3px 5px;background-color:#ffa93b;color:white}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-remove-slide{right:8px;top:8px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-modify-slide{right:40px;top:8px}#soliloquy-slider-settings #soliloquy-settings-content:after{content:"";display:table;clear:both}#soliloquy-plupload-upload-ui{position:relative}#soliloquy-drag-drop-area{border:4px dashed #bbb;height:200px}#soliloquy-plupload-upload-ui.drag-over #soliloquy-drag-drop-area{border-color:#83b4d8}#soliloquy-slider-settings .soliloquy-progress-bar{display:none;width:100%;position:relative;height:10px;width:100%;margin:10px auto;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,0.1)}#soliloquy-slider-settings .soliloquy-progress-bar div{height:10px;min-width:20px;width:0;background:#aaa;background:rgba(0,0,0,0.2);border-radius:10px;-webkit-transition:width 300ms;-moz-transition:width 300ms;-ms-transition:width 300ms;-o-transition:width 300ms;transition:width 300ms}#soliloquy .upload-flash-bypass{display:none}#soliloquy .max-upload-size{display:block;margin:10px 0}.soliloquy-media-frame .soliloquy-accepted-urls{clear:both;overflow:hidden}.soliloquy-media-frame .soliloquy-accepted-urls span{display:block}.soliloquy-media-frame .soliloquy-column{float:left;width:32%;margin-right:2%}.soliloquy-media-frame .soliloquy-column.soliloquy-last{margin-right:0}.soliloquy-media-frame .soliloquy-video-info{background-color:#ffffe0;border:1px solid #e6db55;padding:15px;margin-bottom:16px}.soliloquy-media-frame .soliloquy-video-info p{margin-top:0}#soliloquy-html-slides .soliloquy-delete-html-slide,#soliloquy-video-slides .soliloquy-delete-video-slide{float:right}.attachments-browser.soliloquy-videos a.soliloquy-item-collapse,.attachments-browser.soliloquy-html a.soliloquy-item-collapse{position:absolute;top:10px;right:20px;font-size:13px;color:black;font-weight:600;text-decoration:none}.attachments-browser.soliloquy-videos .button-soliloquy-delete,.attachments-browser.soliloquy-html .button-soliloquy-delete{color:#fff}.attachments-browser.soliloquy-videos .soliloquy-item-setting,.attachments-browser.soliloquy-html .soliloquy-item-setting{clear:both;text-align:left !important;margin-bottom:15px}.attachments-browser.soliloquy-videos .soliloquy-item-setting .code-title,.attachments-browser.soliloquy-html .soliloquy-item-setting .code-title{text-align:left !important}.attachments-browser.soliloquy-videos .soliloquy-item-setting label,.attachments-browser.soliloquy-html .soliloquy-item-setting label{clear:both;width:100%;text-align:left}.attachments-browser.soliloquy-videos .soliloquy-item-setting label strong,.attachments-browser.soliloquy-html .soliloquy-item-setting label strong{text-align:left}.attachments-browser.soliloquy-videos .soliloquy-item-setting .soliloquy-media-button a,.attachments-browser.soliloquy-html .soliloquy-item-setting .soliloquy-media-button a{float:right;clear:both}.attachments-browser.soliloquy-videos .soliloquy-item-setting input[type=text],.attachments-browser.soliloquy-videos .soliloquy-item-setting textarea,.attachments-browser.soliloquy-html .soliloquy-item-setting input[type=text],.attachments-browser.soliloquy-html .soliloquy-item-setting textarea{width:100%;clear:both}.attachments-browser.soliloquy-videos .soliloquy-item-setting .soliloquy-input-group input[type=text],.attachments-browser.soliloquy-videos .soliloquy-item-setting .soliloquy-input-group textarea,.attachments-browser.soliloquy-html .soliloquy-item-setting .soliloquy-input-group input[type=text],.attachments-browser.soliloquy-html .soliloquy-item-setting .soliloquy-input-group textarea{width:87%;clear:both}.attachments-browser.soliloquy-videos .soliloquy-item-footer,.attachments-browser.soliloquy-html .soliloquy-item-footer{display:block;margin-top:20px}.attachments-browser.soliloquy-videos .soliloquy-item-footer a,.attachments-browser.soliloquy-html .soliloquy-item-footer a{float:right}.attachments-browser.soliloquy-videos div.media-toolbar{border-bottom:1px solid #ddd}.attachments-browser.soliloquy-videos div.media-toolbar div.media-toolbar-primary button.soliloquy-videos-add{float:right;margin-top:10px}.attachments-browser.soliloquy-videos .soliloquy-video-items{position:relative;margin-right:300px;width:100%;height:100%}.attachments-browser.soliloquy-videos ul.soliloquy-videos-attachments{top:70px;padding:2px 20px 20px}.attachments-browser.soliloquy-videos ul.soliloquy-videos-attachments li.soliloquy-videos-attachment{width:100%;background-color:#f1f1f1;border:1px solid #ddd;padding:20px;margin-bottom:2em;padding-top:2em}.attachments-browser.soliloquy-videos .soliloquy-gallery-accepted-urls{clear:both;overflow:hidden}.attachments-browser.soliloquy-videos .soliloquy-gallery-accepted-urls span{display:block}.attachments-browser.soliloquy-html div.media-toolbar{border-bottom:1px solid #ddd}.attachments-browser.soliloquy-html div.media-toolbar div.media-toolbar-primary button.soliloquy-html-add{float:right;margin-top:10px}.attachments-browser.soliloquy-html .soliloquy-html-items{position:relative;margin-right:300px;width:100%;height:100%}.attachments-browser.soliloquy-html ul.soliloquy-html-attachments{top:70px;padding:2px 20px 20px}.attachments-browser.soliloquy-html ul.soliloquy-html-attachments li.soliloquy-html-attachment{width:100%;background-color:#f1f1f1;border:1px solid #ddd;padding:20px;margin-bottom:2em;padding-top:2em}.attachments-browser.soliloquy-html ul.soliloquy-html-attachments li.soliloquy-html-attachment .CodeMirror{border:1px solid #ddd;text-align:left !important}.attachments-browser .soliloquy-accepted-urls{clear:both;overflow:hidden}.attachments-browser .soliloquy-accepted-urls .title{margin-bottom:-15px}.attachments-browser .soliloquy-accepted-urls span{display:block}#soliloquy-meta-edit .right{border-right:1px solid #ccc !important}.soliloquy-meta-container .media-modal-backdrop{z-index:15999}.soliloquy-meta-container .media-modal{z-index:16000}.soliloquy-meta-container .media-modal button.right{border-right:1px solid #ddd !important}.soliloquy-meta-container .media-modal .attachment-media-view div.thumbnail-image img.details-image{max-width:50%;max-height:70%}.soliloquy-meta-container .media-modal .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}.soliloquy-meta-container .media-modal .setting span.name{font-size:14px;font-weight:600;min-width:20%;text-align:left}.soliloquy-meta-container .media-modal .setting input[type=text]{width:75%}.soliloquy-meta-container .media-modal .setting textarea{height:150px}.soliloquy-meta-container .media-modal .setting .wp-editor-wrap{float:right;width:75%}.soliloquy-meta-container .media-modal .code{margin-bottom:20px}.soliloquy-meta-container .media-modal div.actions a.button{display:inline-block}@media only screen and (max-width: 959px){.soliloquy-meta-container .setting span.name{width:100%;max-width:100%;min-width:100%}.soliloquy-meta-container .setting input[type=text]{width:100%}.soliloquy-meta-container .setting input[type=checkbox]{clear:both}.soliloquy-meta-container .setting .wp-editor-wrap{float:left;width:100%}}body.rtl #soliloquy .soliloquy-meta-icon{right:auto;left:0}body.rtl #soliloquy #soliloquy-tabs-nav li{float:right;margin:0 0 -1px 10px}body.rtl #soliloquy #soliloquy-output li{float:right;margin:0 0 10px 10px}@media screen and (max-width: 1100px){#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-inside{width:100%;margin-top:20px}#soliloquy-uploader #plupload-upload-ui.drag-drop .drag-drop-inside p.drag-drop-buttons{text-align:center}#soliloquy-uploader #plupload-upload-ui a.soliloquy-media-library.button{left:0;right:0;width:235px;top:145px}}@media screen and (max-width: 768px){#soliloquy-slider-settings #soliloquy-settings-content{margin:0 0 0 50px;padding:20px}#soliloquy-slider-settings #soliloquy-settings-tabs{width:50px;margin:0;padding:0;border-right:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a{width:30px;margin:0 10px;padding:10px 0}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a span{display:none}}@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){a.check .media-modal-icon{background-image:url("../../../../../wp-includes/images/uploader-icons-2x.png") !important;-webkit-background-size:134px 15px;background-size:134px 15px}}
1
+ @font-face{font-family:'soliloquy';src:url("../fonts/soliloquy.eot");src:url("../fonts/soliloquy.eot?#iefix") format("embedded-opentype"),url("../fonts/soliloquy.woff") format("woff"),url("../fonts/soliloquy.ttf") format("truetype"),url("../fonts/soliloquy.svg#soliloquy") format("svg");font-weight:normal;font-style:normal}[class*='soliloquy-icon-']:before{display:inline-block;font-family:'soliloquy';font-style:normal;font-weight:normal;font-size:13px;line-height:1.5;margin-right:8px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.soliloquy-icon-configuration:before{content:'\0041'}.soliloquy-icon-soliloquy:before{content:'\0042'}.soliloquy-icon-pinterest:before{content:'\0043'}.soliloquy-icon-lightbox:before{content:'\0044'}.soliloquy-icon-misc:before{content:'\0045'}.soliloquy-icon-mobile:before{content:'\0046'}.soliloquy-icon-pagination:before{content:'\0047'}.soliloquy-icon-proofing:before{content:'\0048'}.soliloquy-icon-slideshow:before{content:'\0049'}.soliloquy-icon-tags:before{content:'\004a'}.soliloquy-icon-thumbnails:before{content:'\004b'}.soliloquy-icon-video:before{content:'\004c'}.soliloquy-icon-watermark:before{content:'\004d'}.soliloquy-icon-cloud-download:before{content:'\004e'}.soliloquy-icon-toggle-on:before{content:'\004f'}.soliloquy-icon-plus-circle:before{content:'\0050'}.soliloquy-icon-list:before{content:'\0052'}.soliloquy-icon-grid:before{content:'\0053'}.soliloquy-icon-pencil:before{content:'\0055'}.soliloquy-icon-close:before{content:'\0056'}.soliloquy-icon-check:before{content:'\0057'}.soliloquy-icon-schedule:before{content:'\0058'}.soliloquy-icon-carousel:before{content:'\0059'}#soliloquy-header{background-color:#ff3700;height:120px;margin-left:-20px}#soliloquy-header #soliloquy-logo{margin:0;padding-top:25px;line-height:120px;margin-left:20px}#soliloquy-header #soliloquy-logo img{max-width:288px}.wp-core-ui .button-soliloquy{background:#ff3700;border-color:#ff3700;-webkit-box-shadow:none;box-shadow:none;color:#fff;text-decoration:none;font-weight:500;text-shadow:none;line-height:15px;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy:hover{background:#ff3700;border-color:#ff3700;color:#fff;opacity:.8}.wp-core-ui .button-soliloquy-secondary{background:#f7f7f7;border:1px solid;border-color:#ddd;-webkit-box-shadow:none;box-shadow:none;color:#23282d;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy-secondary:hover{background:#f7f7f7;border-color:#999;color:#23282d}.wp-core-ui .button-soliloquy-delete{background:#e3231b;border:1px solid;border-color:#e3231b;-webkit-box-shadow:none;box-shadow:none;color:#fff;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy-delete:hover{background:#e3231b;color:#fff;opacity:.8}.wp-core-ui a.button-soliloquy,.wp-core-ui a.button-soliloquy-secondary,.wp-core-ui a.button-soliloquy-delete{line-height:32px}#soliloquy-settings-content input:not([type=checkbox]){background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;height:35px;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}#soliloquy-settings-content input[type=checkbox]:checked{-color:#ff3700}#soliloquy-settings-content textarea{width:100%}#soliloquy-settings-content input[type="password"].soliloquy-input{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}input[type="password"].soliloquy-input{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;height:35px;color:#32373c;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}pre.soliloquy-code{background-color:#ddd;border-radius:3px;padding:15px}.soliloquy-clipboard{display:block;text-decoration:underline !important;padding-top:8px;font-size:11px;outline:0 !important}.soliloquy-clipboard:focus{outline-style:none;box-shadow:none;border-color:transparent}.soliloquy-code{display:block;background-color:#f7f7f7;border-radius:3px;padding:10px !important}.soliloquy-list-inline{margin:0;list-style:none}.soliloquy-list-inline li{display:inline-block;margin-right:5px}.soliloquy-list-inline li:last-child{margin-right:0 !important}.soliloquy-yt iframe{max-width:100%;height:auto}.soliloquy-hidden{display:none !important}.soliloquy-hideme{visibility:hidden}.soliloquy-no-border{border:none !important}.soliloquy-right{float:right}.soliloquy-left{float:left}.soliloquy-clearfix{clear:both;display:block;height:0;overflow:hidden;visibility:hidden;width:0}.no-margin{margin:0 !important}.no-margin-top{margin-top:0 !important}.no-margin-bottom{margin-bottom:0 !important}[data-soliloquy-tooltip]{position:relative;z-index:2;cursor:pointer}[data-soliloquy-tooltip]:before,[data-soliloquy-tooltip]:after{visibility:hidden;opacity:0;pointer-events:none}[data-soliloquy-tooltip]:before{position:absolute;bottom:120%;left:50%;margin-bottom:5px;margin-left:-35px;padding:7px;width:60px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#000;color:#fff;content:attr(data-soliloquy-tooltip);text-align:center;font-size:12px;line-height:1.2}[data-soliloquy-tooltip]:after{position:absolute;bottom:120%;left:50%;width:0;margin-left:-5px;border-top:5px solid #000;border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}[data-soliloquy-tooltip]:hover:before,[data-soliloquy-tooltip]:hover:after{visibility:visible;opacity:1}[class*=soliloquy-grid-]{float:left;margin-left:2%}[class*=soliloquy-grid-] input[type=text]{width:100% !important}.soliloquy-grid-1{width:6.5%}.soliloquy-grid-2{width:15%}.soliloquy-grid-3{width:23.5%}.soliloquy-grid-4{width:32%}.soliloquy-grid-5{width:40.5%}.soliloquy-grid-6{width:49%}.soliloquy-grid-7{width:57.5%}.soliloquy-grid-8{width:66%}.soliloquy-grid-9{width:74.5%}.soliloquy-grid-10{width:83%}.soliloquy-grid-11{width:91.5%}.soliloquy-grid-12{width:100%}.soliloquy-first{margin-left:0px}/*!
2
  Chosen, a Select Box Enhancer for jQuery and Prototype
3
  by Patrick Filler for Harvest, http://getharvest.com
4
 
8
 
9
  MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
  This file is generated by `grunt build`, do not edit it by hand.
11
+ */.soliloquy-select *{box-shadow:none !important;background-image:none !important}.soliloquy-select *:after{background-image:none !important}.soliloquy-select .soliloquy-chosen{height:35px;max-width:350px;width:100%}.soliloquy-select .chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:350px;font-weight:600}.soliloquy-select .chosen-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.soliloquy-select .chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;width:100%;border:1px solid #ddd;border-top:0;background:#fff}.soliloquy-select .chosen-container.chosen-with-drop .chosen-drop{left:0}.soliloquy-select .chosen-container a{cursor:pointer}.soliloquy-select .chosen-container .search-choice .group-name,.soliloquy-select .chosen-container .chosen-single .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:normal;color:#999999}.soliloquy-select .chosen-container .search-choice .group-name:after,.soliloquy-select .chosen-container .chosen-single .group-name:after{content:":";padding-left:2px;vertical-align:top}.soliloquy-select .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:35px;border:1px solid #ddd;border-radius:3px;background:#fff;background-clip:padding-box;color:#444;text-decoration:none;white-space:nowrap;line-height:35px}.soliloquy-select .chosen-container-single .chosen-default{color:#999}.soliloquy-select .chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.soliloquy-select .chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.soliloquy-select .chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.soliloquy-select .chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-single .chosen-single div{border-left:1px solid #ddd;position:absolute;top:0;right:0;display:block;width:30px;height:100%;padding-left:9px}.soliloquy-select .chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;line-height:35px}.soliloquy-select .chosen-container-single .chosen-single div b:before{content:"\0051";display:block;font-weight:normal;font-size:8px !important;font-family:'soliloquy';position:absolute;text-align:center}.soliloquy-select .chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.soliloquy-select .chosen-container-single .chosen-search input[type="text"]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #ddd;background:#fff url("chosen-sprite.png") no-repeat 100% -20px;background:url("chosen-sprite.png") no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.soliloquy-select .chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 2px 2px;background-clip:padding-box}.soliloquy-select .chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.soliloquy-select .chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.soliloquy-select .chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.soliloquy-select .chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.soliloquy-select .chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.soliloquy-select .chosen-container .chosen-results li.highlighted{background:#ff3700;color:#fff}.soliloquy-select .chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.soliloquy-select .chosen-container .chosen-results li.group-result{display:list-item;font-weight:bold;cursor:default}.soliloquy-select .chosen-container .chosen-results li.group-option{padding-left:15px}.soliloquy-select .chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.soliloquy-select .chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto !important;height:1%;border:1px solid #ddd;background:#fff;cursor:text}.soliloquy-select .chosen-container-multi .chosen-choices li{float:left;list-style:none}.soliloquy-select .chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.soliloquy-select .chosen-container-multi .chosen-choices li.search-field input[type="text"]{margin:1px 0;padding:0;height:25px;outline:0;border:0 !important;background:transparent !important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #ddd;max-width:100%;border-radius:2px;background:#fff;background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);color:#333;line-height:13px;cursor:default}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url("chosen-sprite.png") -42px 1px no-repeat;font-size:1px}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ddd;background:#e4e4e4;color:#666}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.soliloquy-select .chosen-container-multi .chosen-results{margin:0;padding:0}.soliloquy-select .chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.soliloquy-select .chosen-container-active .chosen-single{border:1px solid #ddd}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #ddd;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background:#fff}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div{border-left:1px solid transparent;background:transparent}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.soliloquy-select .chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,0.3)}.soliloquy-select .chosen-container-active .chosen-choices li.search-field input[type="text"]{color:#222 !important}.soliloquy-select .chosen-disabled{opacity:0.5 !important;cursor:default}.soliloquy-select .chosen-disabled .chosen-single{cursor:default}.soliloquy-select .chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.soliloquy-select .chosen-rtl{text-align:right}.soliloquy-select .chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.soliloquy-select .chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.soliloquy-select .chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.soliloquy-select .chosen-rtl .chosen-single div{right:auto;left:3px}.soliloquy-select .chosen-rtl .chosen-single abbr{right:auto;left:26px}.soliloquy-select .chosen-rtl .chosen-choices li{float:right}.soliloquy-select .chosen-rtl .chosen-choices li.search-field input[type="text"]{direction:rtl}.soliloquy-select .chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.soliloquy-select .chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.soliloquy-select .chosen-rtl.chosen-container-single-nosearch .chosen-search,.soliloquy-select .chosen-rtl .chosen-drop{left:9999px}.soliloquy-select .chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.soliloquy-select .chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.soliloquy-select .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.soliloquy-select .chosen-rtl .chosen-search input[type="text"]{padding:4px 5px 4px 20px;background:#fff url("chosen-sprite.png") no-repeat -30px -20px;background:url("chosen-sprite.png") no-repeat -30px -20px;direction:rtl}.soliloquy-select .chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.soliloquy-select .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx){.soliloquy-select .chosen-rtl .chosen-search input[type="text"],.soliloquy-select .chosen-container-single .chosen-single abbr,.soliloquy-select .chosen-container-single .chosen-search input[type="text"],.soliloquy-select .chosen-container-multi .chosen-choices .search-choice .search-choice-close,.soliloquy-select .chosen-container .chosen-results-scroll-down span,.soliloquy-select .chosen-container .chosen-results-scroll-up span{background-image:none !important;background-size:52px 37px !important;background-repeat:no-repeat !important}}.soliloquy-select select.soliloquy-chosen+.chosen-container.chosen-container-single .chosen-single{padding-right:35px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info,#soliloquy-meta-edit .attachment-details .attachment-info{padding:16px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings,#soliloquy-meta-edit .attachment-details .attachment-info .settings{margin:0;padding:0;border:none}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .soliloquy-meta.code,#soliloquy-meta-edit .attachment-details .attachment-info .settings .soliloquy-meta.code{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .soliloquy-meta.code span.name,#soliloquy-meta-edit .attachment-details .attachment-info .settings .soliloquy-meta.code span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px;margin-bottom:3px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting .check-label,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting .check-label{font-style:italic}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting input[type="text"],#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting textarea,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting input[type="text"],#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting textarea{display:block;width:100%;min-width:100%;margin:0}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting input[type="checkbox"],#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting input[type="checkbox"]{float:left;margin:7px 3px 0 0}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting select,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting select{margin:0}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting span.name,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting span.name{display:block;width:100%;min-width:100%;margin:0;padding:0;text-align:left;font-weight:700;font-size:14px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting span.description,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting span.description{text-align:left;font-style:normal;font-size:13px;font-style:italic;color:#666;margin:0px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info .settings .setting div.description,#soliloquy-meta-edit .attachment-details .attachment-info .settings .setting div.description{text-align:left;font-style:normal;font-size:13px;font-style:italic;color:#666;margin-top:4px}#soliloquy-meta-edit-bulk .attachment-details .attachment-info div.actions a.button,#soliloquy-meta-edit .attachment-details .attachment-info div.actions a.button{display:inline-block}#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit-bulk .mce-window,#soliloquy-meta-edit #wp-link-wrap,#soliloquy-meta-edit .mce-window{-webkit-box-shadow:0 3px 6px rgba(0,0,0,0.3)}#soliloquy-meta-edit-bulk .wp-editor-tools,#soliloquy-meta-edit .wp-editor-tools{z-index:1}#soliloquy-meta-edit-bulk .wp-editor-tools:after,#soliloquy-meta-edit .wp-editor-tools:after{clear:both;content:"";display:table}#soliloquy-meta-edit-bulk .wp-editor-container,#soliloquy-meta-edit .wp-editor-container{clear:both}#soliloquy-meta-edit-bulk .wp-editor-area,#soliloquy-meta-edit .wp-editor-area{font-family:Consolas, Monaco, monospace;font-size:13px;padding:10px;margin:1px 0 0;line-height:150%;border:0;outline:0;display:block;resize:vertical;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#soliloquy-meta-edit-bulk .rtl .wp-editor-area,#soliloquy-meta-edit .rtl .wp-editor-area{font-family:Tahoma, Monaco, monospace}#soliloquy-meta-edit-bulk .locale-he-il .wp-editor-area,#soliloquy-meta-edit .locale-he-il .wp-editor-area{font-family:Arial, Monaco, monospace}#soliloquy-meta-edit-bulk .wp-editor-container textarea.wp-editor-area,#soliloquy-meta-edit .wp-editor-container textarea.wp-editor-area{width:100%;margin:0;-webkit-box-shadow:none;box-shadow:none}#soliloquy-meta-edit-bulk .wp-editor-tabs,#soliloquy-meta-edit .wp-editor-tabs{float:right}#soliloquy-meta-edit-bulk .wp-switch-editor,#soliloquy-meta-edit .wp-switch-editor{float:left;-webkit-box-sizing:content-box;-moz-box-sizing:content-box;box-sizing:content-box;top:1px;background:#ebebeb;color:#666;cursor:pointer;font-size:13px;line-height:19px;height:20px;margin:5px 0 0 5px;padding:3px 8px 4px;border:1px solid #e5e5e5}#soliloquy-meta-edit-bulk .wp-switch-editor:focus,#soliloquy-meta-edit .wp-switch-editor:focus{-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);outline:0;color:#23282d}#soliloquy-meta-edit-bulk .html-active .switch-html:focus,#soliloquy-meta-edit-bulk .tmce-active .switch-tmce:focus,#soliloquy-meta-edit-bulk .wp-switch-editor:active,#soliloquy-meta-edit .html-active .switch-html:focus,#soliloquy-meta-edit .tmce-active .switch-tmce:focus,#soliloquy-meta-edit .wp-switch-editor:active{-webkit-box-shadow:none;box-shadow:none}#soliloquy-meta-edit-bulk .wp-switch-editor:active,#soliloquy-meta-edit .wp-switch-editor:active{background-color:#f5f5f5;-webkit-box-shadow:none;box-shadow:none}#soliloquy-meta-edit-bulk .js .tmce-active .wp-editor-area,#soliloquy-meta-edit .js .tmce-active .wp-editor-area{color:#fff}#soliloquy-meta-edit-bulk .tmce-active .quicktags-toolbar,#soliloquy-meta-edit .tmce-active .quicktags-toolbar{display:none}#soliloquy-meta-edit-bulk .html-active .switch-html,#soliloquy-meta-edit-bulk .tmce-active .switch-tmce,#soliloquy-meta-edit .html-active .switch-html,#soliloquy-meta-edit .tmce-active .switch-tmce{background:#f5f5f5;color:#555;border-bottom-color:#f5f5f5}#soliloquy-meta-edit-bulk .wp-media-buttons,#soliloquy-meta-edit .wp-media-buttons{float:left}#soliloquy-meta-edit-bulk .wp-media-buttons .button,#soliloquy-meta-edit .wp-media-buttons .button{margin-right:5px;margin-bottom:4px;padding-left:7px;padding-right:7px}#soliloquy-meta-edit-bulk .wp-media-buttons .button:active,#soliloquy-meta-edit .wp-media-buttons .button:active{position:relative;top:1px;margin-top:-1px;margin-bottom:1px}#soliloquy-meta-edit-bulk .wp-media-buttons .insert-media,#soliloquy-meta-edit .wp-media-buttons .insert-media{padding-left:5px}#soliloquy-meta-edit-bulk .wp-media-buttons a,#soliloquy-meta-edit .wp-media-buttons a{text-decoration:none;color:#444;font-size:12px}#soliloquy-meta-edit-bulk .wp-media-buttons img,#soliloquy-meta-edit .wp-media-buttons img{padding:0 4px;vertical-align:middle}#soliloquy-meta-edit-bulk .wp-media-buttons span.wp-media-buttons-icon,#soliloquy-meta-edit .wp-media-buttons span.wp-media-buttons-icon{display:inline-block;width:18px;height:18px;vertical-align:text-top;margin:0 2px}#soliloquy-meta-edit-bulk .wp-media-buttons .add_media span.wp-media-buttons-icon,#soliloquy-meta-edit .wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}#soliloquy-meta-edit-bulk .wp-media-buttons .add_media span.wp-media-buttons-icon:before,#soliloquy-meta-edit .wp-media-buttons .add_media span.wp-media-buttons-icon:before{font:400 18px / 1 dashicons;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;content:"\f104"}#soliloquy-meta-edit-bulk .quicktags-toolbar,#soliloquy-meta-edit .quicktags-toolbar{padding:3px;border-bottom:1px solid #ddd;background:#f5f5f5;min-height:30px}#soliloquy-meta-edit-bulk .has-dfw .quicktags-toolbar,#soliloquy-meta-edit .has-dfw .quicktags-toolbar{padding-right:35px}#soliloquy-meta-edit-bulk .wp-core-ui .quicktags-toolbar input.button.button-small,#soliloquy-meta-edit .wp-core-ui .quicktags-toolbar input.button.button-small{margin:2px}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value=link],#soliloquy-meta-edit .quicktags-toolbar input[value=link]{text-decoration:underline}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value=del],#soliloquy-meta-edit .quicktags-toolbar input[value=del]{text-decoration:line-through}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value="i"],#soliloquy-meta-edit .quicktags-toolbar input[value="i"]{font-style:italic}#soliloquy-meta-edit-bulk .quicktags-toolbar input[value="b"],#soliloquy-meta-edit .quicktags-toolbar input[value="b"]{font-weight:700}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,#soliloquy-meta-edit-bulk .qt-dfw,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,#soliloquy-meta-edit .qt-dfw{position:absolute;top:0;right:0;margin:5px 5px 0 0}#soliloquy-meta-edit-bulk .qt-fullscreen,#soliloquy-meta-edit .qt-fullscreen{position:static;margin:2px}@media screen and (max-width: 782px){#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn button,#soliloquy-meta-edit-bulk .qt-dfw,#soliloquy-meta-edit .mce-toolbar .mce-btn button,#soliloquy-meta-edit .qt-dfw{padding:6px 7px}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn.mce-primary button,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn.mce-primary button{padding:6px 7px 5px}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn{margin:1px}#soliloquy-meta-edit-bulk .qt-dfw,#soliloquy-meta-edit .qt-dfw{width:36px;height:34px}#soliloquy-meta-edit-bulk .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw,#soliloquy-meta-edit .mce-toolbar .mce-btn-group .mce-btn.mce-wp-dfw{margin:4px 4px 0 0}#soliloquy-meta-edit-bulk .mce-toolbar .mce-colorbutton .mce-preview,#soliloquy-meta-edit .mce-toolbar .mce-colorbutton .mce-preview{left:8px;bottom:6px}#soliloquy-meta-edit-bulk .mce-window .mce-btn,#soliloquy-meta-edit .mce-window .mce-btn{padding:2px 0}#soliloquy-meta-edit-bulk .has-dfw .quicktags-toolbar,#soliloquy-meta-edit-bulk .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first,#soliloquy-meta-edit .has-dfw .quicktags-toolbar,#soliloquy-meta-edit .has-dfw div.mce-toolbar-grp .mce-toolbar.mce-first{padding-right:40px}}@media screen and (min-width: 782px){#soliloquy-meta-edit-bulk .wp-core-ui .quicktags-toolbar input.button.button-small,#soliloquy-meta-edit .wp-core-ui .quicktags-toolbar input.button.button-small{font-size:12px;height:26px;line-height:24px}}#soliloquy-meta-edit-bulk #wp_editbtns,#soliloquy-meta-edit-bulk #wp_gallerybtns,#soliloquy-meta-edit #wp_editbtns,#soliloquy-meta-edit #wp_gallerybtns{padding:2px;position:absolute;display:none;z-index:100020}#soliloquy-meta-edit-bulk #wp_delgallery,#soliloquy-meta-edit-bulk #wp_delimgbtn,#soliloquy-meta-edit-bulk #wp_editgallery,#soliloquy-meta-edit-bulk #wp_editimgbtn,#soliloquy-meta-edit #wp_delgallery,#soliloquy-meta-edit #wp_delimgbtn,#soliloquy-meta-edit #wp_editgallery,#soliloquy-meta-edit #wp_editimgbtn{border-color:#999;background-color:#eee;margin:2px;padding:2px;border-width:1px;border-style:solid;-webkit-border-radius:3px;border-radius:3px}#soliloquy-meta-edit-bulk #wp_delgallery:hover,#soliloquy-meta-edit-bulk #wp_delimgbtn:hover,#soliloquy-meta-edit-bulk #wp_editgallery:hover,#soliloquy-meta-edit-bulk #wp_editimgbtn:hover,#soliloquy-meta-edit #wp_delgallery:hover,#soliloquy-meta-edit #wp_delimgbtn:hover,#soliloquy-meta-edit #wp_editgallery:hover,#soliloquy-meta-edit #wp_editimgbtn:hover{border-color:#555;background-color:#ccc}#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{display:none;background-color:#fff;box-shadow:0 3px 6px rgba(0,0,0,0.3);width:500px;overflow:hidden;margin-left:-250px;position:fixed;top:50%;left:50%;z-index:100105;-webkit-transition:height .2s, margin-top .2s;transition:height .2s, margin-top .2s;height:500px;margin-top:-250px}#soliloquy-meta-edit-bulk #wp-link-backdrop,#soliloquy-meta-edit #wp-link-backdrop{display:none;position:fixed;top:0;left:0;right:0;bottom:0;min-height:360px;background:#000;opacity:.7;filter:alpha(opacity=70);z-index:100100}#soliloquy-meta-edit-bulk #wp-link,#soliloquy-meta-edit #wp-link{position:relative;height:100%}#soliloquy-meta-edit-bulk #wp-link-wrap .wp-link-text-field,#soliloquy-meta-edit #wp-link-wrap .wp-link-text-field{display:none}#soliloquy-meta-edit-bulk #wp-link-wrap.has-text-field .wp-link-text-field,#soliloquy-meta-edit #wp-link-wrap.has-text-field .wp-link-text-field{display:block}#soliloquy-meta-edit-bulk #link-modal-title,#soliloquy-meta-edit #link-modal-title{background:#fcfcfc;border-bottom:1px solid #ddd;height:36px;font-size:18px;font-weight:600;line-height:36px;margin:0;padding:0 36px 0 16px}#soliloquy-meta-edit-bulk #wp-link-close,#soliloquy-meta-edit #wp-link-close{color:#666;padding:0;position:absolute;top:0;right:0;width:36px;height:36px;text-align:center;background:0 0;border:none;cursor:pointer}#soliloquy-meta-edit-bulk #wp-link-close:before,#soliloquy-meta-edit #wp-link-close:before{font:400 20px / 36px dashicons;vertical-align:top;speak:none;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;width:36px;height:36px;content:"\f158"}#soliloquy-meta-edit-bulk #wp-link-close:focus,#soliloquy-meta-edit-bulk #wp-link-close:hover,#soliloquy-meta-edit #wp-link-close:focus,#soliloquy-meta-edit #wp-link-close:hover{color:#00a0d2}#soliloquy-meta-edit-bulk #wp-link-close:focus,#soliloquy-meta-edit #wp-link-close:focus{outline:0;-webkit-box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8);box-shadow:0 0 0 1px #5b9dd9,0 0 2px 1px rgba(30,140,190,0.8)}#soliloquy-meta-edit-bulk #wp-link-wrap #link-selector,#soliloquy-meta-edit #wp-link-wrap #link-selector{-webkit-overflow-scrolling:touch;padding:0 16px;position:absolute;top:37px;left:0;right:0;bottom:44px}#soliloquy-meta-edit-bulk #wp-link ol,#soliloquy-meta-edit-bulk #wp-link ul,#soliloquy-meta-edit #wp-link ol,#soliloquy-meta-edit #wp-link ul{list-style:none;margin:0;padding:0}#soliloquy-meta-edit-bulk #wp-link input[type=text],#soliloquy-meta-edit #wp-link input[type=text]{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#soliloquy-meta-edit-bulk #wp-link #link-options,#soliloquy-meta-edit #wp-link #link-options{padding:8px 0 12px}#soliloquy-meta-edit-bulk #wp-link p.howto,#soliloquy-meta-edit #wp-link p.howto{margin:3px 0}#soliloquy-meta-edit-bulk #wp-link p.howto a,#soliloquy-meta-edit #wp-link p.howto a{text-decoration:none;color:inherit}#soliloquy-meta-edit-bulk #wp-link label input[type=text],#soliloquy-meta-edit #wp-link label input[type=text]{margin-top:5px;width:70%}#soliloquy-meta-edit-bulk #wp-link #link-options label span,#soliloquy-meta-edit-bulk #wp-link #search-panel label span.search-label,#soliloquy-meta-edit #wp-link #link-options label span,#soliloquy-meta-edit #wp-link #search-panel label span.search-label{display:inline-block;width:80px;text-align:right;padding-right:5px;max-width:24%;vertical-align:middle;word-wrap:break-word}#soliloquy-meta-edit-bulk #wp-link .link-search-field,#soliloquy-meta-edit #wp-link .link-search-field{float:left;width:250px;max-width:70%}#soliloquy-meta-edit-bulk #wp-link .link-search-wrapper,#soliloquy-meta-edit #wp-link .link-search-wrapper{margin:5px 0 9px;display:block;overflow:hidden}#soliloquy-meta-edit-bulk #wp-link .link-search-wrapper span,#soliloquy-meta-edit #wp-link .link-search-wrapper span{float:left;margin-top:4px}#soliloquy-meta-edit-bulk #wp-link .link-search-wrapper .spinner,#soliloquy-meta-edit #wp-link .link-search-wrapper .spinner{margin-top:5px}#soliloquy-meta-edit-bulk #wp-link .link-target,#soliloquy-meta-edit #wp-link .link-target{padding:3px 0 0;white-space:nowrap;overflow:hidden;text-overflow:ellipsis}#soliloquy-meta-edit-bulk #wp-link .link-target label,#soliloquy-meta-edit #wp-link .link-target label{max-width:70%}#soliloquy-meta-edit-bulk #wp-link .query-results,#soliloquy-meta-edit #wp-link .query-results{border:1px solid #dfdfdf;margin:0 0 12px;background:#fff;overflow:auto;position:absolute;left:16px;right:16px;bottom:0;top:166px}#soliloquy-meta-edit-bulk .has-text-field #wp-link .query-results,#soliloquy-meta-edit .has-text-field #wp-link .query-results{top:200px}#soliloquy-meta-edit-bulk #wp-link li,#soliloquy-meta-edit #wp-link li{clear:both;margin-bottom:0;border-bottom:1px solid #f1f1f1;color:#32373c;padding:4px 6px 4px 10px;cursor:pointer;position:relative}#soliloquy-meta-edit-bulk #wp-link .query-notice,#soliloquy-meta-edit-bulk #wp-link li.unselectable,#soliloquy-meta-edit #wp-link .query-notice,#soliloquy-meta-edit #wp-link li.unselectable{border-bottom:1px solid #dfdfdf}#soliloquy-meta-edit-bulk #wp-link .query-notice,#soliloquy-meta-edit #wp-link .query-notice{padding:0;background-color:#f7fcfe;color:#000}#soliloquy-meta-edit-bulk #wp-link .query-notice .query-notice-default,#soliloquy-meta-edit-bulk #wp-link .query-notice .query-notice-hint,#soliloquy-meta-edit #wp-link .query-notice .query-notice-default,#soliloquy-meta-edit #wp-link .query-notice .query-notice-hint{display:block;padding:6px;border-left:4px solid #00a0d2}#soliloquy-meta-edit-bulk #wp-link .unselectable.no-matches-found,#soliloquy-meta-edit #wp-link .unselectable.no-matches-found{padding:0;border-bottom:1px solid #dfdfdf;background-color:#fef7f1}#soliloquy-meta-edit-bulk #wp-link .no-matches-found .item-title,#soliloquy-meta-edit #wp-link .no-matches-found .item-title{display:block;padding:6px;border-left:4px solid #d54e21}#soliloquy-meta-edit-bulk #wp-link .query-results em,#soliloquy-meta-edit #wp-link .query-results em{font-style:normal}#soliloquy-meta-edit-bulk #wp-link li:hover,#soliloquy-meta-edit #wp-link li:hover{background:#eaf2fa;color:#151515}#soliloquy-meta-edit-bulk #wp-link li.unselectable:hover,#soliloquy-meta-edit #wp-link li.unselectable:hover{background:#fff;cursor:auto;color:#32373c}#soliloquy-meta-edit-bulk #wp-link li.selected,#soliloquy-meta-edit #wp-link li.selected{background:#ddd;color:#32373c}#soliloquy-meta-edit-bulk #wp-link li.selected .item-title,#soliloquy-meta-edit #wp-link li.selected .item-title{font-weight:700}#soliloquy-meta-edit-bulk #wp-link li:last-child,#soliloquy-meta-edit #wp-link li:last-child{border:none}#soliloquy-meta-edit-bulk #wp-link .item-title,#soliloquy-meta-edit #wp-link .item-title{display:inline-block;width:80%;width:-webkit-calc(100% - 68px);width:calc(100% - 68px);word-wrap:break-word}#soliloquy-meta-edit-bulk #wp-link .item-info,#soliloquy-meta-edit #wp-link .item-info{text-transform:uppercase;color:#666;font-size:11px;position:absolute;right:5px;top:5px}#soliloquy-meta-edit-bulk #wp-link .river-waiting,#soliloquy-meta-edit #wp-link .river-waiting{display:none;padding:10px 0}#soliloquy-meta-edit-bulk #wp-link .submitbox,#soliloquy-meta-edit #wp-link .submitbox{padding:8px 16px;background:#fcfcfc;border-top:1px solid #ddd;position:absolute;bottom:0;left:0;right:0}#soliloquy-meta-edit-bulk #wp-link-cancel,#soliloquy-meta-edit #wp-link-cancel{line-height:25px;float:left}#soliloquy-meta-edit-bulk #wp-link-update,#soliloquy-meta-edit #wp-link-update{line-height:23px;float:right}#soliloquy-meta-edit-bulk #wp-link-submit,#soliloquy-meta-edit #wp-link-submit{float:right}@media screen and (max-width: 782px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{margin-top:-140px}#soliloquy-meta-edit-bulk #wp-link-wrap .query-results,#soliloquy-meta-edit #wp-link-wrap .query-results{top:195px}#soliloquy-meta-edit-bulk #wp-link-wrap.has-text-field .query-results,#soliloquy-meta-edit #wp-link-wrap.has-text-field .query-results{top:235px}#soliloquy-meta-edit-bulk #link-selector,#soliloquy-meta-edit #link-selector{padding:0 16px 60px}#soliloquy-meta-edit-bulk #wp-link-wrap #link-selector,#soliloquy-meta-edit #wp-link-wrap #link-selector{bottom:52px}#soliloquy-meta-edit-bulk #wp-link-cancel,#soliloquy-meta-edit #wp-link-cancel{line-height:32px}#soliloquy-meta-edit-bulk #wp-link .link-target,#soliloquy-meta-edit #wp-link .link-target{padding-top:10px}#soliloquy-meta-edit-bulk #wp-link .submitbox .button,#soliloquy-meta-edit #wp-link .submitbox .button{margin-bottom:0}}@media screen and (max-width: 520px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{width:auto;margin-left:0;left:10px;right:10px;max-width:500px}}@media screen and (max-height: 520px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{-webkit-transition:none;transition:none;height:auto;margin-top:0;top:10px;bottom:10px}#soliloquy-meta-edit-bulk #link-selector,#soliloquy-meta-edit #link-selector{overflow:auto}#soliloquy-meta-edit-bulk #search-panel .query-results,#soliloquy-meta-edit #search-panel .query-results{position:static}}@media screen and (max-height: 290px){#soliloquy-meta-edit-bulk #wp-link-wrap,#soliloquy-meta-edit #wp-link-wrap{height:auto;margin-top:0;top:10px;bottom:10px}#soliloquy-meta-edit-bulk #link-selector,#soliloquy-meta-edit #link-selector{overflow:auto;height:-webkit-calc(100% - 92px);height:calc(100% - 92px);padding-bottom:2px}#soliloquy-meta-edit-bulk #search-panel .query-results,#soliloquy-meta-edit #search-panel .query-results{position:static}}#soliloquy-meta-edit-bulk div.wp-link-preview,#soliloquy-meta-edit div.wp-link-preview{float:left;margin:5px;max-width:694px;overflow:hidden;text-overflow:ellipsis}#soliloquy-meta-edit-bulk div.wp-link-preview a,#soliloquy-meta-edit div.wp-link-preview a{color:#0073aa;text-decoration:underline;-webkit-transition-property:border, background, color;transition-property:border, background, color;-webkit-transition-duration:.05s;transition-duration:.05s;-webkit-transition-timing-function:ease-in-out;transition-timing-function:ease-in-out;cursor:pointer}#soliloquy-meta-edit-bulk div.wp-link-input,#soliloquy-meta-edit div.wp-link-input{float:left;margin:2px;max-width:694px}#soliloquy-meta-edit-bulk div.wp-link-input input,#soliloquy-meta-edit div.wp-link-input input{width:300px;padding:3px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}#soliloquy-meta-edit-bulk .mce-toolbar div.wp-link-input ~ .mce-btn,#soliloquy-meta-edit-bulk .mce-toolbar div.wp-link-preview ~ .mce-btn,#soliloquy-meta-edit .mce-toolbar div.wp-link-input ~ .mce-btn,#soliloquy-meta-edit .mce-toolbar div.wp-link-preview ~ .mce-btn{margin:2px 1px}#soliloquy-meta-edit-bulk .mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child,#soliloquy-meta-edit .mce-inline-toolbar-grp .mce-btn-group .mce-btn:last-child{margin-right:2px}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete{z-index:100110;max-height:200px;overflow-y:auto;padding:0;margin:0;list-style:none;position:absolute;border:1px solid #5b9dd9;-webkit-box-shadow:0 1px 2px rgba(30,140,190,0.8);box-shadow:0 1px 2px rgba(30,140,190,0.8);background-color:#fff}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete li,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete li{margin-bottom:0;padding:4px 10px;clear:both;white-space:normal;text-align:left}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete li .wp-editor-float-right,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete li .wp-editor-float-right{float:right}#soliloquy-meta-edit-bulk .ui-autocomplete.wplink-autocomplete li.ui-state-focus,#soliloquy-meta-edit .ui-autocomplete.wplink-autocomplete li.ui-state-focus{background-color:#ddd;cursor:pointer}@media screen and (max-width: 782px){#soliloquy-meta-edit-bulk div.wp-link-input,#soliloquy-meta-edit-bulk div.wp-link-preview,#soliloquy-meta-edit div.wp-link-input,#soliloquy-meta-edit div.wp-link-preview{max-width:70%;max-width:-webkit-calc(100% - 86px);max-width:calc(100% - 86px)}#soliloquy-meta-edit-bulk div.wp-link-preview,#soliloquy-meta-edit div.wp-link-preview{margin:8px 0 8px 5px}#soliloquy-meta-edit-bulk div.wp-link-input,#soliloquy-meta-edit div.wp-link-input{width:300px}#soliloquy-meta-edit-bulk div.wp-link-input input,#soliloquy-meta-edit div.wp-link-input input{width:100%;font-size:16px;padding:5px}}#soliloquy-meta-edit-bulk .mce-fullscreen,#soliloquy-meta-edit .mce-fullscreen{z-index:100010}#soliloquy-meta-edit-bulk .rtl .quicktags-toolbar input,#soliloquy-meta-edit-bulk .rtl .wp-switch-editor,#soliloquy-meta-edit .rtl .quicktags-toolbar input,#soliloquy-meta-edit .rtl .wp-switch-editor{font-family:Tahoma, sans-serif}#soliloquy-meta-edit-bulk .mce-rtl .mce-flow-layout .mce-flow-layout-item>div,#soliloquy-meta-edit .mce-rtl .mce-flow-layout .mce-flow-layout-item>div{direction:rtl}#soliloquy-meta-edit-bulk .mce-rtl .mce-listbox i.mce-caret,#soliloquy-meta-edit .mce-rtl .mce-listbox i.mce-caret{left:6px}#soliloquy-meta-edit-bulk html:lang(he-il) .rtl .quicktags-toolbar input,#soliloquy-meta-edit-bulk html:lang(he-il) .rtl .wp-switch-editor,#soliloquy-meta-edit html:lang(he-il) .rtl .quicktags-toolbar input,#soliloquy-meta-edit html:lang(he-il) .rtl .wp-switch-editor{font-family:Arial, sans-serif}@media print, (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){#soliloquy-meta-edit-bulk .wp-media-buttons .add_media span.wp-media-buttons-icon,#soliloquy-meta-edit .wp-media-buttons .add_media span.wp-media-buttons-icon{background:0 0}}.soliloquy-tab{display:none}.soliloquy-tab-active{display:block}.branch-4-7 .wrap h1.wp-heading-inline{display:block;margin:0;width:100%;padding-left:20px;padding-right:20px;line-height:45px;font-size:20px;font-weight:400;background-color:#fff;height:45px;margin-left:-20px;margin-bottom:20px}.branch-4-7 .page-title-action{margin-left:4px;padding:4px 8px;position:relative;top:-55px;left:180px;text-decoration:none;border:none;color:#ff3700;border-radius:0;background:none;text-shadow:none;font-weight:600;font-size:13px}.branch-4-7 .page-title-action:hover{background:none;color:#999}.branch-4-7 .page-title-action:before{display:inline-block;font-family:'soliloquy';content:'\0050';margin-top:-3px;margin-right:8px;vertical-align:middle}.post-type-soliloquy #wp-link-wrap{z-index:180105 !important}.post-type-soliloquy #wp-link-backdrop{z-index:160105 !important}.post-type-soliloquy #wpbody-content h1{display:block;margin:0;padding-left:20px;padding-right:20px;line-height:45px;font-size:20px;font-weight:400;background-color:#fff;height:45px;margin-left:-20px;margin-right:-20px;margin-bottom:20px}.post-type-soliloquy #wpbody-content h1 .page-title-action{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;color:#ff3700;border-radius:0;background:none;text-shadow:none;font-weight:600;font-size:13px}.post-type-soliloquy #wpbody-content h1 .page-title-action:hover{background:none;color:#999}.post-type-soliloquy #wpbody-content h1 .page-title-action:before{display:inline-block;font-family:'soliloquy';content:'\0050';margin-top:-3px;margin-right:8px;vertical-align:middle}.post-type-soliloquy .wrap{margin-top:0px !important}.soliloquy-spinner{float:none;display:inline-block;margin-top:0}#soliloquy-uploader{margin-top:20px;box-sizing:border-box}#soliloquy-uploader #soliloquy-slider-type-tabs{margin-bottom:-1px;box-sizing:border-box}#soliloquy-uploader #soliloquy-slider-type-tabs:after{content:"";display:table;clear:both}#soliloquy-uploader .soliloquy-type-tab{position:relative;z-index:2;width:49.8%;display:block;text-align:center;text-decoration:none;font-size:16px;font-weight:600;line-height:55px;margin:0;height:55px;color:#999;background-color:#f7f7f7;border:1px solid #e5e5e5;box-sizing:border-box;border-top-left-radius:3px;border-top-right-radius:3px}#soliloquy-uploader .soliloquy-type-tab input{display:none}#soliloquy-uploader .soliloquy-type-tab:first-child{float:left;border-left:1px solid #e5e5e5}#soliloquy-uploader .soliloquy-type-tab:last-child{border-right:1px solid #e5e5e5;float:right}#soliloquy-uploader .soliloquy-type-tab.soliloquy-tab-nav-active{background-color:white;color:#23282d;border-bottom:none}#soliloquy-uploader .soliloquy-type-tab.soliloquy-tab-nav-active:before{color:#ff3700}#soliloquy-uploader .soliloquy-tab-container{padding:20px;position:relative;min-width:255px;min-height:245px;border:1px solid #e5e5e5;background:#fff}#soliloquy-uploader h2.soliloquy-type-label{text-align:center;padding:0;margin:20px 0}#soliloquy-uploader h2.soliloquy-type-label span{font-size:24px}#soliloquy-uploader ul#soliloquy-types-nav{text-align:center}#soliloquy-uploader ul#soliloquy-types-nav li{display:inline-block;margin:0 20px 0 0;vertical-align:top}#soliloquy-uploader ul#soliloquy-types-nav li:last-child{margin:0}#soliloquy-uploader ul#soliloquy-types-nav li label{float:left;width:110px}#soliloquy-uploader ul#soliloquy-types-nav li label input{display:none}#soliloquy-uploader ul#soliloquy-types-nav li label div.icon{width:110px;height:110px;margin:0 0 10px 0;border:1px solid #ddd;background-size:64px 64px;background-position:center;background-repeat:no-repeat}#soliloquy-uploader ul#soliloquy-types-nav li label div.title{font-weight:700}#soliloquy-uploader ul#soliloquy-types-nav li:hover label div.icon,#soliloquy-uploader ul#soliloquy-types-nav li.soliloquy-active label div.icon{background-color:#f7fcf3;border-color:#7cc048}#soliloquy-uploader ul#soliloquy-types-nav li#soliloquy-type-fc label div.icon{background-image:url(../images/fc.png)}#soliloquy-uploader ul#soliloquy-types-nav li#soliloquy-type-instagram label div.icon{background-image:url(../images/instagram.png)}#soliloquy-uploader ul#soliloquy-types-nav li#soliloquy-type-wc label div.icon{background-image:url(../images/woo.png)}#soliloquy-uploader #plupload-upload-ui{display:block;display:block}#soliloquy-uploader #plupload-upload-ui #drag-drop-area{border:3px dashed #d7d7d7;border-radius:6px}#soliloquy-uploader #plupload-upload-ui .drag-drop-info{font-size:24px;color:#23282d}#soliloquy-uploader #plupload-upload-ui .drag-drop-inside{width:520px;margin-top:40px}#soliloquy-uploader #plupload-upload-ui .drag-drop-inside p.drag-drop-buttons{text-align:left}#soliloquy-uploader #plupload-upload-ui .drag-drop-inside .soliloquy-progress-bar{display:none;width:100%;position:relative;height:10px;width:100%;margin:10px auto;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,0.1)}#soliloquy-uploader #plupload-upload-ui .drag-drop-inside .soliloquy-progress-bar div{height:10px;min-width:20px;width:0;background:#aaa;background:rgba(0,0,0,0.2);border-radius:10px;-webkit-transition:width 300ms;-moz-transition:width 300ms;-ms-transition:width 300ms;-o-transition:width 300ms;transition:width 300ms}#soliloquy-uploader #plupload-upload-ui .button{background:#f7f7f7;border:1px solid;border-color:#ddd;-webkit-box-shadow:none;box-shadow:none;color:#7f7f7f;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}#soliloquy-uploader #plupload-upload-ui .button:hover{background:#f7f7f7;border-color:#999;color:#23282d}#soliloquy-uploader #plupload-upload-ui a.soliloquy-media-library.button{display:block;position:absolute;margin:0 auto;left:250px;right:0;line-height:32px;width:240px;top:110px;text-align:center}#soliloquy-uploader #plupload-upload-ui p.upload-flash-bypass{display:none}#soliloquy-uploader p.max-upload-size{margin-bottom:0}#soliloquy-codepanel .soliloquy-clipboard{text-align:right}#soliloquy-slider-settings{margin-top:20px;position:relative;min-width:255px;border:1px solid #e5e5e5;-webkit-box-shadow:0 1px 1px rgba(0,0,0,0.04);box-shadow:0 1px 1px rgba(0,0,0,0.04);background:#f7f7f7;width:100%}#soliloquy-slider-settings a{text-decoration:none}#soliloquy-slider-settings:after{content:"";display:table;clear:both}#soliloquy-slider-settings #soliloquy-settings-tabs{width:150px;margin:0;padding:0;border-right:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab{float:left;width:100%;margin:0;padding:0}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a{float:left;width:110px;margin:0 20px;padding:20px 0;text-decoration:none;color:#999;border-bottom:1px solid #ddd;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;transition:none;-webkit-transition:none}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a:focus{outline-style:none;box-shadow:none;border-color:transparent}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a:before{display:inline-block;font-family:'soliloquy';font-style:normal;font-weight:normal;font-size:15px;line-height:1.5;vertical-align:middle;margin-right:8px;padding-left:4px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab:hover,#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab.soliloquy-tab-nav-active{background-color:#fff;margin-right:-1px;margin-top:-1px;border-top:1px solid #ddd;border-bottom:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab:hover a,#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab.soliloquy-tab-nav-active a{border-bottom:none}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab:hover a:before,#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab.soliloquy-tab-nav-active a:before{color:#ff3700}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-slider a:before{content:'\0042'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-config a:before{content:'\0041'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-mobile a:before{content:'\0046'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-pinterest a:before{content:'\0043'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-thumbnails a:before{content:'\004b'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-schedule a:before{content:'\0058'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-misc a:before{content:'\0045'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-lightbox a:before{content:'\0044'}#soliloquy-slider-settings #soliloquy-settings-tabs #soliloquy-tab-nav-carousel a:before{content:'\0059'}#soliloquy-slider-settings #soliloquy-settings-content{margin:0 0 0 150px;padding:20px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box;background:#fff}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-empty-slider{position:relative;background-color:#f7f7f7;min-height:350px;width:100%;text-align:center;border-radius:3px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-empty-slider div{max-width:450px;max-height:150px;margin:auto;position:absolute;top:0;left:0;bottom:0;right:0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-empty-slider img{max-width:336px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-external-req{border:1px solid #ff3700;border-radius:3px;padding:30px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-external-req h2{font-size:20px;margin:0;padding:0}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-slide-header label{font-weight:600}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-slide-header .soliloquy-clear-selected{display:none;margin-left:15px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-help{font-size:14px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-help a{margin-left:5px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-bulk-actions{display:none;margin-bottom:20px}#soliloquy-slider-settings #soliloquy-settings-content table.form-table{clear:none}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-config-header{border-bottom:1px solid #ddd;padding-bottom:30px;margin-bottom:30px}#soliloquy-slider-settings #soliloquy-settings-content h2.soliloquy-intro{margin:0 !important;padding:0;border-bottom:none}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-intro{font-size:16px !important;font-weight:bold;margin:0}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle{position:absolute;right:20px;top:20px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle [data-soliloquy-tooltip]:before{position:absolute;bottom:120%;left:50%;margin-bottom:5px;margin-left:-35px;padding:7px;width:120px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#000;color:#fff;content:attr(data-soliloquy-tooltip);text-align:center;font-size:12px;line-height:1.2}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li.helper .dashicons{font-size:24px;margin-top:-5px;color:#ddd}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li.helper .dashicons:hover{color:#23282d}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li.soliloquy-select{width:200px;margin-right:15px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li.soliloquy-select .chosen-container{margin-top:-10px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li:not(.soliloquy-select) a{color:#ddd}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li:not(.soliloquy-select) a i:before{font-size:16px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-display-toggle li:not(.soliloquy-select) a.active-display{color:#23282d}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-select-all{margin:20px 8px 20px 0px}#soliloquy-slider-settings #soliloquy-settings-content .soliloquy-slides-delete{margin-right:10px}#soliloquy-slider-settings #soliloquy-settings-content input[type=checkbox]{background-color:#fff;border:1px solid #ddd;box-shadow:none;margin-right:10px}#soliloquy-slider-settings #soliloquy-settings-content input[type=checkbox]:checked{background-color:#72b63d;border-color:#72b63d}#soliloquy-slider-settings #soliloquy-settings-content input[type=checkbox]:checked:before{color:#fff !important}#soliloquy-slider-settings #soliloquy-settings-content input[type="text"],#soliloquy-slider-settings #soliloquy-settings-content input[type="number"],#soliloquy-slider-settings #soliloquy-settings-content input[type="password"]{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;height:35px;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out;min-width:210px;max-width:350px;width:92%;border-radius:3px;padding-right:0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-mobile-width,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-mobile-height,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-slider-height,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-config-slider-width{max-width:166px;min-width:75px}#soliloquy-slider-settings #soliloquy-settings-content th{padding-right:0}#soliloquy-slider-settings #soliloquy-settings-content .description{font-size:13px;line-height:1.5}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output{margin:0 0 10px;padding:0;list-style:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li{background-color:#fff;margin:0;list-style:none;border:1px solid #cecece;-moz-border-radius:3px;-webkit-border-radius:3px;border-radius:3px;-moz-background-clip:padding;-webkit-background-clip:padding-box;background-clip:padding-box;-moz-box-shadow:0 1px 2px rgba(0,0,0,0.06);-webkit-box-shadow:0 1px 2px rgba(0,0,0,0.06);box-shadow:0 1px 2px rgba(0,0,0,0.06);cursor:move;position:relative}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li h3{display:block;margin:0;padding:0;text-overflow:ellipsis}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li.ui-sortable-helper{border:2px solid #1e8cbe}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-remove-slide,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-modify-slide{display:block;height:25px;outline:none;position:absolute;width:25px;z-index:20;color:#fff;text-align:center;line-height:25px;vertical-align:middle;border-radius:3px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status i:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status i:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-remove-slide i:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-modify-slide i:before{margin:0;font-size:10px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status span:before,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status span:before{font-size:16px;vertical-align:middle}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-active-slide.grid-status{background-color:#74b445}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-draft-slide.grid-status{background-color:#ffa93b}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-remove-slide{background-color:#e3231b}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li .soliloquy-modify-slide{background-color:#0072ac}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output li.dropzone{background:transparent;border:2px dashed #ddd;-moz-box-shadow:none;-webkit-box-shadow:none;box-shadow:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li{display:inline-block;width:150px;margin:0 30px 30px 0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-item-img{display:block;margin:0 auto auto auto;top:0;left:0;right:0;bottom:0;max-width:150px;max-height:150px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-video-wrap,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-html-wrap{position:relative;width:150px;height:150px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-video-inside,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-html-inside{width:150px;height:150px;display:table;position:absolute;max-width:100%;max-height:100%;cursor:move}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-video-table,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-html-table{display:table-cell;vertical-align:middle;text-align:center;cursor:move}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li span.overlay{max-height:15px;max-width:40px;display:block;position:absolute;top:0;left:0;right:0;bottom:10px;margin:auto;padding:4px 8px;background:rgba(255,255,255,0.8);z-index:2;text-align:center;border-radius:3px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-item-info h3{display:block;border-top:1px solid #ddd;background-color:#f7f7f7;margin:0;padding:8px 4px;text-align:center;font-size:13px;max-width:150px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-item-info img{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li a.check{display:none;position:absolute;margin:auto;top:0;left:0;bottom:0;right:0;width:24px;height:24px;background-color:#72b63d;-webkit-box-shadow:0 0 0 1px #fff,0 0 0 2px #72b63d;box-shadow:0 0 0 1px #fff,0 0 0 2px #72b63d;z-index:10}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li a.check div.media-modal-icon{width:15px;height:15px;margin:5px 0 0 5px;background-position:-21px 0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li.selected{border:1px solid #72b63d}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li.selected a.check{display:block}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-active-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-draft-slide.grid-status{display:block;bottom:40px;left:5px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-active-slide.list-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-draft-slide.list-status{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-remove-slide{left:5px;top:5px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-grid li .soliloquy-modify-slide{right:5px;top:5px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li{display:inline-block;min-height:100px;padding:20px;margin-bottom:10px;width:100%;box-sizing:border-box}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li span.overlay{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-video-wrap{float:left;height:75px;width:75px;margin-left:20px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-video-wrap .soliloquy-item-img{float:none;margin-left:0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-item-img{margin-left:20px;position:relative;float:left;max-width:75px;max-height:75px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-item-info{position:absolute;margin:auto 0;top:0;bottom:0;left:160px;height:30px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-item-info img{margin-top:-20px;max-width:100px;margin-bottom:10px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li a.check{display:block;position:relative;float:left;margin:auto 0;width:25px;height:25px;margin-top:25px;background-color:#fff;border:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li a.check div.media-modal-icon{width:15px;display:none;height:15px;margin:5px 0 0 5px;background-position:-21px 0}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li.selected{border:1px solid #72b63d}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li.selected a.check{background-color:#72b63d;display:block}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li.selected a.check div.media-modal-icon{display:block}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.grid-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.grid-status{display:none}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.list-status,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.list-status{display:block;margin-top:10px;font-weight:600;color:black}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.list-status:hover,#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.list-status:hover{text-decoration:none;color:black}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-active-slide.list-status span{margin-left:5px;border-radius:3px;padding:3px 5px;background-color:#74b445;color:white}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-draft-slide.list-status span{margin-left:5px;border-radius:3px;padding:3px 5px;background-color:#ffa93b;color:white}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-remove-slide{right:8px;top:8px}#soliloquy-slider-settings #soliloquy-settings-content #soliloquy-output.soliloquy-list li .soliloquy-modify-slide{right:40px;top:8px}#soliloquy-slider-settings #soliloquy-settings-content:after{content:"";display:table;clear:both}#soliloquy-plupload-upload-ui{position:relative}#soliloquy-drag-drop-area{border:4px dashed #bbb;height:200px}#soliloquy-plupload-upload-ui.drag-over #soliloquy-drag-drop-area{border-color:#83b4d8}#soliloquy-slider-settings .soliloquy-progress-bar{display:none;width:100%;position:relative;height:10px;width:100%;margin:10px auto;border-radius:10px;background:#dfdfdf;background:rgba(0,0,0,0.1)}#soliloquy-slider-settings .soliloquy-progress-bar div{height:10px;min-width:20px;width:0;background:#aaa;background:rgba(0,0,0,0.2);border-radius:10px;-webkit-transition:width 300ms;-moz-transition:width 300ms;-ms-transition:width 300ms;-o-transition:width 300ms;transition:width 300ms}#soliloquy .upload-flash-bypass{display:none}#soliloquy .max-upload-size{display:block;margin:10px 0}.soliloquy-media-frame .soliloquy-accepted-urls{clear:both;overflow:hidden}.soliloquy-media-frame .soliloquy-accepted-urls span{display:block}.soliloquy-media-frame .soliloquy-column{float:left;width:32%;margin-right:2%}.soliloquy-media-frame .soliloquy-column.soliloquy-last{margin-right:0}.soliloquy-media-frame .soliloquy-video-info{background-color:#ffffe0;border:1px solid #e6db55;padding:15px;margin-bottom:16px}.soliloquy-media-frame .soliloquy-video-info p{margin-top:0}#soliloquy-html-slides .soliloquy-delete-html-slide,#soliloquy-video-slides .soliloquy-delete-video-slide{float:right}.attachments-browser.soliloquy-videos a.soliloquy-item-collapse,.attachments-browser.soliloquy-html a.soliloquy-item-collapse{position:absolute;top:10px;right:20px;font-size:13px;color:black;font-weight:600;text-decoration:none}.attachments-browser.soliloquy-videos .button-soliloquy-delete,.attachments-browser.soliloquy-html .button-soliloquy-delete{color:#fff}.attachments-browser.soliloquy-videos .soliloquy-item-setting,.attachments-browser.soliloquy-html .soliloquy-item-setting{clear:both;text-align:left !important;margin-bottom:15px}.attachments-browser.soliloquy-videos .soliloquy-item-setting .code-title,.attachments-browser.soliloquy-html .soliloquy-item-setting .code-title{text-align:left !important}.attachments-browser.soliloquy-videos .soliloquy-item-setting label,.attachments-browser.soliloquy-html .soliloquy-item-setting label{clear:both;width:100%;text-align:left}.attachments-browser.soliloquy-videos .soliloquy-item-setting label strong,.attachments-browser.soliloquy-html .soliloquy-item-setting label strong{text-align:left}.attachments-browser.soliloquy-videos .soliloquy-item-setting .soliloquy-media-button a,.attachments-browser.soliloquy-html .soliloquy-item-setting .soliloquy-media-button a{float:right;clear:both}.attachments-browser.soliloquy-videos .soliloquy-item-setting input[type=text],.attachments-browser.soliloquy-videos .soliloquy-item-setting textarea,.attachments-browser.soliloquy-html .soliloquy-item-setting input[type=text],.attachments-browser.soliloquy-html .soliloquy-item-setting textarea{width:100%;clear:both}.attachments-browser.soliloquy-videos .soliloquy-item-setting .soliloquy-input-group input[type=text],.attachments-browser.soliloquy-videos .soliloquy-item-setting .soliloquy-input-group textarea,.attachments-browser.soliloquy-html .soliloquy-item-setting .soliloquy-input-group input[type=text],.attachments-browser.soliloquy-html .soliloquy-item-setting .soliloquy-input-group textarea{width:87%;clear:both}.attachments-browser.soliloquy-videos .soliloquy-item-footer,.attachments-browser.soliloquy-html .soliloquy-item-footer{display:block;margin-top:20px}.attachments-browser.soliloquy-videos .soliloquy-item-footer a,.attachments-browser.soliloquy-html .soliloquy-item-footer a{float:right}.attachments-browser.soliloquy-videos div.media-toolbar{border-bottom:1px solid #ddd}.attachments-browser.soliloquy-videos div.media-toolbar div.media-toolbar-primary button.soliloquy-videos-add{float:right;margin-top:10px}.attachments-browser.soliloquy-videos .soliloquy-video-items{position:relative;margin-right:300px;width:100%;height:100%}.attachments-browser.soliloquy-videos ul.soliloquy-videos-attachments{top:70px;padding:2px 20px 20px}.attachments-browser.soliloquy-videos ul.soliloquy-videos-attachments li.soliloquy-videos-attachment{width:100%;background-color:#f1f1f1;border:1px solid #ddd;padding:20px;margin-bottom:2em;padding-top:2em}.attachments-browser.soliloquy-videos .soliloquy-gallery-accepted-urls{clear:both;overflow:hidden}.attachments-browser.soliloquy-videos .soliloquy-gallery-accepted-urls span{display:block}.attachments-browser.soliloquy-html div.media-toolbar{border-bottom:1px solid #ddd}.attachments-browser.soliloquy-html div.media-toolbar div.media-toolbar-primary button.soliloquy-html-add{float:right;margin-top:10px}.attachments-browser.soliloquy-html .soliloquy-html-items{position:relative;margin-right:300px;width:100%;height:100%}.attachments-browser.soliloquy-html ul.soliloquy-html-attachments{top:70px;padding:2px 20px 20px}.attachments-browser.soliloquy-html ul.soliloquy-html-attachments li.soliloquy-html-attachment{width:100%;background-color:#f1f1f1;border:1px solid #ddd;padding:20px;margin-bottom:2em;padding-top:2em}.attachments-browser.soliloquy-html ul.soliloquy-html-attachments li.soliloquy-html-attachment .CodeMirror{border:1px solid #ddd;text-align:left !important}.attachments-browser .soliloquy-accepted-urls{clear:both;overflow:hidden}.attachments-browser .soliloquy-accepted-urls .title{margin-bottom:-15px}.attachments-browser .soliloquy-accepted-urls span{display:block}#soliloquy-meta-edit .right{border-right:1px solid #ccc !important}.soliloquy-meta-container .media-modal-backdrop{z-index:15999}.soliloquy-meta-container .media-modal{z-index:16000}.soliloquy-meta-container .media-modal button.right{border-right:1px solid #ddd !important}.soliloquy-meta-container .media-modal .attachment-media-view div.thumbnail-image img.details-image{max-width:50%;max-height:70%}.soliloquy-meta-container .media-modal .setting{margin:0 0 20px 0;padding:0 0 20px 0;border-bottom:1px solid #ddd}.soliloquy-meta-container .media-modal .setting span.name{font-size:14px;font-weight:600;min-width:20%;text-align:left}.soliloquy-meta-container .media-modal .setting input[type=text]{width:75%}.soliloquy-meta-container .media-modal .setting textarea{height:150px}.soliloquy-meta-container .media-modal .setting .wp-editor-wrap{float:right;width:75%}.soliloquy-meta-container .media-modal .code{margin-bottom:20px}.soliloquy-meta-container .media-modal div.actions a.button{display:inline-block}@media only screen and (max-width: 959px){.soliloquy-meta-container .setting span.name{width:100%;max-width:100%;min-width:100%}.soliloquy-meta-container .setting input[type=text]{width:100%}.soliloquy-meta-container .setting input[type=checkbox]{clear:both}.soliloquy-meta-container .setting .wp-editor-wrap{float:left;width:100%}}body.rtl #soliloquy .soliloquy-meta-icon{right:auto;left:0}body.rtl #soliloquy #soliloquy-tabs-nav li{float:right;margin:0 0 -1px 10px}body.rtl #soliloquy #soliloquy-output li{float:right;margin:0 0 10px 10px}@media screen and (max-width: 1100px){#soliloquy-uploader #plupload-upload-ui #drag-drop-area{height:208px}#soliloquy-uploader #plupload-upload-ui .drag-drop-inside{width:100%;margin-top:20px}#soliloquy-uploader #plupload-upload-ui .drag-drop-inside p.drag-drop-buttons{margin-top:10px;text-align:center}#soliloquy-uploader #plupload-upload-ui a.soliloquy-media-library.button{left:0;right:0;width:235px;top:145px}}@media screen and (max-width: 768px){.media-sidebar{display:none}#soliloquy-slider-settings #soliloquy-settings-content{margin:0 0 0 50px;padding:20px}#soliloquy-slider-settings #soliloquy-settings-tabs{width:50px;margin:0;padding:0;border-right:1px solid #ddd}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a{width:30px;margin:0 10px;padding:10px 0}#soliloquy-slider-settings #soliloquy-settings-tabs .soliloquy-setting-tab a span{display:none}}@media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi){a.check .media-modal-icon{background-image:url("../../../../../wp-includes/images/uploader-icons-2x.png") !important;-webkit-background-size:134px 15px;background-size:134px 15px}}
assets/css/overview.css CHANGED
@@ -1,371 +1,4 @@
1
- @font-face {
2
- font-family: 'soliloquy';
3
- src: url("../fonts/soliloquy.eot");
4
- src: url("../fonts/soliloquy.eot?#iefix") format("embedded-opentype"), url("../fonts/soliloquy.woff") format("woff"), url("../fonts/soliloquy.ttf") format("truetype"), url("../fonts/soliloquy.svg#soliloquy") format("svg");
5
- font-weight: normal;
6
- font-style: normal; }
7
- [class*='soliloquy-icon-']:before {
8
- display: inline-block;
9
- font-family: 'soliloquy';
10
- font-style: normal;
11
- font-weight: normal;
12
- font-size: 13px;
13
- line-height: 1.5;
14
- margin-right: 8px;
15
- -webkit-font-smoothing: antialiased;
16
- -moz-osx-font-smoothing: grayscale; }
17
-
18
- .soliloquy-icon-configuration:before {
19
- content: '\0041'; }
20
-
21
- .soliloquy-icon-soliloquy:before {
22
- content: '\0042'; }
23
-
24
- .soliloquy-icon-pinterest:before {
25
- content: '\0043'; }
26
-
27
- .soliloquy-icon-lightbox:before {
28
- content: '\0044'; }
29
-
30
- .soliloquy-icon-misc:before {
31
- content: '\0045'; }
32
-
33
- .soliloquy-icon-mobile:before {
34
- content: '\0046'; }
35
-
36
- .soliloquy-icon-pagination:before {
37
- content: '\0047'; }
38
-
39
- .soliloquy-icon-proofing:before {
40
- content: '\0048'; }
41
-
42
- .soliloquy-icon-slideshow:before {
43
- content: '\0049'; }
44
-
45
- .soliloquy-icon-tags:before {
46
- content: '\004a'; }
47
-
48
- .soliloquy-icon-thumbnails:before {
49
- content: '\004b'; }
50
-
51
- .soliloquy-icon-video:before {
52
- content: '\004c'; }
53
-
54
- .soliloquy-icon-watermark:before {
55
- content: '\004d'; }
56
-
57
- .soliloquy-icon-cloud-download:before {
58
- content: '\004e'; }
59
-
60
- .soliloquy-icon-toggle-on:before {
61
- content: '\004f'; }
62
-
63
- .soliloquy-icon-plus-circle:before {
64
- content: '\0050'; }
65
-
66
- .soliloquy-icon-list:before {
67
- content: '\0052'; }
68
-
69
- .soliloquy-icon-grid:before {
70
- content: '\0053'; }
71
-
72
- .soliloquy-icon-pencil:before {
73
- content: '\0055'; }
74
-
75
- .soliloquy-icon-close:before {
76
- content: '\0056'; }
77
-
78
- .soliloquy-icon-check:before {
79
- content: '\0057'; }
80
-
81
- .soliloquy-icon-schedule:before {
82
- content: '\0058'; }
83
-
84
- .soliloquy-icon-carousel:before {
85
- content: '\0059'; }
86
-
87
- #soliloquy-header {
88
- background-color: #ff3700;
89
- height: 120px;
90
- margin-left: -20px; }
91
- #soliloquy-header #soliloquy-logo {
92
- margin: 0;
93
- padding-top: 25px;
94
- line-height: 120px;
95
- margin-left: 20px; }
96
- #soliloquy-header #soliloquy-logo img {
97
- max-width: 288px; }
98
-
99
- .wp-core-ui .button-soliloquy {
100
- background: #ff3700;
101
- border-color: #ff3700;
102
- -webkit-box-shadow: none;
103
- box-shadow: none;
104
- color: white;
105
- text-decoration: none;
106
- font-weight: 500;
107
- text-shadow: none;
108
- line-height: 15px;
109
- height: 35px;
110
- font-size: 13px;
111
- padding: 0 20px 1px; }
112
- .wp-core-ui .button-soliloquy:hover {
113
- background: #ff3700;
114
- border-color: #ff3700;
115
- color: white;
116
- opacity: .8; }
117
- .wp-core-ui .button-soliloquy-secondary {
118
- background: #f7f7f7;
119
- border: 1px solid;
120
- border-color: #dddddd;
121
- -webkit-box-shadow: none;
122
- box-shadow: none;
123
- color: #23282d;
124
- text-decoration: none;
125
- text-shadow: none;
126
- font-weight: bold;
127
- height: 35px;
128
- font-size: 13px;
129
- padding: 0 20px 1px; }
130
- .wp-core-ui .button-soliloquy-secondary:hover {
131
- background: #f7f7f7;
132
- border-color: #999999;
133
- color: #23282d; }
134
- .wp-core-ui .button-soliloquy-delete {
135
- background: #e3231b;
136
- border: 1px solid;
137
- border-color: #e3231b;
138
- -webkit-box-shadow: none;
139
- box-shadow: none;
140
- color: white;
141
- text-decoration: none;
142
- text-shadow: none;
143
- font-weight: bold;
144
- height: 35px;
145
- font-size: 13px;
146
- padding: 0 20px 1px; }
147
- .wp-core-ui .button-soliloquy-delete:hover {
148
- background: #e3231b;
149
- color: white;
150
- opacity: .8; }
151
- .wp-core-ui a.button-soliloquy,
152
- .wp-core-ui a.button-soliloquy-secondary,
153
- .wp-core-ui a.button-soliloquy-delete {
154
- line-height: 32px; }
155
-
156
- #soliloquy-settings-content input:not([type=checkbox]) {
157
- background-color: white;
158
- border: 1px solid #ddd;
159
- -webkit-box-shadow: none;
160
- box-shadow: none;
161
- color: #32373c;
162
- height: 35px;
163
- outline: none;
164
- -webkit-transition: 0.05s border-color ease-in-out;
165
- transition: 0.05s border-color ease-in-out; }
166
- #soliloquy-settings-content input[type=checkbox]:checked {
167
- -color: #ff3700; }
168
- #soliloquy-settings-content textarea {
169
- width: 100%; }
170
- #soliloquy-settings-content input[type="password"].soliloquy-input {
171
- background-color: white;
172
- border: 1px solid #ddd;
173
- -webkit-box-shadow: none;
174
- box-shadow: none;
175
- color: #32373c;
176
- outline: none;
177
- -webkit-transition: 0.05s border-color ease-in-out;
178
- transition: 0.05s border-color ease-in-out; }
179
-
180
- input[type="password"].soliloquy-input {
181
- background-color: white;
182
- border: 1px solid #ddd;
183
- -webkit-box-shadow: none;
184
- box-shadow: none;
185
- height: 35px;
186
- color: #32373c;
187
- outline: none;
188
- -webkit-transition: 0.05s border-color ease-in-out;
189
- transition: 0.05s border-color ease-in-out; }
190
-
191
- pre.soliloquy-code {
192
- background-color: #dddddd;
193
- border-radius: 3px;
194
- padding: 15px; }
195
-
196
- .soliloquy-clipboard {
197
- display: block;
198
- text-decoration: underline !important;
199
- padding-top: 8px;
200
- font-size: 11px;
201
- outline: 0 !important; }
202
- .soliloquy-clipboard:focus {
203
- outline-style: none;
204
- box-shadow: none;
205
- border-color: transparent; }
206
-
207
- .soliloquy-code {
208
- display: block;
209
- background-color: #f7f7f7;
210
- border-radius: 3px;
211
- padding: 10px !important; }
212
-
213
- /* ==========================================================================
214
- Utilities
215
- ========================================================================== */
216
- .soliloquy-list-inline {
217
- margin: 0;
218
- list-style: none; }
219
- .soliloquy-list-inline li {
220
- display: inline-block;
221
- margin-right: 5px; }
222
- .soliloquy-list-inline li:last-child {
223
- margin-right: 0 !important; }
224
-
225
- .soliloquy-yt iframe {
226
- max-width: 100%;
227
- height: auto; }
228
-
229
- .soliloquy-hidden {
230
- display: none !important; }
231
-
232
- .soliloquy-hideme {
233
- visibility: hidden; }
234
-
235
- .soliloquy-no-border {
236
- border: none !important; }
237
-
238
- .soliloquy-right {
239
- float: right; }
240
-
241
- .soliloquy-left {
242
- float: left; }
243
-
244
- .soliloquy-clearfix {
245
- clear: both;
246
- display: block;
247
- height: 0;
248
- overflow: hidden;
249
- visibility: hidden;
250
- width: 0; }
251
-
252
- .no-margin {
253
- margin: 0 !important; }
254
-
255
- .no-margin-top {
256
- margin-top: 0 !important; }
257
-
258
- .no-margin-bottom {
259
- margin-bottom: 0 !important; }
260
-
261
- /* Add this attribute to the element that needs a tooltip */
262
- [data-soliloquy-tooltip] {
263
- position: relative;
264
- z-index: 2;
265
- cursor: pointer; }
266
-
267
- /* Hide the tooltip content by default */
268
- [data-soliloquy-tooltip]:before,
269
- [data-soliloquy-tooltip]:after {
270
- visibility: hidden;
271
- opacity: 0;
272
- pointer-events: none; }
273
-
274
- /* Position tooltip above the element */
275
- [data-soliloquy-tooltip]:before {
276
- position: absolute;
277
- bottom: 120%;
278
- left: 50%;
279
- margin-bottom: 5px;
280
- margin-left: -35px;
281
- padding: 7px;
282
- width: 60px;
283
- -webkit-border-radius: 3px;
284
- -moz-border-radius: 3px;
285
- border-radius: 3px;
286
- background-color: #000;
287
- color: #fff;
288
- content: attr(data-soliloquy-tooltip);
289
- text-align: center;
290
- font-size: 12px;
291
- line-height: 1.2; }
292
-
293
- /* Triangle hack to make tooltip look like a speech bubble */
294
- [data-soliloquy-tooltip]:after {
295
- position: absolute;
296
- bottom: 120%;
297
- left: 50%;
298
- width: 0;
299
- margin-left: -5px;
300
- border-top: 5px solid #000;
301
- border-right: 5px solid transparent;
302
- border-left: 5px solid transparent;
303
- content: " ";
304
- font-size: 0;
305
- line-height: 0; }
306
-
307
- /* Show tooltip content on hover */
308
- [data-soliloquy-tooltip]:hover:before,
309
- [data-soliloquy-tooltip]:hover:after {
310
- visibility: visible;
311
- opacity: 1; }
312
-
313
- .soliloquy-alert {
314
- position: relative;
315
- margin: 0 0 20px 0;
316
- padding: 20px;
317
- -webkit-border-radius: 2px;
318
- -moz-border-radius: 2px;
319
- -o-border-radius: 2px;
320
- border-radius: 2px;
321
- background: #fcf8e3; }
322
-
323
- [class*=soliloquy-grid-] {
324
- float: left;
325
- margin-left: 2%; }
326
- [class*=soliloquy-grid-] input[type=text] {
327
- width: 100% !important; }
328
-
329
- .soliloquy-grid-1 {
330
- width: 6.5%; }
331
-
332
- .soliloquy-grid-2 {
333
- width: 15%; }
334
-
335
- .soliloquy-grid-3 {
336
- width: 23.5%; }
337
-
338
- .soliloquy-grid-4 {
339
- width: 32%; }
340
-
341
- .soliloquy-grid-5 {
342
- width: 40.5%; }
343
-
344
- .soliloquy-grid-6 {
345
- width: 49%; }
346
-
347
- .soliloquy-grid-7 {
348
- width: 57.5%; }
349
-
350
- .soliloquy-grid-8 {
351
- width: 66%; }
352
-
353
- .soliloquy-grid-9 {
354
- width: 74.5%; }
355
-
356
- .soliloquy-grid-10 {
357
- width: 83%; }
358
-
359
- .soliloquy-grid-11 {
360
- width: 91.5%; }
361
-
362
- .soliloquy-grid-12 {
363
- width: 100%; }
364
-
365
- .soliloquy-first {
366
- margin-left: 0px; }
367
-
368
- /*!
369
  Chosen, a Select Box Enhancer for jQuery and Prototype
370
  by Patrick Filler for Harvest, http://getharvest.com
371
 
@@ -375,476 +8,4 @@ Copyright (c) 2011-2016 Harvest http://getharvest.com
375
 
376
  MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
377
  This file is generated by `grunt build`, do not edit it by hand.
378
- */
379
- .soliloquy-select {
380
- /* @group Base */
381
- /* @end */
382
- /* @group Single Chosen */
383
- /* @end */
384
- /* @group Results */
385
- /* @end */
386
- /* @group Multi Chosen */
387
- /* @end */
388
- /* @group Active */
389
- /* @end */
390
- /* @group Disabled Support */
391
- /* @end */
392
- /* @group Right to Left */
393
- /* @end */
394
- /* @group Retina compatibility */
395
- /* @end */ }
396
- .soliloquy-select * {
397
- box-shadow: none !important;
398
- background-image: none !important; }
399
- .soliloquy-select *:after {
400
- background-image: none !important; }
401
- .soliloquy-select .soliloquy-chosen {
402
- height: 35px;
403
- max-width: 350px;
404
- width: 100%; }
405
- .soliloquy-select .chosen-container {
406
- position: relative;
407
- display: inline-block;
408
- vertical-align: middle;
409
- font-size: 13px;
410
- -webkit-user-select: none;
411
- -moz-user-select: none;
412
- user-select: none;
413
- max-width: 350px;
414
- font-weight: 600; }
415
- .soliloquy-select .chosen-container * {
416
- -webkit-box-sizing: border-box;
417
- -moz-box-sizing: border-box;
418
- box-sizing: border-box; }
419
- .soliloquy-select .chosen-container .chosen-drop {
420
- position: absolute;
421
- top: 100%;
422
- left: -9999px;
423
- z-index: 1010;
424
- width: 100%;
425
- border: 1px solid #dddddd;
426
- border-top: 0;
427
- background: white; }
428
- .soliloquy-select .chosen-container.chosen-with-drop .chosen-drop {
429
- left: 0; }
430
- .soliloquy-select .chosen-container a {
431
- cursor: pointer; }
432
- .soliloquy-select .chosen-container .search-choice .group-name, .soliloquy-select .chosen-container .chosen-single .group-name {
433
- margin-right: 4px;
434
- overflow: hidden;
435
- white-space: nowrap;
436
- text-overflow: ellipsis;
437
- font-weight: normal;
438
- color: #999999; }
439
- .soliloquy-select .chosen-container .search-choice .group-name:after, .soliloquy-select .chosen-container .chosen-single .group-name:after {
440
- content: ":";
441
- padding-left: 2px;
442
- vertical-align: top; }
443
- .soliloquy-select .chosen-container-single .chosen-single {
444
- position: relative;
445
- display: block;
446
- overflow: hidden;
447
- padding: 0 0 0 8px;
448
- height: 35px;
449
- border: 1px solid #dddddd;
450
- border-radius: 3px;
451
- background: white;
452
- background-clip: padding-box;
453
- color: #444;
454
- text-decoration: none;
455
- white-space: nowrap;
456
- line-height: 35px; }
457
- .soliloquy-select .chosen-container-single .chosen-default {
458
- color: #999; }
459
- .soliloquy-select .chosen-container-single .chosen-single span {
460
- display: block;
461
- overflow: hidden;
462
- margin-right: 26px;
463
- text-overflow: ellipsis;
464
- white-space: nowrap; }
465
- .soliloquy-select .chosen-container-single .chosen-single-with-deselect span {
466
- margin-right: 38px; }
467
- .soliloquy-select .chosen-container-single .chosen-single abbr {
468
- position: absolute;
469
- top: 6px;
470
- right: 26px;
471
- display: block;
472
- width: 12px;
473
- height: 12px;
474
- font-size: 1px; }
475
- .soliloquy-select .chosen-container-single .chosen-single abbr:hover {
476
- background-position: -42px -10px; }
477
- .soliloquy-select .chosen-container-single.chosen-disabled .chosen-single abbr:hover {
478
- background-position: -42px -10px; }
479
- .soliloquy-select .chosen-container-single .chosen-single div {
480
- border-left: 1px solid #dddddd;
481
- position: absolute;
482
- top: 0;
483
- right: 0;
484
- display: block;
485
- width: 30px;
486
- height: 100%;
487
- padding-left: 9px; }
488
- .soliloquy-select .chosen-container-single .chosen-single div b {
489
- display: block;
490
- width: 100%;
491
- height: 100%;
492
- line-height: 35px; }
493
- .soliloquy-select .chosen-container-single .chosen-single div b:before {
494
- content: "\0051";
495
- display: block;
496
- font-weight: normal;
497
- font-size: 8px !important;
498
- font-family: 'soliloquy';
499
- position: absolute;
500
- text-align: center; }
501
- .soliloquy-select .chosen-container-single .chosen-search {
502
- position: relative;
503
- z-index: 1010;
504
- margin: 0;
505
- padding: 3px 4px;
506
- white-space: nowrap; }
507
- .soliloquy-select .chosen-container-single .chosen-search input[type="text"] {
508
- margin: 1px 0;
509
- padding: 4px 20px 4px 5px;
510
- width: 100%;
511
- height: auto;
512
- outline: 0;
513
- border: 1px solid #dddddd;
514
- background: white url("chosen-sprite.png") no-repeat 100% -20px;
515
- background: url("chosen-sprite.png") no-repeat 100% -20px;
516
- font-size: 1em;
517
- font-family: sans-serif;
518
- line-height: normal;
519
- border-radius: 0; }
520
- .soliloquy-select .chosen-container-single .chosen-drop {
521
- margin-top: -1px;
522
- border-radius: 0 0 2px 2px;
523
- background-clip: padding-box; }
524
- .soliloquy-select .chosen-container-single.chosen-container-single-nosearch .chosen-search {
525
- position: absolute;
526
- left: -9999px; }
527
- .soliloquy-select .chosen-container .chosen-results {
528
- color: #444;
529
- position: relative;
530
- overflow-x: hidden;
531
- overflow-y: auto;
532
- margin: 0 4px 4px 0;
533
- padding: 0 0 0 4px;
534
- max-height: 240px;
535
- -webkit-overflow-scrolling: touch; }
536
- .soliloquy-select .chosen-container .chosen-results li {
537
- display: none;
538
- margin: 0;
539
- padding: 5px 6px;
540
- list-style: none;
541
- line-height: 15px;
542
- word-wrap: break-word;
543
- -webkit-touch-callout: none; }
544
- .soliloquy-select .chosen-container .chosen-results li.active-result {
545
- display: list-item;
546
- cursor: pointer; }
547
- .soliloquy-select .chosen-container .chosen-results li.disabled-result {
548
- display: list-item;
549
- color: #ccc;
550
- cursor: default; }
551
- .soliloquy-select .chosen-container .chosen-results li.highlighted {
552
- background: #ff3700;
553
- color: white; }
554
- .soliloquy-select .chosen-container .chosen-results li.no-results {
555
- color: #777;
556
- display: list-item;
557
- background: #f4f4f4; }
558
- .soliloquy-select .chosen-container .chosen-results li.group-result {
559
- display: list-item;
560
- font-weight: bold;
561
- cursor: default; }
562
- .soliloquy-select .chosen-container .chosen-results li.group-option {
563
- padding-left: 15px; }
564
- .soliloquy-select .chosen-container .chosen-results li em {
565
- font-style: normal;
566
- text-decoration: underline; }
567
- .soliloquy-select .chosen-container-multi .chosen-choices {
568
- position: relative;
569
- overflow: hidden;
570
- margin: 0;
571
- padding: 0 5px;
572
- width: 100%;
573
- height: auto !important;
574
- height: 1%;
575
- border: 1px solid #dddddd;
576
- background: white;
577
- cursor: text; }
578
- .soliloquy-select .chosen-container-multi .chosen-choices li {
579
- float: left;
580
- list-style: none; }
581
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-field {
582
- margin: 0;
583
- padding: 0;
584
- white-space: nowrap; }
585
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-field input[type="text"] {
586
- margin: 1px 0;
587
- padding: 0;
588
- height: 25px;
589
- outline: 0;
590
- border: 0 !important;
591
- background: transparent !important;
592
- box-shadow: none;
593
- color: #999;
594
- font-size: 100%;
595
- font-family: sans-serif;
596
- line-height: normal;
597
- border-radius: 0; }
598
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice {
599
- position: relative;
600
- margin: 3px 5px 3px 0;
601
- padding: 3px 20px 3px 5px;
602
- border: 1px solid #dddddd;
603
- max-width: 100%;
604
- border-radius: 2px;
605
- background: white;
606
- background-size: 100% 19px;
607
- background-repeat: repeat-x;
608
- background-clip: padding-box;
609
- box-shadow: 0 0 2px white inset, 0 1px 0 rgba(0, 0, 0, 0.05);
610
- color: #333;
611
- line-height: 13px;
612
- cursor: default; }
613
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice span {
614
- word-wrap: break-word; }
615
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close {
616
- position: absolute;
617
- top: 4px;
618
- right: 3px;
619
- display: block;
620
- width: 12px;
621
- height: 12px;
622
- background: url("chosen-sprite.png") -42px 1px no-repeat;
623
- font-size: 1px; }
624
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover {
625
- background-position: -42px -10px; }
626
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-disabled {
627
- padding-right: 5px;
628
- border: 1px solid #dddddd;
629
- background: #e4e4e4;
630
- color: #666; }
631
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus {
632
- background: #d4d4d4; }
633
- .soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close {
634
- background-position: -42px -10px; }
635
- .soliloquy-select .chosen-container-multi .chosen-results {
636
- margin: 0;
637
- padding: 0; }
638
- .soliloquy-select .chosen-container-multi .chosen-drop .result-selected {
639
- display: list-item;
640
- color: #ccc;
641
- cursor: default; }
642
- .soliloquy-select .chosen-container-active .chosen-single {
643
- border: 1px solid #dddddd; }
644
- .soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single {
645
- border: 1px solid #dddddd;
646
- -moz-border-radius-bottomright: 0;
647
- border-bottom-right-radius: 0;
648
- -moz-border-radius-bottomleft: 0;
649
- border-bottom-left-radius: 0;
650
- background: white; }
651
- .soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div {
652
- border-left: 1px solid transparent;
653
- background: transparent; }
654
- .soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div b {
655
- background-position: -18px 2px; }
656
- .soliloquy-select .chosen-container-active .chosen-choices {
657
- border: 1px solid #5897fb;
658
- box-shadow: 0 0 5px rgba(0, 0, 0, 0.3); }
659
- .soliloquy-select .chosen-container-active .chosen-choices li.search-field input[type="text"] {
660
- color: #222 !important; }
661
- .soliloquy-select .chosen-disabled {
662
- opacity: 0.5 !important;
663
- cursor: default; }
664
- .soliloquy-select .chosen-disabled .chosen-single {
665
- cursor: default; }
666
- .soliloquy-select .chosen-disabled .chosen-choices .search-choice .search-choice-close {
667
- cursor: default; }
668
- .soliloquy-select .chosen-rtl {
669
- text-align: right; }
670
- .soliloquy-select .chosen-rtl .chosen-single {
671
- overflow: visible;
672
- padding: 0 8px 0 0; }
673
- .soliloquy-select .chosen-rtl .chosen-single span {
674
- margin-right: 0;
675
- margin-left: 26px;
676
- direction: rtl; }
677
- .soliloquy-select .chosen-rtl .chosen-single-with-deselect span {
678
- margin-left: 38px; }
679
- .soliloquy-select .chosen-rtl .chosen-single div {
680
- right: auto;
681
- left: 3px; }
682
- .soliloquy-select .chosen-rtl .chosen-single abbr {
683
- right: auto;
684
- left: 26px; }
685
- .soliloquy-select .chosen-rtl .chosen-choices li {
686
- float: right; }
687
- .soliloquy-select .chosen-rtl .chosen-choices li.search-field input[type="text"] {
688
- direction: rtl; }
689
- .soliloquy-select .chosen-rtl .chosen-choices li.search-choice {
690
- margin: 3px 5px 3px 0;
691
- padding: 3px 5px 3px 19px; }
692
- .soliloquy-select .chosen-rtl .chosen-choices li.search-choice .search-choice-close {
693
- right: auto;
694
- left: 4px; }
695
- .soliloquy-select .chosen-rtl.chosen-container-single-nosearch .chosen-search,
696
- .soliloquy-select .chosen-rtl .chosen-drop {
697
- left: 9999px; }
698
- .soliloquy-select .chosen-rtl.chosen-container-single .chosen-results {
699
- margin: 0 0 4px 4px;
700
- padding: 0 4px 0 0; }
701
- .soliloquy-select .chosen-rtl .chosen-results li.group-option {
702
- padding-right: 15px;
703
- padding-left: 0; }
704
- .soliloquy-select .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div {
705
- border-right: none; }
706
- .soliloquy-select .chosen-rtl .chosen-search input[type="text"] {
707
- padding: 4px 5px 4px 20px;
708
- background: white url("chosen-sprite.png") no-repeat -30px -20px;
709
- background: url("chosen-sprite.png") no-repeat -30px -20px;
710
- direction: rtl; }
711
- .soliloquy-select .chosen-rtl.chosen-container-single .chosen-single div b {
712
- background-position: 6px 2px; }
713
- .soliloquy-select .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b {
714
- background-position: -12px 2px; }
715
- @media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx) {
716
- .soliloquy-select .chosen-rtl .chosen-search input[type="text"],
717
- .soliloquy-select .chosen-container-single .chosen-single abbr,
718
- .soliloquy-select .chosen-container-single .chosen-search input[type="text"],
719
- .soliloquy-select .chosen-container-multi .chosen-choices .search-choice .search-choice-close,
720
- .soliloquy-select .chosen-container .chosen-results-scroll-down span,
721
- .soliloquy-select .chosen-container .chosen-results-scroll-up span {
722
- background-image: none !important;
723
- background-size: 52px 37px !important;
724
- background-repeat: no-repeat !important; } }
725
- .soliloquy-select select.soliloquy-chosen + .chosen-container.chosen-container-single .chosen-single {
726
- padding-right: 35px; }
727
-
728
- /* ==========================================================================
729
- Metabox Styles
730
- ========================================================================== */
731
- .post-type-soliloquy {
732
- /* ==========================================================================
733
- Post Filters
734
- ========================================================================== */
735
- /* ==========================================================================
736
- Post Table Form
737
- ========================================================================== */
738
- /* ==========================================================================
739
- Quick Edit
740
- ========================================================================== */ }
741
- .post-type-soliloquy h1 {
742
- margin: 0;
743
- padding-left: 20px;
744
- line-height: 45px;
745
- font-size: 20px;
746
- font-weight: 400;
747
- background-color: white;
748
- height: 45px;
749
- margin-left: -20px;
750
- margin-right: -20px;
751
- margin-bottom: 20px; }
752
- .post-type-soliloquy h1 .page-title-action {
753
- margin-left: 4px;
754
- padding: 4px 8px;
755
- position: relative;
756
- top: -3px;
757
- text-decoration: none;
758
- border: none;
759
- color: #ff3700;
760
- border-radius: 0;
761
- background: none;
762
- text-shadow: none;
763
- font-weight: 600;
764
- font-size: 13px; }
765
- .post-type-soliloquy h1 .page-title-action:hover {
766
- background: none;
767
- color: #999999; }
768
- .post-type-soliloquy h1 .page-title-action:before {
769
- display: inline-block;
770
- font-family: 'soliloquy';
771
- content: '\0050';
772
- margin-top: -3px;
773
- margin-right: 8px;
774
- vertical-align: middle; }
775
- .post-type-soliloquy .wrap {
776
- margin-top: 0px !important; }
777
- .post-type-soliloquy input[type=checkbox] {
778
- background-color: white;
779
- border: 1px solid #dddddd;
780
- box-shadow: none;
781
- margin-right: 10px; }
782
- .post-type-soliloquy input[type=checkbox]:checked {
783
- background-color: #72b63d;
784
- border-color: #72b63d; }
785
- .post-type-soliloquy input[type=checkbox]:checked:before {
786
- color: white !important; }
787
- .post-type-soliloquy ul.subsubsub {
788
- /**
789
- * Re-establish the left and right margins, so there's spacing between the Admin Menu
790
- * and the content
791
- */
792
- margin: 0 0 20px 0;
793
- padding-left: 0px; }
794
- .post-type-soliloquy .column-image {
795
- width: 85px !important; }
796
- .post-type-soliloquy form#posts-filter {
797
- /**
798
- * Table Navigation (Bulk Actions, Dates, SEO Score dropdowns etc)
799
- */
800
- /**
801
- * Reduce our global custom button sizes so they align with inputs
802
- */ }
803
- .post-type-soliloquy form#posts-filter div.tablenav.top {
804
- margin: 0 0 8px 0; }
805
- .post-type-soliloquy form#posts-filter .button {
806
- height: 28px;
807
- line-height: 26px; }
808
- .post-type-soliloquy #wpbody-content .inline-edit-row fieldset input[type="text"],
809
- .post-type-soliloquy #wpbody-content .inline-edit-row fieldset input[type="number"],
810
- .post-type-soliloquy #wpbody-content .inline-edit-row fieldset input[type="password"] {
811
- background-color: white;
812
- border: 1px solid #ddd;
813
- -webkit-box-shadow: none;
814
- box-shadow: none;
815
- color: #32373c;
816
- height: 35px;
817
- outline: none;
818
- -webkit-transition: 0.05s border-color ease-in-out;
819
- transition: 0.05s border-color ease-in-out;
820
- min-width: 210px;
821
- max-width: 350px;
822
- width: 100%;
823
- border-radius: 3px;
824
- padding-right: 0; }
825
- .post-type-soliloquy #wpbody-content .inline-edit-row fieldset select {
826
- min-width: 275px; }
827
- .post-type-soliloquy #wpbody-content .inline-edit-row fieldset span.title {
828
- font-style: normal;
829
- font-weight: 600;
830
- font-size: 13px;
831
- min-width: 140px; }
832
- .post-type-soliloquy #wpbody-content td.colspanchange {
833
- /**
834
- * Left Col (Title, Slug, Date, Password)
835
- */ }
836
- .post-type-soliloquy #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-date {
837
- display: none; }
838
- .post-type-soliloquy #wpbody-content td.colspanchange fieldset.inline-edit-col-left div.inline-edit-group:last-child {
839
- display: none; }
840
-
841
- /* ==========================================================================
842
- Responsive
843
- ========================================================================== */
844
- tr.type-soliloquy th {
845
- padding: 20px inherit !important; }
846
- tr.type-soliloquy td {
847
- padding: 20px inherit; }
848
-
849
- .soliloquy-count {
850
- display: none; }
1
+ @font-face{font-family:'soliloquy';src:url("../fonts/soliloquy.eot");src:url("../fonts/soliloquy.eot?#iefix") format("embedded-opentype"),url("../fonts/soliloquy.woff") format("woff"),url("../fonts/soliloquy.ttf") format("truetype"),url("../fonts/soliloquy.svg#soliloquy") format("svg");font-weight:normal;font-style:normal}[class*='soliloquy-icon-']:before{display:inline-block;font-family:'soliloquy';font-style:normal;font-weight:normal;font-size:13px;line-height:1.5;margin-right:8px;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.soliloquy-icon-configuration:before{content:'\0041'}.soliloquy-icon-soliloquy:before{content:'\0042'}.soliloquy-icon-pinterest:before{content:'\0043'}.soliloquy-icon-lightbox:before{content:'\0044'}.soliloquy-icon-misc:before{content:'\0045'}.soliloquy-icon-mobile:before{content:'\0046'}.soliloquy-icon-pagination:before{content:'\0047'}.soliloquy-icon-proofing:before{content:'\0048'}.soliloquy-icon-slideshow:before{content:'\0049'}.soliloquy-icon-tags:before{content:'\004a'}.soliloquy-icon-thumbnails:before{content:'\004b'}.soliloquy-icon-video:before{content:'\004c'}.soliloquy-icon-watermark:before{content:'\004d'}.soliloquy-icon-cloud-download:before{content:'\004e'}.soliloquy-icon-toggle-on:before{content:'\004f'}.soliloquy-icon-plus-circle:before{content:'\0050'}.soliloquy-icon-list:before{content:'\0052'}.soliloquy-icon-grid:before{content:'\0053'}.soliloquy-icon-pencil:before{content:'\0055'}.soliloquy-icon-close:before{content:'\0056'}.soliloquy-icon-check:before{content:'\0057'}.soliloquy-icon-schedule:before{content:'\0058'}.soliloquy-icon-carousel:before{content:'\0059'}#soliloquy-header{background-color:#ff3700;height:120px;margin-left:-20px}#soliloquy-header #soliloquy-logo{margin:0;padding-top:25px;line-height:120px;margin-left:20px}#soliloquy-header #soliloquy-logo img{max-width:288px}.wp-core-ui .button-soliloquy{background:#ff3700;border-color:#ff3700;-webkit-box-shadow:none;box-shadow:none;color:#fff;text-decoration:none;font-weight:500;text-shadow:none;line-height:15px;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy:hover{background:#ff3700;border-color:#ff3700;color:#fff;opacity:.8}.wp-core-ui .button-soliloquy-secondary{background:#f7f7f7;border:1px solid;border-color:#ddd;-webkit-box-shadow:none;box-shadow:none;color:#23282d;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy-secondary:hover{background:#f7f7f7;border-color:#999;color:#23282d}.wp-core-ui .button-soliloquy-delete{background:#e3231b;border:1px solid;border-color:#e3231b;-webkit-box-shadow:none;box-shadow:none;color:#fff;text-decoration:none;text-shadow:none;font-weight:bold;height:35px;font-size:13px;padding:0 20px 1px}.wp-core-ui .button-soliloquy-delete:hover{background:#e3231b;color:#fff;opacity:.8}.wp-core-ui a.button-soliloquy,.wp-core-ui a.button-soliloquy-secondary,.wp-core-ui a.button-soliloquy-delete{line-height:32px}#soliloquy-settings-content input:not([type=checkbox]){background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;height:35px;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}#soliloquy-settings-content input[type=checkbox]:checked{-color:#ff3700}#soliloquy-settings-content textarea{width:100%}#soliloquy-settings-content input[type="password"].soliloquy-input{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}input[type="password"].soliloquy-input{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;height:35px;color:#32373c;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out}pre.soliloquy-code{background-color:#ddd;border-radius:3px;padding:15px}.soliloquy-clipboard{display:block;text-decoration:underline !important;padding-top:8px;font-size:11px;outline:0 !important}.soliloquy-clipboard:focus{outline-style:none;box-shadow:none;border-color:transparent}.soliloquy-code{display:block;background-color:#f7f7f7;border-radius:3px;padding:10px !important}.soliloquy-list-inline{margin:0;list-style:none}.soliloquy-list-inline li{display:inline-block;margin-right:5px}.soliloquy-list-inline li:last-child{margin-right:0 !important}.soliloquy-yt iframe{max-width:100%;height:auto}.soliloquy-hidden{display:none !important}.soliloquy-hideme{visibility:hidden}.soliloquy-no-border{border:none !important}.soliloquy-right{float:right}.soliloquy-left{float:left}.soliloquy-clearfix{clear:both;display:block;height:0;overflow:hidden;visibility:hidden;width:0}.no-margin{margin:0 !important}.no-margin-top{margin-top:0 !important}.no-margin-bottom{margin-bottom:0 !important}[data-soliloquy-tooltip]{position:relative;z-index:2;cursor:pointer}[data-soliloquy-tooltip]:before,[data-soliloquy-tooltip]:after{visibility:hidden;opacity:0;pointer-events:none}[data-soliloquy-tooltip]:before{position:absolute;bottom:120%;left:50%;margin-bottom:5px;margin-left:-35px;padding:7px;width:60px;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;background-color:#000;color:#fff;content:attr(data-soliloquy-tooltip);text-align:center;font-size:12px;line-height:1.2}[data-soliloquy-tooltip]:after{position:absolute;bottom:120%;left:50%;width:0;margin-left:-5px;border-top:5px solid #000;border-right:5px solid transparent;border-left:5px solid transparent;content:" ";font-size:0;line-height:0}[data-soliloquy-tooltip]:hover:before,[data-soliloquy-tooltip]:hover:after{visibility:visible;opacity:1}[class*=soliloquy-grid-]{float:left;margin-left:2%}[class*=soliloquy-grid-] input[type=text]{width:100% !important}.soliloquy-grid-1{width:6.5%}.soliloquy-grid-2{width:15%}.soliloquy-grid-3{width:23.5%}.soliloquy-grid-4{width:32%}.soliloquy-grid-5{width:40.5%}.soliloquy-grid-6{width:49%}.soliloquy-grid-7{width:57.5%}.soliloquy-grid-8{width:66%}.soliloquy-grid-9{width:74.5%}.soliloquy-grid-10{width:83%}.soliloquy-grid-11{width:91.5%}.soliloquy-grid-12{width:100%}.soliloquy-first{margin-left:0px}/*!
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
2
  Chosen, a Select Box Enhancer for jQuery and Prototype
3
  by Patrick Filler for Harvest, http://getharvest.com
4
 
8
 
9
  MIT License, https://github.com/harvesthq/chosen/blob/master/LICENSE.md
10
  This file is generated by `grunt build`, do not edit it by hand.
11
+ */.soliloquy-select *{box-shadow:none !important;background-image:none !important}.soliloquy-select *:after{background-image:none !important}.soliloquy-select .soliloquy-chosen{height:35px;max-width:350px;width:100%}.soliloquy-select .chosen-container{position:relative;display:inline-block;vertical-align:middle;font-size:13px;-webkit-user-select:none;-moz-user-select:none;user-select:none;max-width:350px;font-weight:600}.soliloquy-select .chosen-container *{-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.soliloquy-select .chosen-container .chosen-drop{position:absolute;top:100%;left:-9999px;z-index:1010;width:100%;border:1px solid #ddd;border-top:0;background:#fff}.soliloquy-select .chosen-container.chosen-with-drop .chosen-drop{left:0}.soliloquy-select .chosen-container a{cursor:pointer}.soliloquy-select .chosen-container .search-choice .group-name,.soliloquy-select .chosen-container .chosen-single .group-name{margin-right:4px;overflow:hidden;white-space:nowrap;text-overflow:ellipsis;font-weight:normal;color:#999999}.soliloquy-select .chosen-container .search-choice .group-name:after,.soliloquy-select .chosen-container .chosen-single .group-name:after{content:":";padding-left:2px;vertical-align:top}.soliloquy-select .chosen-container-single .chosen-single{position:relative;display:block;overflow:hidden;padding:0 0 0 8px;height:35px;border:1px solid #ddd;border-radius:3px;background:#fff;background-clip:padding-box;color:#444;text-decoration:none;white-space:nowrap;line-height:35px}.soliloquy-select .chosen-container-single .chosen-default{color:#999}.soliloquy-select .chosen-container-single .chosen-single span{display:block;overflow:hidden;margin-right:26px;text-overflow:ellipsis;white-space:nowrap}.soliloquy-select .chosen-container-single .chosen-single-with-deselect span{margin-right:38px}.soliloquy-select .chosen-container-single .chosen-single abbr{position:absolute;top:6px;right:26px;display:block;width:12px;height:12px;font-size:1px}.soliloquy-select .chosen-container-single .chosen-single abbr:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-single.chosen-disabled .chosen-single abbr:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-single .chosen-single div{border-left:1px solid #ddd;position:absolute;top:0;right:0;display:block;width:30px;height:100%;padding-left:9px}.soliloquy-select .chosen-container-single .chosen-single div b{display:block;width:100%;height:100%;line-height:35px}.soliloquy-select .chosen-container-single .chosen-single div b:before{content:"\0051";display:block;font-weight:normal;font-size:8px !important;font-family:'soliloquy';position:absolute;text-align:center}.soliloquy-select .chosen-container-single .chosen-search{position:relative;z-index:1010;margin:0;padding:3px 4px;white-space:nowrap}.soliloquy-select .chosen-container-single .chosen-search input[type="text"]{margin:1px 0;padding:4px 20px 4px 5px;width:100%;height:auto;outline:0;border:1px solid #ddd;background:#fff url("chosen-sprite.png") no-repeat 100% -20px;background:url("chosen-sprite.png") no-repeat 100% -20px;font-size:1em;font-family:sans-serif;line-height:normal;border-radius:0}.soliloquy-select .chosen-container-single .chosen-drop{margin-top:-1px;border-radius:0 0 2px 2px;background-clip:padding-box}.soliloquy-select .chosen-container-single.chosen-container-single-nosearch .chosen-search{position:absolute;left:-9999px}.soliloquy-select .chosen-container .chosen-results{color:#444;position:relative;overflow-x:hidden;overflow-y:auto;margin:0 4px 4px 0;padding:0 0 0 4px;max-height:240px;-webkit-overflow-scrolling:touch}.soliloquy-select .chosen-container .chosen-results li{display:none;margin:0;padding:5px 6px;list-style:none;line-height:15px;word-wrap:break-word;-webkit-touch-callout:none}.soliloquy-select .chosen-container .chosen-results li.active-result{display:list-item;cursor:pointer}.soliloquy-select .chosen-container .chosen-results li.disabled-result{display:list-item;color:#ccc;cursor:default}.soliloquy-select .chosen-container .chosen-results li.highlighted{background:#ff3700;color:#fff}.soliloquy-select .chosen-container .chosen-results li.no-results{color:#777;display:list-item;background:#f4f4f4}.soliloquy-select .chosen-container .chosen-results li.group-result{display:list-item;font-weight:bold;cursor:default}.soliloquy-select .chosen-container .chosen-results li.group-option{padding-left:15px}.soliloquy-select .chosen-container .chosen-results li em{font-style:normal;text-decoration:underline}.soliloquy-select .chosen-container-multi .chosen-choices{position:relative;overflow:hidden;margin:0;padding:0 5px;width:100%;height:auto !important;height:1%;border:1px solid #ddd;background:#fff;cursor:text}.soliloquy-select .chosen-container-multi .chosen-choices li{float:left;list-style:none}.soliloquy-select .chosen-container-multi .chosen-choices li.search-field{margin:0;padding:0;white-space:nowrap}.soliloquy-select .chosen-container-multi .chosen-choices li.search-field input[type="text"]{margin:1px 0;padding:0;height:25px;outline:0;border:0 !important;background:transparent !important;box-shadow:none;color:#999;font-size:100%;font-family:sans-serif;line-height:normal;border-radius:0}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice{position:relative;margin:3px 5px 3px 0;padding:3px 20px 3px 5px;border:1px solid #ddd;max-width:100%;border-radius:2px;background:#fff;background-size:100% 19px;background-repeat:repeat-x;background-clip:padding-box;box-shadow:0 0 2px #fff inset,0 1px 0 rgba(0,0,0,0.05);color:#333;line-height:13px;cursor:default}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice span{word-wrap:break-word}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close{position:absolute;top:4px;right:3px;display:block;width:12px;height:12px;background:url("chosen-sprite.png") -42px 1px no-repeat;font-size:1px}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice .search-choice-close:hover{background-position:-42px -10px}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-disabled{padding-right:5px;border:1px solid #ddd;background:#e4e4e4;color:#666}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus{background:#d4d4d4}.soliloquy-select .chosen-container-multi .chosen-choices li.search-choice-focus .search-choice-close{background-position:-42px -10px}.soliloquy-select .chosen-container-multi .chosen-results{margin:0;padding:0}.soliloquy-select .chosen-container-multi .chosen-drop .result-selected{display:list-item;color:#ccc;cursor:default}.soliloquy-select .chosen-container-active .chosen-single{border:1px solid #ddd}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single{border:1px solid #ddd;-moz-border-radius-bottomright:0;border-bottom-right-radius:0;-moz-border-radius-bottomleft:0;border-bottom-left-radius:0;background:#fff}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div{border-left:1px solid transparent;background:transparent}.soliloquy-select .chosen-container-active.chosen-with-drop .chosen-single div b{background-position:-18px 2px}.soliloquy-select .chosen-container-active .chosen-choices{border:1px solid #5897fb;box-shadow:0 0 5px rgba(0,0,0,0.3)}.soliloquy-select .chosen-container-active .chosen-choices li.search-field input[type="text"]{color:#222 !important}.soliloquy-select .chosen-disabled{opacity:0.5 !important;cursor:default}.soliloquy-select .chosen-disabled .chosen-single{cursor:default}.soliloquy-select .chosen-disabled .chosen-choices .search-choice .search-choice-close{cursor:default}.soliloquy-select .chosen-rtl{text-align:right}.soliloquy-select .chosen-rtl .chosen-single{overflow:visible;padding:0 8px 0 0}.soliloquy-select .chosen-rtl .chosen-single span{margin-right:0;margin-left:26px;direction:rtl}.soliloquy-select .chosen-rtl .chosen-single-with-deselect span{margin-left:38px}.soliloquy-select .chosen-rtl .chosen-single div{right:auto;left:3px}.soliloquy-select .chosen-rtl .chosen-single abbr{right:auto;left:26px}.soliloquy-select .chosen-rtl .chosen-choices li{float:right}.soliloquy-select .chosen-rtl .chosen-choices li.search-field input[type="text"]{direction:rtl}.soliloquy-select .chosen-rtl .chosen-choices li.search-choice{margin:3px 5px 3px 0;padding:3px 5px 3px 19px}.soliloquy-select .chosen-rtl .chosen-choices li.search-choice .search-choice-close{right:auto;left:4px}.soliloquy-select .chosen-rtl.chosen-container-single-nosearch .chosen-search,.soliloquy-select .chosen-rtl .chosen-drop{left:9999px}.soliloquy-select .chosen-rtl.chosen-container-single .chosen-results{margin:0 0 4px 4px;padding:0 4px 0 0}.soliloquy-select .chosen-rtl .chosen-results li.group-option{padding-right:15px;padding-left:0}.soliloquy-select .chosen-rtl.chosen-container-active.chosen-with-drop .chosen-single div{border-right:none}.soliloquy-select .chosen-rtl .chosen-search input[type="text"]{padding:4px 5px 4px 20px;background:#fff url("chosen-sprite.png") no-repeat -30px -20px;background:url("chosen-sprite.png") no-repeat -30px -20px;direction:rtl}.soliloquy-select .chosen-rtl.chosen-container-single .chosen-single div b{background-position:6px 2px}.soliloquy-select .chosen-rtl.chosen-container-single.chosen-with-drop .chosen-single div b{background-position:-12px 2px}@media only screen and (-webkit-min-device-pixel-ratio: 1.5), only screen and (min-resolution: 144dpi), only screen and (min-resolution: 1.5dppx){.soliloquy-select .chosen-rtl .chosen-search input[type="text"],.soliloquy-select .chosen-container-single .chosen-single abbr,.soliloquy-select .chosen-container-single .chosen-search input[type="text"],.soliloquy-select .chosen-container-multi .chosen-choices .search-choice .search-choice-close,.soliloquy-select .chosen-container .chosen-results-scroll-down span,.soliloquy-select .chosen-container .chosen-results-scroll-up span{background-image:none !important;background-size:52px 37px !important;background-repeat:no-repeat !important}}.soliloquy-select select.soliloquy-chosen+.chosen-container.chosen-container-single .chosen-single{padding-right:35px}.branch-4-7 .wrap h1.wp-heading-inline{display:block;margin:0;width:100%;padding-left:20px;padding-right:20px;line-height:45px;font-size:20px;font-weight:400;background-color:#fff;height:45px;margin-left:-20px;margin-bottom:20px}.branch-4-7 .page-title-action{margin-left:4px;padding:4px 8px;position:relative;top:-55px;left:180px;text-decoration:none;border:none;color:#ff3700;border-radius:0;background:none;text-shadow:none;font-weight:600;font-size:13px}.branch-4-7 .page-title-action:hover{background:none;color:#999}.branch-4-7 .page-title-action:before{display:inline-block;font-family:'soliloquy';content:'\0050';margin-top:-3px;margin-right:8px;vertical-align:middle}.post-type-soliloquy #wpbody-content h1{display:block;margin:0;padding-left:20px;padding-right:20px;line-height:45px;font-size:20px;font-weight:400;background-color:#fff;height:45px;margin-left:-20px;margin-right:-20px;margin-bottom:20px}.post-type-soliloquy #wpbody-content h1 .page-title-action{margin-left:4px;padding:4px 8px;position:relative;top:-3px;text-decoration:none;border:none;color:#ff3700;border-radius:0;background:none;text-shadow:none;font-weight:600;font-size:13px}.post-type-soliloquy #wpbody-content h1 .page-title-action:hover{background:none;color:#999}.post-type-soliloquy #wpbody-content h1 .page-title-action:before{display:inline-block;font-family:'soliloquy';content:'\0050';margin-top:-3px;margin-right:8px;vertical-align:middle}.post-type-soliloquy .wrap{margin-top:0px !important}.post-type-soliloquy input[type=checkbox]{background-color:#fff;border:1px solid #ddd;box-shadow:none;margin-right:10px}.post-type-soliloquy input[type=checkbox]:checked{background-color:#72b63d;border-color:#72b63d}.post-type-soliloquy input[type=checkbox]:checked:before{color:#fff !important}.post-type-soliloquy ul.subsubsub{margin:0 0 20px 0;padding-left:0px}.post-type-soliloquy .column-image{width:85px !important}.post-type-soliloquy form#posts-filter div.tablenav.top{margin:0 0 8px 0}.post-type-soliloquy form#posts-filter .button{height:28px;line-height:26px}.post-type-soliloquy #wpbody-content .inline-edit-row fieldset input[type="text"],.post-type-soliloquy #wpbody-content .inline-edit-row fieldset input[type="number"],.post-type-soliloquy #wpbody-content .inline-edit-row fieldset input[type="password"]{background-color:#fff;border:1px solid #ddd;-webkit-box-shadow:none;box-shadow:none;color:#32373c;height:35px;outline:none;-webkit-transition:0.05s border-color ease-in-out;transition:0.05s border-color ease-in-out;min-width:210px;max-width:350px;width:100%;border-radius:3px;padding-right:0}.post-type-soliloquy #wpbody-content .inline-edit-row fieldset select{min-width:275px}.post-type-soliloquy #wpbody-content .inline-edit-row fieldset span.title{font-style:normal;font-weight:600;font-size:13px;min-width:140px}.post-type-soliloquy #wpbody-content td.colspanchange fieldset.inline-edit-col-left fieldset.inline-edit-date{display:none}.post-type-soliloquy #wpbody-content td.colspanchange fieldset.inline-edit-col-left div.inline-edit-group:last-child{display:none}tr.type-soliloquy th{padding:20px inherit !important}tr.type-soliloquy td{padding:20px inherit}.soliloquy-count{display:none}
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/css/soliloquy.css CHANGED
@@ -211,6 +211,7 @@
211
  left: 0;
212
  width: 100%;
213
  z-index: 1120;
 
214
  background: rgba(0, 0, 0, 0.5); }
215
 
216
  .soliloquy-container .soliloquy-caption-inside {
211
  left: 0;
212
  width: 100%;
213
  z-index: 1120;
214
+ padding-bottom: 25px;
215
  background: rgba(0, 0, 0, 0.5); }
216
 
217
  .soliloquy-container .soliloquy-caption-inside {
assets/js/media-delete.js CHANGED
@@ -1,3 +1,5 @@
 
 
1
  jQuery( document ).ready( function( $ ) {
2
 
3
  // Delete multiple images from slider
@@ -108,7 +110,7 @@ jQuery( document ).ready( function( $ ) {
108
  // Refresh the modal view to ensure no items are still checked if they have been removed.
109
  $('.soliloquy-load-library').attr('data-soliloquy-offset', 0).addClass('has-search').trigger('click');
110
 
111
- // Repopulate the Envira Gallery Image Collection
112
  SoliloquySlidesUpdate( false );
113
 
114
  //Get the slide count
1
+ /* global document, confirm */
2
+ /* jshint unused:false, newcap: false */
3
  jQuery( document ).ready( function( $ ) {
4
 
5
  // Delete multiple images from slider
110
  // Refresh the modal view to ensure no items are still checked if they have been removed.
111
  $('.soliloquy-load-library').attr('data-soliloquy-offset', 0).addClass('has-search').trigger('click');
112
 
113
+ // Repopulate the Soliloquy Image Collection
114
  SoliloquySlidesUpdate( false );
115
 
116
  //Get the slide count
assets/js/media-edit.js CHANGED
@@ -1,4 +1,5 @@
1
-
 
2
  /**
3
  * Slide Model
4
  */
@@ -14,8 +15,8 @@ var SoliloquySlide = Backbone.Model.extend( {
14
  'title': '',
15
  'caption': '',
16
  'alt': '',
17
- 'link': '',
18
- 'type': '',
19
 
20
  },
21
 
@@ -65,20 +66,20 @@ var SoliloquyView = wp.Backbone.View.extend( {
65
  'click .edit-media-header .left': 'loadPreviousItem',
66
  'click .edit-media-header .right': 'loadNextItem',
67
 
68
- 'keyup input': 'updateItem',
69
- 'keyup textarea': 'updateItem',
70
  'change input': 'updateItem',
71
  'change textarea': 'updateItem',
72
  'keyup .CodeMirror': 'updateCode',
73
  'blur textarea': 'updateItem',
74
 
75
- 'change select': 'updateItem',
76
 
77
  'click a.soliloquy-meta-submit': 'saveItem',
78
 
79
  'keyup input#link-search': 'searchLinks',
80
  'click div.query-results li': 'insertLink',
81
-
82
  'click a.soliloquy-thumbnail': 'insertThumb',
83
  'click a.soliloquy-thumbnail-delete': 'removeThumb',
84
 
@@ -104,10 +105,12 @@ var SoliloquyView = wp.Backbone.View.extend( {
104
  // Get the model from the collection
105
  var count = 0;
106
  this.collection.each( function( model ) {
107
- // If this model's id matches the attachment id, this is the model we want
108
- if ( model.get( 'id' ) == this.attachment_id ) {
 
109
  this.model = model;
110
  this.attachment_index = count;
 
111
  return false;
112
  }
113
 
@@ -117,26 +120,25 @@ var SoliloquyView = wp.Backbone.View.extend( {
117
 
118
  },
119
  updateCode: function( e ){
120
-
121
- console.log('logged');
122
  $model = this.model;
123
 
124
  $textarea = this.$el.find('.soliloquy-html-slide-code');
125
-
126
  $model.set( 'code', this.editor.getValue(), { silent: true } );
127
-
128
  $textarea.text();
129
 
130
  },
131
  insertThumb: function( e ){
132
-
133
  $model = this.model;
134
-
135
  e.preventDefault();
136
-
137
  // Get input field class name
138
  var fieldClassName = this.$el.data('field');
139
-
140
  var soliloquy_media_frame = wp.media.frames.soliloquy_media_frame = wp.media({
141
  className: 'media-frame soliloquy-media-frame',
142
  frame: 'select',
@@ -151,37 +153,37 @@ var SoliloquyView = wp.Backbone.View.extend( {
151
  });
152
 
153
  soliloquy_media_frame.on('select', function(){
154
-
155
  // Grab our attachment selection and construct a JSON representation of the model.
156
  var thumbnail = soliloquy_media_frame.state().get('selection').first().toJSON();
157
-
158
  $model.set( 'src', thumbnail.url, { silent: true } );
159
- jQuery('div.thumbnail > img', $parent.find('.media-frame-content') ).attr('src', thumbnail.url );
160
 
161
  });
162
 
163
  // Now that everything has been set, let's open up the frame.
164
  soliloquy_media_frame.open();
165
  },
166
-
167
  removeThumb: function(e){
168
-
169
  e.preventDefault();
170
-
171
  $model = this.model;
172
  $parent = this.$el.parent();
173
-
174
- jQuery('div.thumbnail > img', $parent.find('.media-frame-content') ).attr('src','' );
175
-
176
  $model.set( 'src', '', { silent: true } );
177
-
178
- },
179
  /**
180
  * Render
181
  * - Binds the model to the view, so we populate the view's fields and data
182
  */
183
  render: function() {
184
-
185
  // Get HTML
186
  this.$el.html( this.template( this.model.attributes ) );
187
  // If any child views exist, render them now
@@ -194,7 +196,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
194
 
195
  // Render view within our main view
196
  this.$el.find( 'div.addons' ).append( child_view.render().el );
197
-
198
  }, this );
199
  }
200
 
@@ -205,8 +207,8 @@ var SoliloquyView = wp.Backbone.View.extend( {
205
  // Delay is required for the first load for some reason
206
  setTimeout( function() {
207
  quicktags( {
208
- id: 'caption',
209
- buttons:'strong,em,link,ul,ol,li,close'
210
  } );
211
  QTags._buttonsInit();
212
  }, 500 );
@@ -215,7 +217,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
215
  wpLink.init;
216
 
217
  // Enable / disable the buttons depending on the index
218
- if ( this.attachment_index == 0 ) {
219
  // Disable left button
220
  this.$el.find( 'button.left' ).addClass( 'disabled' );
221
  }
@@ -223,11 +225,11 @@ var SoliloquyView = wp.Backbone.View.extend( {
223
  // Disable right button
224
  this.$el.find( 'button.right' ).addClass( 'disabled' );
225
  }
226
-
227
  textarea = this.$el.find('.soliloquy-html-slide-code');
228
 
229
  if (textarea.length) {
230
-
231
  this.editor = CodeMirror.fromTextArea( textarea[0] , {
232
  enterMode: 'keep',
233
  indentUnit: 4,
@@ -240,14 +242,14 @@ var SoliloquyView = wp.Backbone.View.extend( {
240
  tabMode: 'shift',
241
  theme: 'ttcn'
242
  });
243
-
244
  }
245
 
246
- this.$el.trigger( 'soliloquyRenderMeta' );
247
-
248
  // Return
249
  return this;
250
-
251
  },
252
 
253
  /**
@@ -285,7 +287,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
285
  * Load the previous model in the collection
286
  */
287
  loadPreviousItem: function() {
288
-
289
  // Decrement the index
290
  this.attachment_index--;
291
 
@@ -316,7 +318,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
316
 
317
  // Re-render the view
318
  this.render();
319
-
320
 
321
  },
322
 
@@ -346,9 +348,9 @@ var SoliloquyView = wp.Backbone.View.extend( {
346
  * Saves the image metadata
347
  */
348
  saveItem: function( event ) {
349
-
350
  event.preventDefault();
351
-
352
  // Tell the View we're loading
353
  this.trigger( 'loading' );
354
 
@@ -379,7 +381,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
379
  },
380
  error: function( error_message ) {
381
 
382
- // Tell wp.media we've finished, but there was an error
383
  this.trigger( 'loaded loaded:error', error_message );
384
 
385
  }
@@ -401,7 +403,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
401
  insertLink: function( event ) {
402
 
403
 
404
-
405
  },
406
 
407
  /**
@@ -436,7 +438,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
436
  },
437
  error: function( error_message ) {
438
 
439
- // Tell wp.media we've finished, but there was an error
440
  this.trigger( 'loaded loaded:error', error_message );
441
 
442
  }
@@ -476,7 +478,7 @@ var SoliloquyView = wp.Backbone.View.extend( {
476
  },
477
  error: function( error_message ) {
478
 
479
- // Tell wp.media we've finished, but there was an error
480
  this.trigger( 'loaded loaded:error', error_message );
481
 
482
  }
@@ -500,23 +502,22 @@ var SoliloquyContentViews = [];
500
  ;(function($) {
501
 
502
  $( document ).ready( function() {
503
-
504
  soliloquy_edit = {
505
-
506
  init: function(){
507
-
508
  // Populate the collection
509
  SoliloquySlidesUpdate();
510
-
511
  // Edit Image
512
  $( '#soliloquy-settings-content' ).on( 'click.soliloquyModify', '.soliloquy-modify-slide', function( e ) {
513
-
514
  // Prevent default action
515
  e.preventDefault();
516
-
517
  // Get the selected attachment
518
  var attachment_id = $( this ).parent().data( 'soliloquy-slide' );
519
-
520
  // Pass the collection of images for this gallery to the modal view, as well
521
  // as the selected attachment
522
  SoliloquyModalWindow.content( new SoliloquyView( {
@@ -524,29 +525,33 @@ var SoliloquyContentViews = [];
524
  child_views: SoliloquyChildViews,
525
  attachment_id: attachment_id,
526
  } ) );
527
-
528
  // Open the modal window
529
  SoliloquyModalWindow.open();
530
-
 
 
531
  $('.CodeMirror').each(function(i, el){
532
  el.CodeMirror.refresh();
533
  });
534
-
 
 
535
  } );
536
-
537
  }
538
- }
539
-
540
  soliloquy_edit.init();
541
-
542
  } );
543
-
544
  $(document).on('soliloquyUploaded', function() {
545
-
546
  soliloquy_edit.init();
547
-
548
  });
549
-
550
  })(jQuery);
551
 
552
  /**
@@ -556,20 +561,20 @@ var SoliloquyContentViews = [];
556
  * Doesn't need to be called when an image is edited, as the model will be updated automatically in the collection
557
  */
558
  function SoliloquySlidesUpdate( selected ) {
559
-
560
  // Clear the collection
561
  SoliloquySlides.reset();
562
 
563
  var $items = 'ul#soliloquy-output li.soliloquy-slide' + ( selected ? '.selected' : '' );
564
-
565
  // Iterate through the gallery images in the DOM, adding them to the collection
566
  jQuery( $items ).each( function() {
567
-
568
  // Build an SoliloquyImage Backbone Model from the JSON supplied in the element
569
  var soliloquy_slide = jQuery.parseJSON( jQuery( this ).attr( 'data-soliloquy-image-model' ) );
570
-
571
  // Add the model to the collection
572
  SoliloquySlides.add( new SoliloquySlide( soliloquy_slide ) );
 
573
  } );
574
 
575
  }
1
+ /* global document, Backbone */
2
+ /* jshint unused:false, newcap: false */
3
  /**
4
  * Slide Model
5
  */
15
  'title': '',
16
  'caption': '',
17
  'alt': '',
18
+ 'link': '',
19
+ 'type': '',
20
 
21
  },
22
 
66
  'click .edit-media-header .left': 'loadPreviousItem',
67
  'click .edit-media-header .right': 'loadNextItem',
68
 
69
+ 'keyup input': 'updateItem',
70
+ 'keyup textarea': 'updateItem',
71
  'change input': 'updateItem',
72
  'change textarea': 'updateItem',
73
  'keyup .CodeMirror': 'updateCode',
74
  'blur textarea': 'updateItem',
75
 
76
+ 'change select': 'updateItem',
77
 
78
  'click a.soliloquy-meta-submit': 'saveItem',
79
 
80
  'keyup input#link-search': 'searchLinks',
81
  'click div.query-results li': 'insertLink',
82
+
83
  'click a.soliloquy-thumbnail': 'insertThumb',
84
  'click a.soliloquy-thumbnail-delete': 'removeThumb',
85
 
105
  // Get the model from the collection
106
  var count = 0;
107
  this.collection.each( function( model ) {
108
+
109
+ // If this model's id matches the attachment id, this is the model we want, also make sure both are int
110
+ if ( String( model.get( 'id' ) ) == String( this.attachment_id ) ) {
111
  this.model = model;
112
  this.attachment_index = count;
113
+
114
  return false;
115
  }
116
 
120
 
121
  },
122
  updateCode: function( e ){
123
+
 
124
  $model = this.model;
125
 
126
  $textarea = this.$el.find('.soliloquy-html-slide-code');
127
+
128
  $model.set( 'code', this.editor.getValue(), { silent: true } );
129
+
130
  $textarea.text();
131
 
132
  },
133
  insertThumb: function( e ){
134
+
135
  $model = this.model;
136
+
137
  e.preventDefault();
138
+
139
  // Get input field class name
140
  var fieldClassName = this.$el.data('field');
141
+
142
  var soliloquy_media_frame = wp.media.frames.soliloquy_media_frame = wp.media({
143
  className: 'media-frame soliloquy-media-frame',
144
  frame: 'select',
153
  });
154
 
155
  soliloquy_media_frame.on('select', function(){
156
+
157
  // Grab our attachment selection and construct a JSON representation of the model.
158
  var thumbnail = soliloquy_media_frame.state().get('selection').first().toJSON();
159
+
160
  $model.set( 'src', thumbnail.url, { silent: true } );
161
+ jQuery('div.thumbnail > img', $parent.find('.media-frame-content') ).attr('src', thumbnail.url );
162
 
163
  });
164
 
165
  // Now that everything has been set, let's open up the frame.
166
  soliloquy_media_frame.open();
167
  },
168
+
169
  removeThumb: function(e){
170
+
171
  e.preventDefault();
172
+
173
  $model = this.model;
174
  $parent = this.$el.parent();
175
+
176
+ jQuery('div.thumbnail > img', $parent.find('.media-frame-content') ).attr('src','' );
177
+
178
  $model.set( 'src', '', { silent: true } );
179
+
180
+ },
181
  /**
182
  * Render
183
  * - Binds the model to the view, so we populate the view's fields and data
184
  */
185
  render: function() {
186
+
187
  // Get HTML
188
  this.$el.html( this.template( this.model.attributes ) );
189
  // If any child views exist, render them now
196
 
197
  // Render view within our main view
198
  this.$el.find( 'div.addons' ).append( child_view.render().el );
199
+
200
  }, this );
201
  }
202
 
207
  // Delay is required for the first load for some reason
208
  setTimeout( function() {
209
  quicktags( {
210
+ id: 'caption',
211
+ buttons:'strong,em,link,ul,ol,li,close'
212
  } );
213
  QTags._buttonsInit();
214
  }, 500 );
217
  wpLink.init;
218
 
219
  // Enable / disable the buttons depending on the index
220
+ if ( this.attachment_index === 0 ) {
221
  // Disable left button
222
  this.$el.find( 'button.left' ).addClass( 'disabled' );
223
  }
225
  // Disable right button
226
  this.$el.find( 'button.right' ).addClass( 'disabled' );
227
  }
228
+
229
  textarea = this.$el.find('.soliloquy-html-slide-code');
230
 
231
  if (textarea.length) {
232
+
233
  this.editor = CodeMirror.fromTextArea( textarea[0] , {
234
  enterMode: 'keep',
235
  indentUnit: 4,
242
  tabMode: 'shift',
243
  theme: 'ttcn'
244
  });
245
+
246
  }
247
 
248
+ this.$el.trigger( 'soliloquyRenderMeta' );
249
+
250
  // Return
251
  return this;
252
+
253
  },
254
 
255
  /**
287
  * Load the previous model in the collection
288
  */
289
  loadPreviousItem: function() {
290
+
291
  // Decrement the index
292
  this.attachment_index--;
293
 
318
 
319
  // Re-render the view
320
  this.render();
321
+
322
 
323
  },
324
 
348
  * Saves the image metadata
349
  */
350
  saveItem: function( event ) {
351
+
352
  event.preventDefault();
353
+
354
  // Tell the View we're loading
355
  this.trigger( 'loading' );
356
 
381
  },
382
  error: function( error_message ) {
383
 
384
+ // Tell wp.media we've finished, but there was an error
385
  this.trigger( 'loaded loaded:error', error_message );
386
 
387
  }
403
  insertLink: function( event ) {
404
 
405
 
406
+
407
  },
408
 
409
  /**
438
  },
439
  error: function( error_message ) {
440
 
441
+ // Tell wp.media we've finished, but there was an error
442
  this.trigger( 'loaded loaded:error', error_message );
443
 
444
  }
478
  },
479
  error: function( error_message ) {
480
 
481
+ // Tell wp.media we've finished, but there was an error
482
  this.trigger( 'loaded loaded:error', error_message );
483
 
484
  }
502
  ;(function($) {
503
 
504
  $( document ).ready( function() {
505
+
506
  soliloquy_edit = {
507
+
508
  init: function(){
509
+
510
  // Populate the collection
511
  SoliloquySlidesUpdate();
512
+
513
  // Edit Image
514
  $( '#soliloquy-settings-content' ).on( 'click.soliloquyModify', '.soliloquy-modify-slide', function( e ) {
515
+
516
  // Prevent default action
517
  e.preventDefault();
 
518
  // Get the selected attachment
519
  var attachment_id = $( this ).parent().data( 'soliloquy-slide' );
520
+
521
  // Pass the collection of images for this gallery to the modal view, as well
522
  // as the selected attachment
523
  SoliloquyModalWindow.content( new SoliloquyView( {
525
  child_views: SoliloquyChildViews,
526
  attachment_id: attachment_id,
527
  } ) );
528
+
529
  // Open the modal window
530
  SoliloquyModalWindow.open();
531
+
532
+ $( document ).trigger('soliloquyEditOpen');
533
+
534
  $('.CodeMirror').each(function(i, el){
535
  el.CodeMirror.refresh();
536
  });
537
+
538
+
539
+
540
  } );
541
+
542
  }
543
+ }
544
+
545
  soliloquy_edit.init();
546
+
547
  } );
548
+
549
  $(document).on('soliloquyUploaded', function() {
550
+
551
  soliloquy_edit.init();
552
+
553
  });
554
+
555
  })(jQuery);
556
 
557
  /**
561
  * Doesn't need to be called when an image is edited, as the model will be updated automatically in the collection
562
  */
563
  function SoliloquySlidesUpdate( selected ) {
564
+
565
  // Clear the collection
566
  SoliloquySlides.reset();
567
 
568
  var $items = 'ul#soliloquy-output li.soliloquy-slide' + ( selected ? '.selected' : '' );
569
+
570
  // Iterate through the gallery images in the DOM, adding them to the collection
571
  jQuery( $items ).each( function() {
 
572
  // Build an SoliloquyImage Backbone Model from the JSON supplied in the element
573
  var soliloquy_slide = jQuery.parseJSON( jQuery( this ).attr( 'data-soliloquy-image-model' ) );
574
+
575
  // Add the model to the collection
576
  SoliloquySlides.add( new SoliloquySlide( soliloquy_slide ) );
577
+
578
  } );
579
 
580
  }
assets/js/media-insert.js CHANGED
@@ -1,3 +1,5 @@
 
 
1
  /**
2
  * Creates and handles a wp.media instance for soliloquy Galleries, allowing
3
  * the user to insert images from the Media Library into their Gallery
@@ -101,7 +103,7 @@ jQuery( document ).ready( function( $ ) {
101
  action: 'soliloquy_insert_slides',
102
  nonce: soliloquy_metabox.insert_nonce,
103
  post_id: soliloquy_metabox.id,
104
- images: images,
105
  },
106
  function( response ) {
107
  // Response should be a JSON success with the HTML for the image grid
@@ -113,6 +115,7 @@ jQuery( document ).ready( function( $ ) {
113
 
114
  // Repopulate the Soliloquy Slide Collection
115
  SoliloquySlidesUpdate();
 
116
  var list = $('#soliloquy-output li').length;
117
 
118
  //update the count value
1
+ /* global soliloquy_metabox, wp, QTags, quicktags */
2
+ /*jshint unused: true*/
3
  /**
4
  * Creates and handles a wp.media instance for soliloquy Galleries, allowing
5
  * the user to insert images from the Media Library into their Gallery
103
  action: 'soliloquy_insert_slides',
104
  nonce: soliloquy_metabox.insert_nonce,
105
  post_id: soliloquy_metabox.id,
106
+ images: JSON.stringify(images),
107
  },
108
  function( response ) {
109
  // Response should be a JSON success with the HTML for the image grid
115
 
116
  // Repopulate the Soliloquy Slide Collection
117
  SoliloquySlidesUpdate();
118
+
119
  var list = $('#soliloquy-output li').length;
120
 
121
  //update the count value
assets/js/media-manage.js CHANGED
@@ -155,7 +155,6 @@
155
  var $this = $(this),
156
  $data = $this.data('soliloquy-tooltip');
157
 
158
- console.log( $data );
159
 
160
  });
161
  },
@@ -245,8 +244,8 @@
245
 
246
  var $this = $(this),
247
  slider_item = $( this ).parent();
248
- console.log($this);
249
- console.log(slider_item);
250
  e.preventDefault();
251
 
252
  if ( $( slider_item ).hasClass( 'selected' ) ) {
@@ -459,7 +458,6 @@
459
 
460
  var $button = $( event.currentTarget ),
461
  input_box = $button.parent().find('input');
462
- console.log( input_box )
463
  if ( soliloquy_image_frame ) {
464
 
465
  soliloquy_image_frame.open();
155
  var $this = $(this),
156
  $data = $this.data('soliloquy-tooltip');
157
 
 
158
 
159
  });
160
  },
244
 
245
  var $this = $(this),
246
  slider_item = $( this ).parent();
247
+
248
+
249
  e.preventDefault();
250
 
251
  if ( $( slider_item ).hasClass( 'selected' ) ) {
458
 
459
  var $button = $( event.currentTarget ),
460
  input_box = $button.parent().find('input');
 
461
  if ( soliloquy_image_frame ) {
462
 
463
  soliloquy_image_frame.open();
assets/js/min/media-edit-min.js ADDED
@@ -0,0 +1 @@
 
1
+ function SoliloquySlidesUpdate(e){SoliloquySlides.reset();var t="ul#soliloquy-output li.soliloquy-slide"+(e?".selected":"");jQuery(t).each(function(){var e=jQuery.parseJSON(jQuery(this).attr("data-soliloquy-image-model"));SoliloquySlides.add(new SoliloquySlide(e))})}var SoliloquySlide=Backbone.Model.extend({defaults:{id:"",title:"",caption:"",alt:"",link:"",type:""}}),SoliloquySlides=new Backbone.Collection,SoliloquyModalWindow=new wp.media.view.Modal({controller:{trigger:function(){}}}),SoliloquyView=wp.Backbone.View.extend({id:"soliloquy-meta-edit",tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router",template:wp.template("soliloquy-meta-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","keyup .CodeMirror":"updateCode","blur textarea":"updateItem","change select":"updateItem","click a.soliloquy-meta-submit":"saveItem","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click a.soliloquy-thumbnail":"insertThumb","click a.soliloquy-thumbnail-delete":"removeThumb","click button.media-file":"insertMediaFileLink","click button.attachment-page":"insertAttachmentPageLink"},initialize:function(e){this.is_loading=!1,this.collection=e.collection,this.child_views=e.child_views,this.attachment_id=e.attachment_id,this.attachment_index=0,this.search_timer="";var t=0;this.collection.each(function(e){return String(e.get("id"))==String(this.attachment_id)?(this.model=e,this.attachment_index=t,!1):void t++},this)},updateCode:function(e){$model=this.model,$textarea=this.$el.find(".soliloquy-html-slide-code"),$model.set("code",this.editor.getValue(),{silent:!0}),$textarea.text()},insertThumb:function(e){$model=this.model,e.preventDefault();var t=this.$el.data("field"),i=wp.media.frames.soliloquy_media_frame=wp.media({className:"media-frame soliloquy-media-frame",frame:"select",multiple:!1,title:soliloquy_metabox.videoframe,library:{type:"image"},button:{text:soliloquy_metabox.videouse}});i.on("select",function(){var e=i.state().get("selection").first().toJSON();$model.set("src",e.url,{silent:!0}),jQuery("div.thumbnail > img",$parent.find(".media-frame-content")).attr("src",e.url)}),i.open()},removeThumb:function(e){e.preventDefault(),$model=this.model,$parent=this.$el.parent(),jQuery("div.thumbnail > img",$parent.find(".media-frame-content")).attr("src",""),$model.set("src","",{silent:!0})},render:function(){return this.$el.html(this.template(this.model.attributes)),this.child_views.length>0&&this.child_views.forEach(function(e){var t=new e({model:this.model});this.$el.find("div.addons").append(t.render().el)},this),this.$el.find("textarea[name=caption]").val(this.model.get("caption")),setTimeout(function(){quicktags({id:"caption",buttons:"strong,em,link,ul,ol,li,close"}),QTags._buttonsInit()},500),wpLink.init,0===this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==this.collection.length-1&&this.$el.find("button.right").addClass("disabled"),textarea=this.$el.find(".soliloquy-html-slide-code"),textarea.length&&(this.editor=CodeMirror.fromTextArea(textarea[0],{enterMode:"keep",indentUnit:4,electricChars:!1,lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,mode:"php",smartIndent:!1,tabMode:"shift",theme:"ttcn"})),this.$el.trigger("soliloquyRenderMeta"),this},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),"undefined"!=typeof e&&alert(e)},loadPreviousItem:function(){this.attachment_index--,this.model=this.collection.at(this.attachment_index),this.attachment_id=this.model.get("id"),this.render()},loadNextItem:function(){this.attachment_index++,this.model=this.collection.at(this.attachment_index),this.attachment_id=this.model.get("id"),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?1:0:value=e.target.value,this.model.set(e.target.name,value))},saveItem:function(e){e.preventDefault(),this.trigger("loading"),wp.media.ajax("soliloquy_save_meta",{context:this,data:{nonce:soliloquy_metabox.save_nonce,post_id:soliloquy_metabox.id,attach_id:this.model.get("id"),meta:this.model.attributes},success:function(e){this.trigger("loaded loaded:success");var t=JSON.stringify(this.model.attributes);jQuery("ul#soliloquy-output li#"+this.model.get("id")).attr("data-soliloquy-image-model",t);var i=this.$el.find(".saved");i.fadeIn(),setTimeout(function(){i.fadeOut()},1500)},error:function(e){this.trigger("loaded loaded:error",e)}})},searchLinks:function(e){},insertLink:function(e){},insertMediaFileLink:function(e){this.trigger("loading"),wp.media.ajax("soliloquy_get_attachment_links",{context:this,data:{nonce:soliloquy_metabox.save_nonce,attachment_id:this.model.get("id")},success:function(e){this.model.set("link",e.media_link),this.trigger("loaded loaded:success"),this.render()},error:function(e){this.trigger("loaded loaded:error",e)}})},insertAttachmentPageLink:function(e){this.trigger("loading"),wp.media.ajax("soliloquy_get_attachment_links",{context:this,data:{nonce:soliloquy_metabox.save_nonce,attachment_id:this.model.get("id")},success:function(e){this.model.set("link",e.attachment_page),this.trigger("loaded loaded:success"),this.render()},error:function(e){this.trigger("loaded loaded:error",e)}})}}),SoliloquyChildViews=[],SoliloquyContentViews=[];!function($){$(document).ready(function(){soliloquy_edit={init:function(){SoliloquySlidesUpdate(),$("#soliloquy-settings-content").on("click.soliloquyModify",".soliloquy-modify-slide",function(e){e.preventDefault();var t=$(this).parent().data("soliloquy-slide");SoliloquyModalWindow.content(new SoliloquyView({collection:SoliloquySlides,child_views:SoliloquyChildViews,attachment_id:t})),SoliloquyModalWindow.open(),$(".CodeMirror").each(function(e,t){t.CodeMirror.refresh()})})}},soliloquy_edit.init()}),$(document).on("soliloquyUploaded",function(){soliloquy_edit.init()})}(jQuery);
assets/js/min/metabox-min.js CHANGED
@@ -1 +1 @@
1
- function SoliloquySlidesUpdate(e){SoliloquySlides.reset();var t="ul#soliloquy-output li.soliloquy-slide"+(e?".selected":"");jQuery(t).each(function(){var e=jQuery.parseJSON(jQuery(this).attr("data-soliloquy-image-model"));SoliloquySlides.add(new SoliloquySlide(e))})}jQuery(document).ready(function($){$("a.soliloquy-slides-delete").click(function(e){e.preventDefault();var t=confirm(soliloquy_metabox.remove_multiple);if(!t)return!1;var i=[];$("ul#soliloquy-output > li.selected").each(function(){i.push($(this).attr("id"))});var l={action:"soliloquy_remove_slides",attachment_ids:i,post_id:soliloquy_metabox.id,nonce:soliloquy_metabox.remove_nonce};$.post(soliloquy_metabox.ajax,l,function(e){$("ul#soliloquy-output > li.selected").remove(),$(".soliloquy-bulk-actions").fadeOut(),$(".soliloquy-select-all").prop("checked",!1),$(".soliloquy-load-library").attr("data-soliloquy-offset",0).addClass("has-search").trigger("click"),SoliloquySlidesUpdate(!1);var t=$("#soliloquy-output li").length;$(".soliloquy-count").text(t.toString()),0===t&&($(".soliloquy-bulk-actions").fadeOut(),$(".soliloquy-slide-header").fadeOut().addClass("soliloquy-hidden"),$("#soliloquy-empty-slider").removeClass("soliloquy-hidden").fadeIn())},"json")}),$("#soliloquy-settings-content ").on("click",".soliloquy-remove-slide",function(e){e.preventDefault();var t=confirm(soliloquy_metabox.remove);if(t){var i=$(this).parent().attr("id"),l={action:"soliloquy_remove_slide",attachment_id:i,post_id:soliloquy_metabox.id,nonce:soliloquy_metabox.remove_nonce};$.post(soliloquy_metabox.ajax,l,function(e){$("#"+i).fadeOut("normal",function(){$(this).remove(),$(".soliloquy-load-library").attr("data-soliloquy-offset",0).addClass("has-search").trigger("click"),SoliloquySlidesUpdate(!1);var e=$("#soliloquy-output li").length;$(".soliloquy-count").text(e.toString()),0===e&&($(".soliloquy-bulk-actions").fadeOut(),$(".soliloquy-slide-header").fadeOut().addClass("soliloquy-hidden"),$("#soliloquy-empty-slider").removeClass("soliloquy-hidden").fadeIn())})},"json")}})}),function($,e,t,i){"use strict";var l={init:function(){this.select_all(),this.sortable(),this.select(),this.display(),this.chosen(),this.slide_size(),this.uploadImage(),this.toggleStatus(),this.tooltip(),this.clear_selected(),new Clipboard(".soliloquy-clipboard"),$("ul#soliloquy-output").on("click","a.check",function(e){e.preventDefault()}),$(".soliloquy-clipboard").on("click",function(e){e.preventDefault()});var e=$("#soliloquy-output li").length;$(".soliloquy-count").text(e.toString()),$("input,select").conditional()},toggleStatus:function(){$("#soliloquy-settings-content").on("click.soliloquyStatus",".soliloquy-slide-status",function(e){if(e.preventDefault(),$(this).hasClass("list-status"))var t=$(this).parent().parent().parent();else var t=$(this).parent();var l=$(this),o=l.data("status"),a=t.find(".soliloquy-slide-status.list-status"),s=t.find(".soliloquy-slide-status.grid-status"),n=l.parent().parent().data("view"),d=l.data("id"),u=s.find("span.dashicons"),c=a.find("span"),r=l.data("soliloquy-tooltip");if("active"===o)var h="pending";else var h="active";var m={url:i.ajax,type:"post",async:!0,cache:!1,dataType:"json",data:{action:"soliloquy_change_slide_status",post_id:i.id,slide_id:d,status:h,nonce:i.save_nonce},success:function(e){"active"===h?(s.removeClass("soliloquy-draft-slide").addClass("soliloquy-active-slide"),a.removeClass("soliloquy-draft-slide").addClass("soliloquy-active-slide"),u.removeClass("dashicons-hidden").addClass("dashicons-visibility"),c.text(i.active),s.attr("data-soliloquy-tooltip",i.active),a.data("status","active"),s.data("status","active")):(s.removeClass("soliloquy-active-slide").addClass("soliloquy-draft-slide"),a.removeClass("soliloquy-active-slide").addClass("soliloquy-draft-slide"),u.removeClass("dashicons-visibility").addClass("dashicons-hidden"),c.text(i.draft),a.data("status","pending"),s.data("status","pending"),s.attr("data-soliloquy-tooltip",i.draft))},error:function(e,t,i){}};$.ajax(m)})},tooltip:function(){$("[data-soliloquy-tooltip]").on("mouseover",function(e){e.preventDefault();var t=$(this),i=t.data("soliloquy-tooltip");console.log(i)})},select_all:function(){$(".soliloquy-select-all").change(function(){var e=this.checked;if(e){$("ul#soliloquy-output li").addClass("selected"),$(".soliloquy-bulk-actions").fadeIn();var t=$("ul#soliloquy-output li.selected").length;$(".select-all").text(i.selected),$(".soliloquy-count").text(t.toString()),$(".soliloquy-clear-selected").fadeIn()}else{$("ul#soliloquy-output li").removeClass("selected"),$(".soliloquy-bulk-actions").fadeOut();var l=$("ul#soliloquy-output li").length;$(".select-all").text(i.select_all),$(".soliloquy-count").text(l.toString()),$(".soliloquy-clear-selected").fadeOut()}})},sortable:function(){var e=$("#soliloquy-output");e.sortable({containment:"#soliloquy-slider-main",items:"li",cursor:"move",forcePlaceholderSize:!0,placeholder:"dropzone",update:function(t,l){var o={url:i.ajax,type:"post",async:!0,cache:!1,dataType:"json",data:{action:"soliloquy_sort_images",order:e.sortable("toArray").toString(),post_id:i.id,nonce:i.sort},success:function(e){SoliloquySlidesUpdate()},error:function(e,t,i){}};$.ajax(o)}})},select:function(){var e=!1,l=!1;$("li.soliloquy-slide .soliloquy-item-content, .soliloquy-list li a.check").on("click",function(t){var o=$(this),a=$(this).parent();if(console.log(o),console.log(a),t.preventDefault(),$(a).hasClass("selected")){$(a).removeClass("selected"),l=!1;var s=$("ul#soliloquy-output li.selected").length;if(0!==s)$(".select-all").text(i.selected),$(".soliloquy-count").text(s.toString()),$(".soliloquy-clear-selected").fadeIn();else{var n=$("ul#soliloquy-output li").length;$(".select-all").text(i.select_all),$(".soliloquy-count").text(n.toString()),$(".soliloquy-clear-selected").fadeOut()}}else{if(e&&l!==!1){var d=$("ul#soliloquy-output li").index($(l)),u=$("ul#soliloquy-output li").index($(a)),c=0;if(u>d)for(c=d;u>=c;c++)$("ul#soliloquy-output li:eq( "+c+")").addClass("selected");else for(c=u;d>=c;c++)$("ul#soliloquy-output li:eq( "+c+")").addClass("selected")}$(a).addClass("selected"),l=$(a),s=$("ul#soliloquy-output li.selected").length,$(".soliloquy-clear-selected").fadeIn(),$(".select-all").text(i.selected),$(".soliloquy-count").text(s.toString())}$("ul#soliloquy-output > li.selected").length>0?$(".soliloquy-bulk-actions").fadeIn():$(".soliloquy-bulk-actions").fadeOut()}),$(t).on("keyup keydown",function(t){e=t.shiftKey})},slide_size:function(){$(t).on("change","#soliloquy-config-slider-size",function(){var e=$(this),t=e.val(),l=e.find(":selected").data("soliloquy-width"),o=e.find(":selected").data("soliloquy-height");"default"==t&&($("#soliloquy-config-slider-width").val(i.slide_width),$("#soliloquy-config-slider-height").val(i.slide_height)),l&&$("#soliloquy-config-slider-width").val(l),o&&$("#soliloquy-config-slider-height").val(o)})},clear_selected:function(){$(".soliloquy-clear-selected").on("click",function(e){e.preventDefault();var t=$("#soliloquy-output li").length;$("ul#soliloquy-output li").removeClass("selected"),$(".select-all").text(i.select_all),$(".soliloquy-count").text(t.toString()),$(".soliloquy-select-all").prop("checked",!1),$(".soliloquy-bulk-actions").fadeOut(),$(this).fadeOut()})},display:function(){$("a.soliloquy-display").on("click",function(e){if(e.preventDefault(),!$(this).hasClass("active-display")){var t=$(this),l=t.data("soliloquy-display"),o=$("#soliloquy-output"),a={url:i.ajax,type:"post",async:!0,cache:!1,dataType:"json",data:{action:"soliloquy_slider_view",post_id:i.id,view:l,nonce:i.save_nonce},success:function(e){}};$.ajax(a),$(".soliloquy-display-toggle").find(".active-display").removeClass("active-display"),t.addClass("active-display"),"grid"===l?o.removeClass("soliloquy-list").addClass("soliloquy-grid"):"list"===l&&o.removeClass("soliloquy-grid").addClass("soliloquy-list")}})},chosen:function(){$(".soliloquy-chosen").each(function(){var e=$(this).data("soliloquy-chosen-options");$(this).chosen(e)})},uploadImage:function(){$(".soliloquy-insert-image").on("click",function(e){var t;e.preventDefault();var l=$(event.currentTarget),o=l.parent().find("input");return console.log(o),t?void t.open():(t=wp.media.frames.soliloquy_image_frame=wp.media({frame:"select",library:{type:"image"},title:i.insert_image,button:{text:i.insert_image},contentUserSetting:!1,multiple:!1}),t.on("select",function(){var e=t.state().get("selection").first().toJSON();o.val(e.url)}),void t.open())})}};$(function(){l.init()}),$(t).on("soliloquyType",function(){l.init()})}(jQuery,window,document,soliloquy_metabox),jQuery(document).ready(function($){$("a.soliloquy-media-library").on("click",function(e){return e.preventDefault(),wp.media.frames.soliloquy?void wp.media.frames.soliloquy.open():(wp.media.frames.soliloquy=new wp.media.view.MediaFrame.Post({title:wp.media.view.l10n.insertIntoPost,button:{text:wp.media.view.l10n.insertIntoPost},multiple:!0,library:{type:"image"}}),wp.media.frames.soliloquy.on("open",function(){var e=wp.media.frames.soliloquy.state().get("selection");$("ul#soliloquy-output li").each(function(){var t=wp.media.attachment($(this).attr("id"));e.add(t?[t]:[])})}),wp.media.frames.soliloquy.on("ready",function(e){}),wp.media.frames.soliloquy.on("insert",function(e){var t=wp.media.frames.soliloquy.state(),i=[];e.each(function(e){var l=t.display(e).toJSON(),o=e.get("type");switch(l.link){case"none":e.set("link","");break;case"file":e.set("link",e.get("url"));break;case"post":break;case"custom":e.set("link",l.linkUrl)}"image"===o&&i.push(e.toJSON())},this),$.post(soliloquy_metabox.ajax,{action:"soliloquy_insert_slides",nonce:soliloquy_metabox.insert_nonce,post_id:soliloquy_metabox.id,images:i},function(e){if(e){$("#soliloquy-output").html(e.data),SoliloquySlidesUpdate();var t=$("#soliloquy-output li").length;$(".soliloquy-count").text(t.toString()),t>0&&($("#soliloquy-empty-slider").fadeOut().addClass("soliloquy-hidden"),$(".soliloquy-slide-header").removeClass("soliloquy-hidden").fadeIn(),$(".soliloquy-bulk-actions").fadeOut())}},"json")}),wp.media.frames.soliloquy.open(),$("div.media-menu a.media-menu-item:nth-child(2)").addClass("hidden"),$("div.media-menu a.media-menu-item:nth-child(4)").addClass("hidden"),void $("div.media-menu a.media-menu-item:nth-child(6)").addClass("hidden"))})});var SoliloquySlide=Backbone.Model.extend({defaults:{id:"",title:"",caption:"",alt:"",link:"",type:""}}),SoliloquySlides=new Backbone.Collection,SoliloquyModalWindow=new wp.media.view.Modal({controller:{trigger:function(){}}}),SoliloquyView=wp.Backbone.View.extend({id:"soliloquy-meta-edit",tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router",template:wp.template("soliloquy-meta-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","keyup .CodeMirror":"updateCode","blur textarea":"updateItem","change select":"updateItem","click a.soliloquy-meta-submit":"saveItem","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click a.soliloquy-thumbnail":"insertThumb","click a.soliloquy-thumbnail-delete":"removeThumb","click button.media-file":"insertMediaFileLink","click button.attachment-page":"insertAttachmentPageLink"},initialize:function(e){this.is_loading=!1,this.collection=e.collection,this.child_views=e.child_views,this.attachment_id=e.attachment_id,this.attachment_index=0,this.search_timer="";var t=0;this.collection.each(function(e){return e.get("id")==this.attachment_id?(this.model=e,this.attachment_index=t,!1):void t++},this)},updateCode:function(e){console.log("logged"),$model=this.model,$textarea=this.$el.find(".soliloquy-html-slide-code"),$model.set("code",this.editor.getValue(),{silent:!0}),$textarea.text()},insertThumb:function(e){$model=this.model,e.preventDefault();var t=this.$el.data("field"),i=wp.media.frames.soliloquy_media_frame=wp.media({className:"media-frame soliloquy-media-frame",frame:"select",multiple:!1,title:soliloquy_metabox.videoframe,library:{type:"image"},button:{text:soliloquy_metabox.videouse}});i.on("select",function(){var e=i.state().get("selection").first().toJSON();$model.set("src",e.url,{silent:!0}),jQuery("div.thumbnail > img",$parent.find(".media-frame-content")).attr("src",e.url)}),i.open()},removeThumb:function(e){e.preventDefault(),$model=this.model,$parent=this.$el.parent(),jQuery("div.thumbnail > img",$parent.find(".media-frame-content")).attr("src",""),$model.set("src","",{silent:!0})},render:function(){return this.$el.html(this.template(this.model.attributes)),this.child_views.length>0&&this.child_views.forEach(function(e){var t=new e({model:this.model});this.$el.find("div.addons").append(t.render().el)},this),this.$el.find("textarea[name=caption]").val(this.model.get("caption")),setTimeout(function(){quicktags({id:"caption",buttons:"strong,em,link,ul,ol,li,close"}),QTags._buttonsInit()},500),wpLink.init,0==this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==this.collection.length-1&&this.$el.find("button.right").addClass("disabled"),textarea=this.$el.find(".soliloquy-html-slide-code"),textarea.length&&(this.editor=CodeMirror.fromTextArea(textarea[0],{enterMode:"keep",indentUnit:4,electricChars:!1,lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,mode:"php",smartIndent:!1,tabMode:"shift",theme:"ttcn"})),this.$el.trigger("soliloquyRenderMeta"),this},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),"undefined"!=typeof e&&alert(e)},loadPreviousItem:function(){this.attachment_index--,this.model=this.collection.at(this.attachment_index),this.attachment_id=this.model.get("id"),this.render()},loadNextItem:function(){this.attachment_index++,this.model=this.collection.at(this.attachment_index),this.attachment_id=this.model.get("id"),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?1:0:value=e.target.value,this.model.set(e.target.name,value))},saveItem:function(e){e.preventDefault(),this.trigger("loading"),wp.media.ajax("soliloquy_save_meta",{context:this,data:{nonce:soliloquy_metabox.save_nonce,post_id:soliloquy_metabox.id,attach_id:this.model.get("id"),meta:this.model.attributes},success:function(e){this.trigger("loaded loaded:success");var t=JSON.stringify(this.model.attributes);jQuery("ul#soliloquy-output li#"+this.model.get("id")).attr("data-soliloquy-image-model",t);var i=this.$el.find(".saved");i.fadeIn(),setTimeout(function(){i.fadeOut()},1500)},error:function(e){this.trigger("loaded loaded:error",e)}})},searchLinks:function(e){},insertLink:function(e){},insertMediaFileLink:function(e){this.trigger("loading"),wp.media.ajax("soliloquy_get_attachment_links",{context:this,data:{nonce:soliloquy_metabox.save_nonce,attachment_id:this.model.get("id")},success:function(e){this.model.set("link",e.media_link),this.trigger("loaded loaded:success"),this.render()},error:function(e){this.trigger("loaded loaded:error",e)}})},insertAttachmentPageLink:function(e){this.trigger("loading"),wp.media.ajax("soliloquy_get_attachment_links",{context:this,data:{nonce:soliloquy_metabox.save_nonce,attachment_id:this.model.get("id")},success:function(e){this.model.set("link",e.attachment_page),this.trigger("loaded loaded:success"),this.render()},error:function(e){this.trigger("loaded loaded:error",e)}})}}),SoliloquyChildViews=[],SoliloquyContentViews=[];!function($){$(document).ready(function(){soliloquy_edit={init:function(){SoliloquySlidesUpdate(),$("#soliloquy-settings-content").on("click.soliloquyModify",".soliloquy-modify-slide",function(e){e.preventDefault();var t=$(this).parent().data("soliloquy-slide");SoliloquyModalWindow.content(new SoliloquyView({collection:SoliloquySlides,child_views:SoliloquyChildViews,attachment_id:t})),SoliloquyModalWindow.open(),$(".CodeMirror").each(function(e,t){t.CodeMirror.refresh()})})}},soliloquy_edit.init()}),$(document).on("soliloquyUploaded",function(){soliloquy_edit.init()})}(jQuery);var SoliloquyBulkEditImageView=wp.Backbone.View.extend({tagName:"li",className:"attachment",template:wp.template("soliloquy-meta-bulk-editor-slides"),initialize:function(e){this.model=e.model},render:function(){return this.$el.html(this.template(this.model.attributes)),this}}),SoliloquyBulkEditView=wp.Backbone.View.extend({id:"soliloquy-meta-edit-bulk",tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router",template:wp.template("soliloquy-meta-bulk-editor"),events:{"keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","blur textarea":"updateItem","change select":"updateItem","click .actions a.soliloquy-meta-submit":"saveItem","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click button.media-file":"insertMediaFileLink","click button.attachment-page":"insertAttachmentPageLink"},initialize:function(e){this.on("loading",this.loading,this),this.on("loaded",this.loaded,this),this.is_loading=!1,this.collection=e.collection,this.child_views=e.child_views,this.model=new SoliloquySlide},render:function(){return this.$el.html(this.template(this.model.toJSON())),this.collection.forEach(function(e){var t=new SoliloquyBulkEditImageView({model:e});this.$el.find("ul.attachments").append(t.render().el)},this),this.child_views.length>0&&this.child_views.forEach(function(e){var t=new e({model:this.model});this.$el.find("div.addons").append(t.render().el)},this),this.$el.find("textarea[name=caption]").val(this.model.get("caption")),setTimeout(function(){quicktags({id:"caption",buttons:"strong,em,link,ul,ol,li,close"}),QTags._buttonsInit()},100),wpLink.init,this},renderError:function(e){var t={};t.error=e;var i=new wp.media.view.SoliloquyError({model:t});return i.render().el},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),"undefined"!=typeof e&&this.$el.find("ul.attachments").before(this.renderError(e))},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?1:0:value=e.target.value,this.model.set(e.target.name,value))},saveItem:function(){this.trigger("loading");var e=[];this.collection.forEach(function(t){e.push(t.id)},this),wp.media.ajax("soliloquy_bulk_save_meta",{context:this,data:{nonce:soliloquy_metabox.save_nonce,post_id:soliloquy_metabox.id,meta:this.model.attributes,image_ids:e},success:function(e){this.collection.forEach(function(e){for(var t in this.model.attributes)value=this.model.attributes[t],value.length>0&&e.set(t,value);var i=JSON.stringify(e.attributes);jQuery("ul#soliloquy li#"+e.get("id")).attr("data-solioquy-image-model",i),jQuery("ul#soliloquy li#"+e.get("id")+" div.title").text(e.get("title"))},this),this.trigger("loaded loaded:success"),SoliloquyModalWindow.close()},error:function(e){this.trigger("loaded loaded:error",e)}})},insertMediaFileLink:function(e){this.trigger("loading"),this.model.set("link",response.media_link),this.trigger("loaded loaded:success"),this.render()},insertAttachmentPageLink:function(e){this.trigger("loading"),this.model.set("link",response.media_link),this.trigger("loaded loaded:success"),this.render()}});jQuery(document).ready(function($){$("#soliloquy-settings-content").on("click","a.soliloquy-slides-edit",function(e){e.preventDefault(),SoliloquySlidesUpdate(!0),SoliloquyModalWindow.content(new SoliloquyBulkEditView({collection:SoliloquySlides,child_views:SoliloquyChildViews})),SoliloquyModalWindow.open()})}),function($,e,t){"use strict";var i="",i="",l=e.location.hash,o=e.location.hash.replace("!","");if(l&&l.indexOf("soliloquy-tab")>=0){var a=$(o.replace("tab_","")),s=a.parent(),n=a.parent().parent().find("ul.soliloquy-tabs-nav"),d=$("#post").attr("action");console.log(a),s.find(".soliloquy-tab-active").removeClass("soliloquy-tab-active"),a.addClass("soliloquy-tab-active"),n.find(".soliloquy-tab-nav-active").removeClass("soliloquy-tab-nav-active"),n.find('a[href="'+o.replace("tab_","")+'"]').parent().addClass("soliloquy-tab-nav-active"),d&&(d=d.split("#")[0],$("#post").attr("action",d+e.location.hash)),$("body").trigger("SoliloquyTabChange")}$(function(){$("[data-soliloquy-tab]").on("click",function(t){t.preventDefault();var i=$(this),l=i.attr("data-tab-id"),o=i.parent(),a=o.parent(),s=o.attr("data-update-hashbang"),n="undefined"!=typeof i.attr("href")?"tab_"+i.attr("href"):"tab_"+l;if(!i.hasClass("soliloquy-tab-nav-active")){if(a.find(".soliloquy-tab-active").removeClass("soliloquy-tab-active"),o.find(".soliloquy-tab-nav-active").removeClass("soliloquy-tab-nav-active"),i.addClass("soliloquy-tab-nav-active"),$("#"+l).addClass("soliloquy-tab-active"),i.trigger("SoliloquyTabChange"),"soliloquy-native"===l&&$("#soliloquy-type-default").prop("checked")!==!0&&($("#soliloquy-types-nav li").removeClass("soliloquy-active"),$("#soliloquy-type-default").prop("checked",!0).trigger("change")),"1"===s){e.location.hash=n.split("#").join("#!");var d=$("#post").attr("action");d&&(d=d.split("#")[0],$("#post").attr("action",d+e.location.hash))}return!1}})})}(jQuery,window,document);
1
+ function SoliloquySlidesUpdate(e){SoliloquySlides.reset();var t="ul#soliloquy-output li.soliloquy-slide"+(e?".selected":"");jQuery(t).each(function(){var e=jQuery.parseJSON(jQuery(this).attr("data-soliloquy-image-model"));SoliloquySlides.add(new SoliloquySlide(e))})}var SoliloquySlide=Backbone.Model.extend({defaults:{id:"",title:"",caption:"",alt:"",link:"",type:""}}),SoliloquySlides=new Backbone.Collection,SoliloquyModalWindow=new wp.media.view.Modal({controller:{trigger:function(){}}}),SoliloquyView=wp.Backbone.View.extend({id:"soliloquy-meta-edit",tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router",template:wp.template("soliloquy-meta-editor"),events:{"click .edit-media-header .left":"loadPreviousItem","click .edit-media-header .right":"loadNextItem","keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","keyup .CodeMirror":"updateCode","blur textarea":"updateItem","change select":"updateItem","click a.soliloquy-meta-submit":"saveItem","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click a.soliloquy-thumbnail":"insertThumb","click a.soliloquy-thumbnail-delete":"removeThumb","click button.media-file":"insertMediaFileLink","click button.attachment-page":"insertAttachmentPageLink"},initialize:function(e){this.is_loading=!1,this.collection=e.collection,this.child_views=e.child_views,this.attachment_id=e.attachment_id,this.attachment_index=0,this.search_timer="";var t=0;this.collection.each(function(e){return String(e.get("id"))==String(this.attachment_id)?(this.model=e,this.attachment_index=t,!1):void t++},this)},updateCode:function(e){$model=this.model,$textarea=this.$el.find(".soliloquy-html-slide-code"),$model.set("code",this.editor.getValue(),{silent:!0}),$textarea.text()},insertThumb:function(e){$model=this.model,e.preventDefault();var t=this.$el.data("field"),i=wp.media.frames.soliloquy_media_frame=wp.media({className:"media-frame soliloquy-media-frame",frame:"select",multiple:!1,title:soliloquy_metabox.videoframe,library:{type:"image"},button:{text:soliloquy_metabox.videouse}});i.on("select",function(){var e=i.state().get("selection").first().toJSON();$model.set("src",e.url,{silent:!0}),jQuery("div.thumbnail > img",$parent.find(".media-frame-content")).attr("src",e.url)}),i.open()},removeThumb:function(e){e.preventDefault(),$model=this.model,$parent=this.$el.parent(),jQuery("div.thumbnail > img",$parent.find(".media-frame-content")).attr("src",""),$model.set("src","",{silent:!0})},render:function(){return this.$el.html(this.template(this.model.attributes)),this.child_views.length>0&&this.child_views.forEach(function(e){var t=new e({model:this.model});this.$el.find("div.addons").append(t.render().el)},this),this.$el.find("textarea[name=caption]").val(this.model.get("caption")),setTimeout(function(){quicktags({id:"caption",buttons:"strong,em,link,ul,ol,li,close"}),QTags._buttonsInit()},500),wpLink.init,0===this.attachment_index&&this.$el.find("button.left").addClass("disabled"),this.attachment_index==this.collection.length-1&&this.$el.find("button.right").addClass("disabled"),textarea=this.$el.find(".soliloquy-html-slide-code"),textarea.length&&(this.editor=CodeMirror.fromTextArea(textarea[0],{enterMode:"keep",indentUnit:4,electricChars:!1,lineNumbers:!0,lineWrapping:!0,matchBrackets:!0,mode:"php",smartIndent:!1,tabMode:"shift",theme:"ttcn"})),this.$el.trigger("soliloquyRenderMeta"),this},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),"undefined"!=typeof e&&alert(e)},loadPreviousItem:function(){this.attachment_index--,this.model=this.collection.at(this.attachment_index),this.attachment_id=this.model.get("id"),this.render()},loadNextItem:function(){this.attachment_index++,this.model=this.collection.at(this.attachment_index),this.attachment_id=this.model.get("id"),this.render()},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?1:0:value=e.target.value,this.model.set(e.target.name,value))},saveItem:function(e){e.preventDefault(),this.trigger("loading"),wp.media.ajax("soliloquy_save_meta",{context:this,data:{nonce:soliloquy_metabox.save_nonce,post_id:soliloquy_metabox.id,attach_id:this.model.get("id"),meta:this.model.attributes},success:function(e){this.trigger("loaded loaded:success");var t=JSON.stringify(this.model.attributes);jQuery("ul#soliloquy-output li#"+this.model.get("id")).attr("data-soliloquy-image-model",t);var i=this.$el.find(".saved");i.fadeIn(),setTimeout(function(){i.fadeOut()},1500)},error:function(e){this.trigger("loaded loaded:error",e)}})},searchLinks:function(e){},insertLink:function(e){},insertMediaFileLink:function(e){this.trigger("loading"),wp.media.ajax("soliloquy_get_attachment_links",{context:this,data:{nonce:soliloquy_metabox.save_nonce,attachment_id:this.model.get("id")},success:function(e){this.model.set("link",e.media_link),this.trigger("loaded loaded:success"),this.render()},error:function(e){this.trigger("loaded loaded:error",e)}})},insertAttachmentPageLink:function(e){this.trigger("loading"),wp.media.ajax("soliloquy_get_attachment_links",{context:this,data:{nonce:soliloquy_metabox.save_nonce,attachment_id:this.model.get("id")},success:function(e){this.model.set("link",e.attachment_page),this.trigger("loaded loaded:success"),this.render()},error:function(e){this.trigger("loaded loaded:error",e)}})}}),SoliloquyChildViews=[],SoliloquyContentViews=[];!function($){$(document).ready(function(){soliloquy_edit={init:function(){SoliloquySlidesUpdate(),$("#soliloquy-settings-content").on("click.soliloquyModify",".soliloquy-modify-slide",function(e){e.preventDefault();var t=$(this).parent().data("soliloquy-slide");SoliloquyModalWindow.content(new SoliloquyView({collection:SoliloquySlides,child_views:SoliloquyChildViews,attachment_id:t})),SoliloquyModalWindow.open(),$(".CodeMirror").each(function(e,t){t.CodeMirror.refresh()})})}},soliloquy_edit.init()}),$(document).on("soliloquyUploaded",function(){soliloquy_edit.init()})}(jQuery),jQuery(document).ready(function($){$("a.soliloquy-slides-delete").click(function(e){e.preventDefault();var t=confirm(soliloquy_metabox.remove_multiple);if(!t)return!1;var i=[];$("ul#soliloquy-output > li.selected").each(function(){i.push($(this).attr("id"))});var l={action:"soliloquy_remove_slides",attachment_ids:i,post_id:soliloquy_metabox.id,nonce:soliloquy_metabox.remove_nonce};$.post(soliloquy_metabox.ajax,l,function(e){$("ul#soliloquy-output > li.selected").remove(),$(".soliloquy-bulk-actions").fadeOut(),$(".soliloquy-select-all").prop("checked",!1),$(".soliloquy-load-library").attr("data-soliloquy-offset",0).addClass("has-search").trigger("click"),SoliloquySlidesUpdate(!1);var t=$("#soliloquy-output li").length;$(".soliloquy-count").text(t.toString()),0===t&&($(".soliloquy-bulk-actions").fadeOut(),$(".soliloquy-slide-header").fadeOut().addClass("soliloquy-hidden"),$("#soliloquy-empty-slider").removeClass("soliloquy-hidden").fadeIn())},"json")}),$("#soliloquy-settings-content ").on("click",".soliloquy-remove-slide",function(e){e.preventDefault();var t=confirm(soliloquy_metabox.remove);if(t){var i=$(this).parent().attr("id"),l={action:"soliloquy_remove_slide",attachment_id:i,post_id:soliloquy_metabox.id,nonce:soliloquy_metabox.remove_nonce};$.post(soliloquy_metabox.ajax,l,function(e){$("#"+i).fadeOut("normal",function(){$(this).remove(),$(".soliloquy-load-library").attr("data-soliloquy-offset",0).addClass("has-search").trigger("click"),SoliloquySlidesUpdate(!1);var e=$("#soliloquy-output li").length;$(".soliloquy-count").text(e.toString()),0===e&&($(".soliloquy-bulk-actions").fadeOut(),$(".soliloquy-slide-header").fadeOut().addClass("soliloquy-hidden"),$("#soliloquy-empty-slider").removeClass("soliloquy-hidden").fadeIn())})},"json")}})});var SoliloquyBulkEditImageView=wp.Backbone.View.extend({tagName:"li",className:"attachment",template:wp.template("soliloquy-meta-bulk-editor-slides"),initialize:function(e){this.model=e.model},render:function(){return this.$el.html(this.template(this.model.attributes)),this}}),SoliloquyBulkEditView=wp.Backbone.View.extend({id:"soliloquy-meta-edit-bulk",tagName:"div",className:"edit-attachment-frame mode-select hide-menu hide-router",template:wp.template("soliloquy-meta-bulk-editor"),events:{"keyup input":"updateItem","keyup textarea":"updateItem","change input":"updateItem","change textarea":"updateItem","blur textarea":"updateItem","change select":"updateItem","click .actions a.soliloquy-meta-submit":"saveItem","keyup input#link-search":"searchLinks","click div.query-results li":"insertLink","click button.media-file":"insertMediaFileLink","click button.attachment-page":"insertAttachmentPageLink"},initialize:function(e){this.on("loading",this.loading,this),this.on("loaded",this.loaded,this),this.is_loading=!1,this.collection=e.collection,this.child_views=e.child_views,this.model=new SoliloquySlide},render:function(){return this.$el.html(this.template(this.model.toJSON())),this.collection.forEach(function(e){var t=new SoliloquyBulkEditImageView({model:e});this.$el.find("ul.attachments").append(t.render().el)},this),this.child_views.length>0&&this.child_views.forEach(function(e){var t=new e({model:this.model});this.$el.find("div.addons").append(t.render().el)},this),this.$el.find("textarea[name=caption]").val(this.model.get("caption")),setTimeout(function(){quicktags({id:"caption",buttons:"strong,em,link,ul,ol,li,close"}),QTags._buttonsInit()},100),wpLink.init,this},renderError:function(e){var t={};t.error=e;var i=new wp.media.view.SoliloquyError({model:t});return i.render().el},loading:function(){this.is_loading=!0,this.$el.find(".spinner").css("visibility","visible")},loaded:function(e){this.is_loading=!1,this.$el.find(".spinner").css("visibility","hidden"),"undefined"!=typeof e&&this.$el.find("ul.attachments").before(this.renderError(e))},updateItem:function(e){""!=e.target.name&&("checkbox"==e.target.type?value=e.target.checked?1:0:value=e.target.value,this.model.set(e.target.name,value))},saveItem:function(){this.trigger("loading");var e=[];this.collection.forEach(function(t){e.push(t.id)},this),wp.media.ajax("soliloquy_bulk_save_meta",{context:this,data:{nonce:soliloquy_metabox.save_nonce,post_id:soliloquy_metabox.id,meta:this.model.attributes,image_ids:e},success:function(e){this.collection.forEach(function(e){for(var t in this.model.attributes)value=this.model.attributes[t],value.length>0&&e.set(t,value);var i=JSON.stringify(e.attributes);jQuery("ul#soliloquy li#"+e.get("id")).attr("data-solioquy-image-model",i),jQuery("ul#soliloquy li#"+e.get("id")+" div.title").text(e.get("title"))},this),this.trigger("loaded loaded:success"),SoliloquyModalWindow.close()},error:function(e){this.trigger("loaded loaded:error",e)}})},insertMediaFileLink:function(e){this.trigger("loading"),this.model.set("link",response.media_link),this.trigger("loaded loaded:success"),this.render()},insertAttachmentPageLink:function(e){this.trigger("loading"),this.model.set("link",response.media_link),this.trigger("loaded loaded:success"),this.render()}});jQuery(document).ready(function($){$("#soliloquy-settings-content").on("click","a.soliloquy-slides-edit",function(e){e.preventDefault(),SoliloquySlidesUpdate(!0),SoliloquyModalWindow.content(new SoliloquyBulkEditView({collection:SoliloquySlides,child_views:SoliloquyChildViews})),SoliloquyModalWindow.open()})}),function($,e,t,i){"use strict";var l={init:function(){this.select_all(),this.sortable(),this.select(),this.display(),this.chosen(),this.slide_size(),this.uploadImage(),this.toggleStatus(),this.tooltip(),this.clear_selected(),new Clipboard(".soliloquy-clipboard"),$("ul#soliloquy-output").on("click","a.check",function(e){e.preventDefault()}),$(".soliloquy-clipboard").on("click",function(e){e.preventDefault()});var e=$("#soliloquy-output li").length;$(".soliloquy-count").text(e.toString()),$("input,select").conditional()},toggleStatus:function(){$("#soliloquy-settings-content").on("click.soliloquyStatus",".soliloquy-slide-status",function(e){if(e.preventDefault(),$(this).hasClass("list-status"))var t=$(this).parent().parent().parent();else var t=$(this).parent();var l=$(this),o=l.data("status"),a=t.find(".soliloquy-slide-status.list-status"),s=t.find(".soliloquy-slide-status.grid-status"),n=l.parent().parent().data("view"),d=l.data("id"),u=s.find("span.dashicons"),r=a.find("span"),c=l.data("soliloquy-tooltip");if("active"===o)var h="pending";else var h="active";var m={url:i.ajax,type:"post",async:!0,cache:!1,dataType:"json",data:{action:"soliloquy_change_slide_status",post_id:i.id,slide_id:d,status:h,nonce:i.save_nonce},success:function(e){"active"===h?(s.removeClass("soliloquy-draft-slide").addClass("soliloquy-active-slide"),a.removeClass("soliloquy-draft-slide").addClass("soliloquy-active-slide"),u.removeClass("dashicons-hidden").addClass("dashicons-visibility"),r.text(i.active),s.attr("data-soliloquy-tooltip",i.active),a.data("status","active"),s.data("status","active")):(s.removeClass("soliloquy-active-slide").addClass("soliloquy-draft-slide"),a.removeClass("soliloquy-active-slide").addClass("soliloquy-draft-slide"),u.removeClass("dashicons-visibility").addClass("dashicons-hidden"),r.text(i.draft),a.data("status","pending"),s.data("status","pending"),s.attr("data-soliloquy-tooltip",i.draft))},error:function(e,t,i){}};$.ajax(m)})},tooltip:function(){$("[data-soliloquy-tooltip]").on("mouseover",function(e){e.preventDefault();var t=$(this),i=t.data("soliloquy-tooltip")})},select_all:function(){$(".soliloquy-select-all").change(function(){var e=this.checked;if(e){$("ul#soliloquy-output li").addClass("selected"),$(".soliloquy-bulk-actions").fadeIn();var t=$("ul#soliloquy-output li.selected").length;$(".select-all").text(i.selected),$(".soliloquy-count").text(t.toString()),$(".soliloquy-clear-selected").fadeIn()}else{$("ul#soliloquy-output li").removeClass("selected"),$(".soliloquy-bulk-actions").fadeOut();var l=$("ul#soliloquy-output li").length;$(".select-all").text(i.select_all),$(".soliloquy-count").text(l.toString()),$(".soliloquy-clear-selected").fadeOut()}})},sortable:function(){var e=$("#soliloquy-output");e.sortable({containment:"#soliloquy-slider-main",items:"li",cursor:"move",forcePlaceholderSize:!0,placeholder:"dropzone",update:function(t,l){var o={url:i.ajax,type:"post",async:!0,cache:!1,dataType:"json",data:{action:"soliloquy_sort_images",order:e.sortable("toArray").toString(),post_id:i.id,nonce:i.sort},success:function(e){SoliloquySlidesUpdate()},error:function(e,t,i){}};$.ajax(o)}})},select:function(){var e=!1,l=!1;$("li.soliloquy-slide .soliloquy-item-content, .soliloquy-list li a.check").on("click",function(t){var o=$(this),a=$(this).parent();if(t.preventDefault(),$(a).hasClass("selected")){$(a).removeClass("selected"),l=!1;var s=$("ul#soliloquy-output li.selected").length;if(0!==s)$(".select-all").text(i.selected),$(".soliloquy-count").text(s.toString()),$(".soliloquy-clear-selected").fadeIn();else{var n=$("ul#soliloquy-output li").length;$(".select-all").text(i.select_all),$(".soliloquy-count").text(n.toString()),$(".soliloquy-clear-selected").fadeOut()}}else{if(e&&l!==!1){var d=$("ul#soliloquy-output li").index($(l)),u=$("ul#soliloquy-output li").index($(a)),r=0;if(u>d)for(r=d;u>=r;r++)$("ul#soliloquy-output li:eq( "+r+")").addClass("selected");else for(r=u;d>=r;r++)$("ul#soliloquy-output li:eq( "+r+")").addClass("selected")}$(a).addClass("selected"),l=$(a),s=$("ul#soliloquy-output li.selected").length,$(".soliloquy-clear-selected").fadeIn(),$(".select-all").text(i.selected),$(".soliloquy-count").text(s.toString())}$("ul#soliloquy-output > li.selected").length>0?$(".soliloquy-bulk-actions").fadeIn():$(".soliloquy-bulk-actions").fadeOut()}),$(t).on("keyup keydown",function(t){e=t.shiftKey})},slide_size:function(){$(t).on("change","#soliloquy-config-slider-size",function(){var e=$(this),t=e.val(),l=e.find(":selected").data("soliloquy-width"),o=e.find(":selected").data("soliloquy-height");"default"==t&&($("#soliloquy-config-slider-width").val(i.slide_width),$("#soliloquy-config-slider-height").val(i.slide_height)),l&&$("#soliloquy-config-slider-width").val(l),o&&$("#soliloquy-config-slider-height").val(o)})},clear_selected:function(){$(".soliloquy-clear-selected").on("click",function(e){e.preventDefault();var t=$("#soliloquy-output li").length;$("ul#soliloquy-output li").removeClass("selected"),$(".select-all").text(i.select_all),$(".soliloquy-count").text(t.toString()),$(".soliloquy-select-all").prop("checked",!1),$(".soliloquy-bulk-actions").fadeOut(),$(this).fadeOut()})},display:function(){$("a.soliloquy-display").on("click",function(e){if(e.preventDefault(),!$(this).hasClass("active-display")){var t=$(this),l=t.data("soliloquy-display"),o=$("#soliloquy-output"),a={url:i.ajax,type:"post",async:!0,cache:!1,dataType:"json",data:{action:"soliloquy_slider_view",post_id:i.id,view:l,nonce:i.save_nonce},success:function(e){}};$.ajax(a),$(".soliloquy-display-toggle").find(".active-display").removeClass("active-display"),t.addClass("active-display"),"grid"===l?o.removeClass("soliloquy-list").addClass("soliloquy-grid"):"list"===l&&o.removeClass("soliloquy-grid").addClass("soliloquy-list")}})},chosen:function(){$(".soliloquy-chosen").each(function(){var e=$(this).data("soliloquy-chosen-options");$(this).chosen(e)})},uploadImage:function(){$(".soliloquy-insert-image").on("click",function(e){var t;e.preventDefault();var l=$(event.currentTarget),o=l.parent().find("input");return t?void t.open():(t=wp.media.frames.soliloquy_image_frame=wp.media({frame:"select",library:{type:"image"},title:i.insert_image,button:{text:i.insert_image},contentUserSetting:!1,multiple:!1}),t.on("select",function(){var e=t.state().get("selection").first().toJSON();o.val(e.url)}),void t.open())})}};$(function(){l.init()}),$(t).on("soliloquyType",function(){l.init()})}(jQuery,window,document,soliloquy_metabox),jQuery(document).ready(function($){$("a.soliloquy-media-library").on("click",function(e){return e.preventDefault(),wp.media.frames.soliloquy?void wp.media.frames.soliloquy.open():(wp.media.frames.soliloquy=new wp.media.view.MediaFrame.Post({title:wp.media.view.l10n.insertIntoPost,button:{text:wp.media.view.l10n.insertIntoPost},multiple:!0,library:{type:"image"}}),wp.media.frames.soliloquy.on("open",function(){var e=wp.media.frames.soliloquy.state().get("selection");$("ul#soliloquy-output li").each(function(){var t=wp.media.attachment($(this).attr("id"));e.add(t?[t]:[])})}),wp.media.frames.soliloquy.on("ready",function(e){}),wp.media.frames.soliloquy.on("insert",function(e){var t=wp.media.frames.soliloquy.state(),i=[];e.each(function(e){var l=t.display(e).toJSON(),o=e.get("type");switch(l.link){case"none":e.set("link","");break;case"file":e.set("link",e.get("url"));break;case"post":break;case"custom":e.set("link",l.linkUrl)}"image"===o&&i.push(e.toJSON())},this),$.post(soliloquy_metabox.ajax,{action:"soliloquy_insert_slides",nonce:soliloquy_metabox.insert_nonce,post_id:soliloquy_metabox.id,images:i},function(e){if(e){$("#soliloquy-output").html(e.data),SoliloquySlidesUpdate();var t=$("#soliloquy-output li").length;$(".soliloquy-count").text(t.toString()),t>0&&($("#soliloquy-empty-slider").fadeOut().addClass("soliloquy-hidden"),$(".soliloquy-slide-header").removeClass("soliloquy-hidden").fadeIn(),$(".soliloquy-bulk-actions").fadeOut())}},"json")}),wp.media.frames.soliloquy.open(),$("div.media-menu a.media-menu-item:nth-child(2)").addClass("hidden"),$("div.media-menu a.media-menu-item:nth-child(4)").addClass("hidden"),void $("div.media-menu a.media-menu-item:nth-child(6)").addClass("hidden"))})}),function($,e,t){"use strict";var i=e.location.hash,l=e.location.hash.replace("!","");if(i&&i.indexOf("soliloquy-tab")>=0){var o=$(l.replace("tab_","")),a=o.parent(),s=o.parent().parent().find("ul.soliloquy-tabs-nav"),n=$("#post").attr("action");a.find(".soliloquy-tab-active").removeClass("soliloquy-tab-active"),o.addClass("soliloquy-tab-active"),s.find(".soliloquy-tab-nav-active").removeClass("soliloquy-tab-nav-active"),s.find('a[href="'+l.replace("tab_","")+'"]').parent().addClass("soliloquy-tab-nav-active"),n&&(n=n.split("#")[0],$("#post").attr("action",n+e.location.hash)),$("body").trigger("SoliloquyTabChange")}$(function(){$("[data-soliloquy-tab]").on("click",function(t){t.preventDefault();var i=$(this),l=i.attr("data-tab-id"),o=i.parent(),a=o.parent(),s=o.attr("data-update-hashbang"),n="undefined"!=typeof i.attr("href")?"tab_"+i.attr("href"):"tab_"+l;if(!i.hasClass("soliloquy-tab-nav-active")){if(a.find(".soliloquy-tab-active").removeClass("soliloquy-tab-active"),o.find(".soliloquy-tab-nav-active").removeClass("soliloquy-tab-nav-active"),i.addClass("soliloquy-tab-nav-active"),$("#"+l).addClass("soliloquy-tab-active"),i.trigger("SoliloquyTabChange"),"soliloquy-native"===l&&$("#soliloquy-type-default").prop("checked")!==!0&&($("#soliloquy-types-nav li").removeClass("soliloquy-active"),$("#soliloquy-type-default").prop("checked",!0).trigger("change")),"1"===s){e.location.hash=n.split("#").join("#!");var d=$("#post").attr("action");d&&(d=d.split("#")[0],$("#post").attr("action",d+e.location.hash))}return!1}})})}(jQuery,window,document);
assets/js/min/settings-min.js CHANGED
@@ -1,115 +1 @@
1
- /* global soliloquy_settings */
2
- /* ==========================================================
3
- * settings.js
4
- * http://soliloquywp.com/
5
- * ==========================================================
6
- * Copyright 2016 Thomas Griffin.
7
- *
8
- * Licensed under the GPL License, Version 2.0 or later (the "License");
9
- * you may not use this file except in compliance with the License.
10
- * You may obtain a copy of the License at
11
- *
12
- * http://www.gnu.org/licenses/gpl-2.0.html
13
- *
14
- * Unless required by applicable law or agreed to in writing, software
15
- * distributed under the License is distributed on an "AS IS" BASIS,
16
- * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
17
- * See the License for the specific language governing permissions and
18
- * limitations under the License.
19
- * ========================================================== */
20
- ;(function ($, window, document, soliloquy_settings ) {
21
-
22
- //Dom Ready
23
- $(function(){
24
-
25
- // Initialize the slider tabs.
26
- var soliloquy_tabs = $('#soliloquy-tabs'),
27
- soliloquy_tabs_nav = $('#soliloquy-tabs-nav'),
28
- soliloquy_tabs_hash = window.location.hash,
29
- soliloquy_tabs_hash_sani = window.location.hash.replace('!', '');
30
-
31
- // If we have a hash and it begins with "soliloquy-tab", set the proper tab to be opened.
32
- if ( soliloquy_tabs_hash && soliloquy_tabs_hash.indexOf('soliloquy-tab-') >= 0 ) {
33
-
34
- $('.soliloquy-active').removeClass('soliloquy-active nav-tab-active');
35
-
36
- soliloquy_tabs_nav.find('a[href="' + soliloquy_tabs_hash_sani + '"]').addClass('soliloquy-active nav-tab-active');
37
-
38
- soliloquy_tabs.find(soliloquy_tabs_hash_sani).addClass('soliloquy-active').show();
39
-
40
- }
41
-
42
- // Start the upgrade process.
43
- $('.soliloquy-start-upgrade').on('click', function(e) {
44
-
45
- e.preventDefault();
46
-
47
- var $this = $(this);
48
-
49
- // Show the spinner.
50
- $('.soliloquy-spinner').css({
51
- 'display': 'inline-block',
52
- 'float': 'none',
53
- 'vertical-align': 'text-bottom'
54
- });
55
-
56
- // Prepare our data to be sent via Ajax.
57
- var upgrade = {
58
- action: 'soliloquy_upgrade_sliders',
59
- nonce: soliloquy_addons.upgrade_nonce
60
- };
61
-
62
- // Process the Ajax response and output all the necessary data.
63
- $.post(
64
- soliloquy_addons.ajax,
65
- upgrade,
66
- function(response) {
67
- // Hide the spinner.
68
- $('.soliloquy-spinner').hide();
69
- // Redirect back to Soliloquy screen.
70
- window.location.replace(soliloquy_addons.redirect);
71
- }, 'json' );
72
-
73
- });
74
-
75
- // Change tabs on click.
76
- $('#soliloquy-tabs-nav a').on('click', function(e){
77
-
78
- e.preventDefault();
79
-
80
- var $this = $(this);
81
-
82
- //If the tab is active return, else switch tabs
83
- if ( $this.hasClass('soliloquy-active') ) {
84
-
85
- return;
86
-
87
- } else {
88
-
89
- window.location.hash = soliloquy_tabs_hash = this.hash.split('#').join('#!');
90
-
91
- var current = soliloquy_tabs_nav.find('.soliloquy-active').removeClass('soliloquy-active nav-tab-active').attr('href');
92
-
93
- $this.addClass('soliloquy-active nav-tab-active');
94
-
95
- soliloquy_tabs.find(current).removeClass('soliloquy-active').hide();
96
-
97
- soliloquy_tabs.find($this.attr('href')).addClass('soliloquy-active').show();
98
-
99
- }
100
-
101
- });
102
-
103
- //Create the Select boxes
104
- $('.soliloquy-chosen').each(function (){
105
-
106
- var data_options = $(this).data('soliloquy-chosen-options');
107
-
108
- $(this).chosen( data_options );
109
-
110
- });
111
-
112
- });
113
-
114
- })( jQuery , window, document, soliloquy_settings );
115
-
1
+ !function($,o,a,i){$(function(){var a=$("#soliloquy-tabs"),s=$("#soliloquy-tabs-nav"),l=o.location.hash,t=o.location.hash.replace("!","");l&&l.indexOf("soliloquy-tab-")>=0&&($(".soliloquy-active").removeClass("soliloquy-active nav-tab-active"),s.find('a[href="'+t+'"]').addClass("soliloquy-active nav-tab-active"),a.find(t).addClass("soliloquy-active").show()),$(".soliloquy-start-upgrade").on("click",function(a){a.preventDefault();var s=$(this);$(".soliloquy-spinner").css({display:"inline-block","float":"none","vertical-align":"text-bottom"});var l={action:"soliloquy_upgrade_sliders",nonce:i.upgrade_nonce};$.post(i.ajax,l,function(a){$(".soliloquy-spinner").hide(),o.location.replace(i.redirect)},"json")}),$("#soliloquy-tabs-nav a").on("click",function(i){i.preventDefault();var t=$(this);if(!t.hasClass("soliloquy-active")){o.location.hash=l=this.hash.split("#").join("#!");var e=s.find(".soliloquy-active").removeClass("soliloquy-active nav-tab-active").attr("href");t.addClass("soliloquy-active nav-tab-active"),a.find(e).removeClass("soliloquy-active").hide(),a.find(t.attr("href")).addClass("soliloquy-active").show()}}),$(".soliloquy-chosen").each(function(){var o=$(this).data("soliloquy-chosen-options");$(this).chosen(o)})})}(jQuery,window,document,soliloquy_settings);
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
assets/js/settings.js CHANGED
@@ -18,10 +18,10 @@
18
  * limitations under the License.
19
  * ========================================================== */
20
  ;(function ($, window, document, soliloquy_settings ) {
21
-
22
  //Dom Ready
23
  $(function(){
24
-
25
  // Initialize the slider tabs.
26
  var soliloquy_tabs = $('#soliloquy-tabs'),
27
  soliloquy_tabs_nav = $('#soliloquy-tabs-nav'),
@@ -30,18 +30,18 @@
30
 
31
  // If we have a hash and it begins with "soliloquy-tab", set the proper tab to be opened.
32
  if ( soliloquy_tabs_hash && soliloquy_tabs_hash.indexOf('soliloquy-tab-') >= 0 ) {
33
-
34
  $('.soliloquy-active').removeClass('soliloquy-active nav-tab-active');
35
-
36
  soliloquy_tabs_nav.find('a[href="' + soliloquy_tabs_hash_sani + '"]').addClass('soliloquy-active nav-tab-active');
37
-
38
  soliloquy_tabs.find(soliloquy_tabs_hash_sani).addClass('soliloquy-active').show();
39
-
40
  }
41
-
42
  // Start the upgrade process.
43
  $('.soliloquy-start-upgrade').on('click', function(e) {
44
-
45
  e.preventDefault();
46
 
47
  var $this = $(this);
@@ -56,59 +56,59 @@
56
  // Prepare our data to be sent via Ajax.
57
  var upgrade = {
58
  action: 'soliloquy_upgrade_sliders',
59
- nonce: soliloquy_addons.upgrade_nonce
60
  };
61
 
62
  // Process the Ajax response and output all the necessary data.
63
  $.post(
64
- soliloquy_addons.ajax,
65
  upgrade,
66
  function(response) {
67
  // Hide the spinner.
68
  $('.soliloquy-spinner').hide();
69
  // Redirect back to Soliloquy screen.
70
- window.location.replace(soliloquy_addons.redirect);
71
  }, 'json' );
72
-
73
  });
74
-
75
  // Change tabs on click.
76
  $('#soliloquy-tabs-nav a').on('click', function(e){
77
-
78
  e.preventDefault();
79
-
80
  var $this = $(this);
81
-
82
  //If the tab is active return, else switch tabs
83
  if ( $this.hasClass('soliloquy-active') ) {
84
-
85
  return;
86
-
87
  } else {
88
-
89
  window.location.hash = soliloquy_tabs_hash = this.hash.split('#').join('#!');
90
-
91
  var current = soliloquy_tabs_nav.find('.soliloquy-active').removeClass('soliloquy-active nav-tab-active').attr('href');
92
-
93
  $this.addClass('soliloquy-active nav-tab-active');
94
-
95
  soliloquy_tabs.find(current).removeClass('soliloquy-active').hide();
96
-
97
  soliloquy_tabs.find($this.attr('href')).addClass('soliloquy-active').show();
98
-
99
  }
100
-
101
  });
102
-
103
  //Create the Select boxes
104
  $('.soliloquy-chosen').each(function (){
105
-
106
- var data_options = $(this).data('soliloquy-chosen-options');
107
 
108
  $(this).chosen( data_options );
109
-
110
- });
111
-
112
  });
113
-
114
  })( jQuery , window, document, soliloquy_settings );
18
  * limitations under the License.
19
  * ========================================================== */
20
  ;(function ($, window, document, soliloquy_settings ) {
21
+
22
  //Dom Ready
23
  $(function(){
24
+
25
  // Initialize the slider tabs.
26
  var soliloquy_tabs = $('#soliloquy-tabs'),
27
  soliloquy_tabs_nav = $('#soliloquy-tabs-nav'),
30
 
31
  // If we have a hash and it begins with "soliloquy-tab", set the proper tab to be opened.
32
  if ( soliloquy_tabs_hash && soliloquy_tabs_hash.indexOf('soliloquy-tab-') >= 0 ) {
33
+
34
  $('.soliloquy-active').removeClass('soliloquy-active nav-tab-active');
35
+
36
  soliloquy_tabs_nav.find('a[href="' + soliloquy_tabs_hash_sani + '"]').addClass('soliloquy-active nav-tab-active');
37
+
38
  soliloquy_tabs.find(soliloquy_tabs_hash_sani).addClass('soliloquy-active').show();
39
+
40
  }
41
+
42
  // Start the upgrade process.
43
  $('.soliloquy-start-upgrade').on('click', function(e) {
44
+
45
  e.preventDefault();
46
 
47
  var $this = $(this);
56
  // Prepare our data to be sent via Ajax.
57
  var upgrade = {
58
  action: 'soliloquy_upgrade_sliders',
59
+ nonce: soliloquy_settings.upgrade_nonce
60
  };
61
 
62
  // Process the Ajax response and output all the necessary data.
63
  $.post(
64
+ soliloquy_settings.ajax,
65
  upgrade,
66
  function(response) {
67
  // Hide the spinner.
68
  $('.soliloquy-spinner').hide();
69
  // Redirect back to Soliloquy screen.
70
+ window.location.replace(soliloquy_settings.redirect);
71
  }, 'json' );
72
+
73
  });
74
+
75
  // Change tabs on click.
76
  $('#soliloquy-tabs-nav a').on('click', function(e){
77
+
78
  e.preventDefault();
79
+
80
  var $this = $(this);
81
+
82
  //If the tab is active return, else switch tabs
83
  if ( $this.hasClass('soliloquy-active') ) {
84
+
85
  return;
86
+
87
  } else {
88
+
89
  window.location.hash = soliloquy_tabs_hash = this.hash.split('#').join('#!');
90
+
91
  var current = soliloquy_tabs_nav.find('.soliloquy-active').removeClass('soliloquy-active nav-tab-active').attr('href');
92
+
93
  $this.addClass('soliloquy-active nav-tab-active');
94
+
95
  soliloquy_tabs.find(current).removeClass('soliloquy-active').hide();
96
+
97
  soliloquy_tabs.find($this.attr('href')).addClass('soliloquy-active').show();
98
+
99
  }
100
+
101
  });
102
+
103
  //Create the Select boxes
104
  $('.soliloquy-chosen').each(function (){
105
+
106
+ var data_options = $(this).data('soliloquy-chosen-options');
107
 
108
  $(this).chosen( data_options );
109
+
110
+ });
111
+
112
  });
113
+
114
  })( jQuery , window, document, soliloquy_settings );
assets/js/tabs.js CHANGED
@@ -1,12 +1,12 @@
 
 
1
  /**
2
  * Soliloquy Admin Tabs
3
  */
4
  ;(function ($, window, document ) {
5
 
6
  "use strict";
7
- var soliloquy_tabs = '',
8
- soliloquy_tabs = '',
9
- soliloquy_tabs_hash = window.location.hash,
10
  soliloquy_tabs_current_tab = window.location.hash.replace( '!', '' );
11
 
12
  if ( soliloquy_tabs_hash && soliloquy_tabs_hash.indexOf( 'soliloquy-tab' ) >= 0 ) {
@@ -15,7 +15,7 @@
15
  $tab_container = $current_tab_container.parent(),
16
  $tab_nav = $current_tab_container.parent().parent().find('ul.soliloquy-tabs-nav'),
17
  soliloquy_post_action = $( '#post' ).attr( 'action' );
18
- console.log($current_tab_container);
19
  $tab_container.find('.soliloquy-tab-active').removeClass('soliloquy-tab-active');
20
  $current_tab_container.addClass('soliloquy-tab-active');
21
 
1
+ /* global document */
2
+ /* jshint unused:false */
3
  /**
4
  * Soliloquy Admin Tabs
5
  */
6
  ;(function ($, window, document ) {
7
 
8
  "use strict";
9
+ var soliloquy_tabs_hash = window.location.hash,
 
 
10
  soliloquy_tabs_current_tab = window.location.hash.replace( '!', '' );
11
 
12
  if ( soliloquy_tabs_hash && soliloquy_tabs_hash.indexOf( 'soliloquy-tab' ) >= 0 ) {
15
  $tab_container = $current_tab_container.parent(),
16
  $tab_nav = $current_tab_container.parent().parent().find('ul.soliloquy-tabs-nav'),
17
  soliloquy_post_action = $( '#post' ).attr( 'action' );
18
+
19
  $tab_container.find('.soliloquy-tab-active').removeClass('soliloquy-tab-active');
20
  $current_tab_container.addClass('soliloquy-tab-active');
21
 
assets/scss/global.scss CHANGED
@@ -56,7 +56,7 @@
56
  background: $red;
57
  color: $white;
58
  opacity: .8;
59
-
60
  }
61
 
62
  }
@@ -157,7 +157,7 @@
157
  .soliloquy-yt{
158
  iframe{
159
  max-width: 100%;
160
- height: auto;
161
  }
162
  }
163
  .soliloquy-hidden{
@@ -249,16 +249,6 @@
249
  [data-soliloquy-tooltip]:hover:after {
250
  visibility: visible;
251
  opacity: 1;
252
- }
253
- .soliloquy-alert{
254
- position: relative;
255
- margin: 0 0 20px 0;
256
- padding: 20px;
257
- -webkit-border-radius: 2px;
258
- -moz-border-radius: 2px;
259
- -o-border-radius: 2px;
260
- border-radius: 2px;
261
- background: #fcf8e3;
262
  }
263
  [class*=soliloquy-grid-]{
264
  float:left;
56
  background: $red;
57
  color: $white;
58
  opacity: .8;
59
+
60
  }
61
 
62
  }
157
  .soliloquy-yt{
158
  iframe{
159
  max-width: 100%;
160
+ height: auto;
161
  }
162
  }
163
  .soliloquy-hidden{
249
  [data-soliloquy-tooltip]:hover:after {
250
  visibility: visible;
251
  opacity: 1;
 
 
 
 
 
 
 
 
 
 
252
  }
253
  [class*=soliloquy-grid-]{
254
  float:left;
assets/scss/metabox.scss CHANGED
@@ -30,54 +30,102 @@
30
  /* ==========================================================================
31
  Metabox Styles
32
  ========================================================================== */
33
- .post-type-soliloquy{
34
- #wp-link-wrap{
35
- z-index: 180105 !important;
36
- }
37
- #wp-link-backdrop{
38
- z-index: 160105 !important;
39
-
40
- }
41
- #wpbody-content h1{
42
  margin: 0;
 
43
  padding-left: 20px;
 
44
  line-height: 45px;
45
  font-size: 20px;
46
  font-weight: 400;
47
  background-color: $white;
48
  height: 45px;
49
  margin-left: -20px;
50
- margin-right: -20px;
51
  margin-bottom: 20px;
52
- .page-title-action{
53
- margin-left: 4px;
54
- padding: 4px 8px;
55
- position: relative;
56
- top: -3px;
57
- text-decoration: none;
58
- border: none;
59
- color: $primary-color;
60
- border-radius: 0;
 
 
 
 
 
 
 
 
61
  background: none;
62
- text-shadow: none;
63
- font-weight: 600;
64
- font-size: 13px;
65
- &:hover{
66
- background: none;
67
- color: $mid-grey;
68
- }
69
- &:before{
70
- display: inline-block;
71
- font-family: 'soliloquy';
72
- content:'\0050';
73
- margin-top: -3px;
74
- margin-right: 8px;
75
- vertical-align: middle;
76
- }
77
  }
78
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
79
  .wrap{
80
  margin-top: 0px !important;
 
81
  }
82
  }
83
  .soliloquy-spinner {
@@ -85,7 +133,6 @@
85
  display: inline-block;
86
  margin-top: 0;
87
  }
88
-
89
  /* ==========================================================================
90
  Soliloquy Uploader
91
  ========================================================================== */
@@ -102,25 +149,7 @@
102
  content: "";
103
  display: table;
104
  clear: both;
105
- }
106
  }
107
- #soliloquy-external{
108
- text-align: center;
109
- ul li a{
110
- color: rgb(0,0,0);
111
- &:hover{
112
- color: rgb(0,0,0);
113
- }
114
- }
115
- a.button{
116
- padding: 0 32px 1px;
117
- line-height: 48px;
118
- height: 50px;
119
- font-size: 18px;
120
- text-transform: uppercase;
121
- margin: 15px 0;
122
-
123
- }
124
  }
125
  .soliloquy-type-tab{
126
  position: relative;
@@ -138,7 +167,7 @@
138
  background-color: $almost-white;
139
  border: 1px solid #e5e5e5;
140
  box-sizing: border-box;
141
- border-top-left-radius: 3px;
142
  border-top-right-radius: 3px;
143
  input {
144
  display: none;
@@ -265,9 +294,7 @@
265
  * Hide the uploader until the drag-drop class is added to it i.e. it has initialised
266
  * This stops the user seeing a flash as the drag/drop area repositions itself on load
267
  */
268
- display: none;
269
-
270
- &.drag-drop {
271
  /**
272
  * Now the uploader is ready, display it
273
  */
@@ -280,15 +307,15 @@
280
  font-size: 24px;
281
  color: $dark;
282
  }
283
-
284
  .drag-drop-inside {
285
  width: 520px;
286
  margin-top: 40px;
287
-
288
  p.drag-drop-buttons {
289
  text-align: left;
290
  }
291
-
292
  .soliloquy-progress-bar {
293
  display: none;
294
  width: 100%;
@@ -299,7 +326,7 @@
299
  border-radius: 10px;
300
  background: #dfdfdf;
301
  background: rgba(0,0,0,.1);
302
-
303
  div {
304
  height: 10px;
305
  min-width: 20px;
@@ -316,7 +343,6 @@
316
  }
317
  }
318
 
319
- }
320
  .button{
321
  background: $almost-white;
322
  border: 1px solid;
@@ -348,14 +374,14 @@
348
  top: 110px;
349
  text-align: center;
350
  }
351
-
352
  p.upload-flash-bypass {
353
  display: none;
354
  }
355
  }
356
  p.max-upload-size{
357
  margin-bottom: 0;
358
- }
359
  }
360
  #soliloquy-codepanel{
361
  .soliloquy-clipboard{
@@ -392,7 +418,7 @@
392
  float: left;
393
  width: 100%;
394
  margin: 0;
395
- padding: 0;
396
  a{
397
  float: left;
398
  width: 110px;
@@ -444,13 +470,13 @@
444
  }
445
  #soliloquy-tab-nav-slider a:before{ content:'\0042'; }
446
  #soliloquy-tab-nav-config a:before{ content:'\0041'; }
447
- #soliloquy-tab-nav-mobile_lite a:before{ content:'\0046'; }
448
- #soliloquy-tab-nav-pinterest_lite a:before{ content:'\0043'; }
449
- #soliloquy-tab-nav-thumbnails_lite a:before{ content:'\004b'; }
450
- #soliloquy-tab-nav-schedule_lite a:before{ content:'\0058'; }
451
  #soliloquy-tab-nav-misc a:before{ content:'\0045'; }
452
- #soliloquy-tab-nav-lightbox_lite a:before{ content:'\0044'; }
453
- #soliloquy-tab-nav-carousel_lite a:before{ content:'\0059'; }
454
  }
455
  #soliloquy-settings-content{
456
  margin: 0 0 0 $tab-width;
@@ -473,11 +499,11 @@
473
  position: absolute;
474
  top: 0; left: 0; bottom: 0; right: 0;
475
 
476
- }
477
  img{
478
  max-width: 336px;
479
- }
480
-
481
  }
482
  .soliloquy-external-req{
483
  border: 1px solid $primary-color;
@@ -501,14 +527,14 @@
501
  .soliloquy-help{
502
  font-size: 14px;
503
  a{
504
- margin-left: 5px;
505
  }
506
  }
507
  .soliloquy-bulk-actions{
508
  display: none;
509
  margin-bottom: 20px;
510
  }
511
-
512
  table.form-table {
513
  clear: none;
514
  }
@@ -534,7 +560,44 @@
534
  position: absolute;
535
  right: 20px;
536
  top: 20px;
537
- li{
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
538
  a{
539
  color: $light-grey;
540
  i:before{
@@ -579,7 +642,7 @@
579
  height: $input-height;
580
  outline: none;
581
  -webkit-transition: 0.05s border-color ease-in-out;
582
- transition: 0.05s border-color ease-in-out;
583
  min-width: 210px;
584
  max-width: 350px;
585
  width: 92%;
@@ -592,11 +655,11 @@
592
  #soliloquy-config-slider-width{
593
  max-width: 166px;
594
  min-width: 75px;
595
-
596
  }
597
  th{
598
- min-width: 210px;
599
- max-width: 100%;
600
  padding-right: 0;
601
  }
602
  .description{
@@ -783,7 +846,7 @@
783
  // background-image: url('../../../../../wp-includes/images/uploader-icons-2x.png');
784
  margin: 5px 0 0 5px;
785
  background-position: -21px 0;
786
-
787
  }
788
  }
789
  /**
@@ -805,7 +868,7 @@
805
  .soliloquy-active-slide.list-status,
806
  .soliloquy-draft-slide.list-status{
807
  display: none;
808
- }
809
  .soliloquy-remove-slide {
810
  left: 5px;
811
  top: 5px;
@@ -855,7 +918,7 @@
855
  height: 30px;
856
 
857
  h3{
858
-
859
  }
860
  img{
861
  margin-top: -20px;
@@ -912,7 +975,7 @@
912
  text-decoration: none;
913
  color: black;
914
  }
915
-
916
  }
917
  .soliloquy-active-slide.list-status{
918
  span{
@@ -922,7 +985,7 @@
922
  background-color: #74b445;
923
  color: white;
924
  }
925
- }
926
  .soliloquy-draft-slide.list-status{
927
  span{
928
  margin-left: 5px;
@@ -931,7 +994,7 @@
931
  background-color: #ffa93b;
932
  color: white;
933
  }
934
- }
935
  .soliloquy-remove-slide {
936
  right: 8px;
937
  top: 8px;
@@ -1061,7 +1124,7 @@
1061
  }
1062
  .button-soliloquy-delete{
1063
  color: $white;
1064
- }
1065
  .soliloquy-item-setting {
1066
  clear: both;
1067
  text-align: left !important;
@@ -1073,7 +1136,7 @@
1073
  clear: both;
1074
  width: 100%;
1075
  text-align: left;
1076
-
1077
  strong {
1078
  text-align: left;
1079
  }
@@ -1094,7 +1157,7 @@
1094
  textarea {
1095
  width: 87%;
1096
  clear: both;
1097
- }
1098
  }
1099
  }
1100
  .soliloquy-item-footer{
@@ -1102,7 +1165,7 @@
1102
  margin-top: 20px;
1103
  a{
1104
  float: right;
1105
-
1106
  }
1107
  }
1108
  }
@@ -1115,7 +1178,7 @@
1115
  margin-top: 10px;
1116
  }
1117
  }
1118
- }
1119
  .soliloquy-video-items{
1120
  position: relative;
1121
  margin-right: 300px;
@@ -1138,25 +1201,25 @@
1138
  padding: 20px;
1139
  margin-bottom: 2em;
1140
  padding-top: 2em;
1141
-
1142
-
1143
-
1144
  }
1145
  }
1146
-
1147
  /**
1148
  * Sidebar
1149
  */
1150
  .soliloquy-gallery-accepted-urls {
1151
  clear: both;
1152
  overflow: hidden;
1153
-
1154
  span {
1155
  display: block;
1156
  }
1157
  }
1158
  }
1159
-
1160
  &.soliloquy-html {
1161
  div.media-toolbar {
1162
  border-bottom: 1px solid $light-grey;
@@ -1166,7 +1229,7 @@
1166
  margin-top: 10px;
1167
  }
1168
  }
1169
- }
1170
  .soliloquy-html-items{
1171
  position: relative;
1172
  margin-right: 300px;
@@ -1197,7 +1260,7 @@
1197
 
1198
 
1199
  }
1200
-
1201
  /**
1202
  * Sidebar
1203
  */
@@ -1211,7 +1274,7 @@
1211
  display: block;
1212
  }
1213
  }
1214
- }
1215
  #soliloquy-meta-edit{
1216
  .right{
1217
  border-right: 1px solid #ccc !important;
@@ -1390,16 +1453,18 @@ body.rtl {
1390
  #soliloquy-uploader{
1391
 
1392
  #plupload-upload-ui {
1393
- &.drag-drop {
 
 
1394
  .drag-drop-inside {
1395
  width: 100%;
1396
  margin-top: 20px;
1397
-
1398
  p.drag-drop-buttons {
 
1399
  text-align: center;
1400
  }
1401
  }
1402
- }
1403
  a.soliloquy-media-library.button {
1404
  left: 0;
1405
  right: 0;
@@ -1411,17 +1476,21 @@ body.rtl {
1411
  }
1412
 
1413
  @media screen and (max-width: 768px) {
 
 
 
1414
  #soliloquy-slider-settings{
1415
  #soliloquy-settings-content{
1416
  margin: 0 0 0 50px;
1417
  padding: 20px;
1418
  }
 
1419
  #soliloquy-settings-tabs{
1420
  width: 50px;
1421
  margin: 0;
1422
  padding: 0;
1423
  border-right: 1px solid #ddd;
1424
- .soliloquy-setting-tab{
1425
  a{
1426
  width: 30px;
1427
  margin: 0 10px;
@@ -1437,11 +1506,10 @@ body.rtl {
1437
  /* ==========================================================================
1438
  Retina Styles
1439
  ========================================================================== */
1440
- @media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
1441
  a.check .media-modal-icon {
1442
  background-image: url('../../../../../wp-includes/images/uploader-icons-2x.png') !important;
1443
  -webkit-background-size: 134px 15px;
1444
  background-size: 134px 15px;
1445
  }
1446
  }
1447
-
30
  /* ==========================================================================
31
  Metabox Styles
32
  ========================================================================== */
33
+ .branch-4-7{
34
+ .wrap h1.wp-heading-inline{
35
+ display: block;
 
 
 
 
 
 
36
  margin: 0;
37
+ width: 100%;
38
  padding-left: 20px;
39
+ padding-right: 20px;
40
  line-height: 45px;
41
  font-size: 20px;
42
  font-weight: 400;
43
  background-color: $white;
44
  height: 45px;
45
  margin-left: -20px;
 
46
  margin-bottom: 20px;
47
+
48
+ }
49
+ .page-title-action{
50
+ margin-left: 4px;
51
+ padding: 4px 8px;
52
+ position: relative;
53
+ top: -55px;
54
+ left: 180px;
55
+ text-decoration: none;
56
+ border: none;
57
+ color: $primary-color;
58
+ border-radius: 0;
59
+ background: none;
60
+ text-shadow: none;
61
+ font-weight: 600;
62
+ font-size: 13px;
63
+ &:hover{
64
  background: none;
65
+ color: $mid-grey;
66
+ }
67
+ &:before{
68
+ display: inline-block;
69
+ font-family: 'soliloquy';
70
+ content:'\0050';
71
+ margin-top: -3px;
72
+ margin-right: 8px;
73
+ vertical-align: middle;
 
 
 
 
 
 
74
  }
75
  }
76
+ }
77
+ .post-type-soliloquy{
78
+ #wp-link-wrap{
79
+ z-index: 180105 !important;
80
+ }
81
+ #wp-link-backdrop{
82
+ z-index: 160105 !important;
83
+
84
+ }
85
+
86
+ #wpbody-content h1{
87
+ display: block;
88
+ margin: 0;
89
+ padding-left: 20px;
90
+ padding-right: 20px;
91
+ line-height: 45px;
92
+ font-size: 20px;
93
+ font-weight: 400;
94
+ background-color: $white;
95
+ height: 45px;
96
+ margin-left: -20px;
97
+ margin-right: -20px;
98
+ margin-bottom: 20px;
99
+ .page-title-action{
100
+ margin-left: 4px;
101
+ padding: 4px 8px;
102
+ position: relative;
103
+ top: -3px;
104
+ text-decoration: none;
105
+ border: none;
106
+ color: $primary-color;
107
+ border-radius: 0;
108
+ background: none;
109
+ text-shadow: none;
110
+ font-weight: 600;
111
+ font-size: 13px;
112
+ &:hover{
113
+ background: none;
114
+ color: $mid-grey;
115
+ }
116
+ &:before{
117
+ display: inline-block;
118
+ font-family: 'soliloquy';
119
+ content:'\0050';
120
+ margin-top: -3px;
121
+ margin-right: 8px;
122
+ vertical-align: middle;
123
+ }
124
+ }
125
+ }
126
  .wrap{
127
  margin-top: 0px !important;
128
+
129
  }
130
  }
131
  .soliloquy-spinner {
133
  display: inline-block;
134
  margin-top: 0;
135
  }
 
136
  /* ==========================================================================
137
  Soliloquy Uploader
138
  ========================================================================== */
149
  content: "";
150
  display: table;
151
  clear: both;
 
152
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
153
  }
154
  .soliloquy-type-tab{
155
  position: relative;
167
  background-color: $almost-white;
168
  border: 1px solid #e5e5e5;
169
  box-sizing: border-box;
170
+ border-top-left-radius: 3px;
171
  border-top-right-radius: 3px;
172
  input {
173
  display: none;
294
  * Hide the uploader until the drag-drop class is added to it i.e. it has initialised
295
  * This stops the user seeing a flash as the drag/drop area repositions itself on load
296
  */
297
+ display: block;
 
 
298
  /**
299
  * Now the uploader is ready, display it
300
  */
307
  font-size: 24px;
308
  color: $dark;
309
  }
310
+
311
  .drag-drop-inside {
312
  width: 520px;
313
  margin-top: 40px;
314
+
315
  p.drag-drop-buttons {
316
  text-align: left;
317
  }
318
+
319
  .soliloquy-progress-bar {
320
  display: none;
321
  width: 100%;
326
  border-radius: 10px;
327
  background: #dfdfdf;
328
  background: rgba(0,0,0,.1);
329
+
330
  div {
331
  height: 10px;
332
  min-width: 20px;
343
  }
344
  }
345
 
 
346
  .button{
347
  background: $almost-white;
348
  border: 1px solid;
374
  top: 110px;
375
  text-align: center;
376
  }
377
+
378
  p.upload-flash-bypass {
379
  display: none;
380
  }
381
  }
382
  p.max-upload-size{
383
  margin-bottom: 0;
384
+ }
385
  }
386
  #soliloquy-codepanel{
387
  .soliloquy-clipboard{
418
  float: left;
419
  width: 100%;
420
  margin: 0;
421
+ padding: 0;
422
  a{
423
  float: left;
424
  width: 110px;
470
  }
471
  #soliloquy-tab-nav-slider a:before{ content:'\0042'; }
472
  #soliloquy-tab-nav-config a:before{ content:'\0041'; }
473
+ #soliloquy-tab-nav-mobile a:before{ content:'\0046'; }
474
+ #soliloquy-tab-nav-pinterest a:before{ content:'\0043'; }
475
+ #soliloquy-tab-nav-thumbnails a:before{ content:'\004b'; }
476
+ #soliloquy-tab-nav-schedule a:before{ content:'\0058'; }
477
  #soliloquy-tab-nav-misc a:before{ content:'\0045'; }
478
+ #soliloquy-tab-nav-lightbox a:before{ content:'\0044'; }
479
+ #soliloquy-tab-nav-carousel a:before{ content:'\0059'; }
480
  }
481
  #soliloquy-settings-content{
482
  margin: 0 0 0 $tab-width;
499
  position: absolute;
500
  top: 0; left: 0; bottom: 0; right: 0;
501
 
502
+ }
503
  img{
504
  max-width: 336px;
505
+ }
506
+
507
  }
508
  .soliloquy-external-req{
509
  border: 1px solid $primary-color;
527
  .soliloquy-help{
528
  font-size: 14px;
529
  a{
530
+ margin-left: 5px;
531
  }
532
  }
533
  .soliloquy-bulk-actions{
534
  display: none;
535
  margin-bottom: 20px;
536
  }
537
+
538
  table.form-table {
539
  clear: none;
540
  }
560
  position: absolute;
561
  right: 20px;
562
  top: 20px;
563
+ /* Position tooltip above the element */
564
+ [data-soliloquy-tooltip]:before {
565
+ position: absolute;
566
+ bottom: 120%;
567
+ left: 50%;
568
+ margin-bottom: 5px;
569
+ margin-left: -35px;
570
+ padding: 7px;
571
+ width: 120px;
572
+ -webkit-border-radius: 3px;
573
+ -moz-border-radius: 3px;
574
+ border-radius: 3px;
575
+ background-color: #000;
576
+ color: #fff;
577
+ content: attr(data-soliloquy-tooltip);
578
+ text-align: center;
579
+ font-size: 12px;
580
+ line-height: 1.2;
581
+ }
582
+ li.helper{
583
+ .dashicons{
584
+ font-size: 24px;
585
+ margin-top: -5px;
586
+ color: $light-grey;
587
+ &:hover{
588
+ color: $dark;
589
+
590
+ }
591
+ }
592
+ }
593
+ li.soliloquy-select{
594
+ width: 200px;
595
+ margin-right: 15px;
596
+ .chosen-container{
597
+ margin-top: -10px;
598
+ }
599
+ }
600
+ li:not(.soliloquy-select){
601
  a{
602
  color: $light-grey;
603
  i:before{
642
  height: $input-height;
643
  outline: none;
644
  -webkit-transition: 0.05s border-color ease-in-out;
645
+ transition: 0.05s border-color ease-in-out;
646
  min-width: 210px;
647
  max-width: 350px;
648
  width: 92%;
655
  #soliloquy-config-slider-width{
656
  max-width: 166px;
657
  min-width: 75px;
658
+
659
  }
660
  th{
661
+ //min-width: 210px;
662
+ //max-width: 100%;
663
  padding-right: 0;
664
  }
665
  .description{
846
  // background-image: url('../../../../../wp-includes/images/uploader-icons-2x.png');
847
  margin: 5px 0 0 5px;
848
  background-position: -21px 0;
849
+
850
  }
851
  }
852
  /**
868
  .soliloquy-active-slide.list-status,
869
  .soliloquy-draft-slide.list-status{
870
  display: none;
871
+ }
872
  .soliloquy-remove-slide {
873
  left: 5px;
874
  top: 5px;
918
  height: 30px;
919
 
920
  h3{
921
+
922
  }
923
  img{
924
  margin-top: -20px;
975
  text-decoration: none;
976
  color: black;
977
  }
978
+
979
  }
980
  .soliloquy-active-slide.list-status{
981
  span{
985
  background-color: #74b445;
986
  color: white;
987
  }
988
+ }
989
  .soliloquy-draft-slide.list-status{
990
  span{
991
  margin-left: 5px;
994
  background-color: #ffa93b;
995
  color: white;
996
  }
997
+ }
998
  .soliloquy-remove-slide {
999
  right: 8px;
1000
  top: 8px;
1124
  }
1125
  .button-soliloquy-delete{
1126
  color: $white;
1127
+ }
1128
  .soliloquy-item-setting {
1129
  clear: both;
1130
  text-align: left !important;
1136
  clear: both;
1137
  width: 100%;
1138
  text-align: left;
1139
+
1140
  strong {
1141
  text-align: left;
1142
  }
1157
  textarea {
1158
  width: 87%;
1159
  clear: both;
1160
+ }
1161
  }
1162
  }
1163
  .soliloquy-item-footer{
1165
  margin-top: 20px;
1166
  a{
1167
  float: right;
1168
+
1169
  }
1170
  }
1171
  }
1178
  margin-top: 10px;
1179
  }
1180
  }
1181
+ }
1182
  .soliloquy-video-items{
1183
  position: relative;
1184
  margin-right: 300px;
1201
  padding: 20px;
1202
  margin-bottom: 2em;
1203
  padding-top: 2em;
1204
+
1205
+
1206
+
1207
  }
1208
  }
1209
+
1210
  /**
1211
  * Sidebar
1212
  */
1213
  .soliloquy-gallery-accepted-urls {
1214
  clear: both;
1215
  overflow: hidden;
1216
+
1217
  span {
1218
  display: block;
1219
  }
1220
  }
1221
  }
1222
+
1223
  &.soliloquy-html {
1224
  div.media-toolbar {
1225
  border-bottom: 1px solid $light-grey;
1229
  margin-top: 10px;
1230
  }
1231
  }
1232
+ }
1233
  .soliloquy-html-items{
1234
  position: relative;
1235
  margin-right: 300px;
1260
 
1261
 
1262
  }
1263
+
1264
  /**
1265
  * Sidebar
1266
  */
1274
  display: block;
1275
  }
1276
  }
1277
+ }
1278
  #soliloquy-meta-edit{
1279
  .right{
1280
  border-right: 1px solid #ccc !important;
1453
  #soliloquy-uploader{
1454
 
1455
  #plupload-upload-ui {
1456
+ #drag-drop-area{
1457
+ height: 208px;
1458
+ }
1459
  .drag-drop-inside {
1460
  width: 100%;
1461
  margin-top: 20px;
1462
+
1463
  p.drag-drop-buttons {
1464
+ margin-top: 10px;
1465
  text-align: center;
1466
  }
1467
  }
 
1468
  a.soliloquy-media-library.button {
1469
  left: 0;
1470
  right: 0;
1476
  }
1477
 
1478
  @media screen and (max-width: 768px) {
1479
+ .media-sidebar{
1480
+ display: none;
1481
+ }
1482
  #soliloquy-slider-settings{
1483
  #soliloquy-settings-content{
1484
  margin: 0 0 0 50px;
1485
  padding: 20px;
1486
  }
1487
+
1488
  #soliloquy-settings-tabs{
1489
  width: 50px;
1490
  margin: 0;
1491
  padding: 0;
1492
  border-right: 1px solid #ddd;
1493
+ .soliloquy-setting-tab{
1494
  a{
1495
  width: 30px;
1496
  margin: 0 10px;
1506
  /* ==========================================================================
1507
  Retina Styles
1508
  ========================================================================== */
1509
+ @media (-webkit-min-device-pixel-ratio: 1.25), (min-resolution: 120dpi) {
1510
  a.check .media-modal-icon {
1511
  background-image: url('../../../../../wp-includes/images/uploader-icons-2x.png') !important;
1512
  -webkit-background-size: 134px 15px;
1513
  background-size: 134px 15px;
1514
  }
1515
  }
 
assets/scss/overview.scss CHANGED
@@ -7,55 +7,102 @@
7
  /* ==========================================================================
8
  Metabox Styles
9
  ========================================================================== */
10
- .post-type-soliloquy{
11
- h1{
 
12
  margin: 0;
 
13
  padding-left: 20px;
 
14
  line-height: 45px;
15
  font-size: 20px;
16
  font-weight: 400;
17
  background-color: $white;
18
  height: 45px;
19
- margin-left: -20px;
20
- margin-right: -20px;
21
  margin-bottom: 20px;
22
- .page-title-action{
23
- margin-left: 4px;
24
- padding: 4px 8px;
25
- position: relative;
26
- top: -3px;
27
- text-decoration: none;
28
- border: none;
29
- color: $primary-color;
30
- border-radius: 0;
 
 
 
 
 
 
 
 
31
  background: none;
32
- text-shadow: none;
33
- font-weight: 600;
34
- font-size: 13px;
35
- &:hover{
36
- background: none;
37
- color: $mid-grey;
38
- }
39
- &:before{
40
- display: inline-block;
41
- font-family: 'soliloquy';
42
- content:'\0050';
43
- margin-top: -3px;
44
- margin-right: 8px;
45
- vertical-align: middle;
46
- }
47
  }
48
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
49
  .wrap{
50
  margin-top: 0px !important;
 
51
  }
52
  input[type=checkbox]{
53
  background-color: $white;
54
  border: 1px solid $light-grey;
55
  box-shadow: none;
56
  margin-right: 10px;
57
-
58
-
59
  }
60
  input[type=checkbox]:checked{
61
  background-color: $green;
@@ -76,7 +123,7 @@
76
  padding-left: 0px;
77
  }
78
  .column-image{
79
- width: 85px !important;
80
  }
81
  /* ==========================================================================
82
  Post Table Form
@@ -104,7 +151,7 @@
104
  ========================================================================== */
105
  #wpbody-content {
106
  .inline-edit-row {
107
- fieldset {
108
  input[type="text"],
109
  input[type="number"],
110
  input[type="password"]{
@@ -116,7 +163,7 @@
116
  height: $input-height;
117
  outline: none;
118
  -webkit-transition: 0.05s border-color ease-in-out;
119
- transition: 0.05s border-color ease-in-out;
120
  min-width: 210px;
121
  max-width: 350px;
122
  width: 100%;
@@ -128,10 +175,10 @@
128
  }
129
  span.title{
130
  font-style: normal;
131
- font-weight: 600;
132
- font-size: 13px;
133
  min-width: 140px;
134
- }
135
  }
136
  }
137
  td.colspanchange {
7
  /* ==========================================================================
8
  Metabox Styles
9
  ========================================================================== */
10
+ .branch-4-7{
11
+ .wrap h1.wp-heading-inline{
12
+ display: block;
13
  margin: 0;
14
+ width: 100%;
15
  padding-left: 20px;
16
+ padding-right: 20px;
17
  line-height: 45px;
18
  font-size: 20px;
19
  font-weight: 400;
20
  background-color: $white;
21
  height: 45px;
22
+ margin-left: -20px;
 
23
  margin-bottom: 20px;
24
+
25
+ }
26
+ .page-title-action{
27
+ margin-left: 4px;
28
+ padding: 4px 8px;
29
+ position: relative;
30
+ top: -55px;
31
+ left: 180px;
32
+ text-decoration: none;
33
+ border: none;
34
+ color: $primary-color;
35
+ border-radius: 0;
36
+ background: none;
37
+ text-shadow: none;
38
+ font-weight: 600;
39
+ font-size: 13px;
40
+ &:hover{
41
  background: none;
42
+ color: $mid-grey;
43
+ }
44
+ &:before{
45
+ display: inline-block;
46
+ font-family: 'soliloquy';
47
+ content:'\0050';
48
+ margin-top: -3px;
49
+ margin-right: 8px;
50
+ vertical-align: middle;
 
 
 
 
 
 
51
  }
52
  }
53
+ }
54
+ .post-type-soliloquy{
55
+ #wpbody-content h1{
56
+ display: block;
57
+ margin: 0;
58
+ padding-left: 20px;
59
+ padding-right: 20px;
60
+ line-height: 45px;
61
+ font-size: 20px;
62
+ font-weight: 400;
63
+ background-color: $white;
64
+ height: 45px;
65
+ margin-left: -20px;
66
+ margin-right: -20px;
67
+ margin-bottom: 20px;
68
+ .page-title-action{
69
+ margin-left: 4px;
70
+ padding: 4px 8px;
71
+ position: relative;
72
+ top: -3px;
73
+ text-decoration: none;
74
+ border: none;
75
+ color: $primary-color;
76
+ border-radius: 0;
77
+ background: none;
78
+ text-shadow: none;
79
+ font-weight: 600;
80
+ font-size: 13px;
81
+ &:hover{
82
+ background: none;
83
+ color: $mid-grey;
84
+ }
85
+ &:before{
86
+ display: inline-block;
87
+ font-family: 'soliloquy';
88
+ content:'\0050';
89
+ margin-top: -3px;
90
+ margin-right: 8px;
91
+ vertical-align: middle;
92
+ }
93
+ }
94
+ }
95
  .wrap{
96
  margin-top: 0px !important;
97
+
98
  }
99
  input[type=checkbox]{
100
  background-color: $white;
101
  border: 1px solid $light-grey;
102
  box-shadow: none;
103
  margin-right: 10px;
104
+
105
+
106
  }
107
  input[type=checkbox]:checked{
108
  background-color: $green;
123
  padding-left: 0px;
124
  }
125
  .column-image{
126
+ width: 85px !important;
127
  }
128
  /* ==========================================================================
129
  Post Table Form
151
  ========================================================================== */
152
  #wpbody-content {
153
  .inline-edit-row {
154
+ fieldset {
155
  input[type="text"],
156
  input[type="number"],
157
  input[type="password"]{
163
  height: $input-height;
164
  outline: none;
165
  -webkit-transition: 0.05s border-color ease-in-out;
166
+ transition: 0.05s border-color ease-in-out;
167
  min-width: 210px;
168
  max-width: 350px;
169
  width: 100%;
175
  }
176
  span.title{
177
  font-style: normal;
178
+ font-weight: 600;
179
+ font-size: 13px;
180
  min-width: 140px;
181
+ }
182
  }
183
  }
184
  td.colspanchange {
assets/scss/soliloquy.scss CHANGED
@@ -211,6 +211,7 @@
211
  left: 0;
212
  width: 100%;
213
  z-index: 1120;
 
214
  background: rgba(0, 0, 0, 0.5)
215
  }
216
  .soliloquy-container .soliloquy-caption-inside {
@@ -232,7 +233,7 @@
232
  /**
233
  * RTL
234
  */
235
- .soliloquy-rtl {
236
  /**
237
  * Pager
238
  * - add margin to first child
@@ -243,7 +244,7 @@
243
  }
244
  .soliloquy-pager-item:last-child {
245
  margin-left: 0;
246
- }
247
  /**
248
  * Direction Controls
249
  * - swap left + right controls over
@@ -258,7 +259,7 @@
258
  left: auto;
259
  background-image: url(images/right.png);
260
  }
261
-
262
  /**
263
  * Thumbnails
264
  * - float right so they display
@@ -278,7 +279,7 @@
278
  }
279
  .soliloquy-pager-item:last-child {
280
  margin-left: 0;
281
- }
282
  /**
283
  * Direction Controls
284
  * - swap left + right controls over
@@ -293,7 +294,7 @@
293
  left: auto;
294
  background-image: url(images/right.png);
295
  }
296
-
297
  /**
298
  * Thumbnails
299
  * - float right so they display
211
  left: 0;
212
  width: 100%;
213
  z-index: 1120;
214
+ padding-bottom: 25px;
215
  background: rgba(0, 0, 0, 0.5)
216
  }
217
  .soliloquy-container .soliloquy-caption-inside {
233
  /**
234
  * RTL
235
  */
236
+ .soliloquy-rtl {
237
  /**
238
  * Pager
239
  * - add margin to first child
244
  }
245
  .soliloquy-pager-item:last-child {
246
  margin-left: 0;
247
+ }
248
  /**
249
  * Direction Controls
250
  * - swap left + right controls over
259
  left: auto;
260
  background-image: url(images/right.png);
261
  }
262
+
263
  /**
264
  * Thumbnails
265
  * - float right so they display
279
  }
280
  .soliloquy-pager-item:last-child {
281
  margin-left: 0;
282
+ }
283
  /**
284
  * Direction Controls
285
  * - swap left + right controls over
294
  left: auto;
295
  background-image: url(images/right.png);
296
  }
297
+
298
  /**
299
  * Thumbnails
300
  * - float right so they display
includes/admin/addons.php CHANGED
@@ -304,7 +304,7 @@ class Soliloquy_Addons{
304
  $response = wp_remote_post( 'http://soliloquywp.com/', $post );
305
  $response_code = wp_remote_retrieve_response_code( $response );
306
  $response_body = wp_remote_retrieve_body( $response );
307
- error_log( print_r( $response_body, true ) );
308
  // Bail out early if there are any errors.
309
  if ( 200 != $response_code || is_wp_error( $response_body ) ) {
310
  return false;
304
  $response = wp_remote_post( 'http://soliloquywp.com/', $post );
305
  $response_code = wp_remote_retrieve_response_code( $response );
306
  $response_body = wp_remote_retrieve_body( $response );
307
+
308
  // Bail out early if there are any errors.
309
  if ( 200 != $response_code || is_wp_error( $response_body ) ) {
310
  return false;
includes/admin/ajax.php CHANGED
@@ -60,31 +60,14 @@ class Soliloquy_Ajax{
60
  */
61
  function upgrade_sliders(){
62
 
63
- // Run a security check first.
64
  check_ajax_referer( 'soliloquy-upgrade', 'nonce' );
65
 
66
  // Increase the time limit to account for large slider sets and suspend cache invalidations.
67
  set_time_limit( Soliloquy_Common_Lite::get_instance()->get_max_execution_time() );
68
  wp_suspend_cache_invalidation( true );
69
 
70
- // Update the license key from v1 to v2 if necessary.
71
- $v2_license = get_option( 'soliloquy' );
72
-
73
- if ( ! $v2_license || empty( $v2_license['key'] ) || empty( $v2_license['type'] ) ) {
74
- $v1_license = get_option( 'soliloquy_license_key' );
75
- $new_license = Soliloquy_Lite::default_options();
76
-
77
- if ( ! empty( $v1_license['license'] ) ) {
78
- $new_license['key'] = $v1_license['license'];
79
- }
80
-
81
- update_option( 'soliloquy', $new_license );
82
-
83
- // Force the new key to be validated.
84
- Soliloquy_License::get_instance()->validate_key( true );
85
- }
86
-
87
- // Grab all sliders from v1 and convert them to the new system.
88
  $sliders = get_posts(
89
  array(
90
  'post_type' => 'soliloquy',
@@ -94,23 +77,17 @@ class Soliloquy_Ajax{
94
 
95
  // Loop through sliders and convert them.
96
  foreach ( (array) $sliders as $slider ) {
97
- // Grab meta from the v1 and v2 sliders.
98
- $meta = get_post_meta( $slider->ID, '_soliloquy_settings', true );
99
- $v2_meta = get_post_meta( $slider->ID, '_sol_slider_data', true );
100
-
101
- // Move meta from v1 to v2, or if already using v2, use v2 as a starting point.
102
- if ( empty( $v2_meta ) ) {
103
- $new_meta = array(
104
- 'id' => $slider->ID,
105
- 'config' => array(),
106
- 'slider' => array(),
107
- 'status' => 'active'
108
- );
109
- } else {
110
- $new_meta = $v2_meta;
111
- }
112
 
113
- // Splice meta from v1 to v2.
114
  if ( ! empty( $new_meta['config']['gutter'] ) ) {
115
  $new_meta['config']['gutter'] = 0;
116
  }
@@ -123,56 +100,21 @@ class Soliloquy_Ajax{
123
  $new_meta['config']['mobile'] = 0;
124
  }
125
 
126
- $new_meta['config']['title'] = $slider->post_title;
127
- $new_meta['config']['slug'] = $slider->post_name;
 
 
128
 
129
  if ( ! empty( $meta['width'] ) ) {
130
- $new_meta['config']['slider_width'] = absint( $meta['width'] );
131
  }
132
 
133
  if ( ! empty( $meta['height'] ) ) {
134
- $new_meta['config']['slider_height'] = absint( $meta['height'] );
135
- }
136
-
137
- if ( ! empty( $meta['default'] ) && 'cropped' !== $meta['default'] ) {
138
- $new_meta['config']['slider'] = 0;
139
- }
140
-
141
- if ( ! empty( $meta['custom'] ) ) {
142
- if ( $meta['custom'] ) {
143
- if ( 'full' == $meta['custom'] ) {
144
- $new_meta['config']['slider_size'] = 'default';
145
- } else {
146
- $new_meta['config']['slider_size'] = $meta['custom'];
147
-
148
- global $_wp_additional_image_sizes;
149
- if ( isset( $_wp_additional_image_sizes[$meta['custom']] ) ) {
150
- $width = absint( $_wp_additional_image_sizes[$meta['custom']]['width'] );
151
- $height = absint( $_wp_additional_image_sizes[$meta['custom']]['height'] );
152
- } else {
153
- $width = absint( get_option( $meta['custom'] . '_size_w' ) );
154
- $height = absint( get_option( $meta['custom'] . '_size_h' ) );
155
- }
156
-
157
- if ( $width ) {
158
- $new_meta['config']['slider_width'] = $width;
159
- }
160
-
161
- if ( $height ) {
162
- $new_meta['config']['slider_height'] = $height;
163
- }
164
- }
165
- }
166
  }
167
 
168
  if ( ! empty( $meta['transition'] ) ) {
169
- if ( 'slide-horizontal' == $meta['transition'] ) {
170
- $new_meta['config']['transition'] = 'horizontal';
171
- } else if ( 'slide-vertical' == $meta['transition'] ) {
172
- $new_meta['config']['transition'] = 'vertical';
173
- } else {
174
- $new_meta['config']['transition'] = 'fade';
175
- }
176
  }
177
 
178
  if ( ! empty( $meta['speed'] ) ) {
@@ -183,164 +125,47 @@ class Soliloquy_Ajax{
183
  $new_meta['config']['speed'] = $meta['duration'];
184
  }
185
 
186
- if ( ! empty( $meta['animate'] ) ) {
187
- $new_meta['config']['auto'] = $meta['animate'];
188
- }
189
-
190
- if ( ! empty( $meta['navigation'] ) ) {
191
- $new_meta['config']['arrows'] = $meta['navigation'] ? 1 : 0;
192
- } else {
193
- $new_meta['config']['arrows'] = 0;
194
- }
195
-
196
- if ( ! empty( $meta['control'] ) ) {
197
- $new_meta['config']['control'] = $meta['control'] ? 1 : 0;
198
- } else {
199
- $new_meta['config']['control'] = 0;
200
- }
201
-
202
- if ( ! empty( $meta['keyboard'] ) ) {
203
- $new_meta['config']['keyboard'] = $meta['keyboard'];
204
- }
205
-
206
- if ( ! empty( $meta['pauseplay'] ) ) {
207
- $new_meta['config']['pauseplay'] = $meta['pauseplay'];
208
- }
209
-
210
- if ( ! empty( $meta['random'] ) ) {
211
- $new_meta['config']['random'] = $meta['random'];
212
- }
213
-
214
- if ( ! empty( $meta['number'] ) ) {
215
- $new_meta['config']['start'] = $meta['number'];
216
- }
217
-
218
- if ( ! empty( $meta['loop'] ) ) {
219
- $new_meta['config']['loop'] = $meta['loop'];
220
- }
221
-
222
- if ( ! empty( $meta['hover'] ) ) {
223
- $new_meta['config']['hover'] = $meta['hover'];
224
- }
225
-
226
- if ( ! empty( $meta['css'] ) ) {
227
- $new_meta['config']['css'] = $meta['css'];
228
- }
229
-
230
- if ( ! empty( $meta['smooth'] ) ) {
231
- $new_meta['config']['smooth'] = $meta['smooth'];
232
- }
233
-
234
- if ( ! empty( $meta['delay'] ) ) {
235
- $new_meta['config']['delay'] = $meta['delay'];
236
- }
237
-
238
  // Set to the classic theme to keep people from going nuts with a theme change.
239
- if ( ! empty( $meta['theme'] ) && 'metro' == $meta['theme'] ) {
240
- $new_meta['config']['slider_theme'] = 'metro';
241
- } else {
242
- $new_meta['config']['slider_theme'] = 'classic';
243
- }
244
 
245
  // Grab all attachments and add them to the slider.
246
  $attachments = get_posts(
247
  array(
248
  'orderby' => 'menu_order',
249
- 'order' => 'ASC',
250
- 'post_type' => 'attachment',
251
- 'post_parent' => $slider->ID,
252
- 'post_status' => null,
253
- 'posts_per_page' => -1
254
  )
255
  );
256
 
257
  // Loop through attachments and add them to the slider.
258
  foreach ( (array) $attachments as $slide ) {
259
- switch ( $slide->post_mime_type ) {
260
- case 'soliloquy/video' :
261
- $new_meta['slider'][$slide->ID] = array(
262
- 'status' => 'active',
263
- 'id' => $slide->ID,
264
- 'src' => '',
265
- 'title' => isset( $slide->post_title ) ? $slide->post_title : '',
266
- 'link' => '',
267
- 'url' => isset( $slide->post_content ) ? $slide->post_content : '',
268
- 'thumb' => '',
269
- 'caption' => isset( $slide->post_excerpt ) ? $slide->post_excerpt : '',
270
- 'type' => 'video'
271
- );
272
- break;
273
- case 'soliloquy/html' :
274
- $new_meta['slider'][$slide->ID] = array(
275
- 'status' => 'active',
276
- 'id' => $slide->ID,
277
- 'src' => '',
278
- 'title' => isset( $slide->post_title ) ? $slide->post_title : '',
279
- 'link' => '',
280
- 'code' => isset( $slide->post_content ) ? $slide->post_content : '',
281
- 'type' => 'html'
282
- );
283
- break;
284
- default :
285
- $url = wp_get_attachment_image_src( $slide->ID, 'full' );
286
- $alt_text = get_post_meta( $slide->ID, '_wp_attachment_image_alt', true );
287
- $new_meta['slider'][$slide->ID] = array(
288
- 'status' => 'active',
289
- 'id' => $slide->ID,
290
- 'src' => isset( $url[0] ) ? esc_url( $url[0] ) : '',
291
- 'title' => get_the_title( $slide->ID ),
292
- 'link' => get_post_meta( $slide->ID, '_soliloquy_image_link', true ),
293
- 'linktab' => get_post_meta( $slider->ID, '_soliloquy_image_link_tab', true ),
294
- 'alt' => ! empty( $alt_text ) ? $alt_text : get_the_title( $slide->ID ),
295
- 'caption' => ! empty( $slide->post_excerpt ) ? $slide->post_excerpt : '',
296
- 'filter' => get_post_meta( $slide->ID, '_soliloquy_filters_image_filter', true ),
297
- 'type' => 'image'
298
- );
299
- break;
300
- }
301
  }
302
 
303
-
304
  // Update the post meta for the new slider.
305
  update_post_meta( $slider->ID, '_sol_slider_data', $new_meta );
306
 
307
  // Force the post to update.
308
- wp_update_post( array( 'ID' => $slider->ID, 'post_type' => 'soliloquy' ) );
309
 
310
  // Flush caches for any sliders.
311
  Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $slider->ID, $new_meta['config']['slug'] );
312
  }
313
 
314
- // Now grab any v2 sliders and convert the post type back to the proper system.
315
- $v2_sliders = get_posts(
316
- array(
317
- 'post_type' => 'soliloquyv2',
318
- 'posts_per_page' => -1
319
- )
320
- );
321
-
322
- // Loop through the sliders, grab the data, delete and backwards convert them back to 'soliloquy' post type.
323
- foreach ( (array) $v2_sliders as $slider ) {
324
- // Grab any slider meta and add the attachment ID to the data array.
325
- $slider_meta = get_post_meta( $slider->ID, '_sol_slider_data', true );
326
- if ( ! empty( $slider_meta['slider'] ) ) {
327
- foreach ( $slider_meta['slider'] as $id => $data ) {
328
- $slider_meta['slider'][$id]['id'] = $id;
329
- }
330
- }
331
-
332
- update_post_meta( $slider->ID, '_sol_slider_data', $slider_meta );
333
-
334
- $data = array(
335
- 'ID' => $slider->ID,
336
- 'post_type' => 'soliloquy'
337
- );
338
- wp_update_post( $data );
339
-
340
- // Flush caches for any sliders.
341
- Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $slider->ID );
342
- }
343
-
344
  // Turn off cache suspension and flush the cache to remove any cache inconsistencies.
345
  wp_suspend_cache_invalidation( false );
346
  wp_cache_flush();
@@ -352,6 +177,7 @@ class Soliloquy_Ajax{
352
  echo json_encode( true );
353
  die;
354
 
 
355
  }
356
 
357
  /**
@@ -440,8 +266,8 @@ class Soliloquy_Ajax{
440
  * @since 1.0.0
441
  */
442
  function load_image() {
443
-
444
-
445
  // Run a security check first.
446
  check_ajax_referer( 'soliloquy-load-image', 'nonce' );
447
 
@@ -507,7 +333,7 @@ class Soliloquy_Ajax{
507
  check_ajax_referer( 'soliloquy-insert-images', 'nonce' );
508
 
509
  // Prepare variables.
510
- $images = ! empty( $_POST['images'] ) ? stripslashes_deep( (array) $_POST['images'] ) : array();
511
  $videos = ! empty( $_POST['videos'] ) ? stripslashes_deep( (array) $_POST['videos'] ) : array();
512
  $html = ! empty( $_POST['html'] ) ? stripslashes_deep( (array) $_POST['html'] ) : array();
513
  $post_id = absint( $_POST['post_id'] );
@@ -739,13 +565,13 @@ class Soliloquy_Ajax{
739
 
740
  // Run a security check first.
741
  check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
742
-
743
  // Prepare variables.
744
  $post_id = absint( $_POST['post_id'] );
745
  $attach_id = $_POST['attach_id'];
746
  $meta = $_POST['meta'];
747
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
748
-
749
  // Go ahead and ensure to store the attachment ID.
750
  $slider_data['slider'][$attach_id]['id'] = $attach_id;
751
 
@@ -805,17 +631,17 @@ class Soliloquy_Ajax{
805
  // Run a security check first.
806
  // Run a security check first.
807
  check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
808
-
809
  // Prepare variables.
810
  $post_id = absint( $_POST['post_id'] );
811
  $attach_id = $_POST['image_ids'];
812
  $meta = $_POST['meta'];
813
 
814
  // Get gallery.
815
- $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
816
  if ( empty( $slider_data ) || ! is_array( $slider_data ) ) {
817
  wp_send_json_error();
818
- }
819
 
820
  // Iterate through gallery images, updating the metadata.
821
  foreach ( $attach_id as $image_id ) {
@@ -826,7 +652,7 @@ class Soliloquy_Ajax{
826
  }
827
  // Go ahead and ensure to store the attachment ID.
828
  $slider_data['slider'][$image_id]['id'] = $image_id;
829
-
830
  if ( isset( $meta['alt'] ) ) {
831
  $slider_data['slider'][$image_id]['alt'] = trim( esc_html( $meta['alt'] ) );
832
  }
@@ -834,25 +660,25 @@ class Soliloquy_Ajax{
834
  if ( isset( $meta['status'] ) ) {
835
  $slider_data['slider'][$image_id]['status'] = trim( esc_html( $meta['status'] ) );
836
  }
837
-
838
  if ( isset( $meta['link'] ) ) {
839
  $slider_data['slider'][$image_id]['link'] = esc_url( $meta['link'] );
840
  }
841
-
842
  if ( isset( $meta['linktab'] ) && $meta['linktab'] ) {
843
  $slider_data['slider'][$image_id]['linktab'] = 1;
844
  } else {
845
  $slider_data['slider'][$image_id]['linktab'] = 0;
846
  }
847
-
848
  if ( isset( $meta['caption_bulk'] ) ) {
849
  $slider_data['slider'][$image_id]['caption'] = trim( $meta['caption_bulk'] );
850
  }
851
-
852
  if ( isset( $meta['url'] ) ) {
853
  $slider_data['slider'][$image_id]['url'] = esc_url( $meta['url'] );
854
  }
855
-
856
  if ( isset( $meta['src'] ) ) {
857
  $slider_data['slider'][$image_id]['src'] = esc_url( $meta['src'] );
858
  }
@@ -861,14 +687,14 @@ class Soliloquy_Ajax{
861
 
862
  // Update the slider data.
863
  update_post_meta( $post_id, '_sol_slider_data', $slider_data );
864
-
865
  // Flush the slider cache.
866
  Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $post_id );
867
-
868
  // Done
869
  wp_send_json_success();
870
  die;
871
-
872
  }
873
  /**
874
  * Refreshes the DOM view for a slider.
@@ -1053,19 +879,18 @@ class Soliloquy_Ajax{
1053
  }
1054
 
1055
  function slider_view(){
1056
-
1057
  // Run a security check first.
1058
- check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
1059
  $post_id = absint( $_POST['post_id'] );
1060
  $view = $_POST['view'];
1061
- error_log($view);
1062
-
1063
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
1064
  // Save the different types of default meta fields for images, videos and HTML slides.
1065
  if ( isset( $view ) ) {
1066
  $slider_data['admin_view']= trim( esc_html( $view ) );
1067
  }
1068
-
1069
  // Allow filtering of meta before saving.
1070
  $slider_data = apply_filters( 'soliloquy_ajax_change_status', $slider_data, $meta, $attach_id, $post_id );
1071
 
@@ -1076,19 +901,19 @@ class Soliloquy_Ajax{
1076
  Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $post_id );
1077
 
1078
  wp_send_json_success();
1079
-
1080
  }
1081
-
1082
  function change_slide_status(){
1083
  // Run a security check first.
1084
  check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
1085
-
1086
  // Prepare variables.
1087
  $post_id = absint( $_POST['post_id'] );
1088
  $attach_id = $_POST['slide_id'];
1089
- $status = $_POST['status'];
1090
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
1091
-
1092
  // Go ahead and ensure to store the attachment ID.
1093
  $slider_data['slider'][$attach_id]['id'] = $attach_id;
1094
 
@@ -1108,7 +933,7 @@ class Soliloquy_Ajax{
1108
 
1109
  wp_send_json_success();
1110
  die;
1111
-
1112
  }
1113
  /**
1114
  * Grabs JS and executes it for any uninitialised sliders on screen
@@ -1135,30 +960,30 @@ class Soliloquy_Ajax{
1135
  // Build JS for each slider
1136
  $js = '';
1137
  foreach ( $_REQUEST['ids'] as $slider_id ) {
1138
-
1139
  // Get slider
1140
  $data = $base->get_slider( $slider_id );
1141
-
1142
  // If no slider found, skip
1143
  if ( ! $data ) {
1144
-
1145
  if ( class_exists('Soliloquy_Dynamic_Common') ){
1146
-
1147
  $dynamic_id = Soliloquy_Dynamic_Common::get_instance()->get_dynamic_id();
1148
  $defaults = get_post_meta( $dynamic_id, '_sol_slider_data', true );
1149
-
1150
  $data = $defaults;
1151
  $data['id'] = 'custom_'. $slider_id;
1152
-
1153
  } else{
1154
-
1155
  continue;
1156
-
1157
  }
1158
  }
1159
-
1160
  }
1161
-
1162
  // Output JS
1163
  echo $js;
1164
  die();
60
  */
61
  function upgrade_sliders(){
62
 
63
+ // Run a security check first.
64
  check_ajax_referer( 'soliloquy-upgrade', 'nonce' );
65
 
66
  // Increase the time limit to account for large slider sets and suspend cache invalidations.
67
  set_time_limit( Soliloquy_Common_Lite::get_instance()->get_max_execution_time() );
68
  wp_suspend_cache_invalidation( true );
69
 
70
+ // Grab all sliders and convert them to the new system.
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
71
  $sliders = get_posts(
72
  array(
73
  'post_type' => 'soliloquy',
77
 
78
  // Loop through sliders and convert them.
79
  foreach ( (array) $sliders as $slider ) {
80
+ // Grab meta from the v1 sliders.
81
+ $meta = get_post_meta( $slider->ID, '_soliloquy_settings', true );
82
+
83
+ // Move meta from v1 to v2.
84
+ $new_meta = array(
85
+ 'id' => $slider->ID,
86
+ 'config' => array(),
87
+ 'slider' => array(),
88
+ 'status' => 'active'
89
+ );
 
 
 
 
 
90
 
 
91
  if ( ! empty( $new_meta['config']['gutter'] ) ) {
92
  $new_meta['config']['gutter'] = 0;
93
  }
100
  $new_meta['config']['mobile'] = 0;
101
  }
102
 
103
+ // Splice meta from v1 to v2.
104
+ $new_meta['config']['title'] = $slider->post_title;
105
+ $new_meta['config']['slug'] = $slider->post_name;
106
+ $new_meta['config']['slider'] = 0;
107
 
108
  if ( ! empty( $meta['width'] ) ) {
109
+ $new_meta['config']['slider_width'] = $meta['width'];
110
  }
111
 
112
  if ( ! empty( $meta['height'] ) ) {
113
+ $new_meta['config']['slider_height'] = $meta['height'];
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
114
  }
115
 
116
  if ( ! empty( $meta['transition'] ) ) {
117
+ $new_meta['config']['transition'] = $meta['transition'];
 
 
 
 
 
 
118
  }
119
 
120
  if ( ! empty( $meta['speed'] ) ) {
125
  $new_meta['config']['speed'] = $meta['duration'];
126
  }
127
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
128
  // Set to the classic theme to keep people from going nuts with a theme change.
129
+ $new_meta['config']['slider_theme'] = 'classic';
 
 
 
 
130
 
131
  // Grab all attachments and add them to the slider.
132
  $attachments = get_posts(
133
  array(
134
  'orderby' => 'menu_order',
135
+ 'order' => 'ASC',
136
+ 'post_type' => 'attachment',
137
+ 'post_parent' => $slider->ID,
138
+ 'post_status' => null,
139
+ 'posts_per_page' => -1
140
  )
141
  );
142
 
143
  // Loop through attachments and add them to the slider.
144
  foreach ( (array) $attachments as $slide ) {
145
+ $url = wp_get_attachment_image_src( $slide->ID, 'full' );
146
+ $alt_text = get_post_meta( $slide->ID, '_wp_attachment_image_alt', true );
147
+ $new_meta['slider'][$slide->ID] = array(
148
+ 'status' => 'active',
149
+ 'id' => $slide->ID,
150
+ 'src' => isset( $url[0] ) ? esc_url( $url[0] ) : '',
151
+ 'title' => get_the_title( $slide->ID ),
152
+ 'link' => get_post_meta( $slide->ID, '_soliloquy_image_link', true ),
153
+ 'alt' => ! empty( $alt_text ) ? $alt_text : get_the_title( $slide->ID ),
154
+ 'caption' => ! empty( $slide->post_excerpt ) ? $slide->post_excerpt : '',
155
+ 'type' => 'image'
156
+ );
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
157
  }
158
 
 
159
  // Update the post meta for the new slider.
160
  update_post_meta( $slider->ID, '_sol_slider_data', $new_meta );
161
 
162
  // Force the post to update.
163
+ wp_update_post( array( 'ID' => $slider->ID ) );
164
 
165
  // Flush caches for any sliders.
166
  Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $slider->ID, $new_meta['config']['slug'] );
167
  }
168
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
169
  // Turn off cache suspension and flush the cache to remove any cache inconsistencies.
170
  wp_suspend_cache_invalidation( false );
171
  wp_cache_flush();
177
  echo json_encode( true );
178
  die;
179
 
180
+
181
  }
182
 
183
  /**
266
  * @since 1.0.0
267
  */
268
  function load_image() {
269
+
270
+
271
  // Run a security check first.
272
  check_ajax_referer( 'soliloquy-load-image', 'nonce' );
273
 
333
  check_ajax_referer( 'soliloquy-insert-images', 'nonce' );
334
 
335
  // Prepare variables.
336
+ $images = ! empty( $_POST['images'] ) ? json_decode( stripslashes( $_POST['images'] ), true ) : array();
337
  $videos = ! empty( $_POST['videos'] ) ? stripslashes_deep( (array) $_POST['videos'] ) : array();
338
  $html = ! empty( $_POST['html'] ) ? stripslashes_deep( (array) $_POST['html'] ) : array();
339
  $post_id = absint( $_POST['post_id'] );
565
 
566
  // Run a security check first.
567
  check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
568
+
569
  // Prepare variables.
570
  $post_id = absint( $_POST['post_id'] );
571
  $attach_id = $_POST['attach_id'];
572
  $meta = $_POST['meta'];
573
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
574
+
575
  // Go ahead and ensure to store the attachment ID.
576
  $slider_data['slider'][$attach_id]['id'] = $attach_id;
577
 
631
  // Run a security check first.
632
  // Run a security check first.
633
  check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
634
+
635
  // Prepare variables.
636
  $post_id = absint( $_POST['post_id'] );
637
  $attach_id = $_POST['image_ids'];
638
  $meta = $_POST['meta'];
639
 
640
  // Get gallery.
641
+ $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
642
  if ( empty( $slider_data ) || ! is_array( $slider_data ) ) {
643
  wp_send_json_error();
644
+ }
645
 
646
  // Iterate through gallery images, updating the metadata.
647
  foreach ( $attach_id as $image_id ) {
652
  }
653
  // Go ahead and ensure to store the attachment ID.
654
  $slider_data['slider'][$image_id]['id'] = $image_id;
655
+
656
  if ( isset( $meta['alt'] ) ) {
657
  $slider_data['slider'][$image_id]['alt'] = trim( esc_html( $meta['alt'] ) );
658
  }
660
  if ( isset( $meta['status'] ) ) {
661
  $slider_data['slider'][$image_id]['status'] = trim( esc_html( $meta['status'] ) );
662
  }
663
+
664
  if ( isset( $meta['link'] ) ) {
665
  $slider_data['slider'][$image_id]['link'] = esc_url( $meta['link'] );
666
  }
667
+
668
  if ( isset( $meta['linktab'] ) && $meta['linktab'] ) {
669
  $slider_data['slider'][$image_id]['linktab'] = 1;
670
  } else {
671
  $slider_data['slider'][$image_id]['linktab'] = 0;
672
  }
673
+
674
  if ( isset( $meta['caption_bulk'] ) ) {
675
  $slider_data['slider'][$image_id]['caption'] = trim( $meta['caption_bulk'] );
676
  }
677
+
678
  if ( isset( $meta['url'] ) ) {
679
  $slider_data['slider'][$image_id]['url'] = esc_url( $meta['url'] );
680
  }
681
+
682
  if ( isset( $meta['src'] ) ) {
683
  $slider_data['slider'][$image_id]['src'] = esc_url( $meta['src'] );
684
  }
687
 
688
  // Update the slider data.
689
  update_post_meta( $post_id, '_sol_slider_data', $slider_data );
690
+
691
  // Flush the slider cache.
692
  Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $post_id );
693
+
694
  // Done
695
  wp_send_json_success();
696
  die;
697
+
698
  }
699
  /**
700
  * Refreshes the DOM view for a slider.
879
  }
880
 
881
  function slider_view(){
882
+
883
  // Run a security check first.
884
+ check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
885
  $post_id = absint( $_POST['post_id'] );
886
  $view = $_POST['view'];
887
+
 
888
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
889
  // Save the different types of default meta fields for images, videos and HTML slides.
890
  if ( isset( $view ) ) {
891
  $slider_data['admin_view']= trim( esc_html( $view ) );
892
  }
893
+
894
  // Allow filtering of meta before saving.
895
  $slider_data = apply_filters( 'soliloquy_ajax_change_status', $slider_data, $meta, $attach_id, $post_id );
896
 
901
  Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $post_id );
902
 
903
  wp_send_json_success();
904
+
905
  }
906
+
907
  function change_slide_status(){
908
  // Run a security check first.
909
  check_ajax_referer( 'soliloquy-save-meta', 'nonce' );
910
+
911
  // Prepare variables.
912
  $post_id = absint( $_POST['post_id'] );
913
  $attach_id = $_POST['slide_id'];
914
+ $status = $_POST['status'];
915
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
916
+
917
  // Go ahead and ensure to store the attachment ID.
918
  $slider_data['slider'][$attach_id]['id'] = $attach_id;
919
 
933
 
934
  wp_send_json_success();
935
  die;
936
+
937
  }
938
  /**
939
  * Grabs JS and executes it for any uninitialised sliders on screen
960
  // Build JS for each slider
961
  $js = '';
962
  foreach ( $_REQUEST['ids'] as $slider_id ) {
963
+
964
  // Get slider
965
  $data = $base->get_slider( $slider_id );
966
+
967
  // If no slider found, skip
968
  if ( ! $data ) {
969
+
970
  if ( class_exists('Soliloquy_Dynamic_Common') ){
971
+
972
  $dynamic_id = Soliloquy_Dynamic_Common::get_instance()->get_dynamic_id();
973
  $defaults = get_post_meta( $dynamic_id, '_sol_slider_data', true );
974
+
975
  $data = $defaults;
976
  $data['id'] = 'custom_'. $slider_id;
977
+
978
  } else{
979
+
980
  continue;
981
+
982
  }
983
  }
984
+
985
  }
986
+
987
  // Output JS
988
  echo $js;
989
  die();
includes/admin/common.php CHANGED
@@ -264,21 +264,21 @@ class Soliloquy_Common_Admin_Lite {
264
  * check if there's a shareasale ID specified.
265
  *
266
  * There are three ways to specify an ID, ordered by highest to lowest priority
267
- * - add_filter( 'envira_gallery_shareasale_id', function() { return 1234; } );
268
- * - define( 'ENVIRA_GALLERY_SHAREASALE_ID', 1234 );
269
- * - get_option( 'envira_gallery_shareasale_id' ); (with the option being in the wp_options table)
270
  *
271
  * If an ID is present, returns the ShareASale link with the affiliate ID, and tells
272
- * ShareASale to then redirect to enviragallery.com/lite
273
  *
274
- * If no ID is present, just returns the enviragallery.com/lite URL with UTM tracking.
275
  *
276
- * @since 1.5.0
277
  */
278
  public function get_upgrade_link() {
279
 
280
  if ( class_exists( 'Soliloquy' ) ) {
281
- // User is using Envira Gallery, so just take them to the Pricing page.
282
  // Note: On the Addons screen, if the user has a license, we won't hit this function,
283
  // as the API will tell us the direct URL to send the user to based on their license key,
284
  // so they see pro-rata pricing.
264
  * check if there's a shareasale ID specified.
265
  *
266
  * There are three ways to specify an ID, ordered by highest to lowest priority
267
+ * - add_filter( 'soliloquy_shareasale_id', function() { return 1234; } );
268
+ * - define( 'SOLILOQUY_SHAREASALE_ID', 1234 );
269
+ * - get_option( 'soliloquy_shareasale_id' ); (with the option being in the wp_options table)
270
  *
271
  * If an ID is present, returns the ShareASale link with the affiliate ID, and tells
272
+ * ShareASale to then redirect to soliloquywp.com/lite
273
  *
274
+ * If no ID is present, just returns the soliloquywp.com/lite URL with UTM tracking.
275
  *
276
+ * @since 2.5.0
277
  */
278
  public function get_upgrade_link() {
279
 
280
  if ( class_exists( 'Soliloquy' ) ) {
281
+ // User is using Soliloquy, so just take them to the Pricing page.
282
  // Note: On the Addons screen, if the user has a license, we won't hit this function,
283
  // as the API will tell us the direct URL to send the user to based on their license key,
284
  // so they see pro-rata pricing.
includes/admin/media-view.php CHANGED
@@ -235,7 +235,7 @@ class Soliloquy_Media_View_Lite {
235
  <!-- Link in New Window -->
236
  <label class="setting">
237
  <span class="name"><?php _e( 'Open URL in New Window?', 'soliloquy' ); ?></span>
238
- <input type="checkbox" name="link_new_window" value="1"<# if ( data.link_new_window == '1' ) { #> checked <# } #> /><span class="check-label"><?php _e('Opens your image links in a new browser window / tab.', 'soliloquy' ); ?></span>
239
  </label>
240
 
241
  </div>
@@ -424,7 +424,7 @@ class Soliloquy_Media_View_Lite {
424
 
425
  <?php
426
  // Bulk Image Editor Image
427
- // Use: wp.media.template( 'envira-meta-bulk-editor-image' )
428
  ?>
429
  <script type="text/html" id="tmpl-soliloquy-meta-bulk-editor-slides">
430
  <div class="attachment-preview">
235
  <!-- Link in New Window -->
236
  <label class="setting">
237
  <span class="name"><?php _e( 'Open URL in New Window?', 'soliloquy' ); ?></span>
238
+ <input type="checkbox" name="linktab" value="1"<# if ( data.linktab == '1' ) { #> checked <# } #> /><span class="check-label"><?php _e('Opens your image links in a new browser window / tab.', 'soliloquy' ); ?></span>
239
  </label>
240
 
241
  </div>
424
 
425
  <?php
426
  // Bulk Image Editor Image
427
+ // Use: wp.media.template( 'soliloquy-meta-bulk-editor-image' )
428
  ?>
429
  <script type="text/html" id="tmpl-soliloquy-meta-bulk-editor-slides">
430
  <div class="attachment-preview">
includes/admin/metaboxes.php CHANGED
@@ -88,7 +88,7 @@ class Soliloquy_Metaboxes_Lite {
88
  * @return null Return early if not on the proper screen.
89
  */
90
  public function meta_box_styles() {
91
-
92
  if ( isset( get_current_screen()->base ) && 'post' !== get_current_screen()->base ) {
93
  return;
94
  }
@@ -153,8 +153,8 @@ class Soliloquy_Metaboxes_Lite {
153
  array(
154
  'ajax' => admin_url( 'admin-ajax.php' ),
155
  'id' => $post_id,
156
- 'uploader_files_computer' => __( 'Select Files from Your Computer', 'soliloquy' ),
157
- 'uploader_info_text' => __( 'Drag and Drop Files to Upload', 'soliloquy' ),
158
  'load_image' => wp_create_nonce( 'soliloquy-load-image' ),
159
  'media_position' => get_option( 'soliloquy_slide_position' ),
160
  )
@@ -178,7 +178,7 @@ class Soliloquy_Metaboxes_Lite {
178
  // Form Conditionals
179
  wp_register_script( 'jquery-form-conditionals', plugins_url( 'assets/js/min/jquery.form-conditionals-min.js', $this->base->file ), array( 'jquery', 'plupload-handlers', 'quicktags', 'jquery-ui-sortable', $this->base->plugin_slug . '-codemirror' ), $this->base->version, true );
180
  wp_enqueue_script( 'jquery-form-conditionals' );
181
-
182
  wp_register_script( $this->base->plugin_slug . '-metabox-script', plugins_url( 'assets/js/min/metabox-min.js', $this->base->file ), array( 'jquery', 'plupload-handlers', 'quicktags', 'jquery-ui-sortable' ), $this->base->version, true );
183
  wp_enqueue_script( $this->base->plugin_slug . '-metabox-script' );
184
  wp_localize_script(
@@ -291,11 +291,11 @@ class Soliloquy_Metaboxes_Lite {
291
  public function add_meta_boxes() {
292
 
293
  global $post;
294
-
295
  if ( 'soliloquy' != $post->post_type ){
296
-
297
  return;
298
-
299
  }
300
 
301
  // Let's remove all of those dumb metaboxes from our post type screen to control the experience.
@@ -317,11 +317,11 @@ class Soliloquy_Metaboxes_Lite {
317
  continue;
318
  }
319
  if ( ! in_array( $post->ID, $custom)){
320
-
321
  add_action('edit_form_after_title', array( $this, 'uploader_html' ), 10 );
322
  add_action('edit_form_after_title', array( $this, 'settings_html' ), 11 );
323
  add_meta_box( 'soliloquy-codepanel', __( 'Soliloquy Slider Code', 'soliloquy' ), array( $this, 'code_panel' ), $post_type, 'side', apply_filters( 'soliloquy_metabox_priority', 'low' ) );
324
-
325
  }
326
 
327
  }
@@ -367,14 +367,14 @@ class Soliloquy_Metaboxes_Lite {
367
  * @since 2.5.0
368
  */
369
  public function append_media_upload_form() {
370
-
371
  ?>
372
  <!-- Add from Media Library -->
373
  <a href="#" class="soliloquy-media-library button" title="<?php _e( 'Click Here to Insert from Other Image Sources', 'soliloquy' ); ?>" style="vertical-align: baseline;">
374
  <?php _e( 'Select Files from Other Sources', 'soliloquy' ); ?>
375
  </a>
376
  <?php
377
-
378
  }
379
  /**
380
  * settings_html function.
@@ -405,8 +405,8 @@ class Soliloquy_Metaboxes_Lite {
405
 
406
  <ul id="soliloquy-settings-tabs" class="soliloquy-tabs-nav soliloquy-clear" data-update-hashbang="1">
407
 
408
- <?php $i = 0; foreach ( (array) $this->get_soliloquy_tab_nav() as $id => $title ) :
409
-
410
  $class = 0 === $i ? 'soliloquy-tab-nav-active' : ''; ?>
411
 
412
  <li id="soliloquy-tab-nav-<?php echo $id; ?>" data-soliloquy-tab class="soliloquy-setting-tab <?php echo $class; ?>" data-tab-id="soliloquy-tab-<?php echo $id; ?>"><a href="#soliloquy-tab-<?php echo $id; ?>" title="<?php echo $title; ?>"><span><?php echo $title; ?></span></a></li>
@@ -417,8 +417,8 @@ class Soliloquy_Metaboxes_Lite {
417
 
418
  <div id="soliloquy-settings-content" class="soliloquy-clear">
419
 
420
- <?php $i = 0; foreach ( (array) $this->get_soliloquy_tab_nav() as $id => $title ) :
421
-
422
  $class = 0 === $i ? 'soliloquy-tab-active' : ''; ?>
423
 
424
  <div id="soliloquy-tab-<?php echo $id; ?>" class="soliloquy-tab soliloquy-clear <?php echo $class; ?>">
@@ -446,7 +446,7 @@ class Soliloquy_Metaboxes_Lite {
446
  * @return void
447
  */
448
  public function code_panel( $post ){
449
-
450
  $slider_data = get_post_meta( $post->ID, '_sol_slider_data', true );
451
 
452
  if ( isset( $post->post_status ) && 'auto-draft' == $post->post_status ) {
@@ -461,7 +461,7 @@ class Soliloquy_Metaboxes_Lite {
461
  delete_post_meta( $post->ID, '_sol_just_published' );
462
  }
463
  ?>
464
-
465
  <p><?php _e( 'You can place this slider into your posts, pages, custom post types or widgets using the shortcode below:','soliloquy' ); ?></p>
466
  <code id="soliloquy-shortcode" class="soliloquy-code"><?php echo '[soliloquy id="' . $post->ID . '"]'; ?></code>
467
  <a href="#" class="soliloquy-clipboard" data-clipboard-target="#soliloquy-shortcode"><?php _e( 'Copy to Clipboard', 'soliloquy' ); ?></a>
@@ -476,9 +476,9 @@ class Soliloquy_Metaboxes_Lite {
476
  <p><?php _e( "You can place this slider into your theme's template files by using the template tag below:", 'soliloquy' ); ?></p>
477
  <code id="soliloquy-template-tag" class="soliloquy-code"><?php echo 'if ( function_exists( \'soliloquy\' ) ) { soliloquy( \'' . $post->ID . '\' ); }'; ?></code>
478
  <a href="#" class="soliloquy-clipboard" data-clipboard-target="#soliloquy-template-tag"><?php _e( 'Copy to Clipboard', 'soliloquy' ); ?></a>
479
-
480
  <?php if ( ! empty( $slider_data['config']['slug'] ) ) : ?>
481
-
482
  <br><code id="soliloquy-slug-tag" class="soliloquy-code"><?php echo 'if ( function_exists( \'soliloquy\' ) ) { soliloquy( \'' . $slider_data['config']['slug'] . '\', \'slug\' ); }'; ?></code>
483
  <a href="#" class="soliloquy-clipboard" data-clipboard-target="#soliloquy-slug-tag"><?php _e( 'Copy to Clipboard', 'soliloquy' ); ?></a>
484
 
@@ -658,21 +658,31 @@ class Soliloquy_Metaboxes_Lite {
658
  */
659
  public function do_default_display( $post ) {
660
 
661
-
662
  // Prepare output data.
663
  $slider_data = get_post_meta( $post->ID, '_sol_slider_data', true );
664
-
 
 
 
 
 
 
 
 
 
 
 
 
665
  //Check if slider has an admin view set
666
  if ( isset( $slider_data['admin_view'] ) && $slider_data['admin_view'] != '' ){
667
-
668
  $slide_view = $slider_data['admin_view'] ;
669
 
670
  }else{
671
-
672
  $slide_view = get_option( 'soliloquy_slide_view' );
673
 
674
  }
675
-
676
  //Get View from settings
677
  $default_view = $slide_view === 'grid' ? 'soliloquy-grid' : 'soliloquy-list';
678
  //Show/Hide stuff
@@ -687,7 +697,7 @@ class Soliloquy_Metaboxes_Lite {
687
  <p class="soliloquy-help-text"><?php _e( 'Need some help?', 'soliloquy' ); ?> <a href="http://soliloquywp.com/docs/creating-your-first-slider/" target="_blank"><?php _e( 'Watch a video how to add media and create a slider', 'soliloquy' ); ?></a></p>
688
  </div>
689
  </div>
690
-
691
  <div class="soliloquy-slide-header<?php echo $visible; ?>">
692
 
693
  <h2 class="soliloquy-intro"><?php _e('Currently in Your Slider', 'soliloquy' ); ?></h2>
@@ -696,24 +706,24 @@ class Soliloquy_Metaboxes_Lite {
696
  <li><a href="#" class="soliloquy-display-grid soliloquy-display<?php echo $slide_view == 'grid' ? ' active-display' : ''; ?>" data-soliloquy-display="grid"><i class="soliloquy-icon-grid"></i></a></li>
697
  <li><a href="#" class="soliloquy-display-list soliloquy-display<?php echo $slide_view == 'list' ? ' active-display' : ''; ?>" data-soliloquy-display="list"><i class="soliloquy-icon-list"></i></a></li>
698
  </ul>
699
-
700
  <label>
701
-
702
  <input class="soliloquy-select-all" type="checkbox">
703
-
704
- <span class="select-all"><?php _e( 'Select All', 'soliloquy' ); ?></span> (<span class="soliloquy-count">0</span>)
705
  <a href="#" class="soliloquy-clear-selected"><?php _e( 'Clear Selected' , 'soliloquy' ); ?></a>
706
- </label>
707
-
708
  </div>
709
-
710
  <div class="soliloquy-bulk-actions">
711
 
712
  <a href="#" class="button button-soliloquy-delete soliloquy-slides-delete"><?php _e( 'Delete selected files from slider', 'soliloquy' ); ?></a>
713
  <a href="#" class="button button-soliloquy-secondary soliloquy-slides-edit"><?php _e( 'Edit Selected Slides', 'soliloquy' ); ?></a>
714
 
715
- </div>
716
-
717
  <ul id="soliloquy-output" class="<?php echo $default_view; ?> soliloquy-clear" data-view="<?php echo $slide_view; ?>">
718
 
719
  <?php if ( ! empty( $slider_data['slider'] ) ) : ?>
@@ -740,7 +750,7 @@ class Soliloquy_Metaboxes_Lite {
740
  <p><?php esc_html_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other features, including: a fully featured slider widget, complete slider API, powerful slider documentation, full mobile and Retina support, dedicated customer support and so much more!' ); ?></p>
741
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
742
  </div> <?php
743
-
744
  }
745
 
746
  /**
@@ -843,7 +853,7 @@ class Soliloquy_Metaboxes_Lite {
843
  <option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'aria_live', $this->get_config_default( 'aria_live' ) ) ); ?>><?php echo $data['name']; ?></option>
844
  <?php endforeach; ?>
845
  </select>
846
-
847
  </div>
848
  <p class="description"><?php _e( 'Accessibility: Defines the priority with which screen readers should treat updates to this slider.', 'soliloquy' ); ?></p>
849
  </td>
@@ -851,17 +861,17 @@ class Soliloquy_Metaboxes_Lite {
851
  <?php do_action( 'soliloquy_config_box', $post ); ?>
852
  </tbody>
853
  </table>
854
-
855
  <div class="soliloquy-alert">
856
-
857
  <p class="soliloquy-intro"><?php esc_html_e( 'Want to do even more with your slider display?', 'soliloquy' ); ?></p>
858
  <p><?php esc_html_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other gallery display features, including: custom image tagging and filtering, mobile specific image assets for blazing fast load times, dedicated and unique gallery URLs, custom gallery themes, gallery thumbnail support and so much more!', 'soliloquy' ); ?></p>
859
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
860
-
861
  </div>
862
-
863
  </div>
864
-
865
  <?php
866
 
867
  }
@@ -917,41 +927,41 @@ class Soliloquy_Metaboxes_Lite {
917
  <?php do_action( 'soliloquy_misc_box', $post ); ?>
918
  </tbody>
919
  </table>
920
-
921
  <div class="soliloquy-alert">
922
-
923
  <p class="soliloquy-intro"><?php esc_html_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
924
  <p><?php esc_html_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other features, including: a fully-integrated import/export module for your slider, custom CSS controls for each slider and so much more!', 'soliloquy' ); ?></p>
925
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
926
-
927
  </div>
928
-
929
  </div>
930
-
931
  <?php }
932
-
933
  /**
934
  * Callback for displaying the UI for setting slider Mobile Lite.
935
  *
936
  * @since 2.5.0
937
  *
938
  * @param object $post The current post object.
939
- */
940
  function mobile_lite_tab(){ ?>
941
-
942
  <div id="soliloquy-mobile-lite">
943
-
944
  <div class="soliloquy-alert">
945
-
946
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
947
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can get access to mobile-specific settings, including mobile image sizes, number of columns, mobile-specific lightbox options and so much more!', 'soliloquy' ); ?></p>
948
-
949
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
950
-
951
  </div>
952
-
953
- </div><?php
954
-
955
  }
956
  /**
957
  * Callback for displaying the UI for setting slider Mobile Lite.
@@ -959,24 +969,24 @@ class Soliloquy_Metaboxes_Lite {
959
  * @since 2.5.0
960
  *
961
  * @param object $post The current post object.
962
- */
963
  function carousel_lite_tab(){ ?>
964
-
965
  <div id="soliloquy-carousel-lite">
966
-
967
  <div class="soliloquy-alert">
968
-
969
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to create a Responsive Carousel Slider?
970
  ', 'soliloquy' ); ?></p>
971
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can create a responsive carousel slider in WordPress for your images, photos, videos, and even galleries.', 'soliloquy' ); ?></p>
972
-
973
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
974
-
975
  </div>
976
-
977
  </div>
978
-
979
- <?php
980
  }
981
  /**
982
  * Callback for displaying the UI for setting slider Mobile Lite.
@@ -984,20 +994,20 @@ class Soliloquy_Metaboxes_Lite {
984
  * @since 2.5.0
985
  *
986
  * @param object $post The current post object.
987
- */
988
  function pinterest_lite_tab(){ ?>
989
-
990
  <div id="soliloquy-pinterest-lite">
991
-
992
  <div class="soliloquy-alert">
993
-
994
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
995
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can add pinterest sharing buttons to your slider images and Lightbox images. Why not check it out?', 'soliloquy' ); ?></p>
996
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
997
-
998
  </div>
999
-
1000
- </div><?php
1001
  }
1002
  /**
1003
  * Callback for displaying the UI for setting slider Mobile Lite.
@@ -1005,64 +1015,64 @@ class Soliloquy_Metaboxes_Lite {
1005
  * @since 2.5.0
1006
  *
1007
  * @param object $post The current post object.
1008
- */
1009
  function schedule_lite_tab(){ ?>
1010
-
1011
  <div id="soliloquy-schedule-lite">
1012
  <div class="soliloquy-alert">
1013
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
1014
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can easily schedule both sliders and individual slides to be displayed at specific time intervals (perfect for highlight time-sensitive content).', 'soliloquy' ); ?></p>
1015
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1016
  </div>
1017
-
1018
  </div>
1019
-
1020
- <?php
1021
  }
1022
-
1023
  /**
1024
  * Callback for displaying the UI for setting slider Mobile Lite.
1025
  *
1026
  * @since 2.5.0
1027
  *
1028
  * @param object $post The current post object.
1029
- */
1030
  function lightbox_lite_tab(){ ?>
1031
-
1032
  <div id="soliloquy-lightbox-lite">
1033
 
1034
  <div class="soliloquy-alert">
1035
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want even more fine tuned control over your lightbox display?', 'soliloquy' ); ?></p>
1036
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other lightbox features, including: custom lightbox titles, enable/disable lightbox controls (arrow, keyboard and mousehweel navigation), custom lightbox transition effects, native fullscreen support, gallery deeplinking, image protection, lightbox supersize effects, lightbox slideshows and so much more!', 'soliloquy' ); ?></p>
1037
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1038
-
1039
  </div>
1040
-
1041
- </div><?php
1042
  }
1043
-
1044
  /**
1045
  * Callback for displaying the UI for setting slider Mobile Lite.
1046
  *
1047
  * @since 2.5.0
1048
  *
1049
  * @param object $post The current post object.
1050
- */
1051
  function thumbnails_lite_tab(){ ?>
1052
-
1053
  <div id="soliloquy-thumbnails-lite">
1054
-
1055
  <div class="soliloquy-alert">
1056
-
1057
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to add Thumbnail Navigation?', 'soliloquy' ); ?></p>
1058
  <p><?php _e( 'By upgrading to Soliloquy Pro, you can add thumbnail images as navigation for your WordPress slider. <a href="http://soliloquywp.com/addons/thumbnails/">(See Demo)</a>', 'soliloquy' ); ?></p>
1059
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1060
-
1061
  </div>
1062
-
1063
  </div>
1064
-
1065
- <?php
1066
  }
1067
  /**
1068
  * Callback for saving values from Soliloquy metaboxes.
@@ -1128,8 +1138,8 @@ class Soliloquy_Metaboxes_Lite {
1128
  $settings['config']['slider'] = isset( $_POST['_soliloquy']['slider'] ) ? 1 : 0;
1129
  $settings['config']['aria_live'] = preg_replace( '#[^a-z0-9-_]#', '', $_POST['_soliloquy']['aria_live'] );
1130
  $settings['config']['classes'] = explode( "\n", $_POST['_soliloquy']['classes'] );
1131
- $settings['config']['title'] = trim( strip_tags( $_POST['_soliloquy']['title'] ) );
1132
- $settings['config']['slug'] = sanitize_text_field( $_POST['_soliloquy']['slug'] );
1133
  $settings['config']['rtl'] = ( isset( $_POST['_soliloquy']['rtl'] ) ? 1 : 0 );
1134
 
1135
  // If on an soliloquy post type, map the title and slug of the post object to the custom fields if no value exists yet.
@@ -1215,34 +1225,34 @@ class Soliloquy_Metaboxes_Lite {
1215
  */
1216
  public function get_slider_image( $id, $data, $post_id = 0 ) {
1217
 
1218
-
1219
  $thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' );
 
1220
  $json = version_compare( PHP_VERSION, '5.3.0') >= 0 ? json_encode( $data, JSON_HEX_APOS ) : json_encode( $data );
1221
-
1222
  ob_start(); ?>
1223
-
1224
- <li id="<?php echo $id; ?>" class="soliloquy-slide soliloquy-image soliloquy-status-<?php echo $data['status']; ?>" data-soliloquy-slide="<?php echo $id; ?>" data-soliloquy-image-model='<?php echo $json; ?>'>
1225
  <a href="#" class="check"><div class="media-modal-icon"></div></a>
1226
-
1227
  <a href="#" class="soliloquy-remove-slide" title="<?php esc_attr_e( 'Remove Image Slide from Slider?', 'soliloquy' ); ?>"><i class="soliloquy-icon-close"></i></a>
1228
-
1229
  <a href="#" class="soliloquy-modify-slide" title="<?php esc_attr_e( 'Modify Image Slide', 'soliloquy' ); ?>"><i class="soliloquy-icon-pencil"></i></a>
1230
-
1231
  <div class="soliloquy-item-content">
1232
  <img class="soliloquy-item-img" src="<?php echo esc_url( $thumbnail[0] ); ?>" alt="<?php esc_attr_e( $data['alt'] ); ?>" />
1233
-
1234
  <div class="soliloquy-item-info">
1235
 
1236
- <h3 class="soliloquy-item-title"><?php echo get_the_title( $id ); ?></h3>
1237
 
1238
  </div>
1239
  </div>
1240
-
1241
  </li>
1242
-
1243
  <?php
1244
  return ob_get_clean();
1245
-
1246
  }
1247
 
1248
  /**
@@ -1456,6 +1466,97 @@ class Soliloquy_Metaboxes_Lite {
1456
  return extension_loaded( 'imagick' );
1457
 
1458
  }
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1459
 
1460
  /**
1461
  * Returns the singleton instance of the class.
88
  * @return null Return early if not on the proper screen.
89
  */
90
  public function meta_box_styles() {
91
+
92
  if ( isset( get_current_screen()->base ) && 'post' !== get_current_screen()->base ) {
93
  return;
94
  }
153
  array(
154
  'ajax' => admin_url( 'admin-ajax.php' ),
155
  'id' => $post_id,
156
+ 'uploader_files_computer' => __( 'Select Files from Your Computer', 'soliloquy' ),
157
+ 'uploader_info_text' => __( 'Drag and Drop Files to Upload', 'soliloquy' ),
158
  'load_image' => wp_create_nonce( 'soliloquy-load-image' ),
159
  'media_position' => get_option( 'soliloquy_slide_position' ),
160
  )
178
  // Form Conditionals
179
  wp_register_script( 'jquery-form-conditionals', plugins_url( 'assets/js/min/jquery.form-conditionals-min.js', $this->base->file ), array( 'jquery', 'plupload-handlers', 'quicktags', 'jquery-ui-sortable', $this->base->plugin_slug . '-codemirror' ), $this->base->version, true );
180
  wp_enqueue_script( 'jquery-form-conditionals' );
181
+
182
  wp_register_script( $this->base->plugin_slug . '-metabox-script', plugins_url( 'assets/js/min/metabox-min.js', $this->base->file ), array( 'jquery', 'plupload-handlers', 'quicktags', 'jquery-ui-sortable' ), $this->base->version, true );
183
  wp_enqueue_script( $this->base->plugin_slug . '-metabox-script' );
184
  wp_localize_script(
291
  public function add_meta_boxes() {
292
 
293
  global $post;
294
+
295
  if ( 'soliloquy' != $post->post_type ){
296
+
297
  return;
298
+
299
  }
300
 
301
  // Let's remove all of those dumb metaboxes from our post type screen to control the experience.
317
  continue;
318
  }
319
  if ( ! in_array( $post->ID, $custom)){
320
+
321
  add_action('edit_form_after_title', array( $this, 'uploader_html' ), 10 );
322
  add_action('edit_form_after_title', array( $this, 'settings_html' ), 11 );
323
  add_meta_box( 'soliloquy-codepanel', __( 'Soliloquy Slider Code', 'soliloquy' ), array( $this, 'code_panel' ), $post_type, 'side', apply_filters( 'soliloquy_metabox_priority', 'low' ) );
324
+
325
  }
326
 
327
  }
367
  * @since 2.5.0
368
  */
369
  public function append_media_upload_form() {
370
+
371
  ?>
372
  <!-- Add from Media Library -->
373
  <a href="#" class="soliloquy-media-library button" title="<?php _e( 'Click Here to Insert from Other Image Sources', 'soliloquy' ); ?>" style="vertical-align: baseline;">
374
  <?php _e( 'Select Files from Other Sources', 'soliloquy' ); ?>
375
  </a>
376
  <?php
377
+
378
  }
379
  /**
380
  * settings_html function.
405
 
406
  <ul id="soliloquy-settings-tabs" class="soliloquy-tabs-nav soliloquy-clear" data-update-hashbang="1">
407
 
408
+ <?php $i = 0; foreach ( (array) $this->get_soliloquy_tab_nav() as $id => $title ) :
409
+
410
  $class = 0 === $i ? 'soliloquy-tab-nav-active' : ''; ?>
411
 
412
  <li id="soliloquy-tab-nav-<?php echo $id; ?>" data-soliloquy-tab class="soliloquy-setting-tab <?php echo $class; ?>" data-tab-id="soliloquy-tab-<?php echo $id; ?>"><a href="#soliloquy-tab-<?php echo $id; ?>" title="<?php echo $title; ?>"><span><?php echo $title; ?></span></a></li>
417
 
418
  <div id="soliloquy-settings-content" class="soliloquy-clear">
419
 
420
+ <?php $i = 0; foreach ( (array) $this->get_soliloquy_tab_nav() as $id => $title ) :
421
+
422
  $class = 0 === $i ? 'soliloquy-tab-active' : ''; ?>
423
 
424
  <div id="soliloquy-tab-<?php echo $id; ?>" class="soliloquy-tab soliloquy-clear <?php echo $class; ?>">
446
  * @return void
447
  */
448
  public function code_panel( $post ){
449
+
450
  $slider_data = get_post_meta( $post->ID, '_sol_slider_data', true );
451
 
452
  if ( isset( $post->post_status ) && 'auto-draft' == $post->post_status ) {
461
  delete_post_meta( $post->ID, '_sol_just_published' );
462
  }
463
  ?>
464
+
465
  <p><?php _e( 'You can place this slider into your posts, pages, custom post types or widgets using the shortcode below:','soliloquy' ); ?></p>
466
  <code id="soliloquy-shortcode" class="soliloquy-code"><?php echo '[soliloquy id="' . $post->ID . '"]'; ?></code>
467
  <a href="#" class="soliloquy-clipboard" data-clipboard-target="#soliloquy-shortcode"><?php _e( 'Copy to Clipboard', 'soliloquy' ); ?></a>
476
  <p><?php _e( "You can place this slider into your theme's template files by using the template tag below:", 'soliloquy' ); ?></p>
477
  <code id="soliloquy-template-tag" class="soliloquy-code"><?php echo 'if ( function_exists( \'soliloquy\' ) ) { soliloquy( \'' . $post->ID . '\' ); }'; ?></code>
478
  <a href="#" class="soliloquy-clipboard" data-clipboard-target="#soliloquy-template-tag"><?php _e( 'Copy to Clipboard', 'soliloquy' ); ?></a>
479
+
480
  <?php if ( ! empty( $slider_data['config']['slug'] ) ) : ?>
481
+
482
  <br><code id="soliloquy-slug-tag" class="soliloquy-code"><?php echo 'if ( function_exists( \'soliloquy\' ) ) { soliloquy( \'' . $slider_data['config']['slug'] . '\', \'slug\' ); }'; ?></code>
483
  <a href="#" class="soliloquy-clipboard" data-clipboard-target="#soliloquy-slug-tag"><?php _e( 'Copy to Clipboard', 'soliloquy' ); ?></a>
484
 
658
  */
659
  public function do_default_display( $post ) {
660
 
 
661
  // Prepare output data.
662
  $slider_data = get_post_meta( $post->ID, '_sol_slider_data', true );
663
+
664
+ if ( !empty( $slider_data ) && ! empty( $slider_data['slider'] ) && is_array( $slider_data['slider'] ) ) {
665
+
666
+ $maybe_update = $this->maybe_update_slides( $slider_data['slider'] );
667
+
668
+ if ( $maybe_update == false ) {
669
+
670
+ $slider_data = $this->update_slides( $post->ID );
671
+
672
+ }
673
+
674
+ }
675
+
676
  //Check if slider has an admin view set
677
  if ( isset( $slider_data['admin_view'] ) && $slider_data['admin_view'] != '' ){
678
+
679
  $slide_view = $slider_data['admin_view'] ;
680
 
681
  }else{
682
+
683
  $slide_view = get_option( 'soliloquy_slide_view' );
684
 
685
  }
 
686
  //Get View from settings
687
  $default_view = $slide_view === 'grid' ? 'soliloquy-grid' : 'soliloquy-list';
688
  //Show/Hide stuff
697
  <p class="soliloquy-help-text"><?php _e( 'Need some help?', 'soliloquy' ); ?> <a href="http://soliloquywp.com/docs/creating-your-first-slider/" target="_blank"><?php _e( 'Watch a video how to add media and create a slider', 'soliloquy' ); ?></a></p>
698
  </div>
699
  </div>
700
+
701
  <div class="soliloquy-slide-header<?php echo $visible; ?>">
702
 
703
  <h2 class="soliloquy-intro"><?php _e('Currently in Your Slider', 'soliloquy' ); ?></h2>
706
  <li><a href="#" class="soliloquy-display-grid soliloquy-display<?php echo $slide_view == 'grid' ? ' active-display' : ''; ?>" data-soliloquy-display="grid"><i class="soliloquy-icon-grid"></i></a></li>
707
  <li><a href="#" class="soliloquy-display-list soliloquy-display<?php echo $slide_view == 'list' ? ' active-display' : ''; ?>" data-soliloquy-display="list"><i class="soliloquy-icon-list"></i></a></li>
708
  </ul>
709
+
710
  <label>
711
+
712
  <input class="soliloquy-select-all" type="checkbox">
713
+
714
+ <span class="select-all"><?php _e( 'Select All', 'soliloquy' ); ?></span> (<span class="soliloquy-count">0</span>)
715
  <a href="#" class="soliloquy-clear-selected"><?php _e( 'Clear Selected' , 'soliloquy' ); ?></a>
716
+ </label>
717
+
718
  </div>
719
+
720
  <div class="soliloquy-bulk-actions">
721
 
722
  <a href="#" class="button button-soliloquy-delete soliloquy-slides-delete"><?php _e( 'Delete selected files from slider', 'soliloquy' ); ?></a>
723
  <a href="#" class="button button-soliloquy-secondary soliloquy-slides-edit"><?php _e( 'Edit Selected Slides', 'soliloquy' ); ?></a>
724
 
725
+ </div>
726
+
727
  <ul id="soliloquy-output" class="<?php echo $default_view; ?> soliloquy-clear" data-view="<?php echo $slide_view; ?>">
728
 
729
  <?php if ( ! empty( $slider_data['slider'] ) ) : ?>
750
  <p><?php esc_html_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other features, including: a fully featured slider widget, complete slider API, powerful slider documentation, full mobile and Retina support, dedicated customer support and so much more!' ); ?></p>
751
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
752
  </div> <?php
753
+
754
  }
755
 
756
  /**
853
  <option value="<?php echo $data['value']; ?>"<?php selected( $data['value'], $this->get_config( 'aria_live', $this->get_config_default( 'aria_live' ) ) ); ?>><?php echo $data['name']; ?></option>
854
  <?php endforeach; ?>
855
  </select>
856
+
857
  </div>
858
  <p class="description"><?php _e( 'Accessibility: Defines the priority with which screen readers should treat updates to this slider.', 'soliloquy' ); ?></p>
859
  </td>
861
  <?php do_action( 'soliloquy_config_box', $post ); ?>
862
  </tbody>
863
  </table>
864
+
865
  <div class="soliloquy-alert">
866
+
867
  <p class="soliloquy-intro"><?php esc_html_e( 'Want to do even more with your slider display?', 'soliloquy' ); ?></p>
868
  <p><?php esc_html_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other gallery display features, including: custom image tagging and filtering, mobile specific image assets for blazing fast load times, dedicated and unique gallery URLs, custom gallery themes, gallery thumbnail support and so much more!', 'soliloquy' ); ?></p>
869
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
870
+
871
  </div>
872
+
873
  </div>
874
+
875
  <?php
876
 
877
  }
927
  <?php do_action( 'soliloquy_misc_box', $post ); ?>
928
  </tbody>
929
  </table>
930
+
931
  <div class="soliloquy-alert">
932
+
933
  <p class="soliloquy-intro"><?php esc_html_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
934
  <p><?php esc_html_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other features, including: a fully-integrated import/export module for your slider, custom CSS controls for each slider and so much more!', 'soliloquy' ); ?></p>
935
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
936
+
937
  </div>
938
+
939
  </div>
940
+
941
  <?php }
942
+
943
  /**
944
  * Callback for displaying the UI for setting slider Mobile Lite.
945
  *
946
  * @since 2.5.0
947
  *
948
  * @param object $post The current post object.
949
+ */
950
  function mobile_lite_tab(){ ?>
951
+
952
  <div id="soliloquy-mobile-lite">
953
+
954
  <div class="soliloquy-alert">
955
+
956
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
957
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can get access to mobile-specific settings, including mobile image sizes, number of columns, mobile-specific lightbox options and so much more!', 'soliloquy' ); ?></p>
958
+
959
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
960
+
961
  </div>
962
+
963
+ </div><?php
964
+
965
  }
966
  /**
967
  * Callback for displaying the UI for setting slider Mobile Lite.
969
  * @since 2.5.0
970
  *
971
  * @param object $post The current post object.
972
+ */
973
  function carousel_lite_tab(){ ?>
974
+
975
  <div id="soliloquy-carousel-lite">
976
+
977
  <div class="soliloquy-alert">
978
+
979
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to create a Responsive Carousel Slider?
980
  ', 'soliloquy' ); ?></p>
981
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can create a responsive carousel slider in WordPress for your images, photos, videos, and even galleries.', 'soliloquy' ); ?></p>
982
+
983
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
984
+
985
  </div>
986
+
987
  </div>
988
+
989
+ <?php
990
  }
991
  /**
992
  * Callback for displaying the UI for setting slider Mobile Lite.
994
  * @since 2.5.0
995
  *
996
  * @param object $post The current post object.
997
+ */
998
  function pinterest_lite_tab(){ ?>
999
+
1000
  <div id="soliloquy-pinterest-lite">
1001
+
1002
  <div class="soliloquy-alert">
1003
+
1004
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
1005
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can add pinterest sharing buttons to your slider images and Lightbox images. Why not check it out?', 'soliloquy' ); ?></p>
1006
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1007
+
1008
  </div>
1009
+
1010
+ </div><?php
1011
  }
1012
  /**
1013
  * Callback for displaying the UI for setting slider Mobile Lite.
1015
  * @since 2.5.0
1016
  *
1017
  * @param object $post The current post object.
1018
+ */
1019
  function schedule_lite_tab(){ ?>
1020
+
1021
  <div id="soliloquy-schedule-lite">
1022
  <div class="soliloquy-alert">
1023
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to take your sliders further?', 'soliloquy' ); ?></p>
1024
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can easily schedule both sliders and individual slides to be displayed at specific time intervals (perfect for highlight time-sensitive content).', 'soliloquy' ); ?></p>
1025
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1026
  </div>
1027
+
1028
  </div>
1029
+
1030
+ <?php
1031
  }
1032
+
1033
  /**
1034
  * Callback for displaying the UI for setting slider Mobile Lite.
1035
  *
1036
  * @since 2.5.0
1037
  *
1038
  * @param object $post The current post object.
1039
+ */
1040
  function lightbox_lite_tab(){ ?>
1041
+
1042
  <div id="soliloquy-lightbox-lite">
1043
 
1044
  <div class="soliloquy-alert">
1045
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want even more fine tuned control over your lightbox display?', 'soliloquy' ); ?></p>
1046
  <p><?php esc_attr_e( 'By upgrading to Soliloquy Pro, you can get access to numerous other lightbox features, including: custom lightbox titles, enable/disable lightbox controls (arrow, keyboard and mousehweel navigation), custom lightbox transition effects, native fullscreen support, gallery deeplinking, image protection, lightbox supersize effects, lightbox slideshows and so much more!', 'soliloquy' ); ?></p>
1047
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1048
+
1049
  </div>
1050
+
1051
+ </div><?php
1052
  }
1053
+
1054
  /**
1055
  * Callback for displaying the UI for setting slider Mobile Lite.
1056
  *
1057
  * @since 2.5.0
1058
  *
1059
  * @param object $post The current post object.
1060
+ */
1061
  function thumbnails_lite_tab(){ ?>
1062
+
1063
  <div id="soliloquy-thumbnails-lite">
1064
+
1065
  <div class="soliloquy-alert">
1066
+
1067
  <p class="soliloquy-intro"><?php esc_attr_e( 'Want to add Thumbnail Navigation?', 'soliloquy' ); ?></p>
1068
  <p><?php _e( 'By upgrading to Soliloquy Pro, you can add thumbnail images as navigation for your WordPress slider. <a href="http://soliloquywp.com/addons/thumbnails/">(See Demo)</a>', 'soliloquy' ); ?></p>
1069
  <a href="<?php echo $this->common->get_upgrade_link(); ?>" target="_blank" class="button button-soliloquy"><?php esc_attr_e( 'Click here to Upgrade', 'soliloquy' ); ?></a>
1070
+
1071
  </div>
1072
+
1073
  </div>
1074
+
1075
+ <?php
1076
  }
1077
  /**
1078
  * Callback for saving values from Soliloquy metaboxes.
1138
  $settings['config']['slider'] = isset( $_POST['_soliloquy']['slider'] ) ? 1 : 0;
1139
  $settings['config']['aria_live'] = preg_replace( '#[^a-z0-9-_]#', '', $_POST['_soliloquy']['aria_live'] );
1140
  $settings['config']['classes'] = explode( "\n", $_POST['_soliloquy']['classes'] );
1141
+ $settings['config']['title'] = sanitize_text_field( esc_attr( $_POST['_soliloquy']['title'] ) );
1142
+ $settings['config']['slug'] = sanitize_text_field( esc_attr( $_POST['_soliloquy']['slug'] ) );
1143
  $settings['config']['rtl'] = ( isset( $_POST['_soliloquy']['rtl'] ) ? 1 : 0 );
1144
 
1145
  // If on an soliloquy post type, map the title and slug of the post object to the custom fields if no value exists yet.
1225
  */
1226
  public function get_slider_image( $id, $data, $post_id = 0 ) {
1227
 
 
1228
  $thumbnail = wp_get_attachment_image_src( $id, 'thumbnail' );
1229
+
1230
  $json = version_compare( PHP_VERSION, '5.3.0') >= 0 ? json_encode( $data, JSON_HEX_APOS ) : json_encode( $data );
1231
+
1232
  ob_start(); ?>
1233
+
1234
+ <li id="<?php echo $id; ?>" class="soliloquy-slide soliloquy-image soliloquy-status-<?php echo $data['status']; ?>" data-soliloquy-slide="<?php echo $id; ?>" data-soliloquy-image-model='<?php echo htmlspecialchars ( $json, ENT_QUOTES, 'UTF-8'); ?>'>
1235
  <a href="#" class="check"><div class="media-modal-icon"></div></a>
1236
+
1237
  <a href="#" class="soliloquy-remove-slide" title="<?php esc_attr_e( 'Remove Image Slide from Slider?', 'soliloquy' ); ?>"><i class="soliloquy-icon-close"></i></a>
1238
+
1239
  <a href="#" class="soliloquy-modify-slide" title="<?php esc_attr_e( 'Modify Image Slide', 'soliloquy' ); ?>"><i class="soliloquy-icon-pencil"></i></a>
1240
+
1241
  <div class="soliloquy-item-content">
1242
  <img class="soliloquy-item-img" src="<?php echo esc_url( $thumbnail[0] ); ?>" alt="<?php esc_attr_e( $data['alt'] ); ?>" />
1243
+
1244
  <div class="soliloquy-item-info">
1245
 
1246
+ <h3 class="soliloquy-item-title"><?php echo get_the_title( $id ); ?></h3>
1247
 
1248
  </div>
1249
  </div>
1250
+
1251
  </li>
1252
+
1253
  <?php
1254
  return ob_get_clean();
1255
+
1256
  }
1257
 
1258
  /**
1466
  return extension_loaded( 'imagick' );
1467
 
1468
  }
1469
+ /**
1470
+ * Run through the array and check if ID or attachment_id is set.
1471
+ *
1472
+ * @access public
1473
+ * @param mixed $array
1474
+ * @return void
1475
+ */
1476
+ function maybe_update_slides( $array ){
1477
+
1478
+ foreach ( $array as $id => $data ) {
1479
+
1480
+ if ( !array_key_exists('id', $data ) || !array_key_exists( 'attachment_id', $data ) ) {
1481
+
1482
+ return false;
1483
+
1484
+ } else {
1485
+
1486
+ continue;
1487
+
1488
+ }
1489
+
1490
+ }
1491
+
1492
+ return true;
1493
+
1494
+ }
1495
+
1496
+ /**
1497
+ * Update Soliloquy Lite slides to include ID and Attachemnt ID.
1498
+ *
1499
+ * @access public
1500
+ * @param mixed $post_id
1501
+ * @return void
1502
+ */
1503
+ function update_slides( $post_id ){
1504
+
1505
+ // Grab and update any slider data if necessary.
1506
+ $in_slider = get_post_meta( $post_id, '_sol_in_slider', true );
1507
+ if ( empty( $in_slider ) ) {
1508
+ $in_slider = array();
1509
+ }
1510
+
1511
+ // Set data and order of image in slider.
1512
+ $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
1513
+
1514
+ if ( empty( $slider_data ) ) {
1515
+ $slider_data = array();
1516
+ }
1517
+
1518
+ // If no slider ID has been set, set it now.
1519
+ if ( empty( $slider_data['id'] ) ) {
1520
+ $slider_data['id'] = $post_id;
1521
+ }
1522
+
1523
+ foreach ( $slider_data['slider'] as $id => $data ) {
1524
+
1525
+ if ( !array_key_exists('id', $data ) || !array_key_exists('attachment_id', $data ) ){
1526
+
1527
+ $slide = array(
1528
+ 'status' => isset( $data['status'] ) ? $data['status'] : 'published',
1529
+ 'id' => $id,
1530
+ 'attachment_id' => $id,
1531
+ );
1532
+
1533
+ $slide = wp_parse_args( $slide, $data );
1534
+
1535
+ }else{
1536
+
1537
+ $slide = array(
1538
+ 'status' => isset( $data['status'] ) ? $data['status'] : 'published' ,
1539
+ 'id' => isset( $data['id']) ? $data['id'] : $id ,
1540
+ );
1541
+
1542
+ $slide = wp_parse_args( $slide, $data );
1543
+
1544
+ }
1545
+
1546
+ $slider_data['slider'][ $id ] = $slide;
1547
+ $in_slider[] = $id;
1548
+
1549
+ }
1550
+
1551
+ // Update the slider data.
1552
+ // update_post_meta( $post_id, '_sol_in_slider', $in_slider );
1553
+ update_post_meta( $post_id, '_sol_slider_data', $slider_data );
1554
+
1555
+ Soliloquy_Common_Lite::get_instance()->flush_slider_caches( $post_id );
1556
+
1557
+ return $slider_data;
1558
+
1559
+ }
1560
 
1561
  /**
1562
  * Returns the singleton instance of the class.
includes/admin/partials/metabox-slider-type.php CHANGED
@@ -71,7 +71,7 @@
71
  </li>
72
  </ul>
73
 
74
- <p class="soliloquy-upsell"><?php esc_attr_e('Soliloqyy Pro allows you to build sliders from Instagram photos, images from your posts, and more.
75
 
76
  ', 'loquy'); ?></p>
77
 
71
  </li>
72
  </ul>
73
 
74
+ <p class="soliloquy-upsell"><?php esc_attr_e('Soliloquy Pro allows you to build sliders from Instagram photos, images from your posts, and more.
75
 
76
  ', 'loquy'); ?></p>
77
 
includes/admin/posttype.php CHANGED
@@ -7,7 +7,7 @@
7
  * @package Soliloquy
8
  * @author Thomas Griffin
9
  */
10
-
11
  // Exit if accessed directly.
12
  if ( ! defined( 'ABSPATH' ) ) {
13
  exit;
@@ -41,16 +41,16 @@ class Soliloquy_Lite_Posttype_Admin {
41
  * @var object
42
  */
43
  public $base;
44
-
45
  /**
46
  * Holds the base class object.
47
  *
48
  * @since 2.5.0
49
  *
50
  * @var object
51
- */
52
  public $metabox;
53
-
54
  /**
55
  * Primary class constructor.
56
  *
@@ -60,7 +60,7 @@ class Soliloquy_Lite_Posttype_Admin {
60
 
61
  // Load the base class object.
62
  $this->base = Soliloquy_Lite::get_instance();
63
-
64
  // Load the metabox class object.
65
  $this->metabox = Soliloquy_Metaboxes_Lite::get_instance();
66
 
@@ -72,9 +72,9 @@ class Soliloquy_Lite_Posttype_Admin {
72
 
73
  // Check if any soliloquyv2 post types still exist, and if so migrate them once
74
  add_action( 'init', array( $this, 'maybe_fix_soliloquyv2_cpts' ) );
75
-
76
  add_action('all_admin_notices', array( $this, 'admin_header_html'));
77
-
78
  // Load CSS and JS.
79
  add_action( 'admin_enqueue_scripts', array( $this, 'styles' ) );
80
  add_action( 'admin_enqueue_scripts', array( $this, 'scripts' ) );
@@ -87,52 +87,52 @@ class Soliloquy_Lite_Posttype_Admin {
87
  add_action( 'quick_edit_custom_box', array( $this, 'quick_edit_custom_box' ), 10, 2 ); // Single Item.
88
  add_action( 'bulk_edit_custom_box', array( $this, 'bulk_edit_custom_box' ), 10, 2 ); // Multiple Items.
89
  add_action( 'post_updated', array( $this, 'bulk_edit_save' ) );
90
- // add_filter('post_row_actions', array( $this, 'slide_count' ), 10, 2);
91
-
92
  }
93
-
94
  //Remove This
95
- function slide_count( $actions, $post ) {
96
-
97
- global $current_screen;
98
-
99
  if ( ( $current_screen->post_type != 'soliloquy' ) ) {
100
-
101
  return $actions;
102
-
103
  }
104
-
105
  $slider_data = get_post_meta( $post->ID, '_sol_slider_data', true );
106
-
107
  if ( ! empty( $slider_data['slider'] ) && is_array( $slider_data['slider'] ) ) {
108
 
109
  $actions['soliloquy-count'] = printf( _n( '%d Slide', '%d Slides', count( $slider_data['slider'] ), 'soliloquy' ), count( $slider_data['slider'] ) );
110
-
111
  }
112
-
113
  return $actions;
114
-
115
- }
116
-
117
  /**
118
  * admin_header_html function.
119
- *
120
  * @access public
121
  * @return void
122
  * @since 2.5.0
123
  */
124
  function admin_header_html(){
125
-
126
- $screen = get_current_screen();
127
 
128
  if ( 'soliloquy' == $screen->post_type && apply_filters('soliloquy_whitelabel', true ) ){
129
-
130
- $this->base ->load_admin_partial( '_header.php' );
131
 
132
  }
133
 
134
  }
135
-
136
  /**
137
  * Loads scripts for all soliloquy-based Administration Screens.
138
  *
@@ -144,7 +144,7 @@ class Soliloquy_Lite_Posttype_Admin {
144
 
145
  // Get current screen.
146
  $screen = get_current_screen();
147
-
148
  // Bail if we're not on the soliloquy Post Type screen.
149
  if ( 'soliloquy' !== $screen->post_type ) {
150
  return;
@@ -154,11 +154,11 @@ class Soliloquy_Lite_Posttype_Admin {
154
  if ( 'edit' !== $screen->base ) {
155
  return;
156
  }
157
-
158
  //Chosen JS
159
  wp_register_script( $this->base->plugin_slug . '-chosen', plugins_url( 'assets/js/min/chosen.jquery-min.js', $this->base->file ), array( 'jquery' ), $this->base->version, true );
160
  wp_enqueue_script( $this->base->plugin_slug . '-chosen' );
161
-
162
  // Load necessary admin scripts
163
  wp_register_script( $this->base->plugin_slug . '-clipboard-script', plugins_url( 'assets/js/min/clipboard-min.js', $this->base->file ), array( 'jquery' ), $this->base->version );
164
  wp_enqueue_script( $this->base->plugin_slug . '-clipboard-script' );
@@ -170,7 +170,7 @@ class Soliloquy_Lite_Posttype_Admin {
170
  do_action( 'soliloquy_admin_scripts' );
171
 
172
  }
173
-
174
  /**
175
  * Loads styles for all soliloquy-based WP_List_Table Screens.
176
  *
@@ -182,7 +182,7 @@ class Soliloquy_Lite_Posttype_Admin {
182
 
183
  // Get current screen.
184
  $screen = get_current_screen();
185
-
186
  // Bail if we're not on the soliloquy Post Type screen.
187
  if ( 'soliloquy' !== $screen->post_type ) {
188
  return;
@@ -200,7 +200,7 @@ class Soliloquy_Lite_Posttype_Admin {
200
  do_action( 'soliloquy_table_styles' );
201
 
202
  }
203
-
204
  /**
205
  * Customize the post columns for the soliloquy post type.
206
  *
@@ -255,22 +255,22 @@ class Soliloquy_Lite_Posttype_Admin {
255
  * Image
256
  */
257
  case 'image':
258
-
259
  // Get Gallery Images.
260
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
261
  if ( ! empty( $slider_data['slider'] ) && is_array( $slider_data['slider'] ) ) {
262
- $image = reset( $slider_data['slider'] );
263
-
264
  switch( $image['type'] ){
265
  case 'image':
266
  echo '<img src="' . $image['src'] . '" width="75" /><br />';
267
  break;
268
  case 'video':
269
  echo '<img src="'. plugins_url( 'assets/images/video.png', $this->base->file ) .'" width="75" /><br />';
270
- break;
271
  case 'html':
272
  echo '<img src="'. plugins_url( 'assets/images/html.png', $this->base->file ) .'" width="75" /><br />';
273
- break;
274
  }
275
  printf( _n( '%d Image', '%d Slides', count( $slider_data['slider'] ), 'soliloquy' ), count( $slider_data['slider'] ) );
276
  }
@@ -280,16 +280,16 @@ class Soliloquy_Lite_Posttype_Admin {
280
  * Shortcode
281
  */
282
  case 'shortcode' :
283
-
284
  echo '<code id="soliloquy-shortcode-'.$post_id.'">[soliloquy id="' . $post_id . '"]</code>';
285
- echo '<a class="soliloquy-clipboard" href="#" data-clipboard-target="#soliloquy-shortcode-'.$post_id.'"">'. __('Copy to clipboard', 'soliloquy' ) .'</a>';
286
-
287
  // Hidden fields are for Quick Edit
288
  // class is used by assets/js/admin.js to remove these fields when a search is about to be submitted, so we dont' get long URLs
289
  echo '
290
  <input class="soliloquy-quick-edit" type="hidden" name="_soliloquy_' . $post_id . '[slider_theme]" value="'. $this->metabox->get_config( 'slider_theme' ) .'" />
291
  <input class="soliloquy-quick-edit" type="hidden" name="_soliloquy_' . $post_id . '[transition]" value="'. $this->metabox->get_config( 'transition' ) .'" />';
292
-
293
  break;
294
 
295
  /**
@@ -297,7 +297,7 @@ class Soliloquy_Lite_Posttype_Admin {
297
  */
298
  case 'template' :
299
  echo '<code id="soliloquy-code-'.$post_id.'">if ( function_exists( \'Soliloquy\' ) ) { Soliloquy( \'' . $post_id . '\' ); }</code>';
300
- echo '<a class="soliloquy-clipboard" href="#" data-clipboard-target="#soliloquy-code-'.$post_id.'"">'. __('Copy to clipboard', 'soliloquy' ) .'</a>';
301
  break;
302
 
303
  /**
@@ -316,7 +316,7 @@ class Soliloquy_Lite_Posttype_Admin {
316
  echo '<a href="' . get_permalink( $in_post_id ) . '" target="_blank">' . get_the_title( $in_post_id ).'</a><br />';
317
  }
318
  }
319
- break;
320
 
321
  /**
322
  * Last Modified
@@ -344,74 +344,74 @@ class Soliloquy_Lite_Posttype_Admin {
344
 
345
  // Get metabox instance
346
  $this->metabox = Soliloquy_Metaboxes_Lite::get_instance();
347
-
348
  wp_nonce_field( 'soliloquy', 'soliloquy' );
349
 
350
  switch ( $column_name ) {
351
  case 'image':
352
 
353
  break;
354
- case 'modified':
355
 
356
  ?>
357
 
358
  <?php break;
359
  case 'shortcode': ?>
360
-
361
  <fieldset class="inline-edit-col-left inline-edit-soliloquy">
362
-
363
  <div class="inline-edit-col inline-edit-<?php echo $column_name ?>">
364
-
365
  <label class="inline-edit-group">
366
-
367
  <span class="title"><?php _e( 'Slider Theme', 'soliloquy'); ?></span>
368
-
369
  <select name="_soliloquy[slider_theme]">
370
-
371
  <?php foreach ( (array) $this->metabox->get_slider_themes() as $i => $data ) : ?>
372
-
373
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
374
-
375
  <?php endforeach; ?>
376
-
377
  </select>
378
-
379
- </label>
380
-
381
 
382
-
 
 
 
383
  </div>
384
-
385
  </fieldset>
386
-
387
  <fieldset class="inline-edit-col-left inline-edit-soliloquy">
388
-
389
  <div class="inline-edit-col inline-edit-<?php echo $column_name ?>">
390
-
391
  <label class="inline-edit-group">
392
-
393
  <span class="title"><?php _e( 'Slider Transition', 'soliloquy'); ?></span>
394
-
395
  <select name="_soliloquy[transition]">
396
-
397
  <?php foreach ( (array) $this->metabox->get_slider_transitions() as $i => $data ) : ?>
398
-
399
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
400
-
401
  <?php endforeach; ?>
402
-
403
  </select>
404
-
405
- </label>
406
-
407
  </div>
408
-
409
- </fieldset>
410
-
411
  <?php break;
412
-
413
  }
414
-
415
  }
416
 
417
  /**
@@ -434,58 +434,58 @@ class Soliloquy_Lite_Posttype_Admin {
434
  if ( 'shortcode' !== $column_name ) {
435
  return;
436
  }
437
-
438
  // Get metabox instance
439
  $this->metabox = Soliloquy_Metaboxes_Lite::get_instance();
440
 
441
  switch ( $column_name ) {
442
  case 'shortcode':
443
-
444
  wp_nonce_field( 'soliloquy', 'soliloquy' ); ?>
445
-
446
  <fieldset class="inline-edit-col-left inline-edit-soliloquy">
447
-
448
  <div class="inline-edit-col inline-edit-<?php echo $column_name ?>">
449
-
450
  <label class="inline-edit-group">
451
  <span class="title"><?php _e( 'Slider Theme', 'soliloquy' ); ?></span>
452
-
453
  <select name="_soliloquy[slider_theme]">
454
-
455
  <?php foreach ( (array) $this->metabox->get_slider_themes() as $i => $data ) : ?>
456
-
457
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
458
-
459
  <?php endforeach; ?>
460
-
461
  </select>
462
-
463
- </label>
464
-
465
  <label class="inline-edit-group">
466
-
467
  <span class="title"><?php _e( 'Slider Transition', 'soliloquy'); ?></span>
468
  <div class="soliloquy-select">
469
  <select id="soliloquy-config-transition" name="_soliloquy[transition]" class="soliloquy-chosen" data-soliloquy-chosen-options='{ "disable_search":"true", "width": "100%" }'>
470
-
471
  <?php foreach ( (array) $this->metabox->get_slider_transitions() as $i => $data ) : ?>
472
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
473
  <?php endforeach; ?>
474
-
475
  </select>
476
  </div>
477
- </label>
478
 
479
  </div>
480
-
481
  </fieldset>
482
-
483
  <?php
484
  break;
485
  }
486
-
487
  }
488
-
489
  /**
490
  * Called every time a WordPress Post is updated
491
  *
@@ -498,26 +498,26 @@ class Soliloquy_Lite_Posttype_Admin {
498
  * @param int $post_ID Post ID
499
  */
500
  public function bulk_edit_save( $post_ID ) {
501
-
502
  // Check we are performing a Bulk Edit
503
  if ( !isset( $_REQUEST['bulk_edit'] ) ) {
504
  return;
505
  }
506
-
507
  // Bail out if we fail a security check.
508
  if ( ! isset( $_REQUEST['soliloquy'] ) || ! wp_verify_nonce( $_REQUEST['soliloquy'], 'soliloquy' ) || ! isset( $_REQUEST['_soliloquy'] ) ) {
509
  return;
510
  }
511
-
512
  // Check Post IDs have been submitted
513
  $post_ids = ( ! empty( $_REQUEST[ 'post' ] ) ) ? $_REQUEST[ 'post' ] : array();
514
  if ( empty( $post_ids ) || !is_array( $post_ids ) ) {
515
  return;
516
  }
517
-
518
  // Get metabox instance
519
  $this->metabox = Soliloquy_Lite_Metaboxes::get_instance();
520
-
521
  // Iterate through post IDs, updating settings
522
  foreach ( $post_ids as $post_id ) {
523
  // Get settings
@@ -525,32 +525,32 @@ class Soliloquy_Lite_Posttype_Admin {
525
  if ( empty( $settings ) ) {
526
  continue;
527
  }
528
-
529
  if ( ! empty( $_REQUEST['_soliloquy']['slider_theme'] ) && $_REQUEST['_soliloquy']['slider_theme'] != -1 ) {
530
-
531
  $settings['config']['slider_theme'] = preg_replace( '#[^a-z0-9-_]#', '', $_REQUEST['_soliloquy']['slider_theme'] );
532
-
533
  }
534
-
535
  if ( ! empty( $_REQUEST['_soliloquy']['transition'] ) && $_REQUEST['_soliloquy']['transition'] != -1 ) {
536
-
537
  $settings['config']['transition'] = preg_replace( '#[^a-z0-9-_]#', '', $_REQUEST['_soliloquy']['transition'] );
538
-
539
  }
540
-
541
  // Provide a filter to override settings.
542
  $settings = apply_filters( 'soliloquy_bulk_edit_save_settings', $settings, $post_id );
543
-
544
  // Update the post meta.
545
  update_post_meta( $post_id, '_sol_slider_data', $settings );
546
-
547
  // Finally, flush all gallery caches to ensure everything is up to date.
548
  $this->metabox->flush_slider_caches( $post_id, $settings['config']['slug'] );
549
 
550
  }
551
-
552
  }
553
-
554
  /**
555
  * Contextualizes the post updated messages.
556
  *
@@ -651,7 +651,7 @@ class Soliloquy_Lite_Posttype_Admin {
651
  // Increment count for notice
652
  $fixedSliders++;
653
  }
654
-
655
  // Make sure this doesn't run again
656
  update_option( 'soliloquy_upgrade_cpts', true );
657
 
@@ -670,13 +670,13 @@ class Soliloquy_Lite_Posttype_Admin {
670
  */
671
  public function fixed_soliloquyv2_cpts() {
672
  global $fixedSliders;
673
-
674
  ?>
675
  <div class="updated">
676
  <p><strong><?php echo $fixedSliders . __( ' slider(s) fixed successfully. This is a one time operation, and you don\'t need to do anything else.', 'soliloquy' ); ?></strong></p>
677
  </div>
678
  <?php
679
-
680
  }
681
 
682
  /**
7
  * @package Soliloquy
8
  * @author Thomas Griffin
9
  */
10
+
11
  // Exit if accessed directly.
12
  if ( ! defined( 'ABSPATH' ) ) {
13
  exit;
41
  * @var object
42
  */
43
  public $base;
44
+
45
  /**
46
  * Holds the base class object.
47
  *
48
  * @since 2.5.0
49
  *
50
  * @var object
51
+ */
52
  public $metabox;
53
+
54
  /**
55
  * Primary class constructor.
56
  *
60
 
61
  // Load the base class object.
62
  $this->base = Soliloquy_Lite::get_instance();
63
+
64
  // Load the metabox class object.
65
  $this->metabox = Soliloquy_Metaboxes_Lite::get_instance();
66
 
72
 
73
  // Check if any soliloquyv2 post types still exist, and if so migrate them once
74
  add_action( 'init', array( $this, 'maybe_fix_soliloquyv2_cpts' ) );
75
+
76
  add_action('all_admin_notices', array( $this, 'admin_header_html'));
77
+
78
  // Load CSS and JS.
79
  add_action( 'admin_enqueue_scripts', array( $this, 'styles' ) );
80
  add_action( 'admin_enqueue_scripts', array( $this, 'scripts' ) );
87
  add_action( 'quick_edit_custom_box', array( $this, 'quick_edit_custom_box' ), 10, 2 ); // Single Item.
88
  add_action( 'bulk_edit_custom_box', array( $this, 'bulk_edit_custom_box' ), 10, 2 ); // Multiple Items.
89
  add_action( 'post_updated', array( $this, 'bulk_edit_save' ) );
90
+ // add_filter('post_row_actions', array( $this, 'slide_count' ), 10, 2);
91
+
92
  }
93
+
94
  //Remove This
95
+ function slide_count( $actions, $post ) {
96
+
97
+ global $current_screen;
98
+
99
  if ( ( $current_screen->post_type != 'soliloquy' ) ) {
100
+
101
  return $actions;
102
+
103
  }
104
+
105
  $slider_data = get_post_meta( $post->ID, '_sol_slider_data', true );
106
+
107
  if ( ! empty( $slider_data['slider'] ) && is_array( $slider_data['slider'] ) ) {
108
 
109
  $actions['soliloquy-count'] = printf( _n( '%d Slide', '%d Slides', count( $slider_data['slider'] ), 'soliloquy' ), count( $slider_data['slider'] ) );
110
+
111
  }
112
+
113
  return $actions;
114
+
115
+ }
116
+
117
  /**
118
  * admin_header_html function.
119
+ *
120
  * @access public
121
  * @return void
122
  * @since 2.5.0
123
  */
124
  function admin_header_html(){
125
+
126
+ $screen = get_current_screen();
127
 
128
  if ( 'soliloquy' == $screen->post_type && apply_filters('soliloquy_whitelabel', true ) ){
129
+
130
+ $this->base->load_admin_partial( '_header.php' );
131
 
132
  }
133
 
134
  }
135
+
136
  /**
137
  * Loads scripts for all soliloquy-based Administration Screens.
138
  *
144
 
145
  // Get current screen.
146
  $screen = get_current_screen();
147
+
148
  // Bail if we're not on the soliloquy Post Type screen.
149
  if ( 'soliloquy' !== $screen->post_type ) {
150
  return;
154
  if ( 'edit' !== $screen->base ) {
155
  return;
156
  }
157
+
158
  //Chosen JS
159
  wp_register_script( $this->base->plugin_slug . '-chosen', plugins_url( 'assets/js/min/chosen.jquery-min.js', $this->base->file ), array( 'jquery' ), $this->base->version, true );
160
  wp_enqueue_script( $this->base->plugin_slug . '-chosen' );
161
+
162
  // Load necessary admin scripts
163
  wp_register_script( $this->base->plugin_slug . '-clipboard-script', plugins_url( 'assets/js/min/clipboard-min.js', $this->base->file ), array( 'jquery' ), $this->base->version );
164
  wp_enqueue_script( $this->base->plugin_slug . '-clipboard-script' );
170
  do_action( 'soliloquy_admin_scripts' );
171
 
172
  }
173
+
174
  /**
175
  * Loads styles for all soliloquy-based WP_List_Table Screens.
176
  *
182
 
183
  // Get current screen.
184
  $screen = get_current_screen();
185
+
186
  // Bail if we're not on the soliloquy Post Type screen.
187
  if ( 'soliloquy' !== $screen->post_type ) {
188
  return;
200
  do_action( 'soliloquy_table_styles' );
201
 
202
  }
203
+
204
  /**
205
  * Customize the post columns for the soliloquy post type.
206
  *
255
  * Image
256
  */
257
  case 'image':
258
+
259
  // Get Gallery Images.
260
  $slider_data = get_post_meta( $post_id, '_sol_slider_data', true );
261
  if ( ! empty( $slider_data['slider'] ) && is_array( $slider_data['slider'] ) ) {
262
+ $image = reset( $slider_data['slider'] );
263
+
264
  switch( $image['type'] ){
265
  case 'image':
266
  echo '<img src="' . $image['src'] . '" width="75" /><br />';
267
  break;
268
  case 'video':
269
  echo '<img src="'. plugins_url( 'assets/images/video.png', $this->base->file ) .'" width="75" /><br />';
270
+ break;
271
  case 'html':
272
  echo '<img src="'. plugins_url( 'assets/images/html.png', $this->base->file ) .'" width="75" /><br />';
273
+ break;
274
  }
275
  printf( _n( '%d Image', '%d Slides', count( $slider_data['slider'] ), 'soliloquy' ), count( $slider_data['slider'] ) );
276
  }
280
  * Shortcode
281
  */
282
  case 'shortcode' :
283
+
284
  echo '<code id="soliloquy-shortcode-'.$post_id.'">[soliloquy id="' . $post_id . '"]</code>';
285
+ echo '<a class="soliloquy-clipboard" href="#" data-clipboard-target="#soliloquy-shortcode-'.$post_id.'"">'. __('Copy to clipboard', 'soliloquy' ) .'</a>';
286
+
287
  // Hidden fields are for Quick Edit
288
  // class is used by assets/js/admin.js to remove these fields when a search is about to be submitted, so we dont' get long URLs
289
  echo '
290
  <input class="soliloquy-quick-edit" type="hidden" name="_soliloquy_' . $post_id . '[slider_theme]" value="'. $this->metabox->get_config( 'slider_theme' ) .'" />
291
  <input class="soliloquy-quick-edit" type="hidden" name="_soliloquy_' . $post_id . '[transition]" value="'. $this->metabox->get_config( 'transition' ) .'" />';
292
+
293
  break;
294
 
295
  /**
297
  */
298
  case 'template' :
299
  echo '<code id="soliloquy-code-'.$post_id.'">if ( function_exists( \'Soliloquy\' ) ) { Soliloquy( \'' . $post_id . '\' ); }</code>';
300
+ echo '<a class="soliloquy-clipboard" href="#" data-clipboard-target="#soliloquy-code-'.$post_id.'"">'. __('Copy to clipboard', 'soliloquy' ) .'</a>';
301
  break;
302
 
303
  /**
316
  echo '<a href="' . get_permalink( $in_post_id ) . '" target="_blank">' . get_the_title( $in_post_id ).'</a><br />';
317
  }
318
  }
319
+ break;
320
 
321
  /**
322
  * Last Modified
344
 
345
  // Get metabox instance
346
  $this->metabox = Soliloquy_Metaboxes_Lite::get_instance();
347
+
348
  wp_nonce_field( 'soliloquy', 'soliloquy' );
349
 
350
  switch ( $column_name ) {
351
  case 'image':
352
 
353
  break;
354
+ case 'modified':
355
 
356
  ?>
357
 
358
  <?php break;
359
  case 'shortcode': ?>
360
+
361
  <fieldset class="inline-edit-col-left inline-edit-soliloquy">
362
+
363
  <div class="inline-edit-col inline-edit-<?php echo $column_name ?>">
364
+
365
  <label class="inline-edit-group">
366
+
367
  <span class="title"><?php _e( 'Slider Theme', 'soliloquy'); ?></span>
368
+
369
  <select name="_soliloquy[slider_theme]">
370
+
371
  <?php foreach ( (array) $this->metabox->get_slider_themes() as $i => $data ) : ?>
372
+
373
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
374
+
375
  <?php endforeach; ?>
376
+
377
  </select>
 
 
 
378
 
379
+ </label>
380
+
381
+
382
+
383
  </div>
384
+
385
  </fieldset>
386
+
387
  <fieldset class="inline-edit-col-left inline-edit-soliloquy">
388
+
389
  <div class="inline-edit-col inline-edit-<?php echo $column_name ?>">
390
+
391
  <label class="inline-edit-group">
392
+
393
  <span class="title"><?php _e( 'Slider Transition', 'soliloquy'); ?></span>
394
+
395
  <select name="_soliloquy[transition]">
396
+
397
  <?php foreach ( (array) $this->metabox->get_slider_transitions() as $i => $data ) : ?>
398
+
399
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
400
+
401
  <?php endforeach; ?>
402
+
403
  </select>
404
+
405
+ </label>
406
+
407
  </div>
408
+
409
+ </fieldset>
410
+
411
  <?php break;
412
+
413
  }
414
+
415
  }
416
 
417
  /**
434
  if ( 'shortcode' !== $column_name ) {
435
  return;
436
  }
437
+
438
  // Get metabox instance
439
  $this->metabox = Soliloquy_Metaboxes_Lite::get_instance();
440
 
441
  switch ( $column_name ) {
442
  case 'shortcode':
443
+
444
  wp_nonce_field( 'soliloquy', 'soliloquy' ); ?>
445
+
446
  <fieldset class="inline-edit-col-left inline-edit-soliloquy">
447
+
448
  <div class="inline-edit-col inline-edit-<?php echo $column_name ?>">
449
+
450
  <label class="inline-edit-group">
451
  <span class="title"><?php _e( 'Slider Theme', 'soliloquy' ); ?></span>
452
+
453
  <select name="_soliloquy[slider_theme]">
454
+
455
  <?php foreach ( (array) $this->metabox->get_slider_themes() as $i => $data ) : ?>
456
+
457
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
458
+
459
  <?php endforeach; ?>
460
+
461
  </select>
462
+
463
+ </label>
464
+
465
  <label class="inline-edit-group">
466
+
467
  <span class="title"><?php _e( 'Slider Transition', 'soliloquy'); ?></span>
468
  <div class="soliloquy-select">
469
  <select id="soliloquy-config-transition" name="_soliloquy[transition]" class="soliloquy-chosen" data-soliloquy-chosen-options='{ "disable_search":"true", "width": "100%" }'>
470
+
471
  <?php foreach ( (array) $this->metabox->get_slider_transitions() as $i => $data ) : ?>
472
  <option value="<?php echo $data['value']; ?>"><?php echo $data['name']; ?></option>
473
  <?php endforeach; ?>
474
+
475
  </select>
476
  </div>
477
+ </label>
478
 
479
  </div>
480
+
481
  </fieldset>
482
+
483
  <?php
484
  break;
485
  }
486
+
487
  }
488
+
489
  /**
490
  * Called every time a WordPress Post is updated
491
  *
498
  * @param int $post_ID Post ID
499
  */
500
  public function bulk_edit_save( $post_ID ) {
501
+
502
  // Check we are performing a Bulk Edit
503
  if ( !isset( $_REQUEST['bulk_edit'] ) ) {
504
  return;
505
  }
506
+
507
  // Bail out if we fail a security check.
508
  if ( ! isset( $_REQUEST['soliloquy'] ) || ! wp_verify_nonce( $_REQUEST['soliloquy'], 'soliloquy' ) || ! isset( $_REQUEST['_soliloquy'] ) ) {
509
  return;
510
  }
511
+
512
  // Check Post IDs have been submitted
513
  $post_ids = ( ! empty( $_REQUEST[ 'post' ] ) ) ? $_REQUEST[ 'post' ] : array();
514
  if ( empty( $post_ids ) || !is_array( $post_ids ) ) {
515
  return;
516
  }
517
+
518
  // Get metabox instance
519
  $this->metabox = Soliloquy_Lite_Metaboxes::get_instance();
520
+
521
  // Iterate through post IDs, updating settings
522
  foreach ( $post_ids as $post_id ) {
523
  // Get settings
525
  if ( empty( $settings ) ) {
526
  continue;
527
  }
528
+
529
  if ( ! empty( $_REQUEST['_soliloquy']['slider_theme'] ) && $_REQUEST['_soliloquy']['slider_theme'] != -1 ) {
530
+
531
  $settings['config']['slider_theme'] = preg_replace( '#[^a-z0-9-_]#', '', $_REQUEST['_soliloquy']['slider_theme'] );
532
+
533
  }
534
+
535
  if ( ! empty( $_REQUEST['_soliloquy']['transition'] ) && $_REQUEST['_soliloquy']['transition'] != -1 ) {
536
+
537
  $settings['config']['transition'] = preg_replace( '#[^a-z0-9-_]#', '', $_REQUEST['_soliloquy']['transition'] );
538
+
539
  }
540
+
541
  // Provide a filter to override settings.
542
  $settings = apply_filters( 'soliloquy_bulk_edit_save_settings', $settings, $post_id );
543
+
544
  // Update the post meta.
545
  update_post_meta( $post_id, '_sol_slider_data', $settings );
546
+
547
  // Finally, flush all gallery caches to ensure everything is up to date.
548
  $this->metabox->flush_slider_caches( $post_id, $settings['config']['slug'] );
549
 
550
  }
551
+
552
  }
553
+
554
  /**
555
  * Contextualizes the post updated messages.
556
  *
651
  // Increment count for notice
652
  $fixedSliders++;
653
  }
654
+
655
  // Make sure this doesn't run again
656
  update_option( 'soliloquy_upgrade_cpts', true );
657
 
670
  */
671
  public function fixed_soliloquyv2_cpts() {
672
  global $fixedSliders;
673
+
674
  ?>
675
  <div class="updated">
676
  <p><strong><?php echo $fixedSliders . __( ' slider(s) fixed successfully. This is a one time operation, and you don\'t need to do anything else.', 'soliloquy' ); ?></strong></p>
677
  </div>
678
  <?php
679
+
680
  }
681
 
682
  /**
includes/global/posttype.php CHANGED
@@ -69,7 +69,8 @@ class Soliloquy_Posttype_Lite {
69
  array(
70
  'labels' => $labels,
71
  'public' => false,
72
- 'exclude_from_search' => false,
 
73
  'show_ui' => true,
74
  'show_in_admin_bar' => false,
75
  'rewrite' => false,
69
  array(
70
  'labels' => $labels,
71
  'public' => false,
72
+ 'exclude_from_search' => true,
73
+ 'publicly_queryable' => true,
74
  'show_ui' => true,
75
  'show_in_admin_bar' => false,
76
  'rewrite' => false,
includes/global/shortcode.php CHANGED
@@ -197,7 +197,7 @@ class Soliloquy_Shortcode_Lite {
197
 
198
  // Apply a filter before starting the slider HTML.
199
  $slider = apply_filters( 'soliloquy_output_start', $slider, $data );
200
-
201
  // Build out the slider HTML.
202
  $slider .= '<div aria-live="' . $this->get_config( 'aria_live', $data ) . '" id="soliloquy-container-' . sanitize_html_class( $data['id'] ) . '" class="' . $this->get_slider_classes( $data ) . '" style="max-width:' . $this->get_config( 'slider_width', $data ) . 'px;max-height:' . $this->get_config( 'slider_height', $data ) . 'px;' . apply_filters( 'soliloquy_output_container_style', '', $data ) . '"' . apply_filters( 'soliloquy_output_container_attr', '', $data ) . '>';
203
  $slider .= '<ul id="soliloquy-' . sanitize_html_class( $data['id'] ) . '" class="soliloquy-slider soliloquy-slides soliloquy-wrap soliloquy-clear">';
197
 
198
  // Apply a filter before starting the slider HTML.
199
  $slider = apply_filters( 'soliloquy_output_start', $slider, $data );
200
+
201
  // Build out the slider HTML.
202
  $slider .= '<div aria-live="' . $this->get_config( 'aria_live', $data ) . '" id="soliloquy-container-' . sanitize_html_class( $data['id'] ) . '" class="' . $this->get_slider_classes( $data ) . '" style="max-width:' . $this->get_config( 'slider_width', $data ) . 'px;max-height:' . $this->get_config( 'slider_height', $data ) . 'px;' . apply_filters( 'soliloquy_output_container_style', '', $data ) . '"' . apply_filters( 'soliloquy_output_container_attr', '', $data ) . '>';
203
  $slider .= '<ul id="soliloquy-' . sanitize_html_class( $data['id'] ) . '" class="soliloquy-slider soliloquy-slides soliloquy-wrap soliloquy-clear">';
readme.txt CHANGED
@@ -91,6 +91,30 @@ Soliloquy has many Addons that extend its default functionality to make it do in
91
 
92
  == Changelog ==
93
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
94
  = 2.5.0.1 =
95
  * Fix: PHP 5.2 compat issues causing admin screen to be un-functional
96
  * Fix: Numerous UI bug fixes
91
 
92
  == Changelog ==
93
 
94
+ = 2.5.0.8 =
95
+ * Fix: Minor Bug fixes
96
+
97
+ = 2.5.0.7 =
98
+ * Fix: Cases where loading slider by slug failed.
99
+ * Fix: Changed slug name in misc settings failed to load slider.
100
+
101
+
102
+ = 2.5.0.6 =
103
+ * Fix: Various minor bugs.
104
+
105
+ = 2.5.0.5 =
106
+ * Fix: Typo.
107
+
108
+ = 2.5.0.4 =
109
+ * Giveaway Ending Thank you!
110
+ * Fix: Various minor bugs.
111
+
112
+ = 2.5.0.3 =
113
+ * Fix: Various minor bugs.
114
+
115
+ = 2.5.0.2 =
116
+ * Fix: Cases where Meta Edit for slides in unavailable.
117
+
118
  = 2.5.0.1 =
119
  * Fix: PHP 5.2 compat issues causing admin screen to be un-functional
120
  * Fix: Numerous UI bug fixes
soliloquy-lite.php CHANGED
@@ -5,7 +5,7 @@
5
  * Description: Soliloquy is best responsive WordPress slider plugin. This is the lite version.
6
  * Author: Soliloquy Team
7
  * Author URI: https://soliloquywp.com
8
- * Version: 2.5.0.1
9
  * Text Domain: soliloquy
10
  * Domain Path: languages
11
  *
@@ -54,7 +54,7 @@ class Soliloquy_Lite {
54
  *
55
  * @var string
56
  */
57
- public $version = '2.5.0.1';
58
 
59
  /**
60
  * The name of the plugin.
@@ -107,6 +107,9 @@ class Soliloquy_Lite {
107
 
108
  // Load the plugin.
109
  add_action( 'init', array( $this, 'init' ), 0 );
 
 
 
110
 
111
  }
112
 
@@ -249,28 +252,30 @@ class Soliloquy_Lite {
249
  */
250
  public function _get_slider_by_slug( $slug ) {
251
 
252
- $sliders = get_posts(
253
- array(
254
- 'post_type' => 'any',
255
- 'no_found_rows' => true,
256
- 'cache_results' => false,
257
- 'nopaging' => true,
258
- 'fields' => 'ids',
259
- 'meta_query' => array(
260
- array(
261
- 'key' => '_sol_slider_data',
262
- 'value' => maybe_serialize( strval( $slug ) ),
263
- 'compare' => 'LIKE'
264
- )
265
- )
266
- )
267
- );
268
- if ( empty( $sliders ) ) {
269
  return false;
270
- } else {
271
- return get_post_meta( $sliders[0], '_sol_slider_data', true );
272
  }
273
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
274
  }
275
 
276
  /**
@@ -284,6 +289,7 @@ class Soliloquy_Lite {
284
 
285
  // Attempt to return the transient first, otherwise generate the new query to retrieve the data.
286
  if ( false === ( $sliders = get_transient( '_sol_cache_all' ) ) ) {
 
287
  $sliders = $this->_get_sliders();
288
  if ( $sliders ) {
289
  set_transient( '_sol_cache_all', $sliders, DAY_IN_SECONDS );
@@ -305,13 +311,13 @@ class Soliloquy_Lite {
305
  public function _get_sliders() {
306
 
307
  $sliders = new WP_Query( array(
308
- 'post_type' => 'any',
309
- 'post_status' => 'publish',
310
- 'posts_per_page'=> -1,
311
- 'fields' => 'ids',
312
- 'meta_query' => array(
313
  array(
314
- 'key' => '_sol_slider_data',
315
  'compare' => 'EXISTS',
316
  ),
317
  ),
@@ -324,6 +330,7 @@ class Soliloquy_Lite {
324
  // Now loop through all the sliders found and only use sliders that have images in them.
325
  $ret = array();
326
  foreach ( $sliders->posts as $id ) {
 
327
  $data = get_post_meta( $id, '_sol_slider_data', true );
328
  if ( empty( $data['slider'] ) && 'default' == Soliloquy_Shortcode_Lite::get_instance()->get_config( 'type', $data ) || 'dynamic' == Soliloquy_Shortcode_Lite::get_instance()->get_config( 'type', $data ) ) {
329
  continue;
@@ -370,7 +377,7 @@ class Soliloquy_Lite {
370
  return false;
371
 
372
  }
373
-
374
  /**
375
  * Helper flag method for any Soliloquy screen.
376
  *
@@ -393,7 +400,22 @@ class Soliloquy_Lite {
393
  return false;
394
 
395
  }
396
-
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
397
  /**
398
  * Helper flag method for the Add/Edit Soliloquy screens.
399
  *
@@ -417,6 +439,7 @@ class Soliloquy_Lite {
417
 
418
  }
419
 
 
420
  /**
421
  * Returns the singleton instance of the class.
422
  *
@@ -449,13 +472,15 @@ register_activation_hook( __FILE__, 'soliloquy_lite_activation_hook' );
449
  function soliloquy_lite_activation_hook( $network_wide ) {
450
 
451
  global $wp_version;
452
- if ( version_compare( $wp_version, '3.5.1', '<' ) && ! defined( 'SOLILOQUY_FORCE_ACTIVATION' ) ) {
453
  deactivate_plugins( plugin_basename( __FILE__ ) );
454
- wp_die( sprintf( __( 'Sorry, but your version of WordPress does not meet Soliloquy Lite\'s required version of <strong>3.5.1</strong> to run properly. The plugin has been deactivated. <a href="%s">Click here to return to the Dashboard</a>.', 'soliloquy' ), get_admin_url() ) );
455
  }
456
 
457
  if ( is_multisite() && $network_wide ) {
458
  global $wpdb;
 
 
459
  $site_list = $wpdb->get_results( "SELECT * FROM $wpdb->blogs ORDER BY blog_id" );
460
  foreach ( (array) $site_list as $site ) {
461
  switch_to_blog( $site->blog_id );
@@ -464,10 +489,14 @@ function soliloquy_lite_activation_hook( $network_wide ) {
464
  update_option( 'soliloquy_upgrade', true );
465
 
466
  restore_current_blog();
 
467
  }
 
468
  } else {
 
469
  // Set the upgraded licenses since this is an activation and no slider will have existed yet.
470
  update_option( 'soliloquy_upgrade', true );
 
471
  }
472
 
473
  }
5
  * Description: Soliloquy is best responsive WordPress slider plugin. This is the lite version.
6
  * Author: Soliloquy Team
7
  * Author URI: https://soliloquywp.com
8
+ * Version: 2.5.0.8
9
  * Text Domain: soliloquy
10
  * Domain Path: languages
11
  *
54
  *
55
  * @var string
56
  */
57
+ public $version = '2.5.0.8';
58
 
59
  /**
60
  * The name of the plugin.
107
 
108
  // Load the plugin.
109
  add_action( 'init', array( $this, 'init' ), 0 );
110
+
111
+ add_filter( 'admin_footer_text', array( $this, 'admin_footer' ), 1, 2 );
112
+
113
 
114
  }
115
 
252
  */
253
  public function _get_slider_by_slug( $slug ) {
254
 
255
+ $sliders = $this->get_sliders();
256
+ if ( ! $sliders ) {
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
257
  return false;
 
 
258
  }
259
 
260
+ // Loop through the sliders to find a match by slug.
261
+ $ret = false;
262
+ foreach ( $sliders as $data ) {
263
+
264
+ if ( empty( $data['config']['slug'] ) ) {
265
+ continue;
266
+ }
267
+
268
+ if ( $data['config']['slug'] == $slug ) {
269
+
270
+ $ret = $data;
271
+
272
+ break;
273
+ }
274
+ }
275
+
276
+ // Return the slider data.
277
+ return $ret;
278
+
279
  }
280
 
281
  /**
289
 
290
  // Attempt to return the transient first, otherwise generate the new query to retrieve the data.
291
  if ( false === ( $sliders = get_transient( '_sol_cache_all' ) ) ) {
292
+
293
  $sliders = $this->_get_sliders();
294
  if ( $sliders ) {
295
  set_transient( '_sol_cache_all', $sliders, DAY_IN_SECONDS );
311
  public function _get_sliders() {
312
 
313
  $sliders = new WP_Query( array(
314
+ 'post_type' => 'soliloquy',
315
+ 'post_status' => 'publish',
316
+ 'posts_per_page' => apply_filters('soliloquy_get_limit', 99 ),
317
+ 'fields' => 'ids',
318
+ 'meta_query' => array(
319
  array(
320
+ 'key' => '_sol_slider_data',
321
  'compare' => 'EXISTS',
322
  ),
323
  ),
330
  // Now loop through all the sliders found and only use sliders that have images in them.
331
  $ret = array();
332
  foreach ( $sliders->posts as $id ) {
333
+
334
  $data = get_post_meta( $id, '_sol_slider_data', true );
335
  if ( empty( $data['slider'] ) && 'default' == Soliloquy_Shortcode_Lite::get_instance()->get_config( 'type', $data ) || 'dynamic' == Soliloquy_Shortcode_Lite::get_instance()->get_config( 'type', $data ) ) {
336
  continue;
377
  return false;
378
 
379
  }
380
+
381
  /**
382
  * Helper flag method for any Soliloquy screen.
383
  *
400
  return false;
401
 
402
  }
403
+ /**
404
+ * When user is on a Soliloquy related admin page, display footer text
405
+ * that graciously asks them to rate us.
406
+ *
407
+ * @since 2.5.0.5
408
+ * @param string $text
409
+ * @return string
410
+ */
411
+ public function admin_footer( $text ) {
412
+ global $current_screen;
413
+ if ( !empty( $current_screen->id ) && strpos( $current_screen->id, 'soliloquy' ) !== false ) {
414
+ $url = 'https://wordpress.org/support/view/plugin-reviews/soliloquy-lite?filter=5';
415
+ $text = sprintf( __( 'Please rate <strong>SoliloquyWP</strong> <a href="%s" target="_blank">&#9733;&#9733;&#9733;&#9733;&#9733;</a> on <a href="%s" target="_blank">WordPress.org</a> to help us spread the word. Thank you from the WPForms team!', 'wpforms' ), $url, $url );
416
+ }
417
+ return $text;
418
+ }
419
  /**
420
  * Helper flag method for the Add/Edit Soliloquy screens.
421
  *
439
 
440
  }
441
 
442
+
443
  /**
444
  * Returns the singleton instance of the class.
445
  *
472
  function soliloquy_lite_activation_hook( $network_wide ) {
473
 
474
  global $wp_version;
475
+ if ( version_compare( $wp_version, '4.0.0', '<' ) && ! defined( 'SOLILOQUY_FORCE_ACTIVATION' ) ) {
476
  deactivate_plugins( plugin_basename( __FILE__ ) );
477
+ wp_die( sprintf( __( 'Sorry, but your version of WordPress does not meet Soliloquy Lite\'s required version of <strong>4.0.0</strong> to run properly. The plugin has been deactivated. <a href="%s">Click here to return to the Dashboard</a>.', 'soliloquy' ), get_admin_url() ) );
478
  }
479
 
480
  if ( is_multisite() && $network_wide ) {
481
  global $wpdb;
482
+
483
+ //LIMIT AND OFFSET THIS UNTIL 0 VALUES
484
  $site_list = $wpdb->get_results( "SELECT * FROM $wpdb->blogs ORDER BY blog_id" );
485
  foreach ( (array) $site_list as $site ) {
486
  switch_to_blog( $site->blog_id );
489
  update_option( 'soliloquy_upgrade', true );
490
 
491
  restore_current_blog();
492
+
493
  }
494
+
495
  } else {
496
+
497
  // Set the upgraded licenses since this is an activation and no slider will have existed yet.
498
  update_option( 'soliloquy_upgrade', true );
499
+
500
  }
501
 
502
  }