first commit
This commit is contained in:
@@ -0,0 +1,27 @@
|
||||
@font-face {
|
||||
font-family: 'simple-line-icons';
|
||||
src: url('../../fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0');
|
||||
src: url('../../fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0#iefix') format('embedded-opentype'), url('../../fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.4.0') format('woff2'), url('../../fonts/simple-line-icons/Simple-Line-Icons.ttf?v=2.4.0') format('truetype'), url('../../fonts/simple-line-icons/Simple-Line-Icons.woff?v=2.4.0') format('woff'), url('../../fonts/simple-line-icons/Simple-Line-Icons.svg?v=2.4.0#simple-line-icons') format('svg');
|
||||
font-weight: normal;
|
||||
font-style: normal;
|
||||
}
|
||||
|
||||
.icon-basket,
|
||||
.icon-handbag {
|
||||
font-family: 'simple-line-icons';
|
||||
speak: none;
|
||||
font-style: normal;
|
||||
font-weight: normal;
|
||||
font-variant: normal;
|
||||
text-transform: none;
|
||||
line-height: 1;
|
||||
/* Better Font Rendering =========== */
|
||||
-webkit-font-smoothing: antialiased;
|
||||
-moz-osx-font-smoothing: grayscale;
|
||||
}
|
||||
.icon-basket:before {
|
||||
content: "\e04e";
|
||||
}
|
||||
.icon-handbag:before {
|
||||
content: "\e035";
|
||||
}
|
||||
+1
@@ -0,0 +1 @@
|
||||
@font-face{font-family:simple-line-icons;src:url(../../fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0);src:url(../../fonts/simple-line-icons/Simple-Line-Icons.eot?v=2.4.0#iefix) format('embedded-opentype'),url(../../fonts/simple-line-icons/Simple-Line-Icons.woff2?v=2.4.0) format('woff2'),url(../../fonts/simple-line-icons/Simple-Line-Icons.ttf?v=2.4.0) format('truetype'),url(../../fonts/simple-line-icons/Simple-Line-Icons.woff?v=2.4.0) format('woff'),url(../../fonts/simple-line-icons/Simple-Line-Icons.svg?v=2.4.0#simple-line-icons) format('svg');font-weight:400;font-style:normal}.icon-basket,.icon-handbag{font-family:simple-line-icons;speak:none;font-style:normal;font-weight:400;font-variant:normal;text-transform:none;line-height:1;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale}.icon-basket:before{content:"\e04e"}.icon-handbag:before{content:"\e035"}
|
||||
Binary file not shown.
|
After Width: | Height: | Size: 109 B |
Binary file not shown.
|
After Width: | Height: | Size: 110 B |
Binary file not shown.
|
After Width: | Height: | Size: 96 B |
Binary file not shown.
|
After Width: | Height: | Size: 108 B |
Binary file not shown.
|
After Width: | Height: | Size: 107 B |
File diff suppressed because it is too large
Load Diff
File diff suppressed because one or more lines are too long
File diff suppressed because it is too large
Load Diff
+1
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-buttonset .buttonset{display:inline-block;border:1px solid #ccc}.customize-control-oceanwp-buttonset .buttonset .switch-label{float:left;background-color:#f5f5f5;color:#555;border-right:1px solid rgba(0,0,0,.2);padding:12px 18px;margin:0;font-size:12px;font-weight:600;line-height:1;letter-spacing:1px;text-transform:uppercase}.customize-control-oceanwp-buttonset .buttonset .switch-label:last-child{border-right:none}.customize-control-oceanwp-buttonset .buttonset .switch-input{display:none}.customize-control-oceanwp-buttonset .buttonset .switch-input:checked+.switch-label{background-color:#3498db;color:#fff}
|
||||
@@ -0,0 +1 @@
|
||||
body.wp-customizer .wp-picker-container .wp-color-result.button{width:100%;box-sizing:border-box;padding:0 0 0 40px;box-shadow:inset 0 0 1px rgba(0,0,0,.5)!important;-webkit-box-shadow:inset 0 0 1px rgba(0,0,0,.5)!important;border:none;height:30px;border-radius:4px;margin:0}body.wp-customizer .wp-color-result-text{background-color:rgba(0,0,0,.2);color:#fff;height:30px;line-height:30px;border:none;box-shadow:none;font-size:12px;border-radius:0 4px 4px 0;padding:0 15px}body.wp-customizer .wp-picker-container{max-width:255px}body.wp-customizer .wp-picker-container .iris-picker{margin:15px 0 0 0;border-bottom:none}body.wp-customizer .wp-picker-container,body.wp-customizer .wp-picker-input-wrap{width:100%;border-radius:4px;overflow:hidden}body.wp-customizer .wp-picker-open+.wp-picker-input-wrap{width:100%}body.wp-customizer .wp-picker-container .wp-picker-input-wrap>label,body.wp-customizer.wp-core-ui .wp-picker-clear,body.wp-customizer.wp-core-ui .wp-picker-default{width:48%;vertical-align:bottom;margin-top:10px}body.wp-customizer.wp-core-ui .wp-picker-clear,body.wp-customizer.wp-core-ui .wp-picker-default{margin-left:10%}body.wp-customizer .wp-picker-input-wrap input[type=text].wp-color-picker.alpha-color-control{float:left;width:100%}body.wp-customizer .wp-picker-input-wrap .button{margin-left:0;float:right}body.wp-customizer .wp-picker-container .wp-picker-open~.wp-picker-holder .alpha-color-picker-container{display:block}body.wp-customizer .alpha-color-picker-container{border:1px solid #dfdfdf;border-top:none;display:none;background:#fff;padding:0 11px 10px;position:relative}body.wp-customizer .alpha-color-picker-container .ui-widget-content,body.wp-customizer .alpha-color-picker-container .ui-widget-header,body.wp-customizer .alpha-color-picker-wrap .ui-state-focus{background:0 0;border:none}body.wp-customizer .alpha-color-picker-wrap a.iris-square-value:focus{-webkit-box-shadow:none;box-shadow:none}body.wp-customizer .alpha-color-picker-container .ui-slider{position:relative;z-index:1;height:24px;text-align:center;margin:0 auto;width:88%;width:calc(100% - 28px)}body.wp-customizer .alpha-color-picker-container .ui-slider-handle,body.wp-customizer .alpha-color-picker-container .ui-widget-content .ui-state-default{color:#777;background-color:#fff;text-shadow:0 1px 0 #fff;text-decoration:none;position:absolute;z-index:2;box-shadow:0 1px 2px rgba(0,0,0,.2);border:1px solid #aaa;-webkit-border-radius:4px;-moz-border-radius:4px;border-radius:4px;margin-top:-2px;top:0;height:26px;width:26px;cursor:ew-resize;font-size:0;padding:0;line-height:27px;margin-left:-14px}body.wp-customizer .alpha-color-picker-container .ui-slider-handle.show-opacity{font-size:12px}body.wp-customizer .alpha-color-picker-container .click-zone{width:14px;height:24px;display:block;position:absolute;left:10px}body.wp-customizer .alpha-color-picker-container .max-click-zone{right:10px;left:auto}body.wp-customizer .alpha-color-picker-container .transparency{height:24px;width:100%;background-color:#fff;background-image:url(../../../controls/color/transparency-grid.png);box-shadow:0 0 5px rgba(0,0,0,.4) inset;-webkit-border-radius:3px;-moz-border-radius:3px;border-radius:3px;padding:0;margin-top:-24px}@media only screen and (max-width:640px){body.wp-customizer .wp-picker-input-wrap input[type=text].wp-color-picker.alpha-color-control{height:33px}}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-dimensions>ul{display:inline-block;width:100%}.customize-control-oceanwp-dimensions .dimension-wrap{float:left;width:20%;margin:0}.customize-control-oceanwp-dimensions .dimension-wrap button,.customize-control-oceanwp-dimensions .dimension-wrap input{display:block;font-size:12px;padding:4px 0;width:100%;height:28px;border:1px solid;border-color:#a4afb7;border-left-width:0;border-radius:0;text-align:center}.customize-control-oceanwp-dimensions .dimension-wrap:first-child input{border-left-width:1px;border-radius:3px 0 0 3px}.customize-control-oceanwp-dimensions .dimension-wrap .dimension-label{display:block;color:#949698;font-size:10px;padding-top:5px;font-style:normal;text-transform:uppercase;text-align:center}.customize-control-oceanwp-dimensions .dimension-wrap input:focus+.dimension-label{color:#42474a}.customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions{background-color:#fff;border:1px solid #a4afb7;border-left-width:0;padding:0;outline:0;border-radius:0 3px 3px 0;cursor:pointer}.customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions span{display:block;width:100%;height:26px;line-height:26px;font-size:16px}.customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions .oceanwp-linked{background-color:#a4afb7;color:#fff}.customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions.unlinked .oceanwp-unlinked{display:none}.customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions.unlinked .oceanwp-linked{display:block}.customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions .oceanwp-linked{display:none}
|
||||
File diff suppressed because one or more lines are too long
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-heading{margin-top:30px}.oceanwp-customizer-heading{display:block;margin:0 -12px;padding:13px 12px;background-color:#fff;color:#555;border:1px solid #ddd;border-left:0;border-right:0;font-size:11px;font-weight:600;letter-spacing:2px;line-height:1;text-transform:uppercase}.customize-control-oceanwp-heading .description{margin-top:10px}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-icon .icon-select{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;border:1px solid #ddd;max-height:216px}.customize-control-oceanwp-icon .icon-select label{display:-webkit-box;display:-ms-flexbox;display:flex;width:20%;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-control-oceanwp-icon .icon-select .icon-select-input{display:none}.customize-control-oceanwp-icon .icon-select .icon-select-label{display:block;width:100%;background-color:#f5f5f5;color:#555;border:1px solid #ddd;margin:0;font-size:16px;height:53px;line-height:53px;text-align:center;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}.customize-control-oceanwp-icon .icon-select .icon-select-input:checked+.icon-select-label,.customize-control-oceanwp-icon .icon-select .icon-select-label:hover{background-color:#3498db;color:#fff;border-color:#3498db}
|
||||
+1
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-multiple-select .select2-container--default .select2-selection--multiple{border:1px solid rgba(0,0,0,.05);padding:1px 0 0;border-radius:0;line-height:1}.customize-control-oceanwp-multiple-select .select2-container--default.select2-container--focus .select2-selection--multiple{border-color:rgba(0,0,0,.08)}.customize-control-oceanwp-multiple-select .select2-container--default .select2-selection--multiple .select2-selection__rendered{padding:0}.customize-control-oceanwp-multiple-select .select2-container--default .select2-selection--multiple .select2-selection__choice{background-color:#f1f1f1;color:#666;border:rgba(0,0,0,.06);line-height:1.5;padding:0 6px;border-radius:0;margin:7px 0 0 6px}.customize-control-oceanwp-multiple-select .select2-container--default .select2-selection--multiple .select2-search{line-height:1.5;margin:0 0 0 6px}.customize-control-oceanwp-multiple-select .select2-container--default .select2-search--inline .select2-search__field{margin:0}body.rtl .customize-control-oceanwp-multiple-select .select2-container--default .select2-selection--multiple .select2-selection__choice{margin:5px 6px 0 0}body.rtl .customize-control-oceanwp-multiple-select .select2-container--default .select2-selection--multiple .select2-search{margin:0 6px 0 0}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-radio-image label{position:relative;display:inline-block;width:30%;line-height:1;margin-right:3%;margin-bottom:2%}.customize-control-oceanwp-radio-image label:nth-child(3n){margin-right:0}.customize-control-oceanwp-radio-image input{display:none}.customize-control-oceanwp-radio-image label img{border:2px solid transparent}.customize-control-oceanwp-radio-image input:checked+label img{border-color:#3498db}.customize-control-oceanwp-radio-image input+label .image-clickable{position:absolute;top:0;bottom:0;left:0;right:0;width:100%;height:100%}.customize-control-oceanwp-radio-image .radio-label{display:block;font-size:9px;font-weight:600;margin-top:5px;text-transform:uppercase;letter-spacing:.4px;text-align:center}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-range .control-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;flex-wrap:wrap;-webkit-align-items:center;align-items:center;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-control-oceanwp-range input[type=range]{background-color:rgba(0,0,0,.1);height:5px;width:69%;padding:0;cursor:pointer;-webkit-transition:background .5s;-moz-transition:background .5s;transition:background .5s;-webkit-appearance:none}.customize-control-oceanwp-range input[type=range]:focus{box-shadow:none!important;outline:0!important}.customize-control-oceanwp-range input[type=range]:hover{background-color:rgba(0,0,0,.15)}.customize-control-oceanwp-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;background-color:#2e86b9;width:15px;height:15px;border-radius:15px;-webkit-border-radius:15px}.customize-control-oceanwp-range input[type=range]::-moz-range-track{border:inherit;background-color:transparent}.customize-control-oceanwp-range input[type=range]::-ms-track{border:inherit;color:transparent;background-color:transparent}.customize-control-oceanwp-range input[type=range]::-ms-fill-lower,.customize-control-oceanwp-range input[type=range]::-ms-fill-upper{background-color:transparent}.customize-control-oceanwp-range input[type=range]::-ms-tooltip{display:none}.customize-control-oceanwp-range input[type=range]::-webkit-slider-thumb{-webkit-appearance:none;width:15px;height:15px;border:none;border-radius:15px;background-color:#2e86b9}.customize-control-oceanwp-range input[type=range]::-moz-range-thumb{width:15px;height:15px;border:none;border-radius:15px;background-color:#2e86b9}.customize-control-oceanwp-range input[type=range]::-ms-thumb{width:15px;height:15px;border-radius:15px;border:0;background-color:#2e86b9}.customize-control-oceanwp-range input.oceanwp-range-input{width:21%;height:28px;text-align:center;margin-left:2%;border-radius:4px;padding:3px;font-size:12px;font-weight:600;color:#555;-moz-appearance:textfield}.customize-control-oceanwp-range input.oceanwp-range-input::-webkit-inner-spin-button,.customize-control-oceanwp-range input.oceanwp-range-input::-webkit-outer-spin-button{-webkit-appearance:none;margin:0}.customize-control-oceanwp-range span.oceanwp-reset-slider{display:inline-block;position:relative;width:6%;margin-left:2%;line-height:1;color:rgba(0,0,0,.2);cursor:pointer;text-align:center;transition:all .3s ease;-webkit-transition:all .3s ease;-moz-transition:all .3s ease;-o-transition:all .3s ease;-ms-transition:all .3s ease}.customize-control-oceanwp-range span.oceanwp-reset-slider:hover{color:#fe5252}.customize-control-oceanwp-range span.oceanwp-reset-slider span{width:16px;height:16px;font-size:16px;line-height:1}
|
||||
@@ -0,0 +1 @@
|
||||
body.rtl .customize-control-checkbox input[type=checkbox]{margin:0 0 0 6px}body.rtl .customize-control-checkbox input[type=checkbox]:checked:before,body.rtl .customize-control-ocean-multi-check input[type=checkbox]:checked:before{right:0;left:auto}body.rtl .customize-control .responsive-switchers,body.rtl .customize-control .responsive-switchers li button{margin-right:5px;margin-left:0}body.rtl .customize-control .responsive-switchers li{float:right}body.rtl .customize-control-oceanwp-buttonset .buttonset .switch-label{float:right;border-left:1px solid rgba(0,0,0,.2);border-right:0}body.rtl .customize-control-oceanwp-buttonset .buttonset .switch-label:last-child{border-left:none}.wp-core-ui .wp-picker-clear,body.rtl .wp-core-ui .wp-picker-default{margin-right:10%;margin-left:0}body.rtl .wp-picker-input-wrap input[type=text].wp-color-picker.alpha-color-control{float:right}body.rtl .wp-picker-input-wrap .button{margin-right:0;float:left}body.rtl .alpha-color-picker-container .ui-widget-content .ui-state-default{margin-right:-14px;margin-left:0}body.rtl .alpha-color-picker-container .click-zone{right:10px;left:auto}body.rtl .alpha-color-picker-container .max-click-zone{left:10px;right:auto}body.rtl .customize-control-oceanwp-dimensions .dimension-wrap{float:right}body.rtl .customize-control-oceanwp-dimensions .dimension-wrap button,body.rtl .customize-control-oceanwp-dimensions .dimension-wrap input{border-left-width:1px;border-right-width:0}body.rtl .customize-control-oceanwp-dimensions .dimension-wrap:first-child input{border-right-width:1px;border-radius:3px 3px 0 0}body.rtl .customize-control-oceanwp-dimensions .dimension-wrap .link-dimensions{border-left-width:1px;border-right-width:0;border-radius:0 0 3px 3px}body.rtl .customize-control-oceanwp-icon .icon-select label{float:right}body.rtl .customize-control-oceanwp-radio-image label{margin-left:3%;margin-right:0}body.rtl .customize-control-oceanwp-radio-image label:nth-child(3n){margin-left:0}body.rtl .customize-control-oceanwp-range input.oceanwp-range-input{margin-right:8px;margin-left:0}body.rtl .customize-control-oceanwp-range span.oceanwp-reset-slider{margin-right:5px;margin-left:0}body.rtl .customize-control-oceanwp-sortable ul li .dashicons.dashicons-menu{float:left}body.rtl .customize-control-oceanwp-sortable ul li .dashicons.visibility{margin-left:10px;margin-right:0}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-slider .control-wrap{display:inline-block;width:100%}.customize-control-oceanwp-slider .oceanwp-slider{display:inline-block;position:relative;width:67%;height:4px;margin-top:12px;background-color:rgba(0,0,0,.15);border-radius:5px;cursor:pointer;-webkit-transition:background .5s;-moz-transition:background .5s;transition:background .5s}.customize-control-oceanwp-slider .oceanwp-slider:hover{background-color:rgba(0,0,0,.2)}.customize-control-oceanwp-slider .oceanwp-slider .ui-slider-range{display:inline-block;position:absolute;top:0;height:100%;background-color:#13a1dc}.customize-control-oceanwp-slider .oceanwp-slider .ui-slider-handle{height:16px;width:16px;background-color:#fff;display:inline-block;position:absolute;top:50%;-webkit-transform:translateY(-50%) translateX(-4px);transform:translateY(-50%) translateX(-4px);box-shadow:1px 1px 3px rgba(0,0,0,.3);border-radius:50%;cursor:pointer}.customize-control-oceanwp-slider .oceanwp-slider-input{float:right;width:33%}.customize-control-oceanwp-slider input.slider-input{float:right;width:80%;height:28px;text-align:center;border-radius:4px;padding:3px;font-size:12px;font-weight:600;color:#555}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-sortable ul li{padding:8px 10px;line-height:20px;border:1px solid #ccc;background:#fff}.customize-control-oceanwp-sortable ul li .dashicons.dashicons-menu{float:right}.customize-control-oceanwp-sortable ul li .dashicons.visibility{color:#49aed8;margin-right:10px}.customize-control-oceanwp-sortable ul li.invisible{color:#aaa;border:1px dashed #aaa}.customize-control-oceanwp-sortable ul li.invisible .dashicons.visibility{color:#aaa}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-textarea textarea{width:100%;min-height:150px}.customize-control-oceanwp-textarea span.description{margin:6px 0 0}
|
||||
@@ -0,0 +1 @@
|
||||
.customize-control-oceanwp-typo ul.oceanwp-typo-wrap{display:-webkit-box;display:-ms-flexbox;display:flex;-webkit-flex-wrap:wrap;flex-wrap:wrap;margin:0 -10px}.customize-control-oceanwp-typo ul.oceanwp-typo-wrap li{width:50%;padding:0 10px;margin:0 0 15px;-webkit-box-sizing:border-box;-moz-box-sizing:border-box;box-sizing:border-box}.customize-control-oceanwp-typo ul.oceanwp-typo-wrap li.typography-font-family{width:100%}.customize-control-oceanwp-typo ul.oceanwp-typo-wrap li span.label{display:block;margin:0 0 6px}@media only screen and (max-width:480px){.customize-control-oceanwp-typo ul.oceanwp-typo-wrap{margin:0}.customize-control-oceanwp-typo ul.oceanwp-typo-wrap li{width:100%;padding:0}}
|
||||
@@ -0,0 +1 @@
|
||||
body .select2-container{z-index:99999999}body .customize-control .select2-container{z-index:1}body .select2-container .select2-selection--single{height:33px}body .select2-container--default .select2-selection--single{height:33px;border-color:#ddd;border-radius:0}body .select2-container--default .select2-selection--single .select2-selection__rendered{color:#32373c;line-height:33px}body .select2-container--default .select2-selection--single .select2-selection__arrow{height:30px}
|
||||
@@ -0,0 +1 @@
|
||||
#customize-theme-controls #accordion-section-oceanwp_upsell_section{display:block!important;border-top:1px solid #5277fe;border-bottom:1px solid #5277fe}#accordion-section-oceanwp_upsell_section h3{background-color:#5277fe;padding:0;margin:0;border-left:4px solid #5277fe;transition:.15s background-color ease-in-out,.15s border-color ease-in-out;outline:0}#accordion-section-oceanwp_upsell_section h3:hover{background-color:#3d5ac3;border-left-color:#000c65}#accordion-section-oceanwp_upsell_section h3 a{display:block;position:relative;color:#fff;padding:10px 10px 11px 14px;line-height:21px;text-decoration:none;box-shadow:none!important}#accordion-section-oceanwp_upsell_section h3 a:after{content:'\f345';color:#fff;position:absolute;top:12px;right:10px;z-index:1;font:400 20px/1 dashicons;speak:none;display:block;-webkit-font-smoothing:antialiased;-moz-osx-font-smoothing:grayscale;text-decoration:none!important}.rtl #accordion-section-oceanwp_upsell_section h3{border-left:none;border-right:4px solid #5277fe}.rtl #accordion-section-oceanwp_upsell_section h3:hover{border-right-color:#000c65}.rtl #accordion-section-oceanwp_upsell_section h3 a:after{content:'\f341';right:auto;left:10px}
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-buttonset"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;this.container.on("click","input",function(){t.setting.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
function acp_get_alpha_value_from_color(a){var o;return o=(a=a.replace(/ /g,"")).match(/rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/)?(o=100*parseFloat(a.match(/rgba\(\d+\,\d+\,\d+\,([^\)]+)\)/)[1]).toFixed(2),parseInt(o)):100}function acp_update_alpha_value_on_color_control(a,o,l,e){var t,r=o.data("a8cIris"),c=o.data("wpWpColorPicker");r._color._alpha=a,t=r._color.toString(),o.val(t),c.toggler.css({"background-color":t}),e&&acp_update_alpha_value_on_alpha_slider(a,l),o.wpColorPicker("color",t)}function acp_update_alpha_value_on_alpha_slider(a,o){o.slider("value",a),o.find(".ui-slider-handle").text(a.toString())}Color.prototype.toString=function(a){if("no-alpha"==a)return this.toCSS("rgba","1").replace(/\s+/g,"");if(this._alpha<1)return this.toCSS("rgba",this._alpha).replace(/\s+/g,"");var o=parseInt(this._color,10).toString(16);if(this.error)return"";if(o.length<6)for(var l=6-o.length-1;0<=l;l--)o="0"+o;return"#"+o},jQuery(document).ready(function(t){t(".alpha-color-control").each(function(){var r,c,a,i=t(this),e=i.val().replace(/\s+/g,""),o=i.attr("data-show-opacity"),n=i.attr("data-default-color"),l={change:function(a,o){var l,e=i.attr("data-customize-setting-link"),t=i.wpColorPicker("color");n==t&&(l=acp_get_alpha_value_from_color(t),c.find(".ui-slider-handle").text(l)),wp.customize(e,function(a){a.set(t)}),r.find(".transparency").css("background-color",o.color.toString("no-alpha"))},palettes:oceanwpLocalize.colorPalettes};i.wpColorPicker(l),r=i.parents(".wp-picker-container:first"),t('<div class="alpha-color-picker-container"><div class="min-click-zone click-zone"></div><div class="max-click-zone click-zone"></div><div class="alpha-slider"></div><div class="transparency"></div></div>').appendTo(r.find(".wp-picker-holder")),c=r.find(".alpha-slider"),a={create:function(a,o){var l=t(this).slider("value");t(this).find(".ui-slider-handle").text(l),t(this).siblings(".transparency ").css("background-color",e)},value:acp_get_alpha_value_from_color(e),range:"max",step:1,min:0,max:100,animate:300},c.slider(a),"true"==o&&c.find(".ui-slider-handle").addClass("show-opacity"),r.find(".min-click-zone").on("click",function(){acp_update_alpha_value_on_color_control(0,i,c,!0)}),r.find(".max-click-zone").on("click",function(){acp_update_alpha_value_on_color_control(100,i,c,!0)}),r.find(".iris-palette").on("click",function(a){var o,l;a.preventDefault(),acp_update_alpha_value_on_alpha_slider(l=acp_get_alpha_value_from_color(o=t(this).css("background-color")),c),100!=l&&(o=o.replace(/[^,]+(?=\))/,(l/100).toFixed(2))),i.wpColorPicker("color",o)}),r.find(".button.wp-picker-clear").on("click",function(a){a.preventDefault();var o=i.attr("data-customize-setting-link");i.wpColorPicker("color","#ffffff"),wp.customize(o,function(a){a.set("")}),acp_update_alpha_value_on_alpha_slider(100,c)}),r.find(".button.wp-picker-default").on("click",function(a){a.preventDefault(),acp_update_alpha_value_on_alpha_slider(acp_get_alpha_value_from_color(n),c)}),i.on("input",function(a){a.preventDefault(),acp_update_alpha_value_on_alpha_slider(acp_get_alpha_value_from_color(t(this).val()),c)}),c.slider().on("slide",function(a,o){acp_update_alpha_value_on_color_control(parseFloat(o.value)/100,i,c,!1),t(this).find(".ui-slider-handle").text(o.value)}),t(".iris-picker, .alpha-color-control").on("click",function(a){a.preventDefault()})})});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-dimensions"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;t.container.on("change keyup paste",".dimension-desktop_top",function(){t.settings.desktop_top.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-desktop_right",function(){t.settings.desktop_right.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-desktop_bottom",function(){t.settings.desktop_bottom.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-desktop_left",function(){t.settings.desktop_left.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_top",function(){t.settings.tablet_top.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_right",function(){t.settings.tablet_right.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_bottom",function(){t.settings.tablet_bottom.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-tablet_left",function(){t.settings.tablet_left.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_top",function(){t.settings.mobile_top.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_right",function(){t.settings.mobile_right.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_bottom",function(){t.settings.mobile_bottom.set(jQuery(this).val())}),t.container.on("change keyup paste",".dimension-mobile_left",function(){t.settings.mobile_left.set(jQuery(this).val())})}}),jQuery(document).ready(function(i){i(".oceanwp-linked").on("click",function(){var t=i(this);t.parent().parent(".dimension-wrap").prevAll().slice(0,4).find("input").removeClass("linked").attr("data-element",""),t.parent(".link-dimensions").removeClass("unlinked")}),i(".oceanwp-unlinked").on("click",function(){var t=i(this),e=t.data("element");t.parent().parent(".dimension-wrap").prevAll().slice(0,4).find("input").addClass("linked").attr("data-element",e),t.parent(".link-dimensions").addClass("unlinked")}),i(".dimension-wrap").on("input",".linked",function(){var t=i(this).attr("data-element"),n=i(this).val();i('.linked[ data-element="'+t+'" ]').each(function(t,e){i(this).val(n).change()})})});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-dropdown-pages"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;t.container.on("change","select",function(){t.setting.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
jQuery(document).ready(function(c){c(".customize-control .responsive-switchers button").on("click",function(e){var s=c(this),t=c(".responsive-switchers"),o=c(e.currentTarget).data("device"),r=c(".customize-control.has-switchers"),i=c(".wp-full-overlay"),a=c(".wp-full-overlay-footer .devices");t.find("button").removeClass("active"),t.find("button.preview-"+o).addClass("active"),r.find(".control-wrap").removeClass("active"),r.find(".control-wrap."+o).addClass("active"),r.removeClass("control-device-desktop control-device-tablet control-device-mobile").addClass("control-device-"+o),i.removeClass("preview-desktop preview-tablet preview-mobile").addClass("preview-"+o),a.find("button").removeClass("active").attr("aria-pressed",!1),a.find("button.preview-"+o).addClass("active").attr("aria-pressed",!0),s.hasClass("preview-desktop")&&r.toggleClass("responsive-switchers-open")}),c(".wp-full-overlay-footer .devices button").on("click",function(e){var s=c(this),t=c(".customize-control.has-switchers .responsive-switchers"),o=c(e.currentTarget).data("device"),r=c(".customize-control.has-switchers");t.find("button").removeClass("active"),t.find("button.preview-"+o).addClass("active"),r.find(".control-wrap").removeClass("active"),r.find(".control-wrap."+o).addClass("active"),r.removeClass("control-device-desktop control-device-tablet control-device-mobile").addClass("control-device-"+o),s.hasClass("preview-desktop")?r.removeClass("responsive-switchers-open"):r.addClass("responsive-switchers-open")})});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-icon"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;this.container.on("change","input",function(){t.setting.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-multi-check"]=wp.customize.Control.extend({ready:function(){"use strict";var i=this;i.container.on("change","input",function(){var c=[],e=0;jQuery.each(i.params.choices,function(n,t){i.container.find('input[value="'+n+'"]').is(":checked")&&(c[e]=n,e++)}),i.setting.set(c)})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-multiple-select"]=wp.customize.Control.extend({ready:function(){"use strict";var t,e=this,n=this.container.find("select");jQuery(n).select2({escapeMarkup:function(t){return t}}).on("change",function(){t=jQuery(this).val(),e.setting.set(t),null===t?e.setting.set(""):e.setting.set(t)})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-radio-image"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;this.container.on("click","input",function(){t.setting.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-range"]=wp.customize.Control.extend({ready:function(){"use strict";var t,e,a,n,r,o,c,i=this;function u(t,e){var a=t,n=a.parent().find('input[type="range"]'),r=parseFloat(a.val()),o=parseFloat(n.attr("data-reset_value")),i=parseFloat(a.attr("step")),u=parseFloat(a.attr("min")),s=parseFloat(a.attr("max"));clearTimeout(c),c=setTimeout(function(){return isNaN(r)?(a.val(o),void n.val(o).trigger("change")):(1<=i&&r%1!=0&&(r=Math.round(r),a.val(r),n.val(r)),s<r&&(a.val(s),n.val(s).trigger("change")),void(r<u&&(a.val(u),n.val(u).trigger("change"))))},e),n.val(r).trigger("change")}jQuery("input[type=range]").on("mousedown",function(){t=jQuery(this),e=t.parent().children(".oceanwp-range-input"),a=t.attr("value"),e.val(a),t.mousemove(function(){a=t.attr("value"),e.val(a)})}),jQuery("input.oceanwp-range-input").on("change keyup",function(){u(jQuery(this),1e3)}).on("focusout",function(){u(jQuery(this),0)}),jQuery(".oceanwp-reset-slider").on("click",function(){n=jQuery(this).closest("label").find("input"),r=n.data("reset_value"),n.val(r),n.change()}),o="postMessage"===i.setting.transport?"mousemove change":"change",this.container.on(o,"input",function(){i.setting.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-slider"]=wp.customize.Control.extend({ready:function(){"use strict";var e,t,n=this,i=n.container.find(".oceanwp-slider.desktop-slider"),a=i.next(".oceanwp-slider-input").find("input.desktop-input"),s=n.container.find(".oceanwp-slider.tablet-slider"),l=s.next(".oceanwp-slider-input").find("input.tablet-input"),u=n.container.find(".oceanwp-slider.mobile-slider"),p=u.next(".oceanwp-slider-input").find("input.mobile-input");i.slider({range:"min",value:a.val(),min:+a.attr("min"),max:+a.attr("max"),step:+a.attr("step"),slide:function(e,t){a.val(t.value).keyup()},change:function(e,t){n.settings.desktop.set(t.value)}}),s.slider({range:"min",value:l.val(),min:+l.attr("min"),max:+l.attr("max"),step:+a.attr("step"),slide:function(e,t){l.val(t.value).keyup()},change:function(e,t){n.settings.tablet.set(t.value)}}),u.slider({range:"min",value:p.val(),min:+p.attr("min"),max:+p.attr("max"),step:+a.attr("step"),slide:function(e,t){p.val(t.value).keyup()},change:function(e,t){n.settings.mobile.set(t.value)}}),jQuery("input.desktop-input").on("change keyup paste",function(){e=jQuery(this),t=e.val(),e.parent().prev(".oceanwp-slider.desktop-slider").slider("value",t)}),jQuery("input.tablet-input").on("change keyup paste",function(){e=jQuery(this),t=e.val(),e.parent().prev(".oceanwp-slider.tablet-slider").slider("value",t)}),jQuery("input.mobile-input").on("change keyup paste",function(){e=jQuery(this),t=e.val(),e.parent().prev(".oceanwp-slider.mobile-slider").slider("value",t)}),n.container.on("change keyup paste",".desktop input",function(){n.settings.desktop.set(jQuery(this).val())}),n.container.on("change keyup paste",".tablet input",function(){n.settings.tablet.set(jQuery(this).val())}),n.container.on("change keyup paste",".mobile input",function(){n.settings.mobile.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-sortable"]=wp.customize.Control.extend({ready:function(){"use strict";var i=this;i.sortableContainer=i.container.find("ul.sortable").first(),i.sortableContainer.sortable({stop:function(){i.updateValue()}}).disableSelection().find("li").each(function(){jQuery(this).find("i.visibility").click(function(){jQuery(this).toggleClass("dashicons-visibility-faint").parents("li:eq(0)").toggleClass("invisible")})}).click(function(){i.updateValue()})},updateValue:function(){"use strict";var i=[];this.sortableContainer.find("li").each(function(){jQuery(this).is(".invisible")||i.push(jQuery(this).data("value"))}),this.setting.set(i)}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-text"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;t.container.on("change keyup paste",".desktop input",function(){t.settings.desktop.set(jQuery(this).val())}),t.container.on("change keyup paste",".tablet input",function(){t.settings.tablet.set(jQuery(this).val())}),t.container.on("change keyup paste",".mobile input",function(){t.settings.mobile.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-textarea"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this;this.container.find("textarea");this.container.on("change keyup paste","textarea",function(){t.setting.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
wp.customize.controlConstructor["oceanwp-typo"]=wp.customize.Control.extend({ready:function(){"use strict";var t=this,n=this.container.find("select");jQuery(n).select2({minimumResultsForSearch:10,dropdownCssClass:"oceanwp-select2",width:"100%"}),t.container.on("change",".typography-font-family select",function(){t.settings.family.set(jQuery(this).val())}),t.container.on("change",".typography-font-size input",function(){t.settings.size.set(jQuery(this).val())}),t.container.on("change",".typography-font-weight select",function(){t.settings.weight.set(jQuery(this).val())}),t.container.on("change",".typography-font-style select",function(){t.settings.style.set(jQuery(this).val())}),t.container.on("change",".typography-text-transform select",function(){t.settings.transform.set(jQuery(this).val())}),t.container.on("change",".typography-line-height input",function(){t.settings.line_height.set(jQuery(this).val())}),t.container.on("change",".typography-letter-spacing input",function(){t.settings.spacing.set(jQuery(this).val())})}});
|
||||
@@ -0,0 +1 @@
|
||||
!function(e){e(document).ready(function(){e(".oceanwp-typography-select").select2()})}(jQuery);
|
||||
@@ -0,0 +1 @@
|
||||
!function(t){t.sectionConstructor["oceanwp-upsell"]=t.Section.extend({attachEvents:function(){},isContextuallyActive:function(){return!0}})}((jQuery,wp.customize));
|
||||
Reference in New Issue
Block a user