diff --git a/inc/customizer/class-spacious-customizer-register-sections-panels.php b/inc/customizer/class-spacious-customizer-register-sections-panels.php index 2276136..cd52348 100644 --- a/inc/customizer/class-spacious-customizer-register-sections-panels.php +++ b/inc/customizer/class-spacious-customizer-register-sections-panels.php @@ -43,6 +43,14 @@ public function register_options( $options, $wp_customize ) { 'section_callback' => 'Spacious_Upsell_Section', ), + array( + 'name' => 'spacious_customize_review_link_section', + 'type' => 'section', + 'title' => esc_html__( 'Leave a Review on .org', 'spacious' ), + 'url' => 'https://wordpress.org/support/theme/spacious/reviews/?filter=5/#new-post', + 'priority' => 200, + 'section_callback' => 'Spacious_Upsell_Section', + ), /** * Panels. diff --git a/inc/customizer/core/assets/css/extend-customizer-rtl.css b/inc/customizer/core/assets/css/extend-customizer-rtl.css index 42e04b8..afd38a2 100644 --- a/inc/customizer/core/assets/css/extend-customizer-rtl.css +++ b/inc/customizer/core/assets/css/extend-customizer-rtl.css @@ -1,225 +1,225 @@ -a { - color: #0073aa; -} - -a:focus { - -webkit-box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); - box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); -} - -.button { - background: #ebebeb; - border-color: #0073aa; - color: #0073aa; - font-weight: 600; - -webkit-transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); - transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); -} - -.button:hover { - background: #ffffff; - color: #0073aa; -} - -.select2-container--default .select2-selection--single .select2-selection__arrow b { - margin-top: 0; -} - -.tg-section-separator { - display: block !important; - margin-top: 4px; -} - -.customize-section-description .spacious-section-description ul { - margin: 0; -} - -.customize-section-description .spacious-section-description ul > li { - list-style: none; -} - -.customize-section-description .spacious-section-description ul > li:last-child { - margin-bottom: 0; -} - -.customize-section-description .spacious-section-description a { - font-style: italic; -} - -.customize-control { - background: #fff; - -webkit-box-sizing: border-box; - box-sizing: border-box; - margin-bottom: 0; - padding: 10px; - position: relative; -} - -.customize-control .customize-control-title { - color: #444444; - font-size: 14px; - font-weight: 600; - margin-bottom: 0px; -} - -.customize-control .spacious-control-tooltip { - position: absolute; - left: 10px; - top: 9px; -} - -.customize-control .spacious-control-tooltip:hover { - cursor: pointer; -} - -.customize-control .attachment-media-view .button-add-media { - background: #ebebeb; -} - -.customize-control .attachment-media-view .button-add-media:hover { - background: #ffffff; -} - -.customize-control select, -.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), -.customize-control .select2-selection--single { - border-color: #eeeeee; - border-radius: 2px; - height: 33px; -} - -.customize-control .customize-inside-control-row { - padding-bottom: 0; - padding-top: 0; -} - -.customize-control.customize-control-radio .customize-inside-control-row, .customize-control.customize-control-checkbox .customize-inside-control-row { - padding-bottom: 6px; - padding-top: 6px; -} - -.customize-control.has-responsive-switchers .responsive-switchers { - position: absolute; - left: 0; - top: -3px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li { - float: right; - line-height: 0; - margin: 0; - padding-left: 2px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li button { - background: transparent; - border: none; - color: rgba(68, 68, 68, 0.5); - cursor: pointer; - outline: none; - padding: 2px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li button i { - font-size: 14px; - line-height: 20px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li button.active { - color: #0073aa; -} - -.customize-control.has-responsive-switchers .control-wrap:not(.active) { - display: none; - width: 100%; -} - -.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} - -#customize-theme-controls .customize-pane-child.current-section-parent { - -webkit-transform: translateX(100%); - transform: translateX(100%); -} - -#customize-theme-controls .control-section.open { - height: 100%; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section { - margin-right: -12px; - margin-left: -12px; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title { - background-color: #ffffff; - border-bottom: 1px solid #ebebeb; - border-right: 4px solid #ffffff; - color: #444444; - -webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; - transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after { - color: #a0a5aa; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover, -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus { - background: #f3f3f5; - border-right-color: #0073aa; - color: #0073aa; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after { - color: #0073aa; -} - -#customize-theme-controls .accordion-section-title { - border-color: #ebebeb; - color: #444444; - font-weight: 600; -} - -#customize-theme-controls .accordion-section-title:hover, #customize-theme-controls .accordion-section-title:focus { - border-right-color: #0073aa; - color: #0073aa; -} - -.spacious-hide { - display: none !important; -} - -.customize-control-checkbox, -.customize-control-radio { - padding-bottom: 5px; - padding-top: 5px; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title { - background-color: #289DCC !important; - border-right-color: #0073aa; - color: #fff !important; - padding: 0; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a { - color: #fff; - display: block; - padding: 12px 15px 15px; - text-decoration: none; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a:hover { - background-color: #1f91bf !important; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title:after { - color: #fff !important; -} - -#accordion-section-spacious_customize_upsell_section h3 a::after { - color: #fff; -} +a { + color: #0073aa; +} + +a:focus { + -webkit-box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); + box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); +} + +.button { + background: #ebebeb; + border-color: #0073aa; + color: #0073aa; + font-weight: 600; + -webkit-transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); + transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); +} + +.button:hover { + background: #ffffff; + color: #0073aa; +} + +.select2-container--default .select2-selection--single .select2-selection__arrow b { + margin-top: 0; +} + +.tg-section-separator { + display: block !important; + margin-top: 4px; +} + +.customize-section-description .spacious-section-description ul { + margin: 0; +} + +.customize-section-description .spacious-section-description ul > li { + list-style: none; +} + +.customize-section-description .spacious-section-description ul > li:last-child { + margin-bottom: 0; +} + +.customize-section-description .spacious-section-description a { + font-style: italic; +} + +.customize-control { + background: #fff; + -webkit-box-sizing: border-box; + box-sizing: border-box; + margin-bottom: 0; + padding: 10px; + position: relative; +} + +.customize-control .customize-control-title { + color: #444444; + font-size: 14px; + font-weight: 600; + margin-bottom: 0px; +} + +.customize-control .spacious-control-tooltip { + position: absolute; + left: 10px; + top: 9px; +} + +.customize-control .spacious-control-tooltip:hover { + cursor: pointer; +} + +.customize-control .attachment-media-view .button-add-media { + background: #ebebeb; +} + +.customize-control .attachment-media-view .button-add-media:hover { + background: #ffffff; +} + +.customize-control select, +.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), +.customize-control .select2-selection--single { + border-color: #eeeeee; + border-radius: 2px; + height: 33px; +} + +.customize-control .customize-inside-control-row { + padding-bottom: 0; + padding-top: 0; +} + +.customize-control.customize-control-radio .customize-inside-control-row, .customize-control.customize-control-checkbox .customize-inside-control-row { + padding-bottom: 6px; + padding-top: 6px; +} + +.customize-control.has-responsive-switchers .responsive-switchers { + position: absolute; + left: 0; + top: -3px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li { + float: right; + line-height: 0; + margin: 0; + padding-left: 2px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li button { + background: transparent; + border: none; + color: rgba(68, 68, 68, 0.5); + cursor: pointer; + outline: none; + padding: 2px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li button i { + font-size: 14px; + line-height: 20px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li button.active { + color: #0073aa; +} + +.customize-control.has-responsive-switchers .control-wrap:not(.active) { + display: none; + width: 100%; +} + +.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} + +#customize-theme-controls .customize-pane-child.current-section-parent { + -webkit-transform: translateX(100%); + transform: translateX(100%); +} + +#customize-theme-controls .control-section.open { + height: 100%; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section { + margin-right: -12px; + margin-left: -12px; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title { + background-color: #ffffff; + border-bottom: 1px solid #ebebeb; + border-right: 4px solid #ffffff; + color: #444444; + -webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; + transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after { + color: #a0a5aa; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover, +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus { + background: #f3f3f5; + border-right-color: #0073aa; + color: #0073aa; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after { + color: #0073aa; +} + +#customize-theme-controls .accordion-section-title { + border-color: #ebebeb; + color: #444444; + font-weight: 600; +} + +#customize-theme-controls .accordion-section-title:hover, #customize-theme-controls .accordion-section-title:focus { + border-right-color: #0073aa; + color: #0073aa; +} + +.spacious-hide { + display: none !important; +} + +.customize-control-checkbox, +.customize-control-radio { + padding-bottom: 5px; + padding-top: 5px; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title { + background-color: #289DCC !important; + border-right-color: #0073aa; + color: #fff !important; + padding: 0; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title a { + color: #fff; + display: block; + padding: 12px 15px 15px; + text-decoration: none; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title a:hover { + background-color: #1f91bf !important; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title:after { + color: #fff !important; +} + +li.spacious-upsell-accordion-section h3 a::after { + color: #fff; +} diff --git a/inc/customizer/core/assets/css/extend-customizer.css b/inc/customizer/core/assets/css/extend-customizer.css index 34106fb..94bb184 100644 --- a/inc/customizer/core/assets/css/extend-customizer.css +++ b/inc/customizer/core/assets/css/extend-customizer.css @@ -1,225 +1,225 @@ -a { - color: #0073aa; -} - -a:focus { - -webkit-box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); - box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); -} - -.button { - background: #ebebeb; - border-color: #0073aa; - color: #0073aa; - font-weight: 600; - -webkit-transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); - transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); -} - -.button:hover { - background: #ffffff; - color: #0073aa; -} - -.select2-container--default .select2-selection--single .select2-selection__arrow b { - margin-top: 0; -} - -.tg-section-separator { - display: block !important; - margin-top: 4px; -} - -.customize-section-description .spacious-section-description ul { - margin: 0; -} - -.customize-section-description .spacious-section-description ul > li { - list-style: none; -} - -.customize-section-description .spacious-section-description ul > li:last-child { - margin-bottom: 0; -} - -.customize-section-description .spacious-section-description a { - font-style: italic; -} - -.customize-control { - background: #fff; - -webkit-box-sizing: border-box; - box-sizing: border-box; - margin-bottom: 0; - padding: 10px; - position: relative; -} - -.customize-control .customize-control-title { - color: #444444; - font-size: 14px; - font-weight: 600; - margin-bottom: 0px; -} - -.customize-control .spacious-control-tooltip { - position: absolute; - right: 10px; - top: 9px; -} - -.customize-control .spacious-control-tooltip:hover { - cursor: pointer; -} - -.customize-control .attachment-media-view .button-add-media { - background: #ebebeb; -} - -.customize-control .attachment-media-view .button-add-media:hover { - background: #ffffff; -} - -.customize-control select, -.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), -.customize-control .select2-selection--single { - border-color: #eeeeee; - border-radius: 2px; - height: 33px; -} - -.customize-control .customize-inside-control-row { - padding-bottom: 0; - padding-top: 0; -} - -.customize-control.customize-control-radio .customize-inside-control-row, .customize-control.customize-control-checkbox .customize-inside-control-row { - padding-bottom: 6px; - padding-top: 6px; -} - -.customize-control.has-responsive-switchers .responsive-switchers { - position: absolute; - right: 0; - top: -3px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li { - float: left; - line-height: 0; - margin: 0; - padding-right: 2px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li button { - background: transparent; - border: none; - color: rgba(68, 68, 68, 0.5); - cursor: pointer; - outline: none; - padding: 2px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li button i { - font-size: 14px; - line-height: 20px; -} - -.customize-control.has-responsive-switchers .responsive-switchers li button.active { - color: #0073aa; -} - -.customize-control.has-responsive-switchers .control-wrap:not(.active) { - display: none; - width: 100%; -} - -.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} - -#customize-theme-controls .customize-pane-child.current-section-parent { - -webkit-transform: translateX(-100%); - transform: translateX(-100%); -} - -#customize-theme-controls .control-section.open { - height: 100%; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section { - margin-left: -12px; - margin-right: -12px; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title { - background-color: #ffffff; - border-bottom: 1px solid #ebebeb; - border-left: 4px solid #ffffff; - color: #444444; - -webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; - transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after { - color: #a0a5aa; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover, -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus { - background: #f3f3f5; - border-left-color: #0073aa; - color: #0073aa; -} - -#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after { - color: #0073aa; -} - -#customize-theme-controls .accordion-section-title { - border-color: #ebebeb; - color: #444444; - font-weight: 600; -} - -#customize-theme-controls .accordion-section-title:hover, #customize-theme-controls .accordion-section-title:focus { - border-left-color: #0073aa; - color: #0073aa; -} - -.spacious-hide { - display: none !important; -} - -.customize-control-checkbox, -.customize-control-radio { - padding-bottom: 5px; - padding-top: 5px; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title { - background-color: #289DCC !important; - border-left-color: #0073aa; - color: #fff !important; - padding: 0; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a { - color: #fff; - display: block; - padding: 12px 15px 15px; - text-decoration: none; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a:hover { - background-color: #1f91bf !important; -} - -#accordion-section-spacious_customize_upsell_section h3.accordion-section-title:after { - color: #fff !important; -} - -#accordion-section-spacious_customize_upsell_section h3 a::after { - color: #fff; -} +a { + color: #0073aa; +} + +a:focus { + -webkit-box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); + box-shadow: 0 0 0 1px rgba(0, 115, 170, 0.8); +} + +.button { + background: #ebebeb; + border-color: #0073aa; + color: #0073aa; + font-weight: 600; + -webkit-transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); + transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); +} + +.button:hover { + background: #ffffff; + color: #0073aa; +} + +.select2-container--default .select2-selection--single .select2-selection__arrow b { + margin-top: 0; +} + +.tg-section-separator { + display: block !important; + margin-top: 4px; +} + +.customize-section-description .spacious-section-description ul { + margin: 0; +} + +.customize-section-description .spacious-section-description ul > li { + list-style: none; +} + +.customize-section-description .spacious-section-description ul > li:last-child { + margin-bottom: 0; +} + +.customize-section-description .spacious-section-description a { + font-style: italic; +} + +.customize-control { + background: #fff; + -webkit-box-sizing: border-box; + box-sizing: border-box; + margin-bottom: 0; + padding: 10px; + position: relative; +} + +.customize-control .customize-control-title { + color: #444444; + font-size: 14px; + font-weight: 600; + margin-bottom: 0px; +} + +.customize-control .spacious-control-tooltip { + position: absolute; + right: 10px; + top: 9px; +} + +.customize-control .spacious-control-tooltip:hover { + cursor: pointer; +} + +.customize-control .attachment-media-view .button-add-media { + background: #ebebeb; +} + +.customize-control .attachment-media-view .button-add-media:hover { + background: #ffffff; +} + +.customize-control select, +.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), +.customize-control .select2-selection--single { + border-color: #eeeeee; + border-radius: 2px; + height: 33px; +} + +.customize-control .customize-inside-control-row { + padding-bottom: 0; + padding-top: 0; +} + +.customize-control.customize-control-radio .customize-inside-control-row, .customize-control.customize-control-checkbox .customize-inside-control-row { + padding-bottom: 6px; + padding-top: 6px; +} + +.customize-control.has-responsive-switchers .responsive-switchers { + position: absolute; + right: 0; + top: -3px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li { + float: left; + line-height: 0; + margin: 0; + padding-right: 2px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li button { + background: transparent; + border: none; + color: rgba(68, 68, 68, 0.5); + cursor: pointer; + outline: none; + padding: 2px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li button i { + font-size: 14px; + line-height: 20px; +} + +.customize-control.has-responsive-switchers .responsive-switchers li button.active { + color: #0073aa; +} + +.customize-control.has-responsive-switchers .control-wrap:not(.active) { + display: none; + width: 100%; +} + +.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} + +#customize-theme-controls .customize-pane-child.current-section-parent { + -webkit-transform: translateX(-100%); + transform: translateX(-100%); +} + +#customize-theme-controls .control-section.open { + height: 100%; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section { + margin-left: -12px; + margin-right: -12px; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title { + background-color: #ffffff; + border-bottom: 1px solid #ebebeb; + border-left: 4px solid #ffffff; + color: #444444; + -webkit-transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; + transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after { + color: #a0a5aa; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover, +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus { + background: #f3f3f5; + border-left-color: #0073aa; + color: #0073aa; +} + +#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after { + color: #0073aa; +} + +#customize-theme-controls .accordion-section-title { + border-color: #ebebeb; + color: #444444; + font-weight: 600; +} + +#customize-theme-controls .accordion-section-title:hover, #customize-theme-controls .accordion-section-title:focus { + border-left-color: #0073aa; + color: #0073aa; +} + +.spacious-hide { + display: none !important; +} + +.customize-control-checkbox, +.customize-control-radio { + padding-bottom: 5px; + padding-top: 5px; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title { + background-color: #289DCC !important; + border-left-color: #0073aa; + color: #fff !important; + padding: 0; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title a { + color: #fff; + display: block; + padding: 12px 15px 15px; + text-decoration: none; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title a:hover { + background-color: #1f91bf !important; +} + +li.spacious-upsell-accordion-section h3.accordion-section-title:after { + color: #fff !important; +} + +li.spacious-upsell-accordion-section h3 a::after { + color: #fff; +} diff --git a/inc/customizer/core/assets/css/extend-customizer.min-rtl.css b/inc/customizer/core/assets/css/extend-customizer.min-rtl.css index 045abc7..45f9637 100644 --- a/inc/customizer/core/assets/css/extend-customizer.min-rtl.css +++ b/inc/customizer/core/assets/css/extend-customizer.min-rtl.css @@ -1 +1 @@ -a{color:#0073aa}a:focus{-webkit-box-shadow:0 0 0 1px rgba(0,115,170,0.8);box-shadow:0 0 0 1px rgba(0,115,170,0.8)}.button{background:#ebebeb;border-color:#0073aa;color:#0073aa;font-weight:600;-webkit-transition:all .15s cubic-bezier(0.4,0,0.2,1);transition:all .15s cubic-bezier(0.4,0,0.2,1)}.button:hover{background:#fff;color:#0073aa}.select2-container--default .select2-selection--single .select2-selection__arrow b{margin-top:0}.tg-section-separator{display:block !important;margin-top:4px}.customize-section-description .spacious-section-description ul{margin:0}.customize-section-description .spacious-section-description ul>li{list-style:none}.customize-section-description .spacious-section-description ul>li:last-child{margin-bottom:0}.customize-section-description .spacious-section-description a{font-style:italic}.customize-control{background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:10px;position:relative}.customize-control .customize-control-title{color:#444;font-size:14px;font-weight:600;margin-bottom:0}.customize-control .spacious-control-tooltip{position:absolute;left:10px;top:9px}.customize-control .spacious-control-tooltip:hover{cursor:pointer}.customize-control .attachment-media-view .button-add-media{background:#ebebeb}.customize-control .attachment-media-view .button-add-media:hover{background:#fff}.customize-control select,.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),.customize-control .select2-selection--single{border-color:#eee;border-radius:2px;height:33px}.customize-control .customize-inside-control-row{padding-bottom:0;padding-top:0}.customize-control.customize-control-radio .customize-inside-control-row,.customize-control.customize-control-checkbox .customize-inside-control-row{padding-bottom:6px;padding-top:6px}.customize-control.has-responsive-switchers .responsive-switchers{position:absolute;left:0;top:-3px}.customize-control.has-responsive-switchers .responsive-switchers li{float:right;line-height:0;margin:0;padding-left:2px}.customize-control.has-responsive-switchers .responsive-switchers li button{background:transparent;border:0;color:rgba(68,68,68,0.5);cursor:pointer;outline:0;padding:2px}.customize-control.has-responsive-switchers .responsive-switchers li button i{font-size:14px;line-height:20px}.customize-control.has-responsive-switchers .responsive-switchers li button.active{color:#0073aa}.customize-control.has-responsive-switchers .control-wrap:not(.active){display:none;width:100%}.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent{-webkit-transform:translateX(100%);transform:translateX(100%)}#customize-theme-controls .customize-pane-child.current-section-parent{-webkit-transform:translateX(100%);transform:translateX(100%)}#customize-theme-controls .control-section.open{height:100%}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section{margin-right:-12px;margin-left:-12px}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title{background-color:#fff;border-bottom:1px solid #ebebeb;border-right:4px solid #fff;color:#444;-webkit-transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after{color:#a0a5aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover,#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus{background:#f3f3f5;border-right-color:#0073aa;color:#0073aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after{color:#0073aa}#customize-theme-controls .accordion-section-title{border-color:#ebebeb;color:#444;font-weight:600}#customize-theme-controls .accordion-section-title:hover,#customize-theme-controls .accordion-section-title:focus{border-right-color:#0073aa;color:#0073aa}.spacious-hide{display:none !important}.customize-control-checkbox,.customize-control-radio{padding-bottom:5px;padding-top:5px}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title{background-color:#289dcc !important;border-right-color:#0073aa;color:#fff !important;padding:0}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a{color:#fff;display:block;padding:12px 15px 15px;text-decoration:none}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a:hover{background-color:#1f91bf !important}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title:after{color:#fff !important}#accordion-section-spacious_customize_upsell_section h3 a::after{color:#fff} \ No newline at end of file +a{color:#0073aa}a:focus{-webkit-box-shadow:0 0 0 1px rgba(0,115,170,0.8);box-shadow:0 0 0 1px rgba(0,115,170,0.8)}.button{background:#ebebeb;border-color:#0073aa;color:#0073aa;font-weight:600;-webkit-transition:all .15s cubic-bezier(0.4,0,0.2,1);transition:all .15s cubic-bezier(0.4,0,0.2,1)}.button:hover{background:#fff;color:#0073aa}.select2-container--default .select2-selection--single .select2-selection__arrow b{margin-top:0}.tg-section-separator{display:block !important;margin-top:4px}.customize-section-description .spacious-section-description ul{margin:0}.customize-section-description .spacious-section-description ul>li{list-style:none}.customize-section-description .spacious-section-description ul>li:last-child{margin-bottom:0}.customize-section-description .spacious-section-description a{font-style:italic}.customize-control{background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:10px;position:relative}.customize-control .customize-control-title{color:#444;font-size:14px;font-weight:600;margin-bottom:0}.customize-control .spacious-control-tooltip{position:absolute;left:10px;top:9px}.customize-control .spacious-control-tooltip:hover{cursor:pointer}.customize-control .attachment-media-view .button-add-media{background:#ebebeb}.customize-control .attachment-media-view .button-add-media:hover{background:#fff}.customize-control select,.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),.customize-control .select2-selection--single{border-color:#eee;border-radius:2px;height:33px}.customize-control .customize-inside-control-row{padding-bottom:0;padding-top:0}.customize-control.customize-control-radio .customize-inside-control-row,.customize-control.customize-control-checkbox .customize-inside-control-row{padding-bottom:6px;padding-top:6px}.customize-control.has-responsive-switchers .responsive-switchers{position:absolute;left:0;top:-3px}.customize-control.has-responsive-switchers .responsive-switchers li{float:right;line-height:0;margin:0;padding-left:2px}.customize-control.has-responsive-switchers .responsive-switchers li button{background:transparent;border:0;color:rgba(68,68,68,0.5);cursor:pointer;outline:0;padding:2px}.customize-control.has-responsive-switchers .responsive-switchers li button i{font-size:14px;line-height:20px}.customize-control.has-responsive-switchers .responsive-switchers li button.active{color:#0073aa}.customize-control.has-responsive-switchers .control-wrap:not(.active){display:none;width:100%}.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent{-webkit-transform:translateX(100%);transform:translateX(100%)}#customize-theme-controls .customize-pane-child.current-section-parent{-webkit-transform:translateX(100%);transform:translateX(100%)}#customize-theme-controls .control-section.open{height:100%}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section{margin-right:-12px;margin-left:-12px}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title{background-color:#fff;border-bottom:1px solid #ebebeb;border-right:4px solid #fff;color:#444;-webkit-transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after{color:#a0a5aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover,#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus{background:#f3f3f5;border-right-color:#0073aa;color:#0073aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after{color:#0073aa}#customize-theme-controls .accordion-section-title{border-color:#ebebeb;color:#444;font-weight:600}#customize-theme-controls .accordion-section-title:hover,#customize-theme-controls .accordion-section-title:focus{border-right-color:#0073aa;color:#0073aa}.spacious-hide{display:none !important}.customize-control-checkbox,.customize-control-radio{padding-bottom:5px;padding-top:5px}li.spacious-upsell-accordion-section h3.accordion-section-title{background-color:#289dcc !important;border-right-color:#0073aa;color:#fff !important;padding:0}li.spacious-upsell-accordion-section h3.accordion-section-title a{color:#fff;display:block;padding:12px 15px 15px;text-decoration:none}li.spacious-upsell-accordion-section h3.accordion-section-title a:hover{background-color:#1f91bf !important}li.spacious-upsell-accordion-section h3.accordion-section-title:after{color:#fff !important}li.spacious-upsell-accordion-section h3 a::after{color:#fff} \ No newline at end of file diff --git a/inc/customizer/core/assets/css/extend-customizer.min.css b/inc/customizer/core/assets/css/extend-customizer.min.css index c53cb8c..e88ee28 100644 --- a/inc/customizer/core/assets/css/extend-customizer.min.css +++ b/inc/customizer/core/assets/css/extend-customizer.min.css @@ -1 +1 @@ -a{color:#0073aa}a:focus{-webkit-box-shadow:0 0 0 1px rgba(0,115,170,0.8);box-shadow:0 0 0 1px rgba(0,115,170,0.8)}.button{background:#ebebeb;border-color:#0073aa;color:#0073aa;font-weight:600;-webkit-transition:all .15s cubic-bezier(0.4,0,0.2,1);transition:all .15s cubic-bezier(0.4,0,0.2,1)}.button:hover{background:#fff;color:#0073aa}.select2-container--default .select2-selection--single .select2-selection__arrow b{margin-top:0}.tg-section-separator{display:block !important;margin-top:4px}.customize-section-description .spacious-section-description ul{margin:0}.customize-section-description .spacious-section-description ul>li{list-style:none}.customize-section-description .spacious-section-description ul>li:last-child{margin-bottom:0}.customize-section-description .spacious-section-description a{font-style:italic}.customize-control{background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:10px;position:relative}.customize-control .customize-control-title{color:#444;font-size:14px;font-weight:600;margin-bottom:0}.customize-control .spacious-control-tooltip{position:absolute;right:10px;top:9px}.customize-control .spacious-control-tooltip:hover{cursor:pointer}.customize-control .attachment-media-view .button-add-media{background:#ebebeb}.customize-control .attachment-media-view .button-add-media:hover{background:#fff}.customize-control select,.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),.customize-control .select2-selection--single{border-color:#eee;border-radius:2px;height:33px}.customize-control .customize-inside-control-row{padding-bottom:0;padding-top:0}.customize-control.customize-control-radio .customize-inside-control-row,.customize-control.customize-control-checkbox .customize-inside-control-row{padding-bottom:6px;padding-top:6px}.customize-control.has-responsive-switchers .responsive-switchers{position:absolute;right:0;top:-3px}.customize-control.has-responsive-switchers .responsive-switchers li{float:left;line-height:0;margin:0;padding-right:2px}.customize-control.has-responsive-switchers .responsive-switchers li button{background:transparent;border:0;color:rgba(68,68,68,0.5);cursor:pointer;outline:0;padding:2px}.customize-control.has-responsive-switchers .responsive-switchers li button i{font-size:14px;line-height:20px}.customize-control.has-responsive-switchers .responsive-switchers li button.active{color:#0073aa}.customize-control.has-responsive-switchers .control-wrap:not(.active){display:none;width:100%}.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent{-webkit-transform:translateX(-100%);transform:translateX(-100%)}#customize-theme-controls .customize-pane-child.current-section-parent{-webkit-transform:translateX(-100%);transform:translateX(-100%)}#customize-theme-controls .control-section.open{height:100%}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section{margin-left:-12px;margin-right:-12px}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title{background-color:#fff;border-bottom:1px solid #ebebeb;border-left:4px solid #fff;color:#444;-webkit-transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after{color:#a0a5aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover,#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus{background:#f3f3f5;border-left-color:#0073aa;color:#0073aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after{color:#0073aa}#customize-theme-controls .accordion-section-title{border-color:#ebebeb;color:#444;font-weight:600}#customize-theme-controls .accordion-section-title:hover,#customize-theme-controls .accordion-section-title:focus{border-left-color:#0073aa;color:#0073aa}.spacious-hide{display:none !important}.customize-control-checkbox,.customize-control-radio{padding-bottom:5px;padding-top:5px}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title{background-color:#289dcc !important;border-left-color:#0073aa;color:#fff !important;padding:0}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a{color:#fff;display:block;padding:12px 15px 15px;text-decoration:none}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title a:hover{background-color:#1f91bf !important}#accordion-section-spacious_customize_upsell_section h3.accordion-section-title:after{color:#fff !important}#accordion-section-spacious_customize_upsell_section h3 a::after{color:#fff} \ No newline at end of file +a{color:#0073aa}a:focus{-webkit-box-shadow:0 0 0 1px rgba(0,115,170,0.8);box-shadow:0 0 0 1px rgba(0,115,170,0.8)}.button{background:#ebebeb;border-color:#0073aa;color:#0073aa;font-weight:600;-webkit-transition:all .15s cubic-bezier(0.4,0,0.2,1);transition:all .15s cubic-bezier(0.4,0,0.2,1)}.button:hover{background:#fff;color:#0073aa}.select2-container--default .select2-selection--single .select2-selection__arrow b{margin-top:0}.tg-section-separator{display:block !important;margin-top:4px}.customize-section-description .spacious-section-description ul{margin:0}.customize-section-description .spacious-section-description ul>li{list-style:none}.customize-section-description .spacious-section-description ul>li:last-child{margin-bottom:0}.customize-section-description .spacious-section-description a{font-style:italic}.customize-control{background:#fff;-webkit-box-sizing:border-box;box-sizing:border-box;margin-bottom:0;padding:10px;position:relative}.customize-control .customize-control-title{color:#444;font-size:14px;font-weight:600;margin-bottom:0}.customize-control .spacious-control-tooltip{position:absolute;right:10px;top:9px}.customize-control .spacious-control-tooltip:hover{cursor:pointer}.customize-control .attachment-media-view .button-add-media{background:#ebebeb}.customize-control .attachment-media-view .button-add-media:hover{background:#fff}.customize-control select,.customize-control input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]),.customize-control .select2-selection--single{border-color:#eee;border-radius:2px;height:33px}.customize-control .customize-inside-control-row{padding-bottom:0;padding-top:0}.customize-control.customize-control-radio .customize-inside-control-row,.customize-control.customize-control-checkbox .customize-inside-control-row{padding-bottom:6px;padding-top:6px}.customize-control.has-responsive-switchers .responsive-switchers{position:absolute;right:0;top:-3px}.customize-control.has-responsive-switchers .responsive-switchers li{float:left;line-height:0;margin:0;padding-right:2px}.customize-control.has-responsive-switchers .responsive-switchers li button{background:transparent;border:0;color:rgba(68,68,68,0.5);cursor:pointer;outline:0;padding:2px}.customize-control.has-responsive-switchers .responsive-switchers li button i{font-size:14px;line-height:20px}.customize-control.has-responsive-switchers .responsive-switchers li button.active{color:#0073aa}.customize-control.has-responsive-switchers .control-wrap:not(.active){display:none;width:100%}.in-sub-panel #customize-theme-controls .customize-pane-child.current-panel-parent{-webkit-transform:translateX(-100%);transform:translateX(-100%)}#customize-theme-controls .customize-pane-child.current-section-parent{-webkit-transform:translateX(-100%);transform:translateX(-100%)}#customize-theme-controls .control-section.open{height:100%}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section{margin-left:-12px;margin-right:-12px}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title{background-color:#fff;border-bottom:1px solid #ebebeb;border-left:4px solid #fff;color:#444;-webkit-transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out;transition:.15s color ease-in-out,.15s background-color ease-in-out,.15s border-color ease-in-out}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:after{color:#a0a5aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover,#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:focus{background:#f3f3f5;border-left-color:#0073aa;color:#0073aa}#customize-theme-controls .control-section.control-section-spacious_section .accordion-section-title:hover:after{color:#0073aa}#customize-theme-controls .accordion-section-title{border-color:#ebebeb;color:#444;font-weight:600}#customize-theme-controls .accordion-section-title:hover,#customize-theme-controls .accordion-section-title:focus{border-left-color:#0073aa;color:#0073aa}.spacious-hide{display:none !important}.customize-control-checkbox,.customize-control-radio{padding-bottom:5px;padding-top:5px}li.spacious-upsell-accordion-section h3.accordion-section-title{background-color:#289dcc !important;border-left-color:#0073aa;color:#fff !important;padding:0}li.spacious-upsell-accordion-section h3.accordion-section-title a{color:#fff;display:block;padding:12px 15px 15px;text-decoration:none}li.spacious-upsell-accordion-section h3.accordion-section-title a:hover{background-color:#1f91bf !important}li.spacious-upsell-accordion-section h3.accordion-section-title:after{color:#fff !important}li.spacious-upsell-accordion-section h3 a::after{color:#fff} \ No newline at end of file diff --git a/inc/customizer/core/assets/scss/extend-customizer.scss b/inc/customizer/core/assets/scss/extend-customizer.scss deleted file mode 100644 index e00cfac..0000000 --- a/inc/customizer/core/assets/scss/extend-customizer.scss +++ /dev/null @@ -1,264 +0,0 @@ -@import "../../custom-controls/assets/scss/variables"; - -a{ - color:$color-blue; - &:focus{ - box-shadow: 0 0 0 1px rgba($color-blue,0.8); - } -} -.button{ - background: $color-light-gray; - border-color: $color-blue; - color:$color-blue; - font-weight: 600; - transition: all 0.15s cubic-bezier(0.4, 0, 0.2, 1); - &:hover{ - background: $color-white; - color:$color-blue; - } -} - -.select2-container--default{ - .select2-selection--single{ - .select2-selection__arrow{ - b{ - margin-top: 0; - } - } - } - - -} -.tg-section-separator { - display: block !important; - margin-top: 4px; -} - -.customize-section-description { - - .spacious-section-description { - - ul { - margin: 0; - - > li { - list-style: none; - - &:last-child { - margin-bottom: 0; - } - } - } - - a { - font-style: italic; - } - } -} -.customize-control { - background:#fff; - box-sizing: border-box; - margin-bottom: 0; - padding: 10px; - position: relative; - - .customize-control-title { - color:$color-black; - font-size:14px; - font-weight: 600; - margin-bottom:0px; - } - - .spacious-control-tooltip { - position: absolute; - right: 10px; - top: 9px; - - &:hover { - cursor: pointer; - } - } - - .attachment-media-view{ - .button-add-media{ - background: $color-light-gray; - &:hover{ - background: $color-white; - } - } - } - - select, - input[type]:not([type=range]):not([type=button]):not([type=submit]):not([type=checkbox]):not([type=radio]), - .select2-selection--single{ - border-color:$color-gray; - border-radius: 2px; - height: 33px; - } - - .customize-inside-control-row { - padding-bottom: 0; - padding-top: 0; - } - - &.customize-control-radio, - &.customize-control-checkbox { - .customize-inside-control-row { - padding-bottom: 6px; - padding-top: 6px; - } - } - - &.has-responsive-switchers { - - .responsive-switchers { - position: absolute; - right: 0; - top: -3px; - - li { - float: left; - line-height: 0; - margin: 0; - padding-right:2px; - - button { - background: transparent; - border: none; - color: rgba($color-black, 0.5); - cursor: pointer; - outline: none; - padding: 2px; - - i { - font-size: 14px; - line-height: 20px; - } - - &.active { - color: $color-blue; - } - } - } - } - - .control-wrap { - - &:not(.active) { - display: none; - width: 100%; - } - } - } -} - - - -#customize-theme-controls { - - .in-sub-panel & { - - .customize-pane-child.current-panel-parent { - transform: translateX(-100%); - } - } - - .customize-pane-child.current-section-parent { - transform: translateX(-100%); - } - - .control-section { - - &.open { - height: 100%; - } - - &.control-section-spacious_section { - - .accordion-section { - margin-left: -12px; - margin-right: -12px; - } - - .accordion-section-title { - background-color: $color-white; - border-bottom: 1px solid $color-light-gray; - border-left: 4px solid $color-white; - color: $color-black; - transition: .15s color ease-in-out, .15s background-color ease-in-out, .15s border-color ease-in-out; - } - - .accordion-section-title:after { - color: #a0a5aa; - } - - .accordion-section-title:hover, - .accordion-section-title:focus { - background: #f3f3f5; - border-left-color: $color-blue; - color: $color-blue; - } - - .accordion-section-title:hover:after { - color: $color-blue; - } - } - } -} - -#customize-theme-controls{ - .accordion-section-title{ - border-color:$color-light-gray; - color: $color-black; - font-weight: 600; - &:hover,&:focus{ - border-left-color: $color-blue; - color: $color-blue; - } - } -} - -.spacious-hide { - display: none !important; -} - -.customize-control-checkbox, -.customize-control-radio{ - padding-bottom: 5px; - padding-top: 5px; -} - -#accordion-section-spacious_customize_upsell_section { - - h3 { - - &.accordion-section-title { - background-color: #289DCC !important; - border-left-color: #0073aa; - color: #fff !important; - padding: 0; - - a { - color: #fff; - display: block; - padding: 12px 15px 15px; - text-decoration: none; - - &:hover { - background-color: #1f91bf !important; - } - } - - &:after { - color: #fff !important; - } - } - - a { - - &::after { - color: #fff; - } - } - } -} \ No newline at end of file diff --git a/readme.txt b/readme.txt index 3e064c1..a58795c 100644 --- a/readme.txt +++ b/readme.txt @@ -49,6 +49,9 @@ and we will include it within the theme from next version update. /**********************************************************/ == Changelog == +== TBD == +* Add - Review link section on customizer. + == Version TBD == * Fix - Color opacity option in customizer not working properly.