Plugin Directory

Changeset 1650000


Ignore:
Timestamp:
05/02/2017 11:06:00 PM (9 years ago)
Author:
wpsiteeditor
Message:
  • Remove wputop From Site Editor Shortcodes
  • Post Content Disable Edit Fixed issue #
  • Shortcodes nesting Level Fixed issue #
  • Add user feedback system
  • Site Custom Css Fixed issue #
  • Theme Row Preset Fixed issue #
  • Ajax module wrapper settings Fixed issue #
  • and some a little issues fixed
Location:
site-editor/trunk
Files:
4 added
1 deleted
58 edited

Legend:

Unmodified
Added
Removed
  • site-editor/trunk/README.md

    r1640500 r1650000  
    1 # Site Editor - WordPress Site Builder
     1# Site Editor - WordPress Site Builder - Theme Builder and Page Builder
    22
    33
     
    55**Tags:** site editor, site builder, page builder, theme builder, theme framework, design, inline editor, inline text editor, layout builder,live options, live, customizer, theme customizer, header builder, footer builder, fully customizable, design options,design editor, options framework, front end, page builder plugin, builder, responsive, front end editor, landing page, editor, drag-and-drop, shortcode, wordpress, ultra flexible, unlimited tools, elements, modules, support, seo, animation, absolute flexibility, live theme options, video backgrounds, font awesome, Optimized, fast, quick, ux, ui 
    66**Requires at least:** 4.7 
    7 **Tested up to:** 4.7.3 
    8 **Stable tag:** 1.0.0 
     7**Tested up to:** 4.7.4 
     8**Stable tag:** 1.1 
    99**License:** GPLv3 
    1010**License URI:** https://www.gnu.org/licenses/gpl-3.0.html 
     
    1616**What is the Site Editor?**
    1717
    18 Site Editor is the most powerful Site Builder which is designed for WordPress. it's a powerful, advanced, user-friendly front end editor and you can build your website via drag and drop and full live options.
    19 too Site Editor is a powerful front-end platform for the developer.
     18Site Editor is the most powerful Site Builder which is designed for WordPress. It's a powerful, advanced, user-friendly front end editor and you can build your website via drag and drop and full live options. Site Editor is also a powerful front-end platform for the developer.
     19
     20**OUR OFFICIAL WEBSITE**
     21
     22[SiteEditor.ORG](https://www.siteeditor.org)
    2023
    2124**Why Site Editor?**
    2225
    23 Because you can build your website in more efficient, more flexible and much Faster. Site Editor allows you build all of your website's parts like pages, theme, ... in a integrate front end editor easy and fast. 
    24 
    25 **User-End Friendly**
    26 
    27 If you aren't a developer and you want to create an amazing and beautiful website, Site Editor is the best tools for it.you can build footer, header and other public theme rows with
    28 drag and drop and apply them to all pages or spcify pages. you can build all pages and posts with drag and drop too.
    29 Actually you don't need **CODING KNOWLEDGE** for create your website.
     26Because you can build your website more efficiently, more flexibly and much faster. Site Editor allows you to build all of your website's parts like pages, theme, ... in an integrate front end editor; easy and fast.
     27
     28**End-User Friendly**
     29
     30If you aren't a developer and you want to create an amazing and beautiful website, Site Editor has the best tools for it. You can build footer, header and other public theme rows with drag and drop and apply them to all pages or specify pages. you can build all pages and posts with drag and drop too. In fact you don't need **CODING KNOWLEDGE** for create your website.
    3031
    3132**Developer Friendly**
    3233
    33 If you are a developer, you can develop your themes and plugins with our front end platform faster and easier and its result will be very user-friendly extensions and happier clients for you
     34If you are a developer, you can develop your themes and plugins with our front end platform quickly and easily and its result will be very user-friendly extensions and happier clients.
    3435
    3536**Layout Builder**
    3637
    37 Site Editor is help you build your custom layout for set of pages like single posts or portfolio pages or set of custom pages.( Like WordPress page templates and post type templates feature but our feature is full visual and don't need to any coding knowledge )
     38Site Editor helps you build your custom layout for set of pages like single posts or portfolio pages or set of custom pages.( Like WordPress page templates and post type templates feature but our feature is full visual and doesn't need any coding knowledge )
    3839
    3940**Theme Builder and Theme Customizer**
    4041
    41 Site Editor is header builder, it allows to you create your custom header and apply to all pages or set of pages. it's footer builder too and you can your custom page titles And addition you can create any custom public rows for theme area and apply them to all pages or specify pages. Actually, you can completely your theme in our front end editor. this feature is The most exclusive our feature and there isn't on other WordPress plugins. this feature introduced for the first time by Site Editor
     42Site Editor's header builder allows to you create your custom header and apply to all pages or set of pages. Its footer builder acts the same; you can customize page titles, and in addition you can create any custom public rows for theme area and apply them to all pages or specify pages. Actually, you can completely your theme in our front end editor. This feature is our most exclusive feature and it doesn't exist on other WordPress plugins. This feature is introduced for the first time by Site Editor.
    4243
    4344**Page Builder**
    4445
    45 You can create all of website's pages content like content of pages, posts and custom post types with Site Editor. for it you need drag and drop modules to your content of pages easily and edit the module settings and simultaneously see exactly how it looks like. With Site Editor you can create content of pages very easy, fast and truly live.
     46You can create all of website's pages content like content of pages, posts and custom post types with Site Editor. In order to do that you need drag and drop modules to your content of pages easily and edit the module settings and simultaneously see exactly how it looks like. With Site Editor you can create content of pages very easily, fast and truly live.
    4647
    4748
    4849**Options Framework and Fully Live Options**
    4950
    50 See changes as you make them in a live environment(Front End Editor) and after change each option you can see changes on your page and no more need to switch between admin panel and site to see the changes. Our Options Framework have +30 type of option, these include :
     51See changes as you make them in a live environment (Front End Editor) and after change each option you can see changes on your page and no more need to switch between admin panel and site to see the changes. Our Options Framework have +30 type of option, these include :
    5152
    5253* text
     
    9091**Design Options and Fully Live**
    9192
    92 You can easily edit the styles of all elements, theme modules and pages visually and live without any prior coding knowledge. You can give life to your imagination and implement any sophisticated and professional layout in the visual editor and see the changes live as you make them. 
     93You can easily edit the styles of all elements, theme modules and pages visually and live without any prior coding knowledge. You can give life to your imagination and implement any sophisticated and professional layout in the visual editor and see the changes live as you make them.
    9394
    9495**Developer API**
    9596
    96 If you are a **Theme Developer**, you can build your themes with Site Editor very easy & fast. you can add all your theme options with front end options framework and you can add your modules for page builder and sync our modules with your design too. 
    97 If you are a **Plugin Developer**, you can build your Plugins in our front end editor with front end options framework.   
    98 
    99 We have a sample module for developers guide that for find it go to **"Site Editor Plugin Folder/editor/extensions/pagebuilder/modules/api-test-module"** 
    100 you can test in module in our editor. it's active by default 
    101 
    102 Too We have a sample options file for developers guide( you can using for theme options and plugin options in front end editor mode ) that for find it go to **"Site Editor Plugin Folder/editor/extensions/options-engine/includes/demo/site-editor-sample-options.php"** 
    103 **Notic 1:** for test this options in our editor you can need active it on WordPress Admin > SiteEditor > General Settings > Developer Sample Options.   
    104 **Notic 2:** Our Developer API documentation coming soon! 
     97If you are a **Theme Developer**, you can build your themes with Site Editor very easily & quickly. You can add all your theme options with front end options framework and you can add your modules for page builder and sync our modules with your design too.
     98If you are a **Plugin Developer**, you can build your Plugins in our front end editor with front end options framework.
     99
     100We have a sample module for developers guide which you can find at **"Site Editor Plugin Folder/editor/extensions/pagebuilder/modules/api-test-module"**
     101you can test in module in our editor. It's active by default.
     102
     103We also have a sample options file for developers guide( you can use for theme options and plugin options in front end editor mode ) which you find at **"Site Editor Plugin Folder/editor/extensions/options-engine/includes/demo/site-editor-sample-options.php"**
     104
     105**Notice 1:** To test this options in our editor you need to activate it on WordPress Admin > SiteEditor > General Settings > Developer Sample Options.
     106**Notice 2:** Our Developer API documentation coming soon!
    105107
    106108
     
    117119**100% MOBILE FRIENDLY**
    118120
    119 Every part of a Site Editor like modules, skins, ... are well adjusted based on the size of the screen and you
    120 can set of responsive options for each module and see the changes in our mobile editor preview. Site Editor allow you
    121 create amazing responsive design for your site.
     121Every part of a Site Editor like modules, skins, ... are well adjusted based on the size of the screen and you can set responsive options for each module and see the changes in our mobile editor preview. Site Editor allow you create amazing responsive design for your site.
    122122
    123123
     
    193193# Changelog
    194194
    195 **1.0 - Released: April 16th, 2017**
     195**1.1 - Released: May 2th, 2017**
     196
     197* Remove wputop From Site Editor Shortcodes
     198
     199* Post Content Disable Edit Fixed issue #
     200
     201* Shortcodes nesting Level Fixed issue #
     202
     203* Add user feedback system
     204
     205* Site Custom Css Fixed issue #
     206
     207* Theme Row Preset Fixed issue #
     208
     209* Ajax module wrapper settings Fixed issue #
     210
     211* and some a little issues fixed
     212
     213**1.0 - Released: April 19th, 2017**
    196214
    197215* Initial release
  • site-editor/trunk/admin/includes/options.php

    r1640500 r1650000  
    154154        ),
    155155
     156        "sed_allow_user_tracking" => array(
     157            "type"          => "checkbox",
     158            "label"         => __('Usage Data Tracking' , 'site-editor' ) ,
     159            "desc"          => __('Opt-in to our anonymous plugin data collection and to updates. We guarantee no sensitive data is collected.' , 'site-editor' ) ,
     160            "std"           => '' ,
     161            "sanitize"      => "sed_allow_user_tracking_sanitize"
     162        ),
     163
    156164    ),
    157165
     
    275283
    276284);
     285
     286function sed_allow_user_tracking_sanitize( $id , $value , $attrs ){
     287
     288    $value = ( $value === "on" ) ? "yes" : "skip";
     289
     290    return apply_filters( "sed_allow_user_tracking_sanitize" , $value , $id , $attrs );
     291
     292}
     293
     294function sed_allow_user_tracking_to_form( $value , $id , $attrs ){
     295
     296    if( $id == "sed_allow_user_tracking" ) {
     297
     298        $value = ($value === "yes") ? "on" : "off";
     299
     300    }
     301
     302    return $value;
     303
     304}
     305
     306add_filter( 'sed_admin_options_get_value' , 'sed_allow_user_tracking_to_form' , 10 , 3 );
  • site-editor/trunk/admin/includes/sed-admin-options.class.php

    r1640500 r1650000  
    9999        $value = isset( $options[$id] ) ? $options[$id] : ( isset( $attrs['std'] ) ? $attrs['std']  : false ) ;
    100100
     101        $value = apply_filters( "sed_admin_options_get_value" , $value , $id , $attrs );
     102
    101103        //$value = stripslashes( $value );
    102104
     
    318320                        if( isset( $_REQUEST[ $id ]) ) {
    319321
    320                             $sanitize_func = isset( $attrs['sanitize'] ) ? $attrs['sanitize'] . "_sanitize" : "field_sanitize";
    321 
    322                             $options[$id] = $this->$sanitize_func( $id , $_REQUEST[ $id ] , $attrs );
     322                            $sanitize_func = $this->get_sanitize_method( $attrs );
     323
     324                            $options[$id] = call_user_func_array( $sanitize_func , array( $id , $_REQUEST[ $id ] , $attrs ) );
    323325
    324326                        } else {
     
    326328                            if( $attrs['type'] == "checkbox" ) {
    327329
    328                                 $options[$id] = '';
     330                                $sanitize_func = $this->get_sanitize_method( $attrs );
     331
     332                                $options[$id] = call_user_func_array( $sanitize_func , array( $id , 'off' , $attrs ) );
    329333
    330334                            }else if( isset( $options[$id] ) ) {
     
    362366
    363367            }
     368
     369            do_action( "sed_after_admin_settings_save" , $this );
    364370        }
    365371
     
    367373
    368374        $sed_general_data = $this->options;
     375    }
     376
     377    public function get_sanitize_method( $attrs ){
     378
     379        if( isset( $attrs['sanitize'] ) ){
     380
     381            return $attrs['sanitize'];
     382
     383        }
     384
     385        $sanitize_func = $attrs['type'] . "_sanitize";
     386
     387        if( method_exists( $this , $sanitize_func ) ){
     388
     389            return array( $this , $sanitize_func );
     390
     391        }
     392
     393        return array( $this , "field_sanitize" );
     394
    369395    }
    370396   
  • site-editor/trunk/admin/site-editor-admin.class.php

    r1640500 r1650000  
    1717        $GLOBALS['sed_error'] = new SED_Error;
    1818
     19        require_once( SED_ADMIN_INC_PATH . DS . 'site-editor-admin-feedback.class.php' );
     20
     21        new SiteEditorAdminFeedback( $this );
    1922       
    2023        add_action("init" ,  array( "SiteEditorAdminRender" ,"load_page_builder_app") );
     
    181184        wp_enqueue_style( "sed-admin-icon-font" , plugins_url('templates/default/css/sed-admin-icon-font.css', __FILE__ ) , array() , '1.0.0' , 'all');
    182185
    183         if( in_array( $hook , $this->_pagehooks ) ){
    184 
    185             wp_enqueue_script( "sed-admin-scripts" , plugins_url('templates/default/js/scripts.js', __FILE__ ) , array('jquery' , 'wp-color-picker') , '1.0.0' , false );
     186        if( in_array( $hook , $this->_pagehooks ) || in_array( get_current_screen()->id, array( 'plugins', 'plugins-network' ) ) ){
     187
     188            wp_enqueue_script( "sed-admin-scripts" , plugins_url('templates/default/js/scripts.js', __FILE__ ) , array( 'jquery' , 'wp-color-picker' , 'jquery-ui-dialog' ) , '1.0.0' , false );
     189
    186190            wp_enqueue_style( "sed-admin-style" , plugins_url('templates/default/css/style.css', __FILE__ ) , array() , '1.0.0' , 'all');
     191
    187192        }
    188193
     
    192197        if( in_array( $hook , array( $this->_pagehooks['site-editor-settings'] , $this->_pagehooks['site-editor'] ) ) )
    193198            wp_enqueue_style( 'wp-color-picker' );
     199
    194200    }
    195201
     
    200206    function options_media_scripts( $hook ) {
    201207
    202 
    203208        if( !in_array( $hook , array( $this->_pagehooks['site-editor-settings'] , $this->_pagehooks['site-editor'] ) ) )
    204209            return ;
     
    208213
    209214        wp_register_script( 'of-media-uploader', SED_ADMIN_URL .'templates/default/js/media-uploader.js', array( 'jquery' ) );
     215
    210216        wp_enqueue_script( 'of-media-uploader' );
     217
    211218        wp_localize_script( 'of-media-uploader', 'optionsframework_l10n', array(
    212219            'upload' => __( 'Upload', 'site-editor' ),
    213220            'remove' => __( 'Remove', 'site-editor' )
    214221        ) );
     222
    215223    }
    216224
  • site-editor/trunk/admin/templates/default/css/style.css

    r1640500 r1650000  
    140140    padding: 20px 15px 25px;
    141141    background: #f1f1f1;
    142     color: #fff;
    143142    border-bottom: 1px solid #e5e5e5;
    144143}
    145144
    146 div#sed_admin_settings_head * {
     145div#sed_admin_settings_head .sed_main_settings_title {
    147146    padding: 0;
    148147    text-transform: uppercase;
    149148}
    150149
    151 div#sed_admin_settings_head i {
     150div#sed_admin_settings_head .sed_main_settings_title i {
    152151    font-size: 30px;
    153152    padding-right: 15px;
     
    160159/* BEGIN STYLE FOR BUTTON ADMIN SETTINGS
    161160========================================*/
     161.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-default ,
     162.siteeditor_admin_index_page .button.button-default{
     163    text-decoration: none;
     164    text-shadow: none;
     165    border-radius: 0;
     166    box-shadow: none;
     167}
     168
     169.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary ,
    162170.siteeditor_admin_index_page .button.button-primary{
    163171    background: #00aaff;
     
    169177    box-shadow: none;
    170178}
     179.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary a span ,
     180.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary a ,
    171181.siteeditor_admin_index_page .button.button-primary a span,
    172182.siteeditor_admin_index_page .button.button-primary a{
     
    174184    text-decoration: none;
    175185}
    176  .siteeditor_admin_index_page .button.button-primary:hover,
     186.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary:hover ,
     187.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary:active ,
     188.siteeditor_admin_index_page .button.button-primary:hover,
    177189.siteeditor_admin_index_page .button.button-primary:active{
    178190    background: #088DD0;
     
    181193    text-decoration: none;
    182194}
     195.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary:hover a span ,
     196.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary:active a span ,
     197.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary:hover a ,
     198.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.button-primary:active a ,
    183199.siteeditor_admin_index_page .button.button-primary:hover a span,
    184200.siteeditor_admin_index_page .button.button-primary:active a span,
     
    188204    text-decoration: none;
    189205}
     206.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.upload-button ,
     207.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button ,
    190208.siteeditor_admin_index_page .button.upload-button,
    191209.siteeditor_admin_index_page .button{
     
    193211    text-decoration: none;
    194212}
     213.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button.upload-button:hover ,
     214.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .button:hover ,
    195215.siteeditor_admin_index_page .button.upload-button:hover,
    196216.siteeditor_admin_index_page .button:hover{
     
    198218    border-color: #ddd;
    199219}
     220.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .wp-color-result:after ,
    200221.siteeditor_admin_index_page .wp-color-result:after {
    201222    background: #fff;
    202223    border-left: 1px solid #ddd;
    203224}
     225.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content .wp-color-result:after:hover ,
    204226.siteeditor_admin_index_page .wp-color-result:after:hover {
    205227    border-left: 1px solid #ddd;
     
    305327
    306328/**==* Form *==**/
    307  
     329
     330.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content input, 
     331.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content select, 
     332.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content textarea, 
    308333.siteeditor_admin_index_page input[type=text],
    309334.siteeditor_admin_index_page input[type=search],
     
    328353}
    329354
     355.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content input:focus, 
     356.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content select:focus, 
     357.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content textarea:focus, 
    330358.siteeditor_admin_index_page input[type=text]:focus,
    331359.siteeditor_admin_index_page input[type=search]:focus,
     
    381409/**==* Radio & Checkbox *==**/   
    382410
    383 
     411 
     412.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content input[type=radio]:checked:before, 
    384413.siteeditor_admin_index_page input[type=radio]:checked:before {
    385414    background-color: #00aaff;
    386415
    387416
     417.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content input[type=checkbox]:checked:before, 
    388418.siteeditor_admin_index_page input[type=checkbox]:checked:before {
    389419    color: #00aaff; 
    390420}
    391421
     422.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content td.second.tf-radio label, 
    392423.siteeditor_admin_index_page td.second.tf-radio label {
    393424    padding-right: 30px;
    394 }
    395 
     425}
     426
     427.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content td.second.tf-radio br, 
    396428.siteeditor_admin_index_page td.second.tf-radio br { 
    397429    display: none;
    398430}
    399 
     431 
    400432/*         
    401433.siteeditor_admin_index_page input[type=radio]:checked,
     
    554586    text-align: left !important;
    555587}
     588
     589
     590
     591
     592
     593
     594/*! jQuery UI - v1.12.1 - 2017-04-23
     595* http://jqueryui.com
     596* Includes: draggable.css, core.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
     597* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
     598* Copyright jQuery Foundation and other contributors; Licensed MIT */
     599
     600
     601/* dialog  */
     602.sed-admin-dialog-wrapper.ui-dialog {
     603    background-clip: padding-box;
     604    background-color: #ffffff;
     605    border: 1px solid rgba(0, 0, 0, 0.06);
     606    border-radius: 0px;
     607    box-shadow: 0 3px 7px rgba(0, 0, 0, 0.06);
     608    outline: medium none;
     609    overflow: hidden;
     610    display: none;
     611    width: auto;
     612    z-index: 1050;   
     613    position: absolute;
     614    top: 0;
     615    left: 0;
     616    padding: 0;
     617    outline: 0;
     618}
     619
     620/* header */
     621.sed-admin-dialog-wrapper.ui-dialog .ui-widget-header {
     622    border: 1px solid #666;
     623    font-weight: bold;
     624}
     625.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar {
     626    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
     627    border-bottom-left-radius: 0;
     628    border-bottom: 1px solid transparent;
     629    border-color: white white #f9f9f9 ;
     630    font-size: 18px;
     631    padding: 5px 15px;
     632    position: relative;
     633    text-decoration: none;
     634    border-bottom-style: solid;
     635    border-bottom-width: 1px;
     636    padding: 12px 10px ;
     637    border-radius: 0 ;
     638}
     639.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar {
     640}
     641.sed-admin-dialog-wrapper.ui-dialog .ui-helper-clearfix {
     642    display: block;
     643    min-height: 0;
     644}
     645.sed-admin-dialog-wrapper.ui-dialog .ui-helper-clearfix:after {
     646    clear: both;
     647    content: ".";
     648    display: block;
     649    height: 0;
     650    visibility: hidden;
     651}
     652.sed-admin-dialog-wrapper.ui-dialog .ui-helper-clearfix:before,
     653.sed-admin-dialog-wrapper.ui-dialog .ui-helper-clearfix:after {
     654    content: "";
     655    display: table;
     656}
     657.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-title {
     658    font-weight: normal ;
     659    margin-bottom: 0 ;
     660    margin-top: 0 ;
     661    padding: 0 ;
     662}
     663.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-button {
     664    background: none repeat scroll 0 0 rgba(0, 0, 0, 0);
     665    text-shadow: 0 1px 0 #fff;
     666    color: #000;
     667    float: right;
     668    font-size: 16px;
     669    font-weight: 700;
     670    line-height: 1;
     671    opacity: 0.2;
     672    border: 0 none;
     673    cursor: pointer;
     674    padding: 0;
     675}
     676.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-button:hover{
     677    opacity: 0.4;
     678}
     679.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-button:active,
     680.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-button:focus{
     681    opacity: 0.6;
     682}
     683.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-button-text {
     684    border: 0 none;
     685    clip: rect(0px, 0px, 0px, 0px);
     686    height: 1px;
     687    margin: -1px;
     688    overflow: hidden;
     689    padding: 0;
     690    position: absolute;
     691    width: 1px;
     692}
     693.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close span {
     694    display: block;
     695    margin: 1px;
     696    font-weight: bold;
     697}
     698.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon {
     699    float: left ;
     700}
     701
     702.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-titlebar .ui-dialog-titlebar-close .ui-icon:before {
     703    content: "\f335";
     704    font-family: dashicons;
     705    display: block;
     706    font-size: 19px;
     707}
     708
     709/* end header */
     710
     711/* content */
     712
     713.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-content {
     714    position: relative;
     715    border: 0;
     716    padding: 1.5em 2em;
     717    background: none;
     718    overflow: auto;
     719    background-color: #f9f9f9;
     720}
     721
     722/* end content */
     723
     724/* button */
     725.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-buttonpane {
     726    background-color: #f5f5f5;
     727    background-image: none;
     728    border-radius: 0;
     729    border-top: 1px solid #ddd;
     730    border-width: 1px 0 0;
     731    margin: 0.5em 0 0;
     732    padding: 10px 15px;
     733    text-align: left;
     734}
     735.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-buttonpane {
     736    margin: 0;
     737}
     738
     739.sed-admin-dialog-wrapper.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
     740    float: right;
     741}
     742.sed-admin-dialog-wrapper.ui-dialog-buttonset .ui-button{
     743  position: relative;
     744  opacity: 1;
     745  float:  right;
     746  margin-left: 10px;
     747}
     748
     749
     750/* Overlays */
     751
     752.ui-widget-overlay {
     753    position: fixed;
     754    top: 0;
     755    left: 0;
     756    width: 100%;
     757    height: 100%;
     758    background: #fff;
     759    opacity: .6;
     760    filter: Alpha(Opacity=30); /* support: IE8 */
     761}
     762.ui-widget-shadow {
     763    -webkit-box-shadow: 0px 0px 5px #666666;
     764    box-shadow: 0px 0px 5px #666666;
     765}
     766
     767
     768
     769/***** feedback dialog  ******/ 
     770
     771
     772
     773.sed-feedback-dialog-wrapper .ui-dialog-titlebar button.ui-button {
     774    display: none;
     775}
     776
     777.sed-deactivate-feedback-dialog-input-wrapper {
     778    margin: 10px 0;
     779}
     780
     781.sed-deactivate-feedback-dialog-input-wrapper input[type=text] {
     782    display: block;
     783    margin-top: 10px;
     784}
     785
     786.sed-deactivate-feedback-send.sed-ajax-loading {
     787    min-width: 140px;
     788}
     789
     790.sed-deactivate-feedback-send .sed-deactivate-feedback-send-text {
     791    display: inline-block;
     792
     793
     794.sed-deactivate-feedback-send.sed-ajax-loading .sed-deactivate-feedback-send-text {
     795    text-indent: -9999px;
     796}
     797
     798.sed-deactivate-feedback-send .dashicons-admin-generic {
     799    vertical-align: middle;
     800    font-size: 14px;
     801    height: 1em;
     802    visibility: hidden;
     803    width: 0;
     804    display: inline-block;
     805}
     806
     807.sed-deactivate-feedback-send.sed-ajax-loading .dashicons-admin-generic {
     808    width: 1em;
     809    visibility: visible;
     810}
     811
     812.sedicon-admin-spin {
     813  -webkit-animation: sedicon-admin-spin 2s infinite linear;
     814  animation:sedicon-admin-spin 2s infinite linear;
     815}
     816.sedicon-admin-pulse {
     817  -webkit-animation: sedicon-admin-spin 1s infinite steps(8);
     818  animation: sedicon-admin-spin 1s infinite steps(8);
     819}
     820@-webkit-keyframes sedicon-admin-spin {
     821  0% {
     822    -webkit-transform: rotate(0deg);
     823    transform: rotate(0deg);
     824  }
     825  100% {
     826    -webkit-transform: rotate(359deg);
     827    transform: rotate(359deg);
     828  }
     829}
     830@keyframes sedicon-admin-spin {
     831  0% {
     832    -webkit-transform: rotate(0deg);
     833    transform: rotate(0deg);
     834  }
     835  100% {
     836    -webkit-transform: rotate(359deg);
     837    transform: rotate(359deg);
     838  }
     839
  • site-editor/trunk/admin/templates/default/css/style.min.css

    r1640500 r1650000  
    11111111    text-align: left !important;
    11121112}
     1113
     1114
     1115/**
     1116* Jquery Ui Css
     1117*/
     1118
     1119/*! jQuery UI - v1.12.1 - 2017-04-23
     1120* http://jqueryui.com
     1121* Includes: draggable.css, core.css, resizable.css, selectable.css, sortable.css, accordion.css, autocomplete.css, menu.css, button.css, controlgroup.css, checkboxradio.css, datepicker.css, dialog.css, progressbar.css, selectmenu.css, slider.css, spinner.css, tabs.css, tooltip.css, theme.css
     1122* To view and modify this theme, visit http://jqueryui.com/themeroller/?scope=&folderName=base&cornerRadiusShadow=8px&offsetLeftShadow=0px&offsetTopShadow=0px&thicknessShadow=5px&opacityShadow=30&bgImgOpacityShadow=0&bgTextureShadow=flat&bgColorShadow=666666&opacityOverlay=30&bgImgOpacityOverlay=0&bgTextureOverlay=flat&bgColorOverlay=aaaaaa&iconColorError=cc0000&fcError=5f3f3f&borderColorError=f1a899&bgTextureError=flat&bgColorError=fddfdf&iconColorHighlight=777620&fcHighlight=777620&borderColorHighlight=dad55e&bgTextureHighlight=flat&bgColorHighlight=fffa90&iconColorActive=ffffff&fcActive=ffffff&borderColorActive=003eff&bgTextureActive=flat&bgColorActive=007fff&iconColorHover=555555&fcHover=2b2b2b&borderColorHover=cccccc&bgTextureHover=flat&bgColorHover=ededed&iconColorDefault=777777&fcDefault=454545&borderColorDefault=c5c5c5&bgTextureDefault=flat&bgColorDefault=f6f6f6&iconColorContent=444444&fcContent=333333&borderColorContent=dddddd&bgTextureContent=flat&bgColorContent=ffffff&iconColorHeader=444444&fcHeader=333333&borderColorHeader=dddddd&bgTextureHeader=flat&bgColorHeader=e9e9e9&cornerRadius=3px&fwDefault=normal&fsDefault=1em&ffDefault=Arial%2CHelvetica%2Csans-serif
     1123* Copyright jQuery Foundation and other contributors; Licensed MIT */
     1124
     1125.ui-draggable-handle {
     1126    -ms-touch-action: none;
     1127    touch-action: none;
     1128}
     1129/* Layout helpers
     1130----------------------------------*/
     1131.ui-helper-hidden {
     1132    display: none;
     1133}
     1134.ui-helper-hidden-accessible {
     1135    border: 0;
     1136    clip: rect(0 0 0 0);
     1137    height: 1px;
     1138    margin: -1px;
     1139    overflow: hidden;
     1140    padding: 0;
     1141    position: absolute;
     1142    width: 1px;
     1143}
     1144.ui-helper-reset {
     1145    margin: 0;
     1146    padding: 0;
     1147    border: 0;
     1148    outline: 0;
     1149    line-height: 1.3;
     1150    text-decoration: none;
     1151    font-size: 100%;
     1152    list-style: none;
     1153}
     1154.ui-helper-clearfix:before,
     1155.ui-helper-clearfix:after {
     1156    content: "";
     1157    display: table;
     1158    border-collapse: collapse;
     1159}
     1160.ui-helper-clearfix:after {
     1161    clear: both;
     1162}
     1163.ui-helper-zfix {
     1164    width: 100%;
     1165    height: 100%;
     1166    top: 0;
     1167    left: 0;
     1168    position: absolute;
     1169    opacity: 0;
     1170    filter:Alpha(Opacity=0); /* support: IE8 */
     1171}
     1172
     1173.ui-front {
     1174    z-index: 100;
     1175}
     1176
     1177
     1178/* Interaction Cues
     1179----------------------------------*/
     1180.ui-state-disabled {
     1181    cursor: default !important;
     1182    pointer-events: none;
     1183}
     1184
     1185
     1186/* Icons
     1187----------------------------------*/
     1188.ui-icon {
     1189    display: inline-block;
     1190    vertical-align: middle;
     1191    margin-top: -.25em;
     1192    position: relative;
     1193    text-indent: -99999px;
     1194    overflow: hidden;
     1195    background-repeat: no-repeat;
     1196}
     1197
     1198.ui-widget-icon-block {
     1199    left: 50%;
     1200    margin-left: -8px;
     1201    display: block;
     1202}
     1203
     1204/* Misc visuals
     1205----------------------------------*/
     1206
     1207/* Overlays */
     1208.ui-widget-overlay {
     1209    position: fixed;
     1210    top: 0;
     1211    left: 0;
     1212    width: 100%;
     1213    height: 100%;
     1214}
     1215.ui-resizable {
     1216    position: relative;
     1217}
     1218.ui-resizable-handle {
     1219    position: absolute;
     1220    font-size: 0.1px;
     1221    display: block;
     1222    -ms-touch-action: none;
     1223    touch-action: none;
     1224}
     1225.ui-resizable-disabled .ui-resizable-handle,
     1226.ui-resizable-autohide .ui-resizable-handle {
     1227    display: none;
     1228}
     1229.ui-resizable-n {
     1230    cursor: n-resize;
     1231    height: 7px;
     1232    width: 100%;
     1233    top: -5px;
     1234    left: 0;
     1235}
     1236.ui-resizable-s {
     1237    cursor: s-resize;
     1238    height: 7px;
     1239    width: 100%;
     1240    bottom: -5px;
     1241    left: 0;
     1242}
     1243.ui-resizable-e {
     1244    cursor: e-resize;
     1245    width: 7px;
     1246    right: -5px;
     1247    top: 0;
     1248    height: 100%;
     1249}
     1250.ui-resizable-w {
     1251    cursor: w-resize;
     1252    width: 7px;
     1253    left: -5px;
     1254    top: 0;
     1255    height: 100%;
     1256}
     1257.ui-resizable-se {
     1258    cursor: se-resize;
     1259    width: 12px;
     1260    height: 12px;
     1261    right: 1px;
     1262    bottom: 1px;
     1263}
     1264.ui-resizable-sw {
     1265    cursor: sw-resize;
     1266    width: 9px;
     1267    height: 9px;
     1268    left: -5px;
     1269    bottom: -5px;
     1270}
     1271.ui-resizable-nw {
     1272    cursor: nw-resize;
     1273    width: 9px;
     1274    height: 9px;
     1275    left: -5px;
     1276    top: -5px;
     1277}
     1278.ui-resizable-ne {
     1279    cursor: ne-resize;
     1280    width: 9px;
     1281    height: 9px;
     1282    right: -5px;
     1283    top: -5px;
     1284}
     1285.ui-selectable {
     1286    -ms-touch-action: none;
     1287    touch-action: none;
     1288}
     1289.ui-selectable-helper {
     1290    position: absolute;
     1291    z-index: 100;
     1292    border: 1px dotted black;
     1293}
     1294.ui-sortable-handle {
     1295    -ms-touch-action: none;
     1296    touch-action: none;
     1297}
     1298.ui-accordion .ui-accordion-header {
     1299    display: block;
     1300    cursor: pointer;
     1301    position: relative;
     1302    margin: 2px 0 0 0;
     1303    padding: .5em .5em .5em .7em;
     1304    font-size: 100%;
     1305}
     1306.ui-accordion .ui-accordion-content {
     1307    padding: 1em 2.2em;
     1308    border-top: 0;
     1309    overflow: auto;
     1310}
     1311.ui-autocomplete {
     1312    position: absolute;
     1313    top: 0;
     1314    left: 0;
     1315    cursor: default;
     1316}
     1317.ui-menu {
     1318    list-style: none;
     1319    padding: 0;
     1320    margin: 0;
     1321    display: block;
     1322    outline: 0;
     1323}
     1324.ui-menu .ui-menu {
     1325    position: absolute;
     1326}
     1327.ui-menu .ui-menu-item {
     1328    margin: 0;
     1329    cursor: pointer;
     1330    /* support: IE10, see #8844 */
     1331    list-style-image: url("data:image/gif;base64,R0lGODlhAQABAIAAAAAAAP///yH5BAEAAAAALAAAAAABAAEAAAIBRAA7");
     1332}
     1333.ui-menu .ui-menu-item-wrapper {
     1334    position: relative;
     1335    padding: 3px 1em 3px .4em;
     1336}
     1337.ui-menu .ui-menu-divider {
     1338    margin: 5px 0;
     1339    height: 0;
     1340    font-size: 0;
     1341    line-height: 0;
     1342    border-width: 1px 0 0 0;
     1343}
     1344.ui-menu .ui-state-focus,
     1345.ui-menu .ui-state-active {
     1346    margin: -1px;
     1347}
     1348
     1349/* icon support */
     1350.ui-menu-icons {
     1351    position: relative;
     1352}
     1353.ui-menu-icons .ui-menu-item-wrapper {
     1354    padding-left: 2em;
     1355}
     1356
     1357/* left-aligned */
     1358.ui-menu .ui-icon {
     1359    position: absolute;
     1360    top: 0;
     1361    bottom: 0;
     1362    left: .2em;
     1363    margin: auto 0;
     1364}
     1365
     1366/* right-aligned */
     1367.ui-menu .ui-menu-icon {
     1368    left: auto;
     1369    right: 0;
     1370}
     1371.ui-button {
     1372    padding: .4em 1em;
     1373    display: inline-block;
     1374    position: relative;
     1375    line-height: normal;
     1376    margin-right: .1em;
     1377    cursor: pointer;
     1378    vertical-align: middle;
     1379    text-align: center;
     1380    -webkit-user-select: none;
     1381    -moz-user-select: none;
     1382    -ms-user-select: none;
     1383    user-select: none;
     1384
     1385    /* Support: IE <= 11 */
     1386    overflow: visible;
     1387}
     1388
     1389.ui-button,
     1390.ui-button:link,
     1391.ui-button:visited,
     1392.ui-button:hover,
     1393.ui-button:active {
     1394    text-decoration: none;
     1395}
     1396
     1397/* to make room for the icon, a width needs to be set here */
     1398.ui-button-icon-only {
     1399    width: 2em;
     1400    box-sizing: border-box;
     1401    text-indent: -9999px;
     1402    white-space: nowrap;
     1403}
     1404
     1405/* no icon support for input elements */
     1406input.ui-button.ui-button-icon-only {
     1407    text-indent: 0;
     1408}
     1409
     1410/* button icon element(s) */
     1411.ui-button-icon-only .ui-icon {
     1412    position: absolute;
     1413    top: 50%;
     1414    left: 50%;
     1415    margin-top: -8px;
     1416    margin-left: -8px;
     1417}
     1418
     1419.ui-button.ui-icon-notext .ui-icon {
     1420    padding: 0;
     1421    width: 2.1em;
     1422    height: 2.1em;
     1423    text-indent: -9999px;
     1424    white-space: nowrap;
     1425
     1426}
     1427
     1428input.ui-button.ui-icon-notext .ui-icon {
     1429    width: auto;
     1430    height: auto;
     1431    text-indent: 0;
     1432    white-space: normal;
     1433    padding: .4em 1em;
     1434}
     1435
     1436/* workarounds */
     1437/* Support: Firefox 5 - 40 */
     1438input.ui-button::-moz-focus-inner,
     1439button.ui-button::-moz-focus-inner {
     1440    border: 0;
     1441    padding: 0;
     1442}
     1443.ui-controlgroup {
     1444    vertical-align: middle;
     1445    display: inline-block;
     1446}
     1447.ui-controlgroup > .ui-controlgroup-item {
     1448    float: left;
     1449    margin-left: 0;
     1450    margin-right: 0;
     1451}
     1452.ui-controlgroup > .ui-controlgroup-item:focus,
     1453.ui-controlgroup > .ui-controlgroup-item.ui-visual-focus {
     1454    z-index: 9999;
     1455}
     1456.ui-controlgroup-vertical > .ui-controlgroup-item {
     1457    display: block;
     1458    float: none;
     1459    width: 100%;
     1460    margin-top: 0;
     1461    margin-bottom: 0;
     1462    text-align: left;
     1463}
     1464.ui-controlgroup-vertical .ui-controlgroup-item {
     1465    box-sizing: border-box;
     1466}
     1467.ui-controlgroup .ui-controlgroup-label {
     1468    padding: .4em 1em;
     1469}
     1470.ui-controlgroup .ui-controlgroup-label span {
     1471    font-size: 80%;
     1472}
     1473.ui-controlgroup-horizontal .ui-controlgroup-label + .ui-controlgroup-item {
     1474    border-left: none;
     1475}
     1476.ui-controlgroup-vertical .ui-controlgroup-label + .ui-controlgroup-item {
     1477    border-top: none;
     1478}
     1479.ui-controlgroup-horizontal .ui-controlgroup-label.ui-widget-content {
     1480    border-right: none;
     1481}
     1482.ui-controlgroup-vertical .ui-controlgroup-label.ui-widget-content {
     1483    border-bottom: none;
     1484}
     1485
     1486/* Spinner specific style fixes */
     1487.ui-controlgroup-vertical .ui-spinner-input {
     1488
     1489    /* Support: IE8 only, Android < 4.4 only */
     1490    width: 75%;
     1491    width: calc( 100% - 2.4em );
     1492}
     1493.ui-controlgroup-vertical .ui-spinner .ui-spinner-up {
     1494    border-top-style: solid;
     1495}
     1496
     1497.ui-checkboxradio-label .ui-icon-background {
     1498    box-shadow: inset 1px 1px 1px #ccc;
     1499    border-radius: .12em;
     1500    border: none;
     1501}
     1502.ui-checkboxradio-radio-label .ui-icon-background {
     1503    width: 16px;
     1504    height: 16px;
     1505    border-radius: 1em;
     1506    overflow: visible;
     1507    border: none;
     1508}
     1509.ui-checkboxradio-radio-label.ui-checkboxradio-checked .ui-icon,
     1510.ui-checkboxradio-radio-label.ui-checkboxradio-checked:hover .ui-icon {
     1511    background-image: none;
     1512    width: 8px;
     1513    height: 8px;
     1514    border-width: 4px;
     1515    border-style: solid;
     1516}
     1517.ui-checkboxradio-disabled {
     1518    pointer-events: none;
     1519}
     1520.ui-datepicker {
     1521    width: 17em;
     1522    padding: .2em .2em 0;
     1523    display: none;
     1524}
     1525.ui-datepicker .ui-datepicker-header {
     1526    position: relative;
     1527    padding: .2em 0;
     1528}
     1529.ui-datepicker .ui-datepicker-prev,
     1530.ui-datepicker .ui-datepicker-next {
     1531    position: absolute;
     1532    top: 2px;
     1533    width: 1.8em;
     1534    height: 1.8em;
     1535}
     1536.ui-datepicker .ui-datepicker-prev-hover,
     1537.ui-datepicker .ui-datepicker-next-hover {
     1538    top: 1px;
     1539}
     1540.ui-datepicker .ui-datepicker-prev {
     1541    left: 2px;
     1542}
     1543.ui-datepicker .ui-datepicker-next {
     1544    right: 2px;
     1545}
     1546.ui-datepicker .ui-datepicker-prev-hover {
     1547    left: 1px;
     1548}
     1549.ui-datepicker .ui-datepicker-next-hover {
     1550    right: 1px;
     1551}
     1552.ui-datepicker .ui-datepicker-prev span,
     1553.ui-datepicker .ui-datepicker-next span {
     1554    display: block;
     1555    position: absolute;
     1556    left: 50%;
     1557    margin-left: -8px;
     1558    top: 50%;
     1559    margin-top: -8px;
     1560}
     1561.ui-datepicker .ui-datepicker-title {
     1562    margin: 0 2.3em;
     1563    line-height: 1.8em;
     1564    text-align: center;
     1565}
     1566.ui-datepicker .ui-datepicker-title select {
     1567    font-size: 1em;
     1568    margin: 1px 0;
     1569}
     1570.ui-datepicker select.ui-datepicker-month,
     1571.ui-datepicker select.ui-datepicker-year {
     1572    width: 45%;
     1573}
     1574.ui-datepicker table {
     1575    width: 100%;
     1576    font-size: .9em;
     1577    border-collapse: collapse;
     1578    margin: 0 0 .4em;
     1579}
     1580.ui-datepicker th {
     1581    padding: .7em .3em;
     1582    text-align: center;
     1583    font-weight: bold;
     1584    border: 0;
     1585}
     1586.ui-datepicker td {
     1587    border: 0;
     1588    padding: 1px;
     1589}
     1590.ui-datepicker td span,
     1591.ui-datepicker td a {
     1592    display: block;
     1593    padding: .2em;
     1594    text-align: right;
     1595    text-decoration: none;
     1596}
     1597.ui-datepicker .ui-datepicker-buttonpane {
     1598    background-image: none;
     1599    margin: .7em 0 0 0;
     1600    padding: 0 .2em;
     1601    border-left: 0;
     1602    border-right: 0;
     1603    border-bottom: 0;
     1604}
     1605.ui-datepicker .ui-datepicker-buttonpane button {
     1606    float: right;
     1607    margin: .5em .2em .4em;
     1608    cursor: pointer;
     1609    padding: .2em .6em .3em .6em;
     1610    width: auto;
     1611    overflow: visible;
     1612}
     1613.ui-datepicker .ui-datepicker-buttonpane button.ui-datepicker-current {
     1614    float: left;
     1615}
     1616
     1617/* with multiple calendars */
     1618.ui-datepicker.ui-datepicker-multi {
     1619    width: auto;
     1620}
     1621.ui-datepicker-multi .ui-datepicker-group {
     1622    float: left;
     1623}
     1624.ui-datepicker-multi .ui-datepicker-group table {
     1625    width: 95%;
     1626    margin: 0 auto .4em;
     1627}
     1628.ui-datepicker-multi-2 .ui-datepicker-group {
     1629    width: 50%;
     1630}
     1631.ui-datepicker-multi-3 .ui-datepicker-group {
     1632    width: 33.3%;
     1633}
     1634.ui-datepicker-multi-4 .ui-datepicker-group {
     1635    width: 25%;
     1636}
     1637.ui-datepicker-multi .ui-datepicker-group-last .ui-datepicker-header,
     1638.ui-datepicker-multi .ui-datepicker-group-middle .ui-datepicker-header {
     1639    border-left-width: 0;
     1640}
     1641.ui-datepicker-multi .ui-datepicker-buttonpane {
     1642    clear: left;
     1643}
     1644.ui-datepicker-row-break {
     1645    clear: both;
     1646    width: 100%;
     1647    font-size: 0;
     1648}
     1649
     1650/* RTL support */
     1651.ui-datepicker-rtl {
     1652    direction: rtl;
     1653}
     1654.ui-datepicker-rtl .ui-datepicker-prev {
     1655    right: 2px;
     1656    left: auto;
     1657}
     1658.ui-datepicker-rtl .ui-datepicker-next {
     1659    left: 2px;
     1660    right: auto;
     1661}
     1662.ui-datepicker-rtl .ui-datepicker-prev:hover {
     1663    right: 1px;
     1664    left: auto;
     1665}
     1666.ui-datepicker-rtl .ui-datepicker-next:hover {
     1667    left: 1px;
     1668    right: auto;
     1669}
     1670.ui-datepicker-rtl .ui-datepicker-buttonpane {
     1671    clear: right;
     1672}
     1673.ui-datepicker-rtl .ui-datepicker-buttonpane button {
     1674    float: left;
     1675}
     1676.ui-datepicker-rtl .ui-datepicker-buttonpane button.ui-datepicker-current,
     1677.ui-datepicker-rtl .ui-datepicker-group {
     1678    float: right;
     1679}
     1680.ui-datepicker-rtl .ui-datepicker-group-last .ui-datepicker-header,
     1681.ui-datepicker-rtl .ui-datepicker-group-middle .ui-datepicker-header {
     1682    border-right-width: 0;
     1683    border-left-width: 1px;
     1684}
     1685
     1686/* Icons */
     1687.ui-datepicker .ui-icon {
     1688    display: block;
     1689    text-indent: -99999px;
     1690    overflow: hidden;
     1691    background-repeat: no-repeat;
     1692    left: .5em;
     1693    top: .3em;
     1694}
     1695.ui-dialog {
     1696    position: absolute;
     1697    top: 0;
     1698    left: 0;
     1699    padding: .2em;
     1700    outline: 0;
     1701}
     1702.ui-dialog .ui-dialog-titlebar {
     1703    padding: .4em 1em;
     1704    position: relative;
     1705}
     1706.ui-dialog .ui-dialog-title {
     1707    float: left;
     1708    margin: .1em 0;
     1709    white-space: nowrap;
     1710    width: 90%;
     1711    overflow: hidden;
     1712    text-overflow: ellipsis;
     1713}
     1714.ui-dialog .ui-dialog-titlebar-close {
     1715    position: absolute;
     1716    right: .3em;
     1717    top: 50%;
     1718    width: 20px;
     1719    margin: -10px 0 0 0;
     1720    padding: 1px;
     1721    height: 20px;
     1722}
     1723.ui-dialog .ui-dialog-content {
     1724    position: relative;
     1725    border: 0;
     1726    padding: .5em 1em;
     1727    background: none;
     1728    overflow: auto;
     1729}
     1730.ui-dialog .ui-dialog-buttonpane {
     1731    text-align: left;
     1732    border-width: 1px 0 0 0;
     1733    background-image: none;
     1734    margin-top: .5em;
     1735    padding: .3em 1em .5em .4em;
     1736}
     1737.ui-dialog .ui-dialog-buttonpane .ui-dialog-buttonset {
     1738    float: right;
     1739}
     1740.ui-dialog .ui-dialog-buttonpane button {
     1741    margin: .5em .4em .5em 0;
     1742    cursor: pointer;
     1743}
     1744.ui-dialog .ui-resizable-n {
     1745    height: 2px;
     1746    top: 0;
     1747}
     1748.ui-dialog .ui-resizable-e {
     1749    width: 2px;
     1750    right: 0;
     1751}
     1752.ui-dialog .ui-resizable-s {
     1753    height: 2px;
     1754    bottom: 0;
     1755}
     1756.ui-dialog .ui-resizable-w {
     1757    width: 2px;
     1758    left: 0;
     1759}
     1760.ui-dialog .ui-resizable-se,
     1761.ui-dialog .ui-resizable-sw,
     1762.ui-dialog .ui-resizable-ne,
     1763.ui-dialog .ui-resizable-nw {
     1764    width: 7px;
     1765    height: 7px;
     1766}
     1767.ui-dialog .ui-resizable-se {
     1768    right: 0;
     1769    bottom: 0;
     1770}
     1771.ui-dialog .ui-resizable-sw {
     1772    left: 0;
     1773    bottom: 0;
     1774}
     1775.ui-dialog .ui-resizable-ne {
     1776    right: 0;
     1777    top: 0;
     1778}
     1779.ui-dialog .ui-resizable-nw {
     1780    left: 0;
     1781    top: 0;
     1782}
     1783.ui-draggable .ui-dialog-titlebar {
     1784    cursor: move;
     1785}
     1786.ui-progressbar {
     1787    height: 2em;
     1788    text-align: left;
     1789    overflow: hidden;
     1790}
     1791.ui-progressbar .ui-progressbar-value {
     1792    margin: -1px;
     1793    height: 100%;
     1794}
     1795.ui-progressbar .ui-progressbar-overlay {
     1796    background: url("data:image/gif;base64,R0lGODlhKAAoAIABAAAAAP///yH/C05FVFNDQVBFMi4wAwEAAAAh+QQJAQABACwAAAAAKAAoAAACkYwNqXrdC52DS06a7MFZI+4FHBCKoDeWKXqymPqGqxvJrXZbMx7Ttc+w9XgU2FB3lOyQRWET2IFGiU9m1frDVpxZZc6bfHwv4c1YXP6k1Vdy292Fb6UkuvFtXpvWSzA+HycXJHUXiGYIiMg2R6W459gnWGfHNdjIqDWVqemH2ekpObkpOlppWUqZiqr6edqqWQAAIfkECQEAAQAsAAAAACgAKAAAApSMgZnGfaqcg1E2uuzDmmHUBR8Qil95hiPKqWn3aqtLsS18y7G1SzNeowWBENtQd+T1JktP05nzPTdJZlR6vUxNWWjV+vUWhWNkWFwxl9VpZRedYcflIOLafaa28XdsH/ynlcc1uPVDZxQIR0K25+cICCmoqCe5mGhZOfeYSUh5yJcJyrkZWWpaR8doJ2o4NYq62lAAACH5BAkBAAEALAAAAAAoACgAAAKVDI4Yy22ZnINRNqosw0Bv7i1gyHUkFj7oSaWlu3ovC8GxNso5fluz3qLVhBVeT/Lz7ZTHyxL5dDalQWPVOsQWtRnuwXaFTj9jVVh8pma9JjZ4zYSj5ZOyma7uuolffh+IR5aW97cHuBUXKGKXlKjn+DiHWMcYJah4N0lYCMlJOXipGRr5qdgoSTrqWSq6WFl2ypoaUAAAIfkECQEAAQAsAAAAACgAKAAAApaEb6HLgd/iO7FNWtcFWe+ufODGjRfoiJ2akShbueb0wtI50zm02pbvwfWEMWBQ1zKGlLIhskiEPm9R6vRXxV4ZzWT2yHOGpWMyorblKlNp8HmHEb/lCXjcW7bmtXP8Xt229OVWR1fod2eWqNfHuMjXCPkIGNileOiImVmCOEmoSfn3yXlJWmoHGhqp6ilYuWYpmTqKUgAAIfkECQEAAQAsAAAAACgAKAAAApiEH6kb58biQ3FNWtMFWW3eNVcojuFGfqnZqSebuS06w5V80/X02pKe8zFwP6EFWOT1lDFk8rGERh1TTNOocQ61Hm4Xm2VexUHpzjymViHrFbiELsefVrn6XKfnt2Q9G/+Xdie499XHd2g4h7ioOGhXGJboGAnXSBnoBwKYyfioubZJ2Hn0RuRZaflZOil56Zp6iioKSXpUAAAh+QQJAQABACwAAAAAKAAoAAACkoQRqRvnxuI7kU1a1UU5bd5tnSeOZXhmn5lWK3qNTWvRdQxP8qvaC+/yaYQzXO7BMvaUEmJRd3TsiMAgswmNYrSgZdYrTX6tSHGZO73ezuAw2uxuQ+BbeZfMxsexY35+/Qe4J1inV0g4x3WHuMhIl2jXOKT2Q+VU5fgoSUI52VfZyfkJGkha6jmY+aaYdirq+lQAACH5BAkBAAEALAAAAAAoACgAAAKWBIKpYe0L3YNKToqswUlvznigd4wiR4KhZrKt9Upqip61i9E3vMvxRdHlbEFiEXfk9YARYxOZZD6VQ2pUunBmtRXo1Lf8hMVVcNl8JafV38aM2/Fu5V16Bn63r6xt97j09+MXSFi4BniGFae3hzbH9+hYBzkpuUh5aZmHuanZOZgIuvbGiNeomCnaxxap2upaCZsq+1kAACH5BAkBAAEALAAAAAAoACgAAAKXjI8By5zf4kOxTVrXNVlv1X0d8IGZGKLnNpYtm8Lr9cqVeuOSvfOW79D9aDHizNhDJidFZhNydEahOaDH6nomtJjp1tutKoNWkvA6JqfRVLHU/QUfau9l2x7G54d1fl995xcIGAdXqMfBNadoYrhH+Mg2KBlpVpbluCiXmMnZ2Sh4GBqJ+ckIOqqJ6LmKSllZmsoq6wpQAAAh+QQJAQABACwAAAAAKAAoAAAClYx/oLvoxuJDkU1a1YUZbJ59nSd2ZXhWqbRa2/gF8Gu2DY3iqs7yrq+xBYEkYvFSM8aSSObE+ZgRl1BHFZNr7pRCavZ5BW2142hY3AN/zWtsmf12p9XxxFl2lpLn1rseztfXZjdIWIf2s5dItwjYKBgo9yg5pHgzJXTEeGlZuenpyPmpGQoKOWkYmSpaSnqKileI2FAAACH5BAkBAAEALAAAAAAoACgAAAKVjB+gu+jG4kORTVrVhRlsnn2dJ3ZleFaptFrb+CXmO9OozeL5VfP99HvAWhpiUdcwkpBH3825AwYdU8xTqlLGhtCosArKMpvfa1mMRae9VvWZfeB2XfPkeLmm18lUcBj+p5dnN8jXZ3YIGEhYuOUn45aoCDkp16hl5IjYJvjWKcnoGQpqyPlpOhr3aElaqrq56Bq7VAAAOw==");
     1797    height: 100%;
     1798    filter: alpha(opacity=25); /* support: IE8 */
     1799    opacity: 0.25;
     1800}
     1801.ui-progressbar-indeterminate .ui-progressbar-value {
     1802    background-image: none;
     1803}
     1804.ui-selectmenu-menu {
     1805    padding: 0;
     1806    margin: 0;
     1807    position: absolute;
     1808    top: 0;
     1809    left: 0;
     1810    display: none;
     1811}
     1812.ui-selectmenu-menu .ui-menu {
     1813    overflow: auto;
     1814    overflow-x: hidden;
     1815    padding-bottom: 1px;
     1816}
     1817.ui-selectmenu-menu .ui-menu .ui-selectmenu-optgroup {
     1818    font-size: 1em;
     1819    font-weight: bold;
     1820    line-height: 1.5;
     1821    padding: 2px 0.4em;
     1822    margin: 0.5em 0 0 0;
     1823    height: auto;
     1824    border: 0;
     1825}
     1826.ui-selectmenu-open {
     1827    display: block;
     1828}
     1829.ui-selectmenu-text {
     1830    display: block;
     1831    margin-right: 20px;
     1832    overflow: hidden;
     1833    text-overflow: ellipsis;
     1834}
     1835.ui-selectmenu-button.ui-button {
     1836    text-align: left;
     1837    white-space: nowrap;
     1838    width: 14em;
     1839}
     1840.ui-selectmenu-icon.ui-icon {
     1841    float: right;
     1842    margin-top: 0;
     1843}
     1844.ui-slider {
     1845    position: relative;
     1846    text-align: left;
     1847}
     1848.ui-slider .ui-slider-handle {
     1849    position: absolute;
     1850    z-index: 2;
     1851    width: 1.2em;
     1852    height: 1.2em;
     1853    cursor: default;
     1854    -ms-touch-action: none;
     1855    touch-action: none;
     1856}
     1857.ui-slider .ui-slider-range {
     1858    position: absolute;
     1859    z-index: 1;
     1860    font-size: .7em;
     1861    display: block;
     1862    border: 0;
     1863    background-position: 0 0;
     1864}
     1865
     1866/* support: IE8 - See #6727 */
     1867.ui-slider.ui-state-disabled .ui-slider-handle,
     1868.ui-slider.ui-state-disabled .ui-slider-range {
     1869    filter: inherit;
     1870}
     1871
     1872.ui-slider-horizontal {
     1873    height: .8em;
     1874}
     1875.ui-slider-horizontal .ui-slider-handle {
     1876    top: -.3em;
     1877    margin-left: -.6em;
     1878}
     1879.ui-slider-horizontal .ui-slider-range {
     1880    top: 0;
     1881    height: 100%;
     1882}
     1883.ui-slider-horizontal .ui-slider-range-min {
     1884    left: 0;
     1885}
     1886.ui-slider-horizontal .ui-slider-range-max {
     1887    right: 0;
     1888}
     1889
     1890.ui-slider-vertical {
     1891    width: .8em;
     1892    height: 100px;
     1893}
     1894.ui-slider-vertical .ui-slider-handle {
     1895    left: -.3em;
     1896    margin-left: 0;
     1897    margin-bottom: -.6em;
     1898}
     1899.ui-slider-vertical .ui-slider-range {
     1900    left: 0;
     1901    width: 100%;
     1902}
     1903.ui-slider-vertical .ui-slider-range-min {
     1904    bottom: 0;
     1905}
     1906.ui-slider-vertical .ui-slider-range-max {
     1907    top: 0;
     1908}
     1909.ui-spinner {
     1910    position: relative;
     1911    display: inline-block;
     1912    overflow: hidden;
     1913    padding: 0;
     1914    vertical-align: middle;
     1915}
     1916.ui-spinner-input {
     1917    border: none;
     1918    background: none;
     1919    color: inherit;
     1920    padding: .222em 0;
     1921    margin: .2em 0;
     1922    vertical-align: middle;
     1923    margin-left: .4em;
     1924    margin-right: 2em;
     1925}
     1926.ui-spinner-button {
     1927    width: 1.6em;
     1928    height: 50%;
     1929    font-size: .5em;
     1930    padding: 0;
     1931    margin: 0;
     1932    text-align: center;
     1933    position: absolute;
     1934    cursor: default;
     1935    display: block;
     1936    overflow: hidden;
     1937    right: 0;
     1938}
     1939/* more specificity required here to override default borders */
     1940.ui-spinner a.ui-spinner-button {
     1941    border-top-style: none;
     1942    border-bottom-style: none;
     1943    border-right-style: none;
     1944}
     1945.ui-spinner-up {
     1946    top: 0;
     1947}
     1948.ui-spinner-down {
     1949    bottom: 0;
     1950}
     1951.ui-tabs {
     1952    position: relative;/* position: relative prevents IE scroll bug (element with position: relative inside container with overflow: auto appear as "fixed") */
     1953    padding: .2em;
     1954}
     1955.ui-tabs .ui-tabs-nav {
     1956    margin: 0;
     1957    padding: .2em .2em 0;
     1958}
     1959.ui-tabs .ui-tabs-nav li {
     1960    list-style: none;
     1961    float: left;
     1962    position: relative;
     1963    top: 0;
     1964    margin: 1px .2em 0 0;
     1965    border-bottom-width: 0;
     1966    padding: 0;
     1967    white-space: nowrap;
     1968}
     1969.ui-tabs .ui-tabs-nav .ui-tabs-anchor {
     1970    float: left;
     1971    padding: .5em 1em;
     1972    text-decoration: none;
     1973}
     1974.ui-tabs .ui-tabs-nav li.ui-tabs-active {
     1975    margin-bottom: -1px;
     1976    padding-bottom: 1px;
     1977}
     1978.ui-tabs .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor,
     1979.ui-tabs .ui-tabs-nav li.ui-state-disabled .ui-tabs-anchor,
     1980.ui-tabs .ui-tabs-nav li.ui-tabs-loading .ui-tabs-anchor {
     1981    cursor: text;
     1982}
     1983.ui-tabs-collapsible .ui-tabs-nav li.ui-tabs-active .ui-tabs-anchor {
     1984    cursor: pointer;
     1985}
     1986.ui-tabs .ui-tabs-panel {
     1987    display: block;
     1988    border-width: 0;
     1989    padding: 1em 1.4em;
     1990    background: none;
     1991}
     1992.ui-tooltip {
     1993    padding: 8px;
     1994    position: absolute;
     1995    z-index: 9999;
     1996    max-width: 300px;
     1997}
     1998body .ui-tooltip {
     1999    border-width: 2px;
     2000}
     2001
     2002/* Component containers
     2003----------------------------------*/
     2004.ui-widget {
     2005    font-family: Arial,Helvetica,sans-serif;
     2006    font-size: 1em;
     2007}
     2008.ui-widget .ui-widget {
     2009    font-size: 1em;
     2010}
     2011.ui-widget input,
     2012.ui-widget select,
     2013.ui-widget textarea,
     2014.ui-widget button {
     2015    font-family: Arial,Helvetica,sans-serif;
     2016    font-size: 1em;
     2017}
     2018.ui-widget.ui-widget-content {
     2019    border: 1px solid #c5c5c5;
     2020}
     2021.ui-widget-content {
     2022    border: 1px solid #dddddd;
     2023    background: #ffffff;
     2024    color: #333333;
     2025}
     2026.ui-widget-content a {
     2027    color: #333333;
     2028}
     2029.ui-widget-header {
     2030    border: 1px solid #dddddd;
     2031    background: #e9e9e9;
     2032    color: #333333;
     2033    font-weight: bold;
     2034}
     2035.ui-widget-header a {
     2036    color: #333333;
     2037}
     2038
     2039/* Interaction states
     2040----------------------------------*/
     2041.ui-state-default,
     2042.ui-widget-content .ui-state-default,
     2043.ui-widget-header .ui-state-default,
     2044.ui-button,
     2045
     2046    /* We use html here because we need a greater specificity to make sure disabled
     2047    works properly when clicked or hovered */
     2048html .ui-button.ui-state-disabled:hover,
     2049html .ui-button.ui-state-disabled:active {
     2050    border: 1px solid #c5c5c5;
     2051    background: #f6f6f6;
     2052    font-weight: normal;
     2053    color: #454545;
     2054}
     2055.ui-state-default a,
     2056.ui-state-default a:link,
     2057.ui-state-default a:visited,
     2058a.ui-button,
     2059a:link.ui-button,
     2060a:visited.ui-button,
     2061.ui-button {
     2062    color: #454545;
     2063    text-decoration: none;
     2064}
     2065.ui-state-hover,
     2066.ui-widget-content .ui-state-hover,
     2067.ui-widget-header .ui-state-hover,
     2068.ui-state-focus,
     2069.ui-widget-content .ui-state-focus,
     2070.ui-widget-header .ui-state-focus,
     2071.ui-button:hover,
     2072.ui-button:focus {
     2073    border: 1px solid #cccccc;
     2074    background: #ededed;
     2075    font-weight: normal;
     2076    color: #2b2b2b;
     2077}
     2078.ui-state-hover a,
     2079.ui-state-hover a:hover,
     2080.ui-state-hover a:link,
     2081.ui-state-hover a:visited,
     2082.ui-state-focus a,
     2083.ui-state-focus a:hover,
     2084.ui-state-focus a:link,
     2085.ui-state-focus a:visited,
     2086a.ui-button:hover,
     2087a.ui-button:focus {
     2088    color: #2b2b2b;
     2089    text-decoration: none;
     2090}
     2091
     2092.ui-visual-focus {
     2093    box-shadow: 0 0 3px 1px rgb(94, 158, 214);
     2094}
     2095.ui-state-active,
     2096.ui-widget-content .ui-state-active,
     2097.ui-widget-header .ui-state-active,
     2098a.ui-button:active,
     2099.ui-button:active,
     2100.ui-button.ui-state-active:hover {
     2101    border: 1px solid #003eff;
     2102    background: #007fff;
     2103    font-weight: normal;
     2104    color: #ffffff;
     2105}
     2106.ui-icon-background,
     2107.ui-state-active .ui-icon-background {
     2108    border: #003eff;
     2109    background-color: #ffffff;
     2110}
     2111.ui-state-active a,
     2112.ui-state-active a:link,
     2113.ui-state-active a:visited {
     2114    color: #ffffff;
     2115    text-decoration: none;
     2116}
     2117
     2118/* Interaction Cues
     2119----------------------------------*/
     2120.ui-state-highlight,
     2121.ui-widget-content .ui-state-highlight,
     2122.ui-widget-header .ui-state-highlight {
     2123    border: 1px solid #dad55e;
     2124    background: #fffa90;
     2125    color: #777620;
     2126}
     2127.ui-state-checked {
     2128    border: 1px solid #dad55e;
     2129    background: #fffa90;
     2130}
     2131.ui-state-highlight a,
     2132.ui-widget-content .ui-state-highlight a,
     2133.ui-widget-header .ui-state-highlight a {
     2134    color: #777620;
     2135}
     2136.ui-state-error,
     2137.ui-widget-content .ui-state-error,
     2138.ui-widget-header .ui-state-error {
     2139    border: 1px solid #f1a899;
     2140    background: #fddfdf;
     2141    color: #5f3f3f;
     2142}
     2143.ui-state-error a,
     2144.ui-widget-content .ui-state-error a,
     2145.ui-widget-header .ui-state-error a {
     2146    color: #5f3f3f;
     2147}
     2148.ui-state-error-text,
     2149.ui-widget-content .ui-state-error-text,
     2150.ui-widget-header .ui-state-error-text {
     2151    color: #5f3f3f;
     2152}
     2153.ui-priority-primary,
     2154.ui-widget-content .ui-priority-primary,
     2155.ui-widget-header .ui-priority-primary {
     2156    font-weight: bold;
     2157}
     2158.ui-priority-secondary,
     2159.ui-widget-content .ui-priority-secondary,
     2160.ui-widget-header .ui-priority-secondary {
     2161    opacity: .7;
     2162    filter:Alpha(Opacity=70); /* support: IE8 */
     2163    font-weight: normal;
     2164}
     2165.ui-state-disabled,
     2166.ui-widget-content .ui-state-disabled,
     2167.ui-widget-header .ui-state-disabled {
     2168    opacity: .35;
     2169    filter:Alpha(Opacity=35); /* support: IE8 */
     2170    background-image: none;
     2171}
     2172.ui-state-disabled .ui-icon {
     2173    filter:Alpha(Opacity=35); /* support: IE8 - See #6059 */
     2174}
     2175
     2176/* Icons
     2177----------------------------------*/
     2178
     2179/* states and images */
     2180.ui-icon {
     2181    width: 16px;
     2182    height: 16px;
     2183}
     2184.ui-icon,
     2185.ui-widget-content .ui-icon {
     2186    background-image: url("images/ui-icons_444444_256x240.png");
     2187}
     2188.ui-widget-header .ui-icon {
     2189    background-image: url("images/ui-icons_444444_256x240.png");
     2190}
     2191.ui-state-hover .ui-icon,
     2192.ui-state-focus .ui-icon,
     2193.ui-button:hover .ui-icon,
     2194.ui-button:focus .ui-icon {
     2195    background-image: url("images/ui-icons_555555_256x240.png");
     2196}
     2197.ui-state-active .ui-icon,
     2198.ui-button:active .ui-icon {
     2199    background-image: url("images/ui-icons_ffffff_256x240.png");
     2200}
     2201.ui-state-highlight .ui-icon,
     2202.ui-button .ui-state-highlight.ui-icon {
     2203    background-image: url("images/ui-icons_777620_256x240.png");
     2204}
     2205.ui-state-error .ui-icon,
     2206.ui-state-error-text .ui-icon {
     2207    background-image: url("images/ui-icons_cc0000_256x240.png");
     2208}
     2209.ui-button .ui-icon {
     2210    background-image: url("images/ui-icons_777777_256x240.png");
     2211}
     2212
     2213/* positioning */
     2214.ui-icon-blank { background-position: 16px 16px; }
     2215.ui-icon-caret-1-n { background-position: 0 0; }
     2216.ui-icon-caret-1-ne { background-position: -16px 0; }
     2217.ui-icon-caret-1-e { background-position: -32px 0; }
     2218.ui-icon-caret-1-se { background-position: -48px 0; }
     2219.ui-icon-caret-1-s { background-position: -65px 0; }
     2220.ui-icon-caret-1-sw { background-position: -80px 0; }
     2221.ui-icon-caret-1-w { background-position: -96px 0; }
     2222.ui-icon-caret-1-nw { background-position: -112px 0; }
     2223.ui-icon-caret-2-n-s { background-position: -128px 0; }
     2224.ui-icon-caret-2-e-w { background-position: -144px 0; }
     2225.ui-icon-triangle-1-n { background-position: 0 -16px; }
     2226.ui-icon-triangle-1-ne { background-position: -16px -16px; }
     2227.ui-icon-triangle-1-e { background-position: -32px -16px; }
     2228.ui-icon-triangle-1-se { background-position: -48px -16px; }
     2229.ui-icon-triangle-1-s { background-position: -65px -16px; }
     2230.ui-icon-triangle-1-sw { background-position: -80px -16px; }
     2231.ui-icon-triangle-1-w { background-position: -96px -16px; }
     2232.ui-icon-triangle-1-nw { background-position: -112px -16px; }
     2233.ui-icon-triangle-2-n-s { background-position: -128px -16px; }
     2234.ui-icon-triangle-2-e-w { background-position: -144px -16px; }
     2235.ui-icon-arrow-1-n { background-position: 0 -32px; }
     2236.ui-icon-arrow-1-ne { background-position: -16px -32px; }
     2237.ui-icon-arrow-1-e { background-position: -32px -32px; }
     2238.ui-icon-arrow-1-se { background-position: -48px -32px; }
     2239.ui-icon-arrow-1-s { background-position: -65px -32px; }
     2240.ui-icon-arrow-1-sw { background-position: -80px -32px; }
     2241.ui-icon-arrow-1-w { background-position: -96px -32px; }
     2242.ui-icon-arrow-1-nw { background-position: -112px -32px; }
     2243.ui-icon-arrow-2-n-s { background-position: -128px -32px; }
     2244.ui-icon-arrow-2-ne-sw { background-position: -144px -32px; }
     2245.ui-icon-arrow-2-e-w { background-position: -160px -32px; }
     2246.ui-icon-arrow-2-se-nw { background-position: -176px -32px; }
     2247.ui-icon-arrowstop-1-n { background-position: -192px -32px; }
     2248.ui-icon-arrowstop-1-e { background-position: -208px -32px; }
     2249.ui-icon-arrowstop-1-s { background-position: -224px -32px; }
     2250.ui-icon-arrowstop-1-w { background-position: -240px -32px; }
     2251.ui-icon-arrowthick-1-n { background-position: 1px -48px; }
     2252.ui-icon-arrowthick-1-ne { background-position: -16px -48px; }
     2253.ui-icon-arrowthick-1-e { background-position: -32px -48px; }
     2254.ui-icon-arrowthick-1-se { background-position: -48px -48px; }
     2255.ui-icon-arrowthick-1-s { background-position: -64px -48px; }
     2256.ui-icon-arrowthick-1-sw { background-position: -80px -48px; }
     2257.ui-icon-arrowthick-1-w { background-position: -96px -48px; }
     2258.ui-icon-arrowthick-1-nw { background-position: -112px -48px; }
     2259.ui-icon-arrowthick-2-n-s { background-position: -128px -48px; }
     2260.ui-icon-arrowthick-2-ne-sw { background-position: -144px -48px; }
     2261.ui-icon-arrowthick-2-e-w { background-position: -160px -48px; }
     2262.ui-icon-arrowthick-2-se-nw { background-position: -176px -48px; }
     2263.ui-icon-arrowthickstop-1-n { background-position: -192px -48px; }
     2264.ui-icon-arrowthickstop-1-e { background-position: -208px -48px; }
     2265.ui-icon-arrowthickstop-1-s { background-position: -224px -48px; }
     2266.ui-icon-arrowthickstop-1-w { background-position: -240px -48px; }
     2267.ui-icon-arrowreturnthick-1-w { background-position: 0 -64px; }
     2268.ui-icon-arrowreturnthick-1-n { background-position: -16px -64px; }
     2269.ui-icon-arrowreturnthick-1-e { background-position: -32px -64px; }
     2270.ui-icon-arrowreturnthick-1-s { background-position: -48px -64px; }
     2271.ui-icon-arrowreturn-1-w { background-position: -64px -64px; }
     2272.ui-icon-arrowreturn-1-n { background-position: -80px -64px; }
     2273.ui-icon-arrowreturn-1-e { background-position: -96px -64px; }
     2274.ui-icon-arrowreturn-1-s { background-position: -112px -64px; }
     2275.ui-icon-arrowrefresh-1-w { background-position: -128px -64px; }
     2276.ui-icon-arrowrefresh-1-n { background-position: -144px -64px; }
     2277.ui-icon-arrowrefresh-1-e { background-position: -160px -64px; }
     2278.ui-icon-arrowrefresh-1-s { background-position: -176px -64px; }
     2279.ui-icon-arrow-4 { background-position: 0 -80px; }
     2280.ui-icon-arrow-4-diag { background-position: -16px -80px; }
     2281.ui-icon-extlink { background-position: -32px -80px; }
     2282.ui-icon-newwin { background-position: -48px -80px; }
     2283.ui-icon-refresh { background-position: -64px -80px; }
     2284.ui-icon-shuffle { background-position: -80px -80px; }
     2285.ui-icon-transfer-e-w { background-position: -96px -80px; }
     2286.ui-icon-transferthick-e-w { background-position: -112px -80px; }
     2287.ui-icon-folder-collapsed { background-position: 0 -96px; }
     2288.ui-icon-folder-open { background-position: -16px -96px; }
     2289.ui-icon-document { background-position: -32px -96px; }
     2290.ui-icon-document-b { background-position: -48px -96px; }
     2291.ui-icon-note { background-position: -64px -96px; }
     2292.ui-icon-mail-closed { background-position: -80px -96px; }
     2293.ui-icon-mail-open { background-position: -96px -96px; }
     2294.ui-icon-suitcase { background-position: -112px -96px; }
     2295.ui-icon-comment { background-position: -128px -96px; }
     2296.ui-icon-person { background-position: -144px -96px; }
     2297.ui-icon-print { background-position: -160px -96px; }
     2298.ui-icon-trash { background-position: -176px -96px; }
     2299.ui-icon-locked { background-position: -192px -96px; }
     2300.ui-icon-unlocked { background-position: -208px -96px; }
     2301.ui-icon-bookmark { background-position: -224px -96px; }
     2302.ui-icon-tag { background-position: -240px -96px; }
     2303.ui-icon-home { background-position: 0 -112px; }
     2304.ui-icon-flag { background-position: -16px -112px; }
     2305.ui-icon-calendar { background-position: -32px -112px; }
     2306.ui-icon-cart { background-position: -48px -112px; }
     2307.ui-icon-pencil { background-position: -64px -112px; }
     2308.ui-icon-clock { background-position: -80px -112px; }
     2309.ui-icon-disk { background-position: -96px -112px; }
     2310.ui-icon-calculator { background-position: -112px -112px; }
     2311.ui-icon-zoomin { background-position: -128px -112px; }
     2312.ui-icon-zoomout { background-position: -144px -112px; }
     2313.ui-icon-search { background-position: -160px -112px; }
     2314.ui-icon-wrench { background-position: -176px -112px; }
     2315.ui-icon-gear { background-position: -192px -112px; }
     2316.ui-icon-heart { background-position: -208px -112px; }
     2317.ui-icon-star { background-position: -224px -112px; }
     2318.ui-icon-link { background-position: -240px -112px; }
     2319.ui-icon-cancel { background-position: 0 -128px; }
     2320.ui-icon-plus { background-position: -16px -128px; }
     2321.ui-icon-plusthick { background-position: -32px -128px; }
     2322.ui-icon-minus { background-position: -48px -128px; }
     2323.ui-icon-minusthick { background-position: -64px -128px; }
     2324.ui-icon-close { background-position: -80px -128px; }
     2325.ui-icon-closethick { background-position: -96px -128px; }
     2326.ui-icon-key { background-position: -112px -128px; }
     2327.ui-icon-lightbulb { background-position: -128px -128px; }
     2328.ui-icon-scissors { background-position: -144px -128px; }
     2329.ui-icon-clipboard { background-position: -160px -128px; }
     2330.ui-icon-copy { background-position: -176px -128px; }
     2331.ui-icon-contact { background-position: -192px -128px; }
     2332.ui-icon-image { background-position: -208px -128px; }
     2333.ui-icon-video { background-position: -224px -128px; }
     2334.ui-icon-script { background-position: -240px -128px; }
     2335.ui-icon-alert { background-position: 0 -144px; }
     2336.ui-icon-info { background-position: -16px -144px; }
     2337.ui-icon-notice { background-position: -32px -144px; }
     2338.ui-icon-help { background-position: -48px -144px; }
     2339.ui-icon-check { background-position: -64px -144px; }
     2340.ui-icon-bullet { background-position: -80px -144px; }
     2341.ui-icon-radio-on { background-position: -96px -144px; }
     2342.ui-icon-radio-off { background-position: -112px -144px; }
     2343.ui-icon-pin-w { background-position: -128px -144px; }
     2344.ui-icon-pin-s { background-position: -144px -144px; }
     2345.ui-icon-play { background-position: 0 -160px; }
     2346.ui-icon-pause { background-position: -16px -160px; }
     2347.ui-icon-seek-next { background-position: -32px -160px; }
     2348.ui-icon-seek-prev { background-position: -48px -160px; }
     2349.ui-icon-seek-end { background-position: -64px -160px; }
     2350.ui-icon-seek-start { background-position: -80px -160px; }
     2351/* ui-icon-seek-first is deprecated, use ui-icon-seek-start instead */
     2352.ui-icon-seek-first { background-position: -80px -160px; }
     2353.ui-icon-stop { background-position: -96px -160px; }
     2354.ui-icon-eject { background-position: -112px -160px; }
     2355.ui-icon-volume-off { background-position: -128px -160px; }
     2356.ui-icon-volume-on { background-position: -144px -160px; }
     2357.ui-icon-power { background-position: 0 -176px; }
     2358.ui-icon-signal-diag { background-position: -16px -176px; }
     2359.ui-icon-signal { background-position: -32px -176px; }
     2360.ui-icon-battery-0 { background-position: -48px -176px; }
     2361.ui-icon-battery-1 { background-position: -64px -176px; }
     2362.ui-icon-battery-2 { background-position: -80px -176px; }
     2363.ui-icon-battery-3 { background-position: -96px -176px; }
     2364.ui-icon-circle-plus { background-position: 0 -192px; }
     2365.ui-icon-circle-minus { background-position: -16px -192px; }
     2366.ui-icon-circle-close { background-position: -32px -192px; }
     2367.ui-icon-circle-triangle-e { background-position: -48px -192px; }
     2368.ui-icon-circle-triangle-s { background-position: -64px -192px; }
     2369.ui-icon-circle-triangle-w { background-position: -80px -192px; }
     2370.ui-icon-circle-triangle-n { background-position: -96px -192px; }
     2371.ui-icon-circle-arrow-e { background-position: -112px -192px; }
     2372.ui-icon-circle-arrow-s { background-position: -128px -192px; }
     2373.ui-icon-circle-arrow-w { background-position: -144px -192px; }
     2374.ui-icon-circle-arrow-n { background-position: -160px -192px; }
     2375.ui-icon-circle-zoomin { background-position: -176px -192px; }
     2376.ui-icon-circle-zoomout { background-position: -192px -192px; }
     2377.ui-icon-circle-check { background-position: -208px -192px; }
     2378.ui-icon-circlesmall-plus { background-position: 0 -208px; }
     2379.ui-icon-circlesmall-minus { background-position: -16px -208px; }
     2380.ui-icon-circlesmall-close { background-position: -32px -208px; }
     2381.ui-icon-squaresmall-plus { background-position: -48px -208px; }
     2382.ui-icon-squaresmall-minus { background-position: -64px -208px; }
     2383.ui-icon-squaresmall-close { background-position: -80px -208px; }
     2384.ui-icon-grip-dotted-vertical { background-position: 0 -224px; }
     2385.ui-icon-grip-dotted-horizontal { background-position: -16px -224px; }
     2386.ui-icon-grip-solid-vertical { background-position: -32px -224px; }
     2387.ui-icon-grip-solid-horizontal { background-position: -48px -224px; }
     2388.ui-icon-gripsmall-diagonal-se { background-position: -64px -224px; }
     2389.ui-icon-grip-diagonal-se { background-position: -80px -224px; }
     2390
     2391
     2392/* Misc visuals
     2393----------------------------------*/
     2394
     2395/* Corner radius */
     2396.ui-corner-all,
     2397.ui-corner-top,
     2398.ui-corner-left,
     2399.ui-corner-tl {
     2400    border-top-left-radius: 3px;
     2401}
     2402.ui-corner-all,
     2403.ui-corner-top,
     2404.ui-corner-right,
     2405.ui-corner-tr {
     2406    border-top-right-radius: 3px;
     2407}
     2408.ui-corner-all,
     2409.ui-corner-bottom,
     2410.ui-corner-left,
     2411.ui-corner-bl {
     2412    border-bottom-left-radius: 3px;
     2413}
     2414.ui-corner-all,
     2415.ui-corner-bottom,
     2416.ui-corner-right,
     2417.ui-corner-br {
     2418    border-bottom-right-radius: 3px;
     2419}
     2420
     2421/* Overlays */
     2422.ui-widget-overlay {
     2423    background: #aaaaaa;
     2424    opacity: .3;
     2425    filter: Alpha(Opacity=30); /* support: IE8 */
     2426}
     2427.ui-widget-shadow {
     2428    -webkit-box-shadow: 0px 0px 5px #666666;
     2429    box-shadow: 0px 0px 5px #666666;
     2430}
     2431
  • site-editor/trunk/admin/templates/default/index.php

    r1640500 r1650000  
    1616
    1717    <div id="sed_admin_settings_head">
    18         <H1><i class="wpsedicon wpsedicon-logo"></i><?php _e('SiteEditor Settings' , 'site-editor')?></H1>
     18        <H1 class="sed_main_settings_title"><i class="wpsedicon wpsedicon-logo"></i><?php _e('SiteEditor Settings' , 'site-editor')?></H1>
    1919    </div>
    2020
  • site-editor/trunk/admin/templates/default/js/scripts.js

    r1640500 r1650000  
    11(function( $ ) {
     2
    23    $( document ).ready( function() {
    34
     
    1516                $(tabs_content).fadeIn(400);
    1617            }
    17        })
     18       });
    1819
    1920        /*$('.active-module-bt').click(function(event) {
     
    6667        });
    6768
     69        $( "#sed_user_tracking_allow" ).dialog({
     70            resizable   : false,
     71            dialogClass: "sed-feedback-dialog-wrapper sed-admin-dialog-wrapper",
     72            height      : 400,
     73            width       : 500,
     74            modal       : true
     75        });
    6876
     77        $(".sed_user_tracking_allow_action").on("click" , function(){
     78
     79            var value = $(this).data("value");
     80
     81            $("#sed_user_tracking_allow_from_admin").val( value );
     82
     83            $(this).parents(".sed_user_tracking_allow_form:first").submit();
     84
     85        });
     86
     87
     88        var deactivateLinkEl = $( '#the-list' ).find( '[data-slug="site-editor"] span.deactivate a' ),
     89            feedBackDialogEl = $( "#sed-deactivate-feedback-dialog-wrapper" );
     90
     91        feedBackDialogEl.dialog({
     92            resizable   : false,
     93            dialogClass : "sed-feedback-dialog-wrapper sed-admin-dialog-wrapper",
     94            height      : 400,
     95            width       : 500,
     96            modal       : true ,
     97            autoOpen    : false
     98        });
     99
     100        deactivateLinkEl.on("click" , function( event ){
     101
     102            event.preventDefault();
     103
     104            feedBackDialogEl.dialog("open");
     105
     106        });
     107
     108
     109        var _deactivate = function(){
     110
     111            location.href = deactivateLinkEl.attr( 'href' );
     112
     113        };
     114
     115
     116        var _sendFeedback = function() {
     117
     118            var formData = $("#sed-deactivate-feedback-dialog-form").serialize();
     119
     120            feedBackDialogEl.find(".sed-deactivate-feedback-send").addClass( 'sed-ajax-loading' );
     121
     122            $.post( ajaxurl, formData, function( data ) {
     123
     124                _deactivate();
     125
     126            } );
     127
     128        };
     129
     130
     131        feedBackDialogEl.find(".sed-deactivate-feedback-send").on("click" , function(){
     132
     133            _sendFeedback();
     134
     135        });
     136
     137
     138        feedBackDialogEl.find(".sed-deactivate-feedback-skip").on("click" , function(){
     139
     140            _deactivate();
     141
     142        });
     143       
    69144    });
     145
    70146}( jQuery ));
  • site-editor/trunk/editor/assets/css/frontend-editor/site-iframe.css

    r1640500 r1650000  
    208208    text-align: center;
    209209    padding: 0;
    210     min-width: 300px;
    211     font-size: 0;
     210    min-width: auto;
     211    font-size: 0;   
     212    white-space: nowrap;
    212213}
    213214.sed-row-pb.sed-pb-row-module-special > .sed-handle-sort-row .drag-content-sty {
  • site-editor/trunk/editor/assets/css/frontend-editor/site-iframe.min.css

    r1640500 r1650000  
    208208    text-align: center;
    209209    padding: 0;
    210     min-width: 300px;
    211     font-size: 0;
     210    min-width: auto;
     211    font-size: 0;   
     212    white-space: nowrap;
    212213}
    213214.sed-row-pb.sed-pb-row-module-special > .sed-handle-sort-row .drag-content-sty {
  • site-editor/trunk/editor/assets/js/frontend-editor/pagebuilder.js

    r1640500 r1650000  
    6969            if( pattern[0].tag !== "sed_row" ) {
    7070
    71                 var modulePattern = $.extend(true, {}, api.defaultPatterns['sed_module']),
    72                     rowPattern = $.extend(true, {}, api.defaultPatterns['sed_row']);
     71                var modulePattern = api.sedShortcode.clone( api.defaultPatterns['sed_module'] ),
     72                    rowPattern = api.sedShortcode.clone( api.defaultPatterns['sed_row'] );
    7373
    7474                newPattern = $.merge($.merge($.merge([], rowPattern), modulePattern), pattern);
     
    283283                if( pattern[0].tag !== "sed_row" ) {
    284284
    285                     var modulePattern = $.extend(true, {}, api.defaultPatterns['sed_module']),
    286                         rowPattern = $.extend(true, {}, api.defaultPatterns['sed_row']);
     285                    var modulePattern = api.sedShortcode.clone( api.defaultPatterns['sed_module'] ),
     286                        rowPattern = api.sedShortcode.clone( api.defaultPatterns['sed_row'] );
    287287
    288288                    newPattern = $.merge($.merge($.merge([], rowPattern), modulePattern), pattern);
     
    397397            //for modules with default transport
    398398            if( _.isUndefined( html ) ) {
     399
    399400                module_id = this.createNewModule( name , dropItem , direction );
    400401
     
    604605            if( currPattern[0].tag !== "sed_row" ) {
    605606
    606                 var modulePattern = $.extend(true, {}, api.defaultPatterns['sed_module']),
    607                     rowPattern = $.extend(true, {}, api.defaultPatterns['sed_row']);
     607                var modulePattern = api.sedShortcode.clone( api.defaultPatterns['sed_module'] ),
     608                    rowPattern = api.sedShortcode.clone( api.defaultPatterns['sed_row'] );
    608609
    609610            }
     
    883884            if( pattern[0].tag !== "sed_row" ) {
    884885
    885                 var modulePattern = $.extend(true, {}, api.defaultPatterns['sed_module']),
    886                     rowPattern = $.extend(true, {}, api.defaultPatterns['sed_row']);
     886                var modulePattern = api.sedShortcode.clone( api.defaultPatterns['sed_module'] ),
     887                    rowPattern = api.sedShortcode.clone( api.defaultPatterns['sed_row'] );
    887888
    888889                newPattern = $.merge($.merge($.merge([], rowPattern), modulePattern), pattern);
     
    23702371                        api.Events.trigger( "setWidgetInstance" , modules , elementId );
    23712372                    break;
     2373
    23722374                    case "thumbnail_using_size" :
    23732375                    case "main_using_size" :
    23742376                        api.Events.trigger( "mediaGroupUsingSize" , modules , elementId , api.currentShortcode , api.currentAttr );
    23752377                    break;
     2378
    23762379                    case "animation" :
    23772380                        api.Events.trigger( "set_animation" , modules , elementId );
    23782381                    break;
     2382
    23792383                    default:
    23802384
     
    24002404                }
    24012405            });
     2406
     2407            api.currentShortcode = "";
     2408
    24022409        });
    24032410
     
    24892496
    24902497            api.pageBuilder.currentPostId = postId;
    2491             var shortcodes = api.pageBuilder.loadPattern( pattern , shModule.id );
     2498            var shortcodes = api.pageBuilder.loadPattern( api.sedShortcode.clone( pattern ) , shModule.id );
    24922499
    24932500            shortcodes = api.pageBuilder.setHelperShortcodes( shortcodes , name );
     
    25612568            });
    25622569
    2563             var modulesShortcodesCopy = $.extend( true, {} , modulesShortcodes );//_.map( modulesShortcodes , _.clone );
     2570            var modulesShortcodesCopy = api.sedShortcode.clone( modulesShortcodes );//$.extend( true, {} , modulesShortcodes );//_.map( modulesShortcodes , _.clone );
    25642571                         
    25652572            //delete pre pattern && replace new pattren         , modulesShortcodes
     
    25832590                }
    25842591                //if(newMainShortcode.attrs.merge_skins == ) )
    2585                 var arr1Copy = _.map(arr1 , _.clone);
     2592                var arr1Copy = api.sedShortcode.clone( arr1 );
    25862593
    25872594                var newArr = _.map(arr2, function(arr2obj , key) {
     2595
    25882596                    var arr1obj = _.find(arr1Copy, function(arr1obj) {
    25892597                        return arr1obj[prop] === arr2obj[prop];
    25902598                    });
    2591 
    2592 
    25932599
    25942600                    if(!arr1obj){
     
    26372643            };
    26382644
    2639             shortcodes = $.extend( true, {} , _mergeByProperty( modulesShortcodesCopy , shortcodes , "tag" ) );
     2645            shortcodes = api.sedShortcode.clone( _mergeByProperty( modulesShortcodesCopy , api.sedShortcode.clone( shortcodes ) , "tag" ) );
    26402646
    26412647            shortcodes = api.pageBuilder.setHelperShortcodes( shortcodes , mainShortcode.tag , "tag" );
  • site-editor/trunk/editor/assets/js/frontend-editor/shortcode-content-builder.js

    r1640500 r1650000  
    532532            var self = this , param , template , currModule , data;
    533533
    534             if( mainShortcodeId != id && shortcode_name == "sed_row" && $( '[sed_model_id="' + id + '"]' ).length > 0 ){
     534            var is_sed_row_change = ( mainShortcodeId != id ) && !_.isUndefined( api.currentShortcode ) && ( api.currentShortcode === "sed_row") && $( '[sed_model_id="' + id + '"]' ).length > 0;
     535
     536            if( is_sed_row_change ){
     537
     538                return $( '[sed_model_id="' + id + '"]' )[0].outerHTML;
     539
     540            }
     541
     542            if( ( mainShortcodeId != id || is_sed_row_change ) && shortcode_name == "sed_row" && $( '[sed_model_id="' + id + '"]' ).length > 0 ){
    535543                var moduleId = $( '[sed_model_id="' + id + '"]' ).find(">.sed-pb-module-container .sed-pb-module-container:first").attr("sed_model_id"),
    536544                    shortcode = this.getShortcode( moduleId ),
     
    672680            }
    673681
    674             atts = $.extend({} , shortcode_info.attrs , shortcode.attrs);
    675 
     682            atts = $.extend({} , shortcode_info.attrs , shortcode.attrs);
    676683
    677684            if( $.inArray( shortcode_info.name , ["sed_module" , "sed_row"] ) == -1 && _.isUndefined( atts["contextmenu_disabled"] ) ){
  • site-editor/trunk/editor/assets/js/siteeditor/plugins/pagebuilder/plugin.js

    r1640500 r1650000  
    3434      api.shortcodesStyles    = window._sedRegisteredShortcodesStyles;
    3535      api.modulesSettings     = window._sedAppEditorPageBuilderModules;
    36       api.defaultPatterns     = window._sedShortcodesDefaultPatterns ;
     36      api.defaultPatterns     = window._sedShortcodesDefaultPatterns ;   //console.log( "----api.defaultPatterns----" , api.defaultPatterns );
    3737      //only javascript files using in editor and not loaded in front end
    3838      api.ModulesEditorJs     = window._sedAppJsModulesForEditor;
     
    308308            if( !_.isUndefined( postsContent ) ) {
    309309
    310                 var contents = $.extend( true , {} , postsContent );
     310                var contents = $.extend( true , {} , postsContent ); //console.log( "-------contents-------" , contents );
    311311
    312312                $.each( contents , function ( post_id, models ) {
  • site-editor/trunk/editor/extensions/layout/js/app-layout-module.js

    r1640500 r1650000  
    1919        },
    2020
     21        initThemeRow : function( shortcode ){
     22
     23            var layoutModels = api('sed_layouts_models')(),
     24                self = this;
     25
     26            if( !_.isUndefined( shortcode.theme_id )  ){
     27                var rowElement = $('[sed_model_id="' + shortcode.id + '"]');
     28
     29                rowElement.data( "themeId" , shortcode.theme_id );
     30                rowElement.addClass( "sed-public-theme-row" );
     31
     32                if( $.inArray( shortcode.theme_id , api.hiddenPublicRows ) > -1 ){
     33                    rowElement.addClass("sed-hidden-theme-row");
     34                }
     35
     36                _.each(layoutModels[self.currentLayout], function (layoutModel) {
     37                    if (layoutModel.theme_id == shortcode.theme_id) {
     38
     39                        rowElement.data("themeOrder", layoutModel.order);
     40
     41                        return false;
     42                    }
     43                });
     44
     45                if( !_.isUndefined( shortcode.is_customize ) && shortcode.is_customize === true ){
     46                    rowElement.data( "isCustomize" , "yes" );
     47                }
     48
     49            }
     50
     51        },
    2152
    2253        initThemeRows : function(){
    23             var layoutModels = api('sed_layouts_models')(),
    24                 self = this,
     54            var self = this,
    2555                settingId;
    2656
     
    4070
    4171            _.map( api.contentBuilder.pagesThemeContent[this.postId], function(shortcode){
    42                 if( !_.isUndefined( shortcode.theme_id )  ){
    43                     var rowElement = $('[sed_model_id="' + shortcode.id + '"]');
    44 
    45                     rowElement.data( "themeId" , shortcode.theme_id );
    46                     rowElement.addClass( "sed-public-theme-row" );
    47 
    48                     if( $.inArray( shortcode.theme_id , api.hiddenPublicRows ) > -1 ){
    49                         rowElement.addClass("sed-hidden-theme-row");
    50                     }
    51 
    52                     _.each(layoutModels[self.currentLayout], function (layoutModel) {
    53                         if (layoutModel.theme_id == shortcode.theme_id) {
    54 
    55                             rowElement.data("themeOrder", layoutModel.order);
    56 
    57                             return false;
    58                         }
    59                     });
    60 
    61                     if( !_.isUndefined( shortcode.is_customize ) && shortcode.is_customize === true ){
    62                         rowElement.data( "isCustomize" , "yes" );
    63                     }
    64 
    65                 }
     72
     73                self.initThemeRow( shortcode );
     74               
    6675            });
    6776
     
    309318
    310319            api.Events.bind( "afterCreateModule" , function( moduleWrapper , moduleName , dropItem , direction ){
     320
    311321                if( moduleWrapper.parent().hasClass("sed-site-main-part") ){
    312322
     
    328338                    //change info for current custom theme row
    329339                    api.preview.send( 'customThemeRowInfoChange' );
    330                 }
    331             });
     340
     341                }
     342
     343            });
     344           
     345           
    332346
    333347            api.Events.bind( "sedAfterDuplicate" , function( elementId , newElement ){
     
    362376
    363377            });
     378
     379
     380            api.Events.bind( "sedAfterChangePreset" , function( rowElId , newElementId ){
     381
     382                var newElement = $( '[sed_model_id="' + newElementId + '"]');
     383
     384                if( newElement.parent().hasClass("sed-site-main-part") ){
     385
     386                    var rowShortcode = api.contentBuilder.getShortcode( newElementId );
     387
     388                    //only for public row( test public row in initThemeRow )
     389                    self.initThemeRow( rowShortcode );
     390
     391                }
     392
     393            });
     394
    364395
    365396            this.removeThemeRow();
  • site-editor/trunk/editor/extensions/options-engine/includes/controls/site-editor-animation-control.class.php

    r1640500 r1650000  
    4747         */
    4848        public $panel_title = '';
    49 
    50         /**
    51          * @access public
    52          * @var int
    53          */
    54         public $priority = 10000;
    5549
    5650        /**
  • site-editor/trunk/editor/extensions/options-engine/includes/fields/site-editor-custom-field.class.php

    r1640500 r1650000  
    2424         *
    2525         * @access protected
    26          */
     26
    2727        protected function set_sanitize_callback() {
    2828
     
    3636            $this->sanitize_callback = '__return_true';
    3737
    38         }
     38        }*/
    3939    }
    4040}
  • site-editor/trunk/editor/extensions/options-engine/includes/site-editor-font-options.class.php

    r1640500 r1650000  
    145145                'type'              => 'custom',
    146146                'js_type'           => 'custom_font',
    147                 'default'           => get_theme_mod( 'sed_custom_fonts' , array() ),
     147                'default'           => array(),
    148148                'has_border_box'    => false ,
    149149                'custom_template'   => $this->custom_fonts_template() ,
     150                'option_type'       => 'theme_mod' ,
    150151                'transport'         => 'postMessage' ,
    151152                'priority'          => 6 ,
  • site-editor/trunk/editor/extensions/pagebuilder/includes/pagebuilder.class.php

    r1640500 r1650000  
    4141
    4242    public $sed_post_shortcodes_model = array();
     43
     44    public static $shortcodes_remove_wpautop = array();
    4345
    4446    public static $shortcodes_tagnames = array();
     
    5557     */
    5658    public $original_customized_shortcodes = array();
     59
     60    public $is_the_content_template = false;
    5761
    5862    /**
     
    7074
    7175        $this->template = 'default';
     76
    7277        $this->current_app = 'siteeditor';
    7378
    74         //remove extra p && br tag from site editor & add to default wp editor only
    75         remove_filter( 'the_content', 'wpautop' );
    76 
    77 
    78         add_filter('the_excerpt', array($this, 'sed_excerpt_filter') );
     79        //add_filter( 'the_content', array( $this , 'prevent_shortcodes_content_from_wpautop' ) , 8 );
     80
     81        add_filter( 'the_content', array( $this , 'content_before_autop' ) , 9 );
     82
     83        add_filter('the_excerpt', array($this, 'sed_excerpt_filter') , 100 );
    7984
    8085        //load helper shortcodes & ready for do shortcode
     
    9095
    9196        if( !site_editor_app_on() ){
    92             add_filter('the_content', array($this, 'sed_post_ready'), 10);
     97            add_filter('the_content', array($this, 'sed_post_ready'), 100);
    9398        }
    9499
     
    119124        add_filter( "sed_end_page_customize_rows"  , array( $this, "get_end_page_rows" ) , 10 , 1 );
    120125
    121         add_filter( 'sed_pb_builder_module_content', 'wptexturize');
    122 
    123         add_filter( 'sed_pb_builder_module_content', 'convert_smilies');
    124 
    125         add_filter( 'sed_pb_builder_module_content', 'convert_chars');
    126 
    127         add_filter( 'sed_pb_builder_module_content', array($this, 'the_module_content'));
    128 
    129         /**
    130          * WordPress 4.4 Responsive Images support */
    131         global $wp_version;
    132         if (version_compare($wp_version, '4.4', '>=')) {
    133             add_filter('sed_pb_builder_module_content', 'wp_make_content_images_responsive');
    134         }
     126    }
     127
     128    public function encode_shortcodes_content( $matches ){
     129
     130        return "[{$matches[2]} {$matches[3]}]" . htmlentities($matches[5]) . "[/{$matches[2]}]";
     131
     132    }
     133
     134    public function prevent_shortcodes_content_from_wpautop( $content ){
     135
     136        $pattern = self::shortcodes_regexp( self::$shortcodes_remove_wpautop );
     137
     138        $content = preg_replace_callback( '/'. $pattern .'/s' , array( $this , 'encode_shortcodes_content' ) , $content);
     139
     140        return $content;
    135141
    136142    }
    137143
    138144    /**
    139      * Add filter to module content
    140      * @param string $content
    141      * @return string
     145     * Remove WordPress Auto P from all of $content synced with site editor
     146     *
     147     * @param $content
     148     * @return mixed
    142149     */
    143     function the_module_content($content) {
    144         global $wp_embed;
    145         $content = $wp_embed->run_shortcode($content);
    146         $content = do_shortcode(shortcode_unautop($content));
    147         $content = $this->autoembed_adjustments($content);
    148         $content = $wp_embed->autoembed($content);
    149         $content = htmlspecialchars_decode($content);
     150    public static function content_before_autop( $content ){
     151
     152        $pattern = self::shortcodes_regexp( array( "sed_row" ) );
     153
     154        $is_sed_synced = false;
     155
     156        if (   preg_match_all(  '/'. $pattern .'/s'  , $content , $matches ) && array_key_exists( 2, $matches ) ){
     157
     158            $is_sed_synced = true;
     159
     160        }
     161
     162        if( $is_sed_synced === true ){
     163
     164            if ( has_filter( 'the_content', 'wpautop' ) ) {
     165
     166                remove_filter('the_content', 'wpautop');
     167
     168            }
     169
     170        }else{
     171
     172            if ( ! has_filter( 'the_content', 'wpautop' ) ) {
     173
     174                add_filter('the_content', 'wpautop');
     175
     176            }
     177
     178        }
     179
    150180        return $content;
    151     }
    152 
    153     /**
    154      * Adjust autoembed filter
    155      * @param string $content
    156      * @return string
    157      */
    158     function autoembed_adjustments($content) {
    159         $pattern = '|<p>\s*(https?://[^\s"]+)\s*</p>|im'; // pattern to check embed url
    160         $to = '<p>' . PHP_EOL . '$1' . PHP_EOL . '</p>'; // add line break
    161         $content = preg_replace($pattern, $to, $content);
    162         return $content;
    163     }
    164 
     181
     182    }
    165183
    166184    function preview_setup_post_content( $post ){
     
    326344            $id = $post->ID;
    327345
    328             $output = '<div id="sed-post-content-container" data-post-id="' . $id . '" data-content-type="post" drop-placeholder="' . __("Drop Each Module Into The Content Area", "site-editor") . '" data-parent-id="root" class="sed-pb-post-container sed-pb-rows-box sed-pb-component">';
     346            $output = '<div id="sed-post-content-container" data-post-id="' . $id . '" data-content-type="post" drop-placeholder="' . __("Drop Each Module Into The Content Area", "site-editor") . '" data-parent-id="root" class="sed-pb-each-content-container sed-pb-post-container sed-pb-rows-box sed-pb-component">';
    329347
    330348            $output .= $content;
     
    334352        }else{
    335353
    336             $output = $content;
     354            global $post;
     355
     356            if( $this->is_the_content_template === false && $post && in_the_loop() ){
     357                $output = '<div class="sed-pb-each-content-container sed-pb-post-container-disable-editing" sed-disable-editing="yes">';
     358                $output .= $content;
     359                $output .= '</div>';
     360            }else{
     361                $output = $content;
     362            }
    337363
    338364        }
     
    341367    }
    342368
    343     function sed_post_ready($content){
    344         global $post , $sed_data;
    345 
    346         if( !$post )
    347             return $content;
    348 
    349         if( is_singular() && $sed_data['page_id'] == $post->ID  ){
     369    public function sed_post_ready($content){
     370
     371        if( is_singular() && in_the_loop() && is_main_query() ){
     372
     373            global $post;
     374
    350375            $id = $post->ID;
    351             $output = '<div id="sed-pb-post-container'.$id.'" data-post-id="'.$id.'" data-content-type="post" drop-placeholder="'.__("Drop Each Module Into The Content Area" , "site-editor").'" data-parent-id="root" class="sed-pb-post-container sed-pb-rows-box sed-pb-component">';
     376
     377            $output = '<div id="sed-pb-post-container'.$id.'" data-post-id="'.$id.'" data-content-type="post" data-parent-id="root" class="sed-pb-each-content-container sed-pb-post-container sed-pb-rows-box sed-pb-component">';
     378
    352379            $output .= $content;
     380
    353381            $output .= '</div>';
    354         }elseif( $post->ID ){
    355             $output = '<div class="sed-pb-post-container-disable-editing" sed-disable-editing="yes">';
    356             $output .= $content;
    357             $output .= '</div>';
     382
    358383        }else{
    359             $output = $content;
     384
     385            /*if( $this->is_the_content_template === false ){
     386                $output = '<div class="sed-pb-each-content-container">';
     387                $output .= $content;
     388                $output .= '</div>';
     389            }else{*/
     390                $output = $content;
     391            //}
     392
    360393        }
    361394
     
    546579    function add_row_synchronization( $matches ){
    547580
    548         $ex_content = wpautop( $matches[1] );
     581        $ex_content = $matches[1];
    549582
    550583        return '[sed_row type="static-element" from_wp_editor="true"]
     
    559592
    560593    function post_content_synchronization( $content ){
    561          global $sed_apps;
    562594
    563595        $content = shortcode_unautop( trim( $content ) );
     
    634666        if (empty($output) && !empty($post->post_content)) {
    635667            $content = $post->post_content;
    636             $text = strip_tags(do_shortcode( $content ) , "<style><script>");
     668            $text = strip_tags( apply_filters( 'the_content' , $content ) , "<style><script>");
    637669            $excerpt_length = apply_filters('excerpt_length', 250);
    638670            $excerpt_more = apply_filters('excerpt_more', ' ' . '[...]');
    639671            $text = wp_trim_words($text, $excerpt_length, $excerpt_more);
    640             return $text; //wpautop($text)
     672            return $text;
    641673        }
    642674
     
    11301162
    11311163
    1132     function sed_page_builder_post_ready($content){
    1133         global $post , $sed_data;
    1134 
    1135         if( is_singular() && $sed_data['page_id'] == $post->ID  ){
    1136             $id = $post->ID;
    1137             $output = '<div id="sed-pb-post-container'.$id.'" data-post-id="'.$id.'" data-content-type="post" drop-placeholder="'.__("Drop Each Module Into The Content Area" , "site-editor").'" data-parent-id="root" class="sed-pb-post-container sed-pb-rows-box sed-pb-component">';
    1138             $output .= $content;
    1139             $output .= '</div>';
    1140         }elseif( $post->ID ){
    1141             $output = '<div class="sed-pb-post-container-disable-editing" sed-disable-editing="yes">';
    1142             $output .= $content;
    1143             $output .= '</div>';
    1144         }else{
    1145             $output = $content;
    1146         }
    1147 
    1148         return $output;
    1149     }
    1150 
    1151 
    11521164    function page_builder_load_modules(){
    11531165        global $sed_apps ;  //@args ::: sed_page_ajax , nonce
     
    14691481        $shortcodes_models = self::get_pattern_shortcodes( $shortcodes_pattern_string );
    14701482
    1471         $content = do_shortcode( $shortcodes_models["string"] );//apply_filters( 'the_content' , $shortcodes_models["string"] );
     1483        $this->is_the_content_template = true;
     1484
     1485        $content = apply_filters( 'the_content' , $shortcodes_models["string"] );//do_shortcode( $shortcodes_models["string"] );
     1486
     1487        $this->is_the_content_template = false;
    14721488
    14731489        //set current page content shortcodes models in @$this->sed_theme_content for js
  • site-editor/trunk/editor/extensions/pagebuilder/includes/pb-shortcodes.class.php

    r1640500 r1650000  
    4545
    4646        $args = array_merge( array(
    47             "type_icon"   => "font",
    48             "shortcode_type" => "enclosing",
    49             "is_child"       => false ,
    50             "title"          => "" ,
    51             "description"    => ""
     47            "type_icon"             => "font",
     48            "shortcode_type"        => "enclosing",
     49            "is_child"              => false ,
     50            "title"                 => "" ,
     51            "description"           => "" ,
     52            /**
     53             * Remove wpautop from this shortcode content
     54             */
     55            "remove_wpautop"        => false ,
     56            /**
     57             * Prevent form content do_shortcode of this shortcode if site_editor_app_on()
     58             */
     59            "editor_do_shortcode"   => true
    5260        ) , $args);
    5361
     
    6876            array_push( PageBuilderApplication::$shortcodes_tagnames , $this->shortcode->name );
    6977
     78        if( $this->shortcode->remove_wpautop === true && !in_array( $this->shortcode->name , PageBuilderApplication::$shortcodes_remove_wpautop ) )
     79            array_push( PageBuilderApplication::$shortcodes_remove_wpautop , $this->shortcode->name );
     80
    7081        add_action( 'sed_shortcode_register', array( $this , 'register_module_shortcode' ), 10   );
     82
    7183
    7284        //add_action( 'sed_ajax_pb', array( $this , 'ajax_register_shortcode' ), 10 , 1  );
     
    260272    }
    261273
    262     function sed_remove_wpautop($content, $autop = false) {
    263         $content = do_shortcode( shortcode_unautop($content) );
    264         $content = preg_replace( '#^<\/p>|^<br \/>|<p>$#', '', $content );
    265         return $content;
    266     }
    267 
    268274    function shortcode_render( $atts , $content = null){
    269275        global $sed_pb_app;
     
    425431
    426432        if(!empty( $content )){
    427             if( in_array( $this->shortcode->name , array("sed_paragraph" , "sed_text_title" , "sed_raw_js" , "sed_code_syntax_highlighter" ) ) && site_editor_app_on() ){
    428                 $content = sed_js_remove_wpautop( $content , false , false );
    429             }else{
    430                 $content = sed_js_remove_wpautop( $content , false );
    431             }
     433
     434            $content = apply_filters( "sed_before_module_content_do_shortcode" , $content , $this->shortcode->name );
     435
     436            /*if( $this->shortcode->remove_wpautop === true ){
     437
     438                $content = sed_remove_wpautop( html_entity_decode( $content ) , false );
     439
     440            }*/
     441
     442            if( $this->shortcode->editor_do_shortcode === true || !site_editor_app_on() ){
     443
     444                $content = do_shortcode( shortcode_unautop($content) );
     445
     446            }
     447
    432448        }else{
     449
    433450            $content = '';//__('Module is empty.' , 'site-editor' );
     451
    434452        }
    435453
  • site-editor/trunk/editor/extensions/pagebuilder/modules/button/button.php

    r1640500 r1650000  
    2020class PBButtonShortcode extends PBShortcodeClass{
    2121
    22       /**
    23        * Register module with siteeditor.
    24        */
    25       function __construct() {
    26         parent::__construct( array(
    27               "name"        => "sed_button",                     //*require
    28               "title"       => __("Button","site-editor"),       //*require for toolbar
    29               "description" => __(""),
    30               "icon"        => "sedico-buttons",                    //*require for icon toolbar
    31               "module"      =>  "button"                         //*require
     22    /**
     23    * Register module with siteeditor.
     24    */
     25    function __construct() {
     26
     27        parent::__construct( array(
     28            "name"                  => "sed_button",                     //*require
     29            "title"                 => __("Button","site-editor"),       //*require for toolbar
     30            "description"           => __(""),
     31            "icon"                  => "sedico-buttons",                    //*require for icon toolbar
     32            "module"                =>  "button",                         //*require ,
    3233          ) // Args
    33         );
     34        );
    3435
    3536        add_filter( 'sed_theme_color_css', array( $this , 'sed_button_module_color_css' ) , 10 , 3 );
    3637
    37       }
     38    }
    3839 
    3940    function get_atts(){
  • site-editor/trunk/editor/extensions/pagebuilder/modules/columns/skins/default/sed_column.php

    r1640500 r1650000  
    11<td class="sed-column-pb <?php echo $class;?>" <?php echo $sed_attrs; ?>" sed-role="column-pb">               
    22
    3     <div class="sed-column-contents-pb sed-pb-component" <?php if( site_editor_app_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo $placeholder; ?>">
     3    <div class="sed-column-contents-pb sed-pb-component" <?php if( site_editor_app_on() || sed_loading_module_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo $placeholder; ?>">
    44        <?php echo  $content; ?>
    55    </div>
  • site-editor/trunk/editor/extensions/pagebuilder/modules/content-layout/includes/column.php

    r1640500 r1650000  
    11<?php
    2 /*
    3 Module Name: Column
    4 Module URI: http://www.siteeditor.org/modules/column
    5 Description: Module Column For Page Builder Application
    6 Author: Site Editor Team
    7 Author URI: http://www.siteeditor.org
    8 Version: 1.0.0
    9 */
     2
    103class PBContentLayoutColumnShortcode extends PBShortcodeClass{
    114
     
    158    function __construct() {
    169        parent::__construct( array(
    17                 "name"        => "sed_content_layout_column",                                //*require
    18                 "title"       => __("Content Layout Column","site-editor"),
    19                 "description" => __("","site-editor"),      //*require for toolbar
    20                 "module"      =>  "content-layout",                                    //*require
    21                 "is_child"    =>  true       //for childe shortcodes like sed_tr , sed_td for table module
     10                "name"                  => "sed_content_layout_column",                                //*require
     11                "title"                 => __("Content Layout Column","site-editor"),
     12                "description"           => __("","site-editor"),      //*require for toolbar
     13                "module"                =>  "content-layout",                                    //*require
     14                //"remove_wpautop"        => true ,
     15                "is_child"              =>  true       //for childe shortcodes like sed_tr , sed_td for table module
    2216            ) // Args
    2317        );
  • site-editor/trunk/editor/extensions/pagebuilder/modules/content-layout/skins/default/sed_content_layout_column.php

    r1640500 r1650000  
    33    if( $sed_main_content == "no" ) {
    44        ?>
    5         <div class="sed-column-contents-pb sed-pb-component" <?php if (site_editor_app_on()) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo $placeholder; ?>">
     5        <div class="sed-column-contents-pb sed-pb-component" <?php if ( site_editor_app_on() || sed_loading_module_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo $placeholder; ?>">
    66            <?php echo $content; ?>
    77        </div>
  • site-editor/trunk/editor/extensions/pagebuilder/modules/footer/skins/default/sed_footer.php

    r1640500 r1650000  
    11<footer  <?php echo $sed_attrs; ?> sed_role="site-footer" class="footer-area module module-footer footer-default <?php echo $class;?>" >
    2   <div class="sed-pb-component footer-inner"  <?php if( site_editor_app_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?>  drop-placeholder="<?php echo __('Drop Each Module Into The Footer','site-editor'); ?>">
     2  <div class="sed-pb-component footer-inner"  <?php if( site_editor_app_on() || sed_loading_module_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?>  drop-placeholder="<?php echo __('Drop Each Module Into The Footer','site-editor'); ?>">
    33    <?php echo $content ?>
    44  </div>
  • site-editor/trunk/editor/extensions/pagebuilder/modules/header/skins/default/sed_item_header.php

    r1640500 r1650000  
    11<div <?php echo $sed_attrs; ?> class="header-inner <?php echo $class;?>">
    2     <div class="sed-pb-component" <?php if( site_editor_app_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo __('Drop Each Module Into The Header','site-editor'); ?>">
     2    <div class="sed-pb-component" <?php if( site_editor_app_on() || sed_loading_module_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo __('Drop Each Module Into The Header','site-editor'); ?>">
    33      <?php echo $content ?>
    44    </div>
  • site-editor/trunk/editor/extensions/pagebuilder/modules/menu/css/style.css

    r1640500 r1650000  
    4444    float: left;
    4545}
     46
     47.rtl .navigation-wrapper .navbar-wrap ul > li {
     48    float: right;
     49}
     50
    4651.navigation-wrapper .navbar-wrap ul ul li {
    4752    padding: 0;
     
    122127    left: 100%;
    123128}
     129
     130.rtl .navigation-wrapper .navbar-wrap ul li ul li ul {
     131    left: auto;
     132    right: 100%;
     133}
     134
    124135.navigation-wrapper .navbar-wrap li:hover > ul {
    125136    opacity: 1;
  • site-editor/trunk/editor/extensions/pagebuilder/modules/paragraph/paragraph.php

    r1640500 r1650000  
    2222     */
    2323    function __construct() {
     24       
    2425        parent::__construct( array(
    25                 "name"        => "sed_paragraph",                        //*require
    26                 "title"       => __("Paragraph","site-editor"),               //*require for toolbar
    27                 "description" => __("Add Paragraph To Page","site-editor"),
    28                 "icon"        => "sedico-paragraph",                            //*require for icon toolbar
    29                 "module"      =>  "paragraph"                                  //*require
     26                "name"                  => "sed_paragraph",                        //*require
     27                "title"                 => __("Paragraph","site-editor"),               //*require for toolbar
     28                "description"           => __("Add Paragraph To Page","site-editor"),
     29                "icon"                  => "sedico-paragraph",                            //*require for icon toolbar
     30                "module"                =>  "paragraph" ,                                  //*require
     31                "remove_wpautop"        => true ,
     32                "editor_do_shortcode"   => false
    3033            ) // Args
    3134        );
  • site-editor/trunk/editor/extensions/pagebuilder/modules/raw-html/raw-html.php

    r1640500 r1650000  
    2020
    2121        parent::__construct( array(
    22           "name"        => "sed_raw_html",                 //*require
    23           "title"       => __("Raw HTML","site-editor"),   //*require for toolbar
    24           "description" => __("Raw HTML","site-editor"),
    25           "icon"        => "sedico-html",                       //*require for icon toolbar
    26           "module"      => "raw-html"                     //*require
    27           //"is_child"    =>  "false"                         //for childe shortcodes like sed_tr , sed_td for table module
     22            "name"                  => "sed_raw_html",                 //*require
     23            "title"                 => __("Raw HTML","site-editor"),   //*require for toolbar
     24            "description"          => __("Raw HTML","site-editor"),
     25            "icon"                  => "sedico-html",                       //*require for icon toolbar
     26            "module"                => "raw-html" ,                    //*require
     27            "remove_wpautop"        => true
    2828        ));
    2929
  • site-editor/trunk/editor/extensions/pagebuilder/modules/raw-html/skins/default/sed_raw_html.php

    r1640500 r1650000  
    11<div <?php echo $sed_attrs; ?> class="module module-raw-html <?php echo $class;?> ">
    2       <?php
    3       //$content = rawurlencode( $content );
    4       echo apply_filters( 'sed_pb_builder_module_content', $content );//do_shortcode( rawurldecode( strip_tags( $content ) ) ) ?>
     2   <?php  echo $content;  ?>
    53</div>
  • site-editor/trunk/editor/extensions/pagebuilder/modules/raw-js/raw-js.php

    r1640500 r1650000  
    1414
    1515        parent::__construct( array(
    16           "name"        => "sed_raw_js",                 //*require
    17           "title"       => __("Raw Javascript Code","site-editor"),   //*require for toolbar
    18           "description" => __("Raw Javascript Code","site-editor"),
    19           "icon"        => "sedico-javascript",                       //*require for icon toolbar
    20           "module"      => "raw-js"                     //*require
    21           //"is_child"    =>  "false"                         //for childe shortcodes like sed_tr , sed_td for table module
     16            "name"                  => "sed_raw_js",                 //*require
     17            "title"                 => __("Raw Javascript Code","site-editor"),   //*require for toolbar
     18            "description"          => __("Raw Javascript Code","site-editor"),
     19            "icon"                  => "sedico-javascript",                       //*require for icon toolbar
     20            "module"                => "raw-js"  ,                   //*require
     21            "remove_wpautop"        => true
    2222        ));
    2323
  • site-editor/trunk/editor/extensions/pagebuilder/modules/raw-js/skins/default/sed_raw_js.php

    r1640500 r1650000  
    33      <script type="text/javascript">
    44
    5             <?php echo rawurldecode( strip_tags( $content ) ); ?>
     5            <?php echo rawurldecode( $content );//rawurldecode( strip_tags( $content ) ) ?>
    66
    77      </script>
    88
    99      <?php
    10       if( site_editor_app_on() || ( isset( $_REQUEST['action'] ) && $_REQUEST['action'] == "load_modules" ) ) {
     10      if( site_editor_app_on() || sed_loading_module_on() ) {
    1111            echo __("This is a Raw Js Module.","site-editor");
    1212      }
  • site-editor/trunk/editor/extensions/pagebuilder/modules/row-container/skins/default/sed_row_container.php

    r1640500 r1650000  
    9090        <?php if(!empty($content)){?>
    9191
    92             <div class="sed-pb-component <?php echo $length_class;?>" <?php if( site_editor_app_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> length_element>
     92            <div class="sed-pb-component <?php echo $length_class;?>" <?php if( site_editor_app_on() || sed_loading_module_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> length_element>
    9393                <?php echo $content; ?>
    9494            </div>
     
    9696        <?php }else{  ?>
    9797
    98             <div class="sed-pb-component <?php echo $length_class;?>" <?php if( site_editor_app_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo __('Drop A Module Here','site-editor'); ?>" length_element></div>
     98            <div class="sed-pb-component <?php echo $length_class;?>" <?php if( site_editor_app_on() || sed_loading_module_on() ) echo 'data-parent-id="' . $sed_model_id . '"'; ?> drop-placeholder="<?php echo __('Drop A Module Here','site-editor'); ?>" length_element></div>
    9999
    100100        <?php } ?>
  • site-editor/trunk/editor/extensions/pagebuilder/modules/row/skins/default/sed_row.php

    r1640500 r1650000  
    1515    <?php
    1616
    17         if(!empty($content)){   
     17        if( !empty($content) ){
    1818
    19             if( $from_wp_editor )
    20                 echo wpautop( $content );
    21             else
    22                 echo $content;
     19            echo $content;
    2320
    2421        }else{
  • site-editor/trunk/editor/extensions/pagebuilder/modules/title/css/style.css

    r1640500 r1650000  
     1.module.module-title > p,
     2p.module.module-title,
    13.module.module-title > h1,
    24.module.module-title > h2,
  • site-editor/trunk/editor/extensions/pagebuilder/modules/title/title.php

    r1640500 r1650000  
    2424
    2525        parent::__construct( array(
    26                 "name"        => "sed_text_title",                        //*require
    27                 "title"       => __("Title","site-editor"),               //*require for toolbar
    28                 "description" => __("Add Title To Page","site-editor"),
    29                 "icon"        => "sedico-title",                            //*require for icon toolbar
    30                 "module"      =>  "title"                                  //*require
     26                "name"                  => "sed_text_title",                        //*require
     27                "title"                 => __("Title","site-editor"),               //*require for toolbar
     28                "description"           => __("Add Title To Page","site-editor"),
     29                "icon"                  => "sedico-title",                            //*require for icon toolbar
     30                "module"                =>  "title" ,                                  //*require
     31                "remove_wpautop"        => true ,
     32                "editor_do_shortcode"   => false
    3133            ) // Args
    3234        );
  • site-editor/trunk/editor/extensions/pagebuilder/modules/wp-text-editor/skins/default/shortcode.pattern

    r1640500 r1650000  
    11[sed_wp_text_editor]
    2     <div> Wp Text Editor Content </div>
     2    Wp Text Editor Content Lorem ipsum dolor sit amet, consectetur adipiscing elit. Nullam tincidunt est ac dolor condimentum vitae laoreet ante accumsan. Nullam tincidunt tincidunt ante tempus commodo. Duis rutrum, magna non lacinia tincidunt, risus lacus tempus ipsum, sit amet euismod justo
    33[/sed_wp_text_editor]
  • site-editor/trunk/editor/extensions/pagebuilder/modules/wp-text-editor/wp-text-editor.php

    r1640500 r1650000  
    1414
    1515        parent::__construct( array(
    16           "name"        => "sed_wp_text_editor",                 //*require
    17           "title"       => __("WP Text Editor","site-editor"),   //*require for toolbar
    18           "description" => __("WP Text Editor","site-editor"),
    19           "icon"        => "sedico-wp-text-editor",                       //*require for icon toolbar
    20           "module"      => "wp-text-editor"                     //*require
    21           //"is_child"    =>  "false"                         //for childe shortcodes like sed_tr , sed_td for table module
     16            "name"              => "sed_wp_text_editor",                 //*require
     17            "title"             => __("WP Text Editor","site-editor"),   //*require for toolbar
     18            "description"      => __("WP Text Editor","site-editor"),
     19            "icon"              => "sedico-wp-text-editor",                       //*require for icon toolbar
     20            "module"            => "wp-text-editor" ,                    //*require
     21           
    2222        ));
     23
     24        if ( ! has_filter( "sed_before_module_content_do_shortcode" , array( __CLASS__ , 'before_module_content_do_shortcode' ) ) ) {
     25
     26            add_filter("sed_before_module_content_do_shortcode", array(__CLASS__, 'before_module_content_do_shortcode'), 10, 2);
     27
     28        }
     29
     30    }
     31
     32    public static function before_module_content_do_shortcode( $content , $shortcode ){
     33       
     34        if( $shortcode == "sed_wp_text_editor" ){
     35
     36            $content = wpautop( $content );
     37
     38            //$content = preg_replace( '#^<\/p>|^<br\s*\/>|<p>$#', '', $content );
     39
     40        }
     41
     42        return $content;
    2343
    2444    }
  • site-editor/trunk/editor/extensions/preset/assets/js/app-preset-module.min.js

    r1640500 r1650000  
    3232                    parentId = mainShortcode.parent_id,
    3333                    moduleSh = api.contentBuilder.getShortcode( parentId ) ,
    34                     rowSh = api.contentBuilder.getShortcode( moduleSh.parent_id );
     34                    rowSh = api.contentBuilder.getShortcode( moduleSh.parent_id ),
     35                    rowEl = $( '[sed_model_id="' + moduleSh.parent_id + '"]');
     36
     37
     38                if( rowEl.parent().hasClass("sed-site-main-part") ){
     39
     40                    if( !_.isUndefined( rowEl.data("themeId") ) ) {
     41
     42                        newPattern[0].theme_id = _.clone( rowEl.data("themeId") );
     43
     44                        if( !_.isUndefined( rowSh.is_customize ) && rowSh.is_customize === true ){
     45
     46                            newPattern[0].is_customize = true;
     47
     48                        }
     49
     50                    }else{
     51
     52                        newPattern[0].rel_theme_id = _.clone( rowSh.rel_theme_id );
     53
     54                        newPattern[0].row_type = _.clone( rowSh.row_type );
     55
     56                    }
     57
     58                }
    3559
    3660                //create new pattern
     
    82106                            attrs           : newPattern[2].attrs
    83107                        });
     108
     109                        api.Events.trigger( "sedAfterChangePreset" , moduleSh.parent_id , newPattern[0].id );
     110                        api.Events.trigger( "after-change-preset-" + moduleSh.parent_id );
    84111
    85112                        self.completePatternsLoaded.push( loadPatternId );
  • site-editor/trunk/editor/includes/site-editor-manager.class.php

    r1640500 r1650000  
    13161316                var _sedAppEditorAddOnSettings = <?php echo wp_json_encode( $sed_addon_settings )?>;
    13171317                var _sedAppPageContentInfo = <?php echo wp_json_encode( $this->get_page_content_info() )?>;
     1318                <?php do_action( "sed_front_end_print_js_settings" );?>
    13181319        </script>
    13191320
     
    15041505     */
    15051506    public function post_value( $setting, $default = null ) {
    1506         $post_values = $this->unsanitized_post_values();
     1507        $post_values = $this->unsanitized_post_values(); 
    15071508        if ( array_key_exists( $setting->id, $post_values ) ) {
    15081509            return $setting->sanitize( $post_values[ $setting->id ] );
  • site-editor/trunk/editor/includes/site-editor-save.class.php

    r1640500 r1650000  
    7373           foreach ( $sed_page_customized as $setting_id => $setting_val) {
    7474
    75                $setting = SED()->editor->manager->get_setting( $setting_id );
     75               $setting = SED()->editor->manager->get_setting( $setting_id ); 
    7676
    7777               $setting->save();
     78
    7879           }
    7980
  • site-editor/trunk/editor/includes/site-editor-setting.class.php

    r1640500 r1650000  
    465465     */
    466466    public final function save() {
    467         $value = $this->post_value(); 
     467        $value = $this->post_value();
    468468
    469469        if ( ! $this->check_capabilities() || ! isset( $value ) )
     
    497497     * @return mixed The default value on failure, otherwise the sanitized value.
    498498     */
    499     final public function post_value( $default = null ) {
     499    final public function post_value( $default = null ) { 
    500500        return $this->manager->post_value( $this, $default );
    501501    }
  • site-editor/trunk/framework/assets/css/general.css

    r1640500 r1650000  
    214214
    215215
    216 
    217 /*   Spacing top and bottom   */
    218 
    219 .sed-stb-sm{ 
    220     padding-top: 10px;
    221     padding-bottom: 10px;   
    222 }
    223 .sed-stb-md{
    224     padding-top: 30px;
    225     padding-bottom: 30px;   
    226 }
    227 .sed-stb-lg{
    228     padding-top: 70px;
    229     padding-bottom: 70px;   
    230 }
    231 
    232 
    233 /*   Spacing left and right  */
    234 
    235 .sed-slr-sm{ 
    236     padding-left: 10px;
    237     padding-right: 10px;   
    238 }
    239 .sed-slr-md{
    240     padding-left: 30px;
    241     padding-right: 30px;   
    242 }
    243 .sed-slr-lg{
    244     padding-left: 70px;
    245     padding-right: 70px;   
    246 }
    247 
    248 
    249 /*   Spacing all side  */
    250 
    251 .sed-sas-sm{ 
    252     padding: 10px;
    253 }
    254 .sed-sas-md{
    255     padding: 30px;
    256 }
    257 .sed-sas-lg{
    258     padding: 70px;   
    259 }
    260 
    261 /*   Align  */
    262 
    263 .sed-ta-l {
    264   text-align: left;
    265 }
    266 
    267 .sed-ta-r {
    268   text-align: right;
    269 }
    270 
    271 .sed-ta-c {
    272   text-align: center;
    273 }
    274 
    275 .sed-ta-j {
    276   text-align: justify;
    277 }
    278 
    279 
    280216/*   Hidden Theme Row  */ 
    281217
     
    298234    display: none !important;
    299235}
     236
     237
     238
     239/*   Spacing top and bottom   */
     240
     241.sed-stb-sm{ 
     242    padding-top: 10px;
     243    padding-bottom: 10px;   
     244}
     245.sed-stb-md{
     246    padding-top: 30px;
     247    padding-bottom: 30px;   
     248}
     249.sed-stb-lg{
     250    padding-top: 70px;
     251    padding-bottom: 70px;   
     252}
     253
     254
     255/*   Spacing left and right  */
     256
     257.sed-slr-sm{ 
     258    padding-left: 10px;
     259    padding-right: 10px;   
     260}
     261.sed-slr-md{
     262    padding-left: 30px;
     263    padding-right: 30px;   
     264}
     265.sed-slr-lg{
     266    padding-left: 70px;
     267    padding-right: 70px;   
     268}
     269
     270
     271/*   Spacing all side  */
     272
     273.sed-sas-sm{ 
     274    padding: 10px;
     275}
     276.sed-sas-md{
     277    padding: 30px;
     278}
     279.sed-sas-lg{
     280    padding: 70px;   
     281}
     282
     283/*   Align  */
     284
     285.sed-ta-l {
     286  text-align: left;
     287}
     288
     289.sed-ta-r {
     290  text-align: right;
     291}
     292
     293.sed-ta-c {
     294  text-align: center;
     295}
     296
     297.sed-ta-j {
     298  text-align: justify;
     299}
     300
     301
     302/****   Sed Column    ****/ 
     303
     304
     305.sed-columns-1 .sed-col-item {
     306   width: 100%;
     307}
     308
     309.sed-columns-2 .sed-col-item {
     310   width: 50%;
     311}
     312
     313.sed-columns-3 .sed-col-item {
     314   width: 33.333333%;
     315}
     316
     317.sed-columns-4 .sed-col-item {
     318   width: 25%;
     319}
     320
     321.sed-columns-5 .sed-col-item {
     322   width: 20% ;
     323}
     324
     325.sed-columns-6 .sed-col-item {
     326   width: 16.666666% ;
     327}
     328
     329@media screen and (max-width: 1200px) {
     330    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     331    .sed-columns-6.sed-columns-responsive .sed-col-item {
     332        width: 25%;
     333    }
     334}
     335
     336@media screen and (max-width: 991px) {
     337    .sed-columns-4.sed-columns-responsive .sed-col-item ,
     338    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     339    .sed-columns-6.sed-columns-responsive .sed-col-item {
     340        width: 33.333333%;
     341    }
     342}
     343
     344@media screen and (min-width: 480px) and (max-width: 768px) {
     345    .sed-columns-3.sed-columns-responsive .sed-col-item ,
     346    .sed-columns-4.sed-columns-responsive .sed-col-item ,
     347    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     348    .sed-columns-6.sed-columns-responsive .sed-col-item {
     349          width: 50%;
     350    }
     351}
     352
     353@media screen and (max-width: 480px) {
     354    .sed-columns-2.sed-columns-responsive .sed-col-item ,
     355    .sed-columns-3.sed-columns-responsive .sed-col-item ,
     356    .sed-columns-4.sed-columns-responsive .sed-col-item ,
     357    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     358    .sed-columns-6.sed-columns-responsive .sed-col-item {
     359          width: 100%;
     360    }
     361}
     362
     363.sed-masonry-container {
     364    display: block;
     365}
     366
     367.sed-masonry-container:before,
     368.sed-masonry-container:after {
     369    content: "";
     370    display: table
     371}
     372
     373.sed-masonry-container:after,
     374.sed-masonry-container:before {
     375    clear: both
     376}
     377
     378.sed-masonry-container .sed-col-item {
     379    float: left;
     380}
     381
     382.rtl .sed-masonry-container .sed-col-item {
     383    float: right
     384}
  • site-editor/trunk/framework/assets/css/general.min.css

    r1640500 r1650000  
    214214
    215215
    216 
    217 /*   Spacing top and bottom   */
    218 
    219 .sed-stb-sm{ 
    220     padding-top: 10px;
    221     padding-bottom: 10px;   
    222 }
    223 .sed-stb-md{
    224     padding-top: 30px;
    225     padding-bottom: 30px;   
    226 }
    227 .sed-stb-lg{
    228     padding-top: 70px;
    229     padding-bottom: 70px;   
    230 }
    231 
    232 
    233 /*   Spacing left and right  */
    234 
    235 .sed-slr-sm{ 
    236     padding-left: 10px;
    237     padding-right: 10px;   
    238 }
    239 .sed-slr-md{
    240     padding-left: 30px;
    241     padding-right: 30px;   
    242 }
    243 .sed-slr-lg{
    244     padding-left: 70px;
    245     padding-right: 70px;   
    246 }
    247 
    248 
    249 /*   Spacing all side  */
    250 
    251 .sed-sas-sm{ 
    252     padding: 10px;
    253 }
    254 .sed-sas-md{
    255     padding: 30px;
    256 }
    257 .sed-sas-lg{
    258     padding: 70px;   
    259 }
    260 
    261 /*   Align  */
    262 
    263 .sed-ta-l {
    264   text-align: left;
    265 }
    266 
    267 .sed-ta-r {
    268   text-align: right;
    269 }
    270 
    271 .sed-ta-c {
    272   text-align: center;
    273 }
    274 
    275 .sed-ta-j {
    276   text-align: justify;
    277 }
    278 
    279 
    280216/*   Hidden Theme Row  */ 
    281217
     
    298234    display: none !important;
    299235}
     236
     237
     238
     239/*   Spacing top and bottom   */
     240
     241.sed-stb-sm{ 
     242    padding-top: 10px;
     243    padding-bottom: 10px;   
     244}
     245.sed-stb-md{
     246    padding-top: 30px;
     247    padding-bottom: 30px;   
     248}
     249.sed-stb-lg{
     250    padding-top: 70px;
     251    padding-bottom: 70px;   
     252}
     253
     254
     255/*   Spacing left and right  */
     256
     257.sed-slr-sm{ 
     258    padding-left: 10px;
     259    padding-right: 10px;   
     260}
     261.sed-slr-md{
     262    padding-left: 30px;
     263    padding-right: 30px;   
     264}
     265.sed-slr-lg{
     266    padding-left: 70px;
     267    padding-right: 70px;   
     268}
     269
     270
     271/*   Spacing all side  */
     272
     273.sed-sas-sm{ 
     274    padding: 10px;
     275}
     276.sed-sas-md{
     277    padding: 30px;
     278}
     279.sed-sas-lg{
     280    padding: 70px;   
     281}
     282
     283/*   Align  */
     284
     285.sed-ta-l {
     286  text-align: left;
     287}
     288
     289.sed-ta-r {
     290  text-align: right;
     291}
     292
     293.sed-ta-c {
     294  text-align: center;
     295}
     296
     297.sed-ta-j {
     298  text-align: justify;
     299}
     300
     301
     302/****   Sed Column    ****/ 
     303
     304
     305.sed-columns-1 .sed-col-item {
     306   width: 100%;
     307}
     308
     309.sed-columns-2 .sed-col-item {
     310   width: 50%;
     311}
     312
     313.sed-columns-3 .sed-col-item {
     314   width: 33.333333%;
     315}
     316
     317.sed-columns-4 .sed-col-item {
     318   width: 25%;
     319}
     320
     321.sed-columns-5 .sed-col-item {
     322   width: 20% ;
     323}
     324
     325.sed-columns-6 .sed-col-item {
     326   width: 16.666666% ;
     327}
     328
     329@media screen and (max-width: 1200px) {
     330    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     331    .sed-columns-6.sed-columns-responsive .sed-col-item {
     332        width: 25%;
     333    }
     334}
     335
     336@media screen and (max-width: 991px) {
     337    .sed-columns-4.sed-columns-responsive .sed-col-item ,
     338    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     339    .sed-columns-6.sed-columns-responsive .sed-col-item {
     340        width: 33.333333%;
     341    }
     342}
     343
     344@media screen and (min-width: 480px) and (max-width: 768px) {
     345    .sed-columns-3.sed-columns-responsive .sed-col-item ,
     346    .sed-columns-4.sed-columns-responsive .sed-col-item ,
     347    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     348    .sed-columns-6.sed-columns-responsive .sed-col-item {
     349          width: 50%;
     350    }
     351}
     352
     353@media screen and (max-width: 480px) {
     354    .sed-columns-2.sed-columns-responsive .sed-col-item ,
     355    .sed-columns-3.sed-columns-responsive .sed-col-item ,
     356    .sed-columns-4.sed-columns-responsive .sed-col-item ,
     357    .sed-columns-5.sed-columns-responsive .sed-col-item ,
     358    .sed-columns-6.sed-columns-responsive .sed-col-item {
     359          width: 100%;
     360    }
     361}
     362
     363.sed-masonry-container {
     364    display: block;
     365}
     366
     367.sed-masonry-container:before,
     368.sed-masonry-container:after {
     369    content: "";
     370    display: table
     371}
     372
     373.sed-masonry-container:after,
     374.sed-masonry-container:before {
     375    clear: both
     376}
     377
     378.sed-masonry-container .sed-col-item {
     379    float: left;
     380}
     381
     382.rtl .sed-masonry-container .sed-col-item {
     383    float: right
     384}
  • site-editor/trunk/framework/includes/dynamic-css.php

    r1640500 r1650000  
    100100$site_custom_css = get_option( 'sed_site_custom_css' , '' );
    101101
    102 $site_custom_css = sed_get_page_setting( 'custom_css_code' );
     102$page_custom_css = sed_get_page_setting( 'custom_css_code' );
    103103
    104 echo $output_css.$sed_dynamic_css_string.$site_custom_css.$retina_css;
     104echo $output_css.$sed_dynamic_css_string.$site_custom_css.$page_custom_css.$retina_css;
  • site-editor/trunk/framework/includes/framework-assets.class.php

    r1640500 r1650000  
    3939            $this->add( 'easing',               SED_FRAMEWORK_ASSETS_URL . '/js/easing/jquery-easing'.$this->suffix.'.js', array('jquery') ,"1.3");
    4040
    41             $this->add( 'sed-masonry',          SED_FRAMEWORK_ASSETS_URL . '/js/masonry/sed-masonry'.$this->suffix.'.js', array('masonry','sed-livequery' , 'images-loaded') ,"1.2.4");
     41            $this->add( 'sed-masonry',          SED_FRAMEWORK_ASSETS_URL . '/js/masonry/sed-masonry'.$this->suffix.'.js', array( 'jquery' , 'masonry','sed-livequery' , 'images-loaded') ,"1.2.4");
    4242
    4343            $this->add( 'sed-carousel',          SED_FRAMEWORK_ASSETS_URL . '/js/slick.carousel/sed-carousel'.$this->suffix.'.js', array('carousel','sed-livequery') ,"1.2.4");
  • site-editor/trunk/framework/includes/theme-framework.class.php

    r1640500 r1650000  
    478478                    <br>
    479479                    <div><h4 class="attr">Code Editor Settings</h4></div>
    480                     <div><span class="attr">HTML Code:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'sed_pb_builder_module_content', get_theme_mod( 'sed_code_setting' , '' ) ); ?></span></div>
    481                     <div><span class="attr">JavaScript Code:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'sed_pb_builder_module_content', get_theme_mod( 'sed_js_code_setting' , '' ) ); ?></span></div>
    482                     <div><span class="attr">Custom Css Code:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'sed_pb_builder_module_content', get_theme_mod( 'sed_css_code_setting' , '' ) ); ?></span></div>
    483                     <div><span class="attr">WordPress Text Editor:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'sed_pb_builder_module_content', get_theme_mod( 'sed_wp_editor_setting' , '' ) ); ?></span></div>
     480                    <div><span class="attr">HTML Code:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'the_content', get_theme_mod( 'sed_code_setting' , '' ) ); ?></span></div>
     481                    <div><span class="attr">JavaScript Code:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'the_content', get_theme_mod( 'sed_js_code_setting' , '' ) ); ?></span></div>
     482                    <div><span class="attr">Custom Css Code:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'the_content', get_theme_mod( 'sed_css_code_setting' , '' ) ); ?></span></div>
     483                    <div><span class="attr">WordPress Text Editor:</span>&nbsp;&nbsp;&nbsp;&nbsp;&nbsp;<span class="value"><?php echo apply_filters( 'the_content', get_theme_mod( 'sed_wp_editor_setting' , '' ) ); ?></span></div>
    484484
    485485                    <br>
  • site-editor/trunk/framework/includes/theme-support/theme-support.class.php

    r1640500 r1650000  
    6464        $theme = wp_get_theme( isset( $_REQUEST['theme'] ) ? $_REQUEST['theme'] : null );
    6565
     66        $twentyseventeen_themes = in_array( $theme->get_stylesheet() , array( "twentyseventeen" , "twentyseventeen-plus-lite" ) ) || in_array( $theme->get_template() , array( "twentyseventeen" , "twentyseventeen-plus-lite" ) );
     67
    6668        if( $theme->get_stylesheet() == "twentysixteen" ){
    6769            require_once dirname( __FILE__ ) . "/themes/twentysixteen/twentysixteen-sync.class.php" ;
    6870            new SiteEditorTwentysixteenThemeSync( $this );
    69         }else if( in_array( $theme->get_stylesheet() , array( "twentyseventeen" , "twentyseventeen-plus" , "twentyseventeen-plus-lite" ) ) ){
     71        }else if( $twentyseventeen_themes ){
    7072            require_once dirname( __FILE__ ) . "/themes/twentyseventeen/twentyseventeen-sync.class.php" ;
    7173            new SiteEditorTwentyseventeenThemeSync( $this );
  • site-editor/trunk/framework/includes/theme-support/themes/twentyseventeen/assets/js/twentyseventeen-module.js

    r1640500 r1650000  
    2323        });
    2424
     25        _.each( ["sed_disable_single_featured_image_header","sed_disable_page_featured_image_header"] , function( settingId ){
     26
     27            api( settingId , function( value ) {
     28
     29                value.bind( function( to ) {
     30
     31                    if( !to ){
     32                        $( ".single-featured-image-header" ).removeClass("hide");
     33                    }else{
     34                        $( ".single-featured-image-header" ).addClass("hide");
     35                    }
     36
     37                });
     38
     39            });
     40
     41        });
     42
    2543        api( "sed_disable_footer" , function( value ) {
    2644
     
    3250                    $( "#colophon" ).addClass("hide");
    3351                }
     52
     53            });
     54
     55        });
     56
     57        api( "sed_show_pages_title" , function( value ) {
     58
     59            value.bind( function( to ) {
     60
     61                if( to ){
     62                    $( "body.page:not(.home) .entry-header" ).removeClass("hide");
     63                }else{
     64                    $( "body.page:not(.home) .entry-header" ).addClass("hide");
     65                }
     66
     67            });
     68
     69        });
     70
     71        api( "sed_show_front_page_titles" , function( value ) {
     72
     73            value.bind( function( to ) {
     74
     75                if( to ){
     76                    $( "body.twentyseventeen-front-page .entry-header" ).removeClass("hide");
     77                }else{
     78                    $( "body.twentyseventeen-front-page .entry-header" ).addClass("hide");
     79                }
     80
     81            });
     82
     83        });
     84
     85        /**
     86         * 404 Page Options
     87         */
     88        api( "sed_404_content_layout" , function( value ) {
     89
     90            value.bind( function( to ) {
     91
     92                var _layouts = [ 'one-column' , 'two-column' ],
     93                    currClass = to == "two-column" ? "sed-404-one-column" : "sed-404-two-column",
     94                    newClass = "sed-404-" + to;
     95
     96                $( "section.error-404" ).removeClass(currClass).addClass(newClass);
     97
     98
     99            });
     100
     101        });
     102
     103        api( "sed_show_404_page_title" , function( value ) {
     104
     105            value.bind( function( to ) {
     106
     107                if( to ){
     108                    $( "section.error-404 .page-header" ).removeClass("hide");
     109                }else{
     110                    $( "section.error-404 .page-header" ).addClass("hide");
     111                }
     112
     113            });
     114
     115        });
     116
     117        api( "sed_404_page_title" , function( value ) {
     118
     119            value.bind( function( to ) {
     120
     121                $( "section.error-404 .page-header > .page-title" ).text( to );
     122
     123            });
     124
     125        });
     126
     127        /**
     128         * Single Post options
     129         */
     130
     131        var _singlePostOptions = {
     132            "sed_disable_post_nav"              : ".sed-single-post-navigation" ,
     133            "sed_disable_single_post_comments"  : ".sed-single-post-comments" ,
     134            "sed_disable_header_post_meta"      : ".sed-single-header-post-meta" ,
     135            "sed_disable_footer_post_meta"      : ".sed-single-footer-post-meta"
     136        };
     137
     138        $.each( _singlePostOptions , function( settingId , _selector ){
     139
     140            api( settingId , function( value ) {
     141
     142                value.bind( function( to ) {
     143
     144                    if( !to ){
     145                        $( _selector).removeClass("hide");
     146                    }else{
     147                        $( _selector ).addClass("hide");
     148                    }
     149
     150                });
     151
     152            });
     153
     154        });
     155
     156        if( $("body").hasClass( "archive" ) ) {
     157
     158            var _blogArchiveOptions = {
     159                "sed_show_blog_archive_title": "body.group-blog .page-title",
     160                "sed_show_blog_archive_description": "body.group-blog .taxonomy-description"
     161            };
     162
     163            var _showHideBlogheader = function () {
     164
     165                if (api('sed_show_blog_archive_title')() || api('sed_show_blog_archive_description')()) {
     166
     167                    $("body.group-blog .page-header").removeClass("hide");
     168
     169                } else {
     170
     171                    $("body.group-blog .page-header").addClass("hide");
     172
     173                }
     174
     175            };
     176
     177            $.each(_blogArchiveOptions, function (settingId, _selector) {
     178
     179                api(settingId, function (value) {
     180
     181                    value.bind(function (to) {
     182
     183                        _showHideBlogheader();
     184
     185                        if (to) {
     186                            $(_selector).removeClass("hide");
     187                        } else {
     188                            $(_selector).addClass("hide");
     189                        }
     190
     191                    });
     192
     193                });
     194
     195            });
     196
     197        }else if( $("body").hasClass( "blog" ) ){
     198
     199            api( "sed_show_blog_archive_title" , function (value) {
     200
     201                value.bind(function (to) {
     202
     203                    if ( to ) {
     204
     205                        $("body.group-blog .page-header").removeClass("hide");
     206
     207                    } else {
     208
     209                        $("body.group-blog .page-header").addClass("hide");
     210
     211                    }
     212
     213                });
     214
     215            });
     216
     217        }
     218
     219        api( "sed_show_archive_featured_image" , function (value) {
     220
     221            value.bind(function (to) {
     222
     223                if ( to ) {
     224
     225                    $("body.group-blog .sed-archive-featured-image").removeClass("hide");
     226
     227                } else {
     228
     229                    $("body.group-blog .sed-archive-featured-image").addClass("hide");
     230
     231                }
     232
     233            });
     234
     235        });
     236
     237        api( "sed_show_single_post_title" , function (value) {
     238
     239            value.bind(function (to) {
     240
     241                if ( to ) {
     242
     243                    $("body.single.single-post .sed-single-post-title").removeClass("hide");
     244
     245                } else {
     246
     247                    $("body.single.single-post .sed-single-post-title").addClass("hide");
     248
     249                }
     250
     251            });
     252
     253        });
     254
     255        /**
     256         * 404 Sidebar Options
     257         */
     258        _.each( ["sed_disable_blog_sidebar" , "sed_disable_search_results_sidebar" ] , function( sidebarSettingId ){
     259
     260            var _activeSidebar = $("body").hasClass("has-sidebar");
     261
     262            api( sidebarSettingId , function (value) {
     263
     264                value.bind(function (to) {
     265
     266                    if (!to) {
     267
     268                        $("#secondary").removeClass("hide");
     269
     270                        $("body").removeClass("sed-no-sidebar");
     271
     272                        if( _activeSidebar ){
     273                            $("body").addClass("has-sidebar");
     274                        }
     275
     276                    } else {
     277
     278                        $("#secondary").addClass("hide");
     279
     280                        $("body").addClass("sed-no-sidebar");
     281
     282                        if( _activeSidebar ){
     283                            $("body").removeClass("has-sidebar");
     284                        }
     285
     286                    }
     287
     288                });
    34289
    35290            });
  • site-editor/trunk/framework/includes/theme-support/themes/twentyseventeen/dynamic-css.php

    r1640500 r1650000  
    3535*/
    3636
     37if( $tpl_mode === false ) {
     38
     39    $link_hover_underline = (bool)$link_hover_underline;
     40
     41
     42    if ($link_hover_underline === true) {
     43
     44        $link_underline_value = "inset 0 -1px 0 {$first_main_color}";
     45        $second_link_underline_value = "inset 0 -1px 0 {$background_color}";
     46        $link_hover_underline_value = "inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 {$first_main_color}";
     47        $img_hover_underline_value = "0 0 0 8px {$background_color}";
     48
     49    } else {
     50
     51        $link_underline_value = "none";
     52        $second_link_underline_value = "none";
     53        $link_hover_underline_value = "none";
     54        $img_hover_underline_value = "none";
     55
     56    }
     57
     58
     59    $reset_default_spacing = (bool)$reset_default_spacing;
     60
     61
     62    if ($reset_default_spacing === true) {
     63
     64        $page_content_padding_bottom = "0px";
     65        $rps_page_content_padding_bottom = "0px";
     66        $home_content_padding_bottom = "0px";
     67        $rps_home_content_padding_bottom = "0px";
     68        $home_content_padding_top = "0px";
     69        $rps_home_content_padding_top = "0px";
     70        $site_content_padding_top = "0px";
     71        $rps_site_content_padding_top = "0px";
     72        $page404_content_padding_bottom = "0px";
     73        $rps_page404_content_padding_bottom = "0px";
     74        $site_footer_margin_top = "0px";
     75
     76    }
     77
     78}
     79
     80
    3781
    3882$css .= <<<CSS
     
    59103            5.0 Typography
    60104            --------------------------------------------------------------*/
    61 
     105                       
     106            html[lang] body,
     107            html[lang] button,
     108            html[lang] input,
     109            html[lang] select,
     110            html[lang] textarea,
     111            body,
     112            button,
     113            input,
     114            select,
     115            textarea {
     116                font-family: {$body_font_family}, "Helvetica Neue", helvetica, arial, sans-serif;
     117            }
     118
     119            html[lang] h1,
     120            html[lang] h2,
     121            html[lang] h3,
     122            html[lang] h4,
     123            html[lang] h5,
     124            html[lang] h6,
     125            h1,
     126            h2,
     127            h3,
     128            h4,
     129            h5,
     130            h6 {
     131                font-family: {$headings_font_family}, "Helvetica Neue", helvetica, arial, sans-serif;
     132            }
     133                       
    62134            body,
    63135            button,
     
    66138            textarea {
    67139                color: {$body_color};
    68                 font-family: {$body_font_family}, "Helvetica Neue", helvetica, arial, sans-serif;
    69140                font-size: {$responsive_body_font_size};
    70141                line-height: {$body_line_height};
     
    78149            h6 {
    79150                color: {$headings_color};
    80                 font-family: {$headings_font_family}, "Helvetica Neue", helvetica, arial, sans-serif;
    81151                line-height: {$headings_line_height};
    82152            }
     
    342412            }
    343413
     414            select,
    344415            input[type="text"],
    345416            input[type="email"],
     
    359430            textarea {
    360431                color: {$form_control_color};
    361                 background: {$form_control_bg};
     432                background: {$form_control_bg}; 
    362433                border-color: {$form_control_border};
     434                -moz-box-shadow:    {$form_control_box_shadow};
     435                -webkit-box-shadow: {$form_control_box_shadow};
     436                box-shadow:         {$form_control_box_shadow};
    363437                -webkit-border-radius: {$form_control_border_radius};
    364                 border-radius: {$form_control_border_radius};
    365             }
    366 
     438                border-radius:         {$form_control_border_radius}; 
     439                padding: {$form_control_padding};
     440                border-width: {$form_control_border_width};
     441            }
     442
     443            select:focus,
    367444            input[type="text"]:focus,
    368445            input[type="email"]:focus,
     
    382459            textarea:focus {
    383460                color: {$form_control_active_color};
    384                 border-color: {$form_control_active_border};
    385             }
    386 
    387             select {
     461                background: {$form_control_active_bg};
     462                border-color: {$form_control_active_border};
     463                -moz-box-shadow:    {$form_control_active_box_shadow};
     464                -webkit-box-shadow: {$form_control_active_box_shadow};
     465                box-shadow:         {$form_control_active_box_shadow};
     466            }
     467
     468            /*select {
    388469                border-color: {$form_control_border};
    389470                -webkit-border-radius: {$form_control_border_radius};
    390471                border-radius: {$form_control_border_radius};
    391             }
     472            }*/
    392473
    393474            button,
    394475            input[type="button"],
    395476            input[type="submit"] {
     477                color: {$button_color};
    396478                background-color: {$button_bg};
    397                 -webkit-border-radius: {$form_control_border_radius};
    398                 border-radius: {$form_control_border_radius};
    399                 color: {$button_color};
     479                border-color: {$button_border};
     480                -webkit-border-radius: {$button_border_radius};
     481                border-radius: {$button_border_radius};
     482                padding: {$button_padding};
     483                border-width: {$button_border_width};
     484                font-weight: {$button_font_weight};
     485                text-transform: {$button_text_transform};
     486                border-style: solid;
    400487                -webkit-box-shadow: none;
    401488                box-shadow: none;
     489            }
     490
     491
     492            body .module.module-button .btn {
     493                -webkit-border-radius: {$button_border_radius};
     494                border-radius: {$button_border_radius};
     495                padding: {$button_padding};
     496                border-width: {$button_border_width};
     497                font-weight: {$button_font_weight};
     498                text-transform: {$button_text_transform};
    402499            }
    403500
     
    407504            input[type="reset"].secondary,
    408505            input[type="submit"].secondary {
     506                color: {$secondary_button_color};
    409507                background-color: {$secondary_button_bg};
    410                 color: {$secondary_button_color};
     508                border-color: {$secondary_button_border};
    411509            }
    412510
     
    417515            input[type="submit"]:hover,
    418516            input[type="submit"]:focus {
     517                color: {$button_active_color};
    419518                background: {$button_active_bg};
     519                border-color: {$button_active_border};
    420520            }
    421521
     
    430530            input[type="submit"].secondary:hover,
    431531            input[type="submit"].secondary:focus {
     532                color: {$secondary_button_active_color};
    432533                background: {$secondary_button_active_bg};
     534                border-color: {$secondary_button_active_border};
    433535            }
    434536
     
    453555                color: {$placeholder_color};
    454556                font-family: {$body_font_family} , "Helvetica Neue", helvetica, arial, sans-serif;
     557            }
     558
     559
     560            /* Placeholder text color -- selectors need to be separate to work. */
     561            ::-webkit-input-placeholder:focus {
     562                color: {$active_placeholder_color};
     563            }
     564
     565            :-moz-placeholder:focus {
     566                color: {$active_placeholder_color};
     567            }
     568
     569            ::-moz-placeholder:focus {
     570                color: {$active_placeholder_color};
     571                /* Since FF19 lowers the opacity of the placeholder by default */
     572            }
     573
     574            :-ms-input-placeholder:focus {
     575                color: {$active_placeholder_color};
    455576            }
    456577
     
    496617            .posts-navigation a,
    497618            .widget_authors a strong {
    498                 -webkit-box-shadow: inset 0 -1px 0 {$first_main_color};
    499                 box-shadow: inset 0 -1px 0 {$first_main_color};
     619                -webkit-box-shadow: {$link_underline_value};
     620                box-shadow: {$link_underline_value};
    500621            }
    501622
     
    522643            .site-footer .widget-area ul li a,
    523644            .site-footer .widget-area ul li a {
    524                 -webkit-box-shadow: inset 0 -1px 0 {$page_background_color};
    525                 box-shadow: inset 0 -1px 0 {$page_background_color};
     645                -webkit-box-shadow: {$second_link_underline_value};
     646                box-shadow: {$second_link_underline_value};
    526647            }
    527648
     
    575696            .widget ul li a:hover {
    576697                color: {$first_main_color};
    577                 -webkit-box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 {$first_main_color};
    578                 box-shadow: inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 {$first_main_color};
     698                -webkit-box-shadow: {$link_hover_underline_value};
     699                box-shadow: {$link_hover_underline_value};
    579700            }
    580701
     
    582703            .entry-content a img,
    583704            .widget a img {
    584                 -webkit-box-shadow: 0 0 0 8px {$page_background_color};
    585                 box-shadow: 0 0 0 8px {$page_background_color};
     705                -webkit-box-shadow: {$img_hover_underline_value};
     706                box-shadow: {$img_hover_underline_value};
    586707            }
    587708
     
    772893                background-color: {$overlay_background};
    773894            }
     895           
     896            @media screen and (min-width: 48em){
     897                .twentyseventeen-front-page.has-header-image .custom-header-media:before,
     898                .twentyseventeen-front-page.has-header-video .custom-header-media:before,
     899                .home.blog.has-header-image .custom-header-media:before,
     900                .home.blog.has-header-video .custom-header-media:before {
     901                    height: {$overlay_height};
     902                }
     903            }
     904
    774905
    775906            /*
     
    836967
    837968            .site-content-contain {
    838                 background-color: {$page_background_color};
     969                background-color: {$background_color};
    839970            }
    840971
     
    9771108            .site-footer {
    9781109                border-top-color: {$footer_border};
     1110                background-color: {$footer_background};
    9791111            }
    9801112
     
    10341166            --------------------------------------------------------------*/
    10351167
    1036             /*.widget:last-child {
    1037                 padding-bottom: 0em;
    1038             }*/
     1168            .widget ul li a,
     1169            .widget a,
     1170            .widget {
     1171                color: {$widget_color};
     1172            }
    10391173
    10401174            h2.widget-title {
    1041                 color: {$main_text_color};
     1175                color: {$widget_title_color};
     1176                font-weight: {$widget_title_font_weight};
     1177                text-transform: {$widget_title_text_transform};   
     1178            }
     1179
     1180            @media screen and (min-width: 48em) {
     1181                h2.widget-title {
     1182                    font-size: {$widget_title_font_size};
     1183                }
    10421184            }
    10431185
     
    10451187
    10461188            .widget ul li {
    1047                 border-bottom-color: {$border_color};
    1048                 border-top-color: {$border_color};
    1049             }
    1050 
    1051             /* RSS Widget */
     1189                border-bottom: {$widget_border_width} {$widget_border_style} {$widget_border_color};
     1190                border-top: {$widget_border_width} {$widget_border_style} {$widget_border_color};
     1191                padding: {$widget_lists_padding};
     1192            }
     1193
     1194            .widget ul li + li {
     1195                margin-top: -{$widget_border_width};
     1196            }
    10521197
    10531198            .widget_rss .rss-date,
    10541199            .widget_rss li cite {
    1055                 color: {$secondary_text_color};
     1200                color: {$secondary_widget_color};
    10561201            }
    10571202
     
    10611206            .widget.widget_tag_cloud a,
    10621207            .wp_widget_tag_cloud a {
    1063                 border-color: {$border_color};
    1064                 -webkit-box-shadow: none;
    1065                 box-shadow: none;
     1208                border: {$widget_border_width} solid {$widget_border_color};
     1209                -webkit-border-radius: {$widget_border_radius};
     1210                border-radius:         {$widget_border_radius};
    10661211            }
    10671212
     
    10721217            .wp_widget_tag_cloud a:hover,
    10731218            .wp_widget_tag_cloud a:focus {
    1074                 border-color: {$secondary_border_color};
    1075                 -webkit-box-shadow: none;
    1076                 box-shadow: none;
    1077             }
    1078 
     1219                border-color: {$secondary_border_color};
     1220            }
     1221 
     1222            /* Calendar widget */
     1223
     1224            .widget_calendar thead th,
     1225            .widget_calendar tr {
     1226                border-color: {$widget_border_color};
     1227            }
     1228
     1229
     1230
     1231            /*--------------------------------------------------------------
     1232            15.0 Widgets for Background Dark
     1233            --------------------------------------------------------------*/
     1234
     1235            .sed-dark-bg-widget .widget ul li a,
     1236            .sed-dark-bg-widget .widget a,
     1237            .sed-dark-bg-widget .widget {
     1238                color: {$dark_bg_widget_color};
     1239            }
     1240
     1241            .sed-dark-bg-widget .widget ul li a:hover,
     1242            .sed-dark-bg-widget .widget a:hover {
     1243                color: {$first_main_color};
     1244            }
     1245
     1246            .sed-dark-bg-widget h2.widget-title {
     1247                color: {$dark_bg_widget_title_color};   
     1248            }
     1249
     1250            /* widget lists */
     1251
     1252            .sed-dark-bg-widget .widget ul li {
     1253                border-bottom-color: {$dark_bg_widget_border_color};
     1254                border-top-colo: {$dark_bg_widget_border_color};
     1255            }
     1256
     1257            /* RSS Widget */
     1258
     1259            .sed-dark-bg-widget .widget_rss .rss-date,
     1260            .sed-dark-bg-widget .widget_rss li cite {
     1261                color: {$dark_bg_secondary_widget_color};
     1262            }
     1263
     1264            /* Tag cloud widget */
     1265
     1266            .sed-dark-bg-widget .widget .tagcloud a,
     1267            .sed-dark-bg-widget .widget.widget_tag_cloud a,
     1268            .sed-dark-bg-widget .wp_widget_tag_cloud a {
     1269                border-color: {$dark_bg_widget_border_color};
     1270            }
     1271
     1272            .sed-dark-bg-widget .widget .tagcloud a:hover,
     1273            .sed-dark-bg-widget .widget .tagcloud a:focus,
     1274            .sed-dark-bg-widget .widget.widget_tag_cloud a:hover,
     1275            .sed-dark-bg-widget .widget.widget_tag_cloud a:focus,
     1276            .sed-dark-bg-widget .wp_widget_tag_cloud a:hover,
     1277            .sed-dark-bg-widget .wp_widget_tag_cloud a:focus {
     1278                border-color: {$dark_bg_widget_border_color};
     1279            }
     1280
     1281            /* Calendar widget */
     1282
     1283            .sed-dark-bg-widget .widget_calendar thead th,
     1284            .sed-dark-bg-widget .widget_calendar tr {
     1285                border-color: {$dark_bg_widget_border_color};
     1286            }
     1287
     1288            /* Forms */
     1289
     1290            .sed-dark-bg-widget select,
     1291            .sed-dark-bg-widget input[type="text"],
     1292            .sed-dark-bg-widget input[type="email"],
     1293            .sed-dark-bg-widget input[type="url"],
     1294            .sed-dark-bg-widget input[type="password"],
     1295            .sed-dark-bg-widget input[type="search"],
     1296            .sed-dark-bg-widget input[type="number"],
     1297            .sed-dark-bg-widget input[type="tel"],
     1298            .sed-dark-bg-widget input[type="range"],
     1299            .sed-dark-bg-widget input[type="date"],
     1300            .sed-dark-bg-widget input[type="month"],
     1301            .sed-dark-bg-widget input[type="week"],
     1302            .sed-dark-bg-widget input[type="time"],
     1303            .sed-dark-bg-widget input[type="datetime"],
     1304            .sed-dark-bg-widget input[type="datetime-local"],
     1305            .sed-dark-bg-widget input[type="color"],
     1306            .sed-dark-bg-widget textarea {
     1307                color: {$dark_bg_form_control_color};
     1308                background: {$dark_bg_form_control_bg};
     1309                border-color: {$dark_bg_form_control_border};
     1310            }
     1311
     1312            .sed-dark-bg-widget select:focus,
     1313            .sed-dark-bg-widget input[type="text"]:focus,
     1314            .sed-dark-bg-widget input[type="email"]:focus,
     1315            .sed-dark-bg-widget input[type="url"]:focus,
     1316            .sed-dark-bg-widget input[type="password"]:focus,
     1317            .sed-dark-bg-widget input[type="search"]:focus,
     1318            .sed-dark-bg-widget input[type="number"]:focus,
     1319            .sed-dark-bg-widget input[type="tel"]:focus,
     1320            .sed-dark-bg-widget input[type="range"]:focus,
     1321            .sed-dark-bg-widget input[type="date"]:focus,
     1322            .sed-dark-bg-widget input[type="month"]:focus,
     1323            .sed-dark-bg-widget input[type="week"]:focus,
     1324            .sed-dark-bg-widget input[type="time"]:focus,
     1325            .sed-dark-bg-widget input[type="datetime"]:focus,
     1326            .sed-dark-bg-widget input[type="datetime-local"]:focus,
     1327            .sed-dark-bg-widget input[type="color"]:focus,
     1328            .sed-dark-bg-widget textarea:focus {
     1329                color: {$dark_bg_form_control_color};
     1330                background: {$dark_bg_form_control_active_bg};
     1331                border-color: {$dark_bg_form_control_active_border};
     1332            }
     1333
     1334            /* Placeholder text color -- selectors need to be separate to work. */
     1335            .sed-dark-bg-widget ::-webkit-input-placeholder {
     1336                color: {$dark_bg_placeholder_color};
     1337            }
     1338
     1339            .sed-dark-bg-widget :-moz-placeholder {
     1340                color: {$dark_bg_placeholder_color};
     1341            }
     1342
     1343            .sed-dark-bg-widget ::-moz-placeholder {
     1344                color: {$dark_bg_placeholder_color};
     1345                /* Since FF19 lowers the opacity of the placeholder by default */
     1346            }
     1347
     1348            .sed-dark-bg-widget :-ms-input-placeholder {
     1349                color: {$dark_bg_placeholder_color};
     1350            }
     1351
     1352
     1353            /* Placeholder text color -- selectors need to be separate to work. */
     1354            .sed-dark-bg-widget ::-webkit-input-placeholder:focus {
     1355                color: {$dark_bg_placeholder_color};
     1356            }
     1357
     1358            .sed-dark-bg-widget :-moz-placeholder:focus {
     1359                color: {$dark_bg_placeholder_color};
     1360            }
     1361
     1362            .sed-dark-bg-widget ::-moz-placeholder:focus {
     1363                color: {$dark_bg_placeholder_color};
     1364                /* Since FF19 lowers the opacity of the placeholder by default */
     1365            }
     1366
     1367            .sed-dark-bg-widget :-ms-input-placeholder:focus {
     1368                color: {$dark_bg_placeholder_color};
     1369            }
    10791370
    10801371
     
    12381529
    12391530
     1531
    12401532            /* Layout */
    12411533
    1242             .sed-row-boxed ,
    1243             .navigation-top .wrap,
     1534
     1535            @media screen and (min-width: 0) and (min-width: 30em) and (min-width: 48em) {
     1536
     1537                .wrap,
     1538                .sed-row-boxed ,
     1539                .navigation-top .wrap ,
     1540                .page-one-column .panel-content .wrap ,
     1541                .single-post:not(.has-sidebar) #primary,
     1542                .page.page-one-column:not(.twentyseventeen-front-page) #primary,
     1543                .archive.page-one-column:not(.has-sidebar) .page-header,
     1544                .archive.page-one-column:not(.has-sidebar) #primary {
     1545                    max-width: {$sheet_width};
     1546                }
     1547
     1548            }
     1549
     1550            @media screen and (min-width: 0) and (min-width: 30em) and (min-width: 48em) {
     1551
     1552                .sed-row-boxed .sed-row-boxed,
     1553                .wrap-layout-fixed-width .wrap .sed-row-boxed ,
     1554                .sed-main-content-layout-module .wrap-layout-full-width .wrap,
     1555                .page-one-column .sed-main-content-layout-module .wrap-layout-full-width .panel-content .wrap ,
     1556                .single-post:not(.has-sidebar) .sed-main-content-layout-module .wrap-layout-full-width #primary,
     1557                .page.page-one-column:not(.twentyseventeen-front-page) .sed-main-content-layout-module .wrap-layout-full-width #primary,
     1558                .archive.page-one-column:not(.has-sidebar) .sed-main-content-layout-module .wrap-layout-full-width .page-header,
     1559                .archive.page-one-column:not(.has-sidebar) .sed-main-content-layout-module .wrap-layout-full-width #primary,
     1560                .sed-row-boxed .wrap,
     1561                .sed-row-boxed .navigation-top .wrap ,
     1562                .page-one-column .sed-row-boxed .panel-content .wrap ,
     1563                .single-post:not(.has-sidebar) .sed-row-boxed #primary,
     1564                .page.page-one-column:not(.twentyseventeen-front-page) .sed-row-boxed #primary,
     1565                .archive.page-one-column:not(.has-sidebar) .sed-row-boxed .page-header,
     1566                .archive.page-one-column:not(.has-sidebar) .sed-row-boxed #primary {
     1567                    max-width: none !important;
     1568                }
     1569
     1570            }           
     1571
     1572            .sed-row-boxed ,   
    12441573            .wrap {
    1245                 max-width: {$sheet_width};
    1246                 padding-left: {$rps_wrap_padding_left};
    1247                 padding-right: {$rps_wrap_padding_right};
    1248             }
    1249 
    1250             .sed-main-content-layout-module .wrap-layout-full-width .wrap ,
    1251             .wrap-layout-fixed-width .wrap .sed-row-boxed ,     
     1574                padding-left: {$rps_wrap_padding_left_right};
     1575                padding-right: {$rps_wrap_padding_left_right}; 
     1576            }
     1577   
    12521578            .sed-row-boxed .wrap ,
    1253             .sed-row-boxed .sed-row-boxed {
    1254                 max-width: none !important;
     1579            .sed-row-boxed .sed-row-boxed ,
     1580            .wrap-layout-fixed-width .wrap .sed-row-boxed ,
     1581            .sed-main-content-layout-module .wrap-layout-full-width .wrap {
    12551582                padding-right: 0px;
    12561583                padding-left: 0px; 
    12571584            }
    12581585
    1259             .wrap-layout-full-width .navigation-top .wrap,
    1260             .wrap-layout-full-width .wrap {
    1261                 max-width: none !important; 
    1262             }
    1263 
    1264             /*.single-post:not(.has-sidebar) .wrap-layout-fixed-width .wrap #primary,
    1265             .page.page-one-column:not(.twentyseventeen-front-page) .wrap-layout-fixed-width .wrap #primary,
    1266             .archive.page-one-column:not(.has-sidebar) .wrap-layout-fixed-width .wrap #primary,*/
    1267             .single-post:not(.has-sidebar) .wrap-layout-full-width .wrap #primary,
    1268             .page.page-one-column:not(.twentyseventeen-front-page) .wrap-layout-full-width .wrap #primary,
    1269             .archive.page-one-column:not(.has-sidebar) .wrap-layout-full-width .wrap #primary {
    1270                 max-width: none !important;
    1271             }
    1272 
    1273 
    12741586            @media screen and (min-width: 48em) {
    12751587
    12761588                .sed-row-boxed ,
    1277                 .navigation-top .wrap,
    12781589                .wrap {
    1279                     padding-left: {$wrap_padding_left};
    1280                     padding-right: {$wrap_padding_right};
     1590                    padding-left: {$wrap_padding_left_right};
     1591                    padding-right: {$wrap_padding_left_right};
    12811592                }
    12821593
     
    13131624
    13141625
    1315 
     1626            /* error 404 */ /* search results */ /* blog */
     1627
     1628
     1629            body.sed-no-sidebar .wrap > header.page-header ,
     1630            body.sed-no-sidebar .wrap > #primary ,
     1631            body.sed-no-sidebar.blog #primary article,
     1632            body.sed-no-sidebar.archive:not(.page-one-column) #primary article,
     1633            body.sed-no-sidebar.search #primary article,           
     1634            body.sed-no-sidebar .site-main > .post.type-post,
     1635            body.search.sed-no-sidebar .wrap > header.page-header , 
     1636            body.search.sed-no-sidebar .wrap > #primary ,
     1637            body.sed-no-sidebar.error404 #primary .sed-404-one-column > .page-header ,
     1638            body.sed-no-sidebar.error404 #primary .sed-404-one-column > .page-content ,
     1639            body.error404:not(.has-sidebar) #primary .sed-404-one-column > .page-header ,
     1640            body.has-sidebar.error404 #primary .sed-404-one-column > .page-header ,
     1641            .error404:not(.has-sidebar) #primary .sed-404-one-column > .page-content ,
     1642            .error404.has-sidebar #primary .sed-404-one-column > .page-content {
     1643                float: none;
     1644                width: 100%;
     1645            }
     1646
     1647            body.search.sed-no-sidebar .wrap > #primary form.search-form,
     1648            .error404:not(.has-sidebar) #primary .sed-404-one-column > .page-content form.search-form,
     1649            .error404.has-sidebar #primary .sed-404-one-column > .page-content form.search-form {
     1650                width:400px;
     1651            }
    13161652
    13171653
     
    13191655CSS;
    13201656
     1657
     1658
     1659            /*.page.type-page > .panel-content > .wrap > .entry-header ,
     1660            .page.type-page > .entry-header {
     1661                display: pages_and_front_page_title;
     1662            }*/
  • site-editor/trunk/framework/includes/theme-support/themes/twentyseventeen/modules/footer-design-options.php

    r1640500 r1650000  
    112112            ),
    113113
     114            'footer_background' => array(
     115                'setting_id'        => 'sed_footer_background',
     116                'type'              => 'color',
     117                'label'             => __('Background Color', 'site-editor'),
     118                "description"       => __("Footer Background Color", "site-editor"),
     119                'default'           => 'transparent',
     120                'transport'         => 'postMessage' ,
     121                'option_type'       => 'theme_mod',
     122                'panel'             => 'footer_custom_styling' ,
     123            ),
     124
    114125            'footer_border' => array(
    115126                'setting_id'        => 'sed_footer_border',
  • site-editor/trunk/framework/includes/theme-support/themes/twentyseventeen/modules/header-design-options.php

    r1640500 r1650000  
    282282                'type'              => 'color',
    283283                'label'             => __('Overlay Background Color', 'site-editor'),
    284                 "description"       => __("Header Ooverlay Background Color", "site-editor"),
    285                 'default'           => '',
     284                "description"       => __("Header Overlay Background Color", "site-editor"),
     285                'default'           => 'transparent',
     286                'transport'         => 'postMessage' ,
     287                'option_type'       => 'theme_mod',
     288                'panel'             => 'header_custom_styling' ,
     289            ),
     290
     291            'overlay_height' => array(
     292                'setting_id'        => 'sed_overlay_height',
     293                'type'              => 'dimension',
     294                'label'             => __('Front Page Overlay height', 'site-editor'),
     295                'default'           => '33%',
    286296                'transport'         => 'postMessage' ,
    287297                'option_type'       => 'theme_mod',
  • site-editor/trunk/framework/includes/theme-support/themes/twentyseventeen/twentyseventeen-dynamic-css.class.php

    r1640500 r1650000  
    3131    public function __construct(){
    3232
    33         add_filter( "sed_twentyseventeen_dynamic_css" , array( $this , "register_default_dynamic_css" ) , 10 , 2 );
     33        add_filter( "sed_twentyseventeen_dynamic_css" , array( $this , "register_default_dynamic_css" ) , 10 , 4 );
    3434
    3535        //before print color Scheme in css file
     
    5959
    6060
    61     public function register_default_dynamic_css( $css , $vars ){
     61    public function register_default_dynamic_css( $css , $vars , $dynamic_css , $tpl_mode ){
    6262
    6363        $vars_reference = $this->dynamic_vars_reference();
     
    8787        $settings['secondary_background_color']['default']      = "#eeeeee";
    8888
    89         $settings['page_background_color']['default']           = "#ffffff"; /* ...!!!!!!... */
     89        /*$settings['page_background_color']['default']           = "#ffffff"; ...!!!!!!... */
    9090
    9191        $settings['main_text_color']['default']                 = "#333333";
     
    167167    public function dynamic_vars_reference(){
    168168
     169
     170
     171
    169172        $vars = array(
    170173
     
    180183            --------------------------------------------------------------*/
    181184
    182             'form_control_bg'                            => 'page_background_color',
    183             'form_control_border'                        => 'border_color',
     185            'form_control_bg'                            => 'background_color',
     186            'form_control_border'                        => 'secondary_border_color',
    184187            'form_control_color'                         => 'secondary_text_color',
    185             'form_control_border_radius'                 => 'border_radius',
     188            //'form_control_border_radius'                 => 'border_radius',
    186189            'placeholder_color'                          => 'main_text_color',
    187190
     191            'form_control_active_bg'                     => 'background_color',
    188192            'form_control_active_border'                 => 'first_main_color',
    189193            'form_control_active_color'                  => 'main_text_color',
    190194
     195            //'button_border_radius'                       => 'border_radius', 
     196
    191197            'button_bg'                                  => 'first_main_color',
     198            'button_border'                              => 'first_main_color',
    192199            'button_color'                               => 'main_bg_text_color',
     200
    193201            'button_active_bg'                           => 'first_main_active_color',
     202            'button_active_border'                       => 'first_main_active_color',
     203            'button_active_color'                        => 'main_bg_text_color',
    194204
    195205            'secondary_button_bg'                        => 'second_main_color',
     206            'secondary_button_border'                    => 'second_main_color',
    196207            'secondary_button_color'                     => 'second_main_bg_text_color',
     208
    197209            'secondary_button_active_bg'                 => 'second_main_active_color',
    198 
     210            'secondary_button_active_border'             => 'second_main_active_color',
     211            'secondary_button_active_color'              => 'second_main_bg_text_color',
    199212
    200213
     
    204217
    205218
    206             'navigation_bar_bg'                          => 'page_background_color',
     219            'navigation_bar_bg'                          => 'background_color',
    207220            'navigation_bar_border'                      => 'border_color',
    208221            'navigation_bar_color'                       => 'main_text_color',
    209222
    210             'navigation_submenu_bg'                      => 'page_background_color',
     223            'navigation_submenu_bg'                      => 'background_color',
    211224            'navigation_submenu_border'                  => 'border_color',
    212225            'navigation_submenu_color'                   => 'main_text_color',
     
    223236            'header_title_color'                         => 'main_bg_text_color',
    224237            'header_description_color'                   => 'main_bg_text_color',
    225             'overlay_background'                         => 'rgba(0,0,0,0)',
    226238
    227239
     
    239251
    240252            'site_info_color'                            => 'secondary_text_color',
     253
     254
     255
     256            /*--------------------------------------------------------------
     257            15.0 Widgets
     258            --------------------------------------------------------------*/       
     259           
     260
     261            'widget_color'                               => 'main_text_color',
     262            'secondary_widget_color'                     => 'secondary_text_color',
     263            'widget_title_color'                         => 'main_text_color',
     264            'widget_border_color'                        => 'border_color',
     265            'widget_title_font_size'                     => 'md_font_size',
     266
    241267
    242268
     
    262288     * @return mixed|void
    263289     */
    264     public function get_dynamic_css( $vars ) {
     290    public function get_dynamic_css( $vars , $tpl_mode = false ) {
    265291
    266292        $css = '';
    267293
    268         $dynamic_css = apply_filters( 'sed_twentyseventeen_dynamic_css' , $css , $vars , $this );
     294        $dynamic_css = apply_filters( 'sed_twentyseventeen_dynamic_css' , $css , $vars , $this , $tpl_mode );
    269295
    270296        return $dynamic_css;
     
    310336
    311337        foreach ( $customize_color_settings As $key => $options ){
     338
     339            if( !isset( $options['setting_id'] ) ){
     340                continue;
     341            }
    312342
    313343            $default = isset( $options['default'] ) ? $options['default'] : "";
     
    366396        $vars["sheet_width"] = "{{ sheet_width }}";
    367397
    368         $dynamic_css_tpl = $this->get_dynamic_css( $vars );
     398        //Add Custom vars
     399        $vars["link_underline_value"]               = "{{ link_underline_value }}";
     400        $vars["second_link_underline_value"]        = "{{ second_link_underline_value }}";
     401        $vars["link_hover_underline_value"]         = "{{ link_hover_underline_value }}";
     402        $vars["img_hover_underline_value"]          = "{{ img_hover_underline_value }}";
     403        $vars["page_content_padding_bottom"]        = "{{ page_content_padding_bottom }}";
     404        $vars["rps_page_content_padding_bottom"]    = "{{ rps_page_content_padding_bottom }}";
     405        $vars["home_content_padding_bottom"]        = "{{ home_content_padding_bottom }}";
     406        $vars["rps_home_content_padding_bottom"]    = "{{ rps_home_content_padding_bottom }}";
     407        $vars["home_content_padding_top"]           = "{{ home_content_padding_top }}";
     408        $vars["rps_home_content_padding_top"]       = "{{ rps_home_content_padding_top }}";
     409        $vars["site_content_padding_top"]           = "{{ site_content_padding_top }}";
     410        $vars["rps_site_content_padding_top"]       = "{{ rps_site_content_padding_top }}";
     411        $vars["page404_content_padding_bottom"]     = "{{ page404_content_padding_bottom }}";
     412        $vars["rps_page404_content_padding_bottom"] = "{{ rps_page404_content_padding_bottom }}";
     413        $vars["site_footer_margin_top"]             = "{{ site_footer_margin_top }}";
     414
     415        $dynamic_css_tpl = $this->get_dynamic_css( $vars , true );
    369416
    370417        //Add Color Scheme Dynamic Css
     
    390437
    391438                ?>
     439
     440                /*alert(link_hover_underline);*/
     441
     442                link_hover_underline = link_hover_underline == "false"  ? false : link_hover_underline;
     443
     444                console.log( "-----------link_hover_underline-----" , link_hover_underline === true );
     445
     446                var link_underline_value;
     447                var second_link_underline_value;
     448                var link_hover_underline_value;
     449                var img_hover_underline_value;
     450
     451                if( link_hover_underline === true ) {
     452
     453                    link_underline_value           = "inset 0 -1px 0 " + first_main_color;
     454                    second_link_underline_value    = "inset 0 -1px 0 " + background_color;
     455                    link_hover_underline_value     = "inset 0 0 0 rgba(0, 0, 0, 0), 0 3px 0 " + first_main_color;
     456                    img_hover_underline_value      = "0 0 0 8px " + background_color;
     457
     458                }else{
     459
     460                    link_underline_value           = "none";
     461                    second_link_underline_value    = "none";
     462                    link_hover_underline_value     = "none";
     463                    img_hover_underline_value      = "none";
     464
     465                }
     466
     467                /*reset_default_spacing = (bool)$link_hover_underline;*/
     468
     469
     470                if( reset_default_spacing === true ) {
     471
     472                    page_content_padding_bottom            = "0px";
     473                    rps_page_content_padding_bottom        = "0px";
     474                    home_content_padding_bottom            = "0px";
     475                    rps_home_content_padding_bottom        = "0px";
     476                    home_content_padding_top               = "0px";
     477                    rps_home_content_padding_top           = "0px";
     478                    site_content_padding_top               = "0px";
     479                    rps_site_content_padding_top           = "0px";
     480                    page404_content_padding_bottom         = "0px";
     481                    rps_page404_content_padding_bottom     = "0px";
     482                    site_footer_margin_top                 = "0px";
     483
     484                }
    392485
    393486            #>
  • site-editor/trunk/framework/includes/theme-support/themes/twentyseventeen/twentyseventeen-sync.class.php

    r1640500 r1650000  
    7070        add_action( "sed_static_module_register" , array( $this , 'register_static_modules' ) , 10 , 1 );
    7171
    72         add_filter( "sed_theme_options_panels_filter" , array( $this , 'register_theme_panels' ) );
     72        add_filter( "sed_theme_options_panels_filter" , array( $this , 'register_theme_panels' ) , 100 );
    7373
    7474        add_filter( "sed_theme_options_fields_filter" , array( $this , 'register_theme_fields' ) );
     
    8787
    8888        //add_filter( 'sed_color_schemes' , array( $this , 'color_schemes' ) );
     89
     90        add_action( 'wp' , array( $this, 'remove_page_builder_settings' ) );
    8991
    9092    }
     
    163165    {
    164166
    165         $panels['content_layout_settings'] = array(
    166             'title'                 =>  __('Content Layout Settings',"site-editor")  ,
     167        $panels['front_page_settings'] = array(
     168            'title'                 =>  __('Front Page Options',"site-editor")  ,
    167169            'capability'            => 'edit_theme_options' ,
    168170            'type'                  => 'inner_box' ,
     
    170172            'btn_style'             => 'menu' ,
    171173            'has_border_box'        => false ,
    172             'icon'                  => 'sedico-layout' ,
    173             'field_spacing'         => 'sm'
     174            'icon'                  => 'sedico-current-post-customize' ,
     175            'field_spacing'         => 'sm',
     176            'dependency'    => array(
     177                'queries'          =>  array(
     178                    array(
     179                        'key'       => 'is_front_page' ,
     180                        'type'      => 'page_condition'
     181                    ) ,
     182                )
     183            )
    174184        );
    175185
     
    185195        );
    186196
    187         $panels['theme_general_styling'] =  array(
     197        $panels['blog_single_posts_settings'] = array(
     198            'title'                 =>  __('Single Post Settings',"site-editor")  ,
     199            'capability'            => 'edit_theme_options' ,
     200            'type'                  => 'inner_box' ,
     201            'priority'              => 30 ,
     202            'btn_style'             => 'menu' ,
     203            'has_border_box'        => false ,
     204            'parent_id'             => 'blog_settings',
     205            'icon'                  => 'sedico-current-post-customize' ,
     206            'field_spacing'         => 'sm'
     207        );
     208
     209        $panels['blog_archive_settings'] = array(
     210            'title'                 =>  __('Archive Settings',"site-editor")  ,
     211            'capability'            => 'edit_theme_options' ,
     212            'type'                  => 'inner_box' ,
     213            'priority'              => 20 ,
     214            'btn_style'             => 'menu' ,
     215            'has_border_box'        => false ,
     216            'parent_id'             => 'blog_settings',
     217            'icon'                  => 'sedico-current-post-customize' ,
     218            'field_spacing'         => 'sm'
     219        );
     220
     221        $panels['pages_settings'] = array(
     222            'title'                 =>  __('Pages Options',"site-editor")  ,
     223            'capability'            => 'edit_theme_options' ,
     224            'type'                  => 'inner_box' ,
     225            'priority'              => 30 ,
     226            'btn_style'             => 'menu' ,
     227            'has_border_box'        => false ,
     228            'icon'                  => 'sedico-current-post-customize' ,
     229            'field_spacing'         => 'sm' ,
     230            'dependency'    => array(
     231                'queries'          =>  array(
     232                    array(
     233                        'key'       => 'is_page' ,
     234                        'type'      => 'page_condition'
     235                    ) ,
     236                )
     237            )
     238        );
     239
     240        $panels['404_page_settings'] = array(
     241            'title'                 =>  __('404 Page Options',"site-editor")  ,
     242            'capability'            => 'edit_theme_options' ,
     243            'type'                  => 'inner_box' ,
     244            'priority'              => 30 ,
     245            'btn_style'             => 'menu' ,
     246            'has_border_box'        => false ,
     247            'icon'                  => 'sedico-current-post-customize' ,
     248            'field_spacing'         => 'sm',
     249            'dependency'    => array(
     250                'queries'          =>  array(
     251                    array(
     252                        'key'       => 'is_404' ,
     253                        'type'      => 'page_condition'
     254                    ) ,
     255                )
     256            )
     257        );
     258
     259        $panels['search_results_page_settings'] = array(
     260            'title'                 =>  __('Search Results Page Options',"site-editor")  ,
     261            'capability'            => 'edit_theme_options' ,
     262            'type'                  => 'inner_box' ,
     263            'priority'              => 30 ,
     264            'btn_style'             => 'menu' ,
     265            'has_border_box'        => false ,
     266            'icon'                  => 'sedico-current-post-customize' ,
     267            'field_spacing'         => 'sm',
     268            'dependency'    => array(
     269                'queries'          =>  array(
     270                    array(
     271                        'key'       => 'is_search' ,
     272                        'type'      => 'page_condition'
     273                    ) ,
     274                )
     275            )
     276        );
     277
     278        $panels['theme_general_styling'] =  array(
    188279            'type'              => 'inner_box',
    189280            'title'             => __('Theme General Styling', 'site-editor'),
     
    193284            'field_spacing'     => 'sm' ,
    194285            'parent_id'         => "root" ,
    195             'priority'          => 60 ,
     286            'priority'          => 70 ,
    196287        );
    197288
     
    207298        );
    208299
    209         $panels['forms_custom_styling'] =  array(
     300        $panels['forms_custom_styling_outer'] =  array(
    210301            'type'              => 'inner_box',
    211302            'title'             => __('Forms Custom Edit Style', 'site-editor'),
     
    216307            'parent_id'         => "theme_general_styling" ,
    217308            'priority'          => 10 ,
     309        );
     310
     311        $panels['forms_custom_styling'] =  array(
     312            'type'              => 'default',
     313            'title'             => __('Forms Custom Edit Style', 'site-editor'),
     314            'parent_id'         => "forms_custom_styling_outer" ,
     315            'priority'          => 10 ,
     316        );
     317
     318        $panels['buttons_custom_styling_outer'] =  array(
     319            'type'              => 'inner_box',
     320            'title'             => __('Buttons Custom Edit Style', 'site-editor'),
     321            'btn_style'         => 'menu' ,
     322            'has_border_box'    => false ,
     323            'icon'              => 'sedico-change-style' ,
     324            'field_spacing'     => 'sm' ,
     325            'parent_id'         => "theme_general_styling" ,
     326            'priority'          => 10 ,
     327        );
     328
     329        $panels['buttons_custom_styling'] =  array(
     330            'type'              => 'default',
     331            'title'             => __('Buttons', 'site-editor'),
     332            'parent_id'         => "buttons_custom_styling_outer" ,
     333            'priority'          => 10 ,
     334        );
     335
     336        $panels['widgets_custom_styling_outer'] =  array(
     337            'type'              => 'inner_box',
     338            'title'             => __('Widgets Custom Edit Style', 'site-editor'),
     339            'btn_style'         => 'menu' ,
     340            'has_border_box'    => false ,
     341            'icon'              => 'sedico-change-style' ,
     342            'field_spacing'     => 'sm' ,
     343            'parent_id'         => "theme_general_styling" ,
     344            'priority'          => 10 ,
     345        );
     346
     347        $panels['widgets_custom_styling'] =  array( 
     348            'type'              => 'default',
     349            'title'             => __('Widgets', 'site-editor'),
     350            'parent_id'         => "widgets_custom_styling_outer" ,
     351            'priority'          => 10 , 
     352        );
     353
     354        $panels['dark_bg_widgets_custom_styling_outer'] =  array(
     355            'type'              => 'inner_box',
     356            'title'             => __('Widgets for Background Dark', 'site-editor'),
     357            'btn_style'         => 'menu' ,
     358            'has_border_box'    => false ,
     359            'icon'              => 'sedico-change-style' ,
     360            'field_spacing'     => 'sm' ,
     361            'parent_id'         => "theme_general_styling" ,
     362            'priority'          => 10 ,
     363        );
     364
     365        $panels['dark_bg_widgets_custom_styling'] =  array( 
     366            'type'              => 'default',
     367            'title'             => __('Widgets', 'site-editor'),
     368            'parent_id'         => "dark_bg_widgets_custom_styling_outer" ,
     369            'priority'          => 10 , 
     370        );
     371
     372        $panels['dark_bg_widgets_forms_custom_styling'] =  array( 
     373            'type'              => 'default',
     374            'title'             => __('forms', 'site-editor'),
     375            'parent_id'         => "dark_bg_widgets_custom_styling_outer" ,
     376            'priority'          => 10 , 
    218377        );
    219378
     
    229388        );
    230389
     390 
     391        /**
     392         * Remove Page Builder Settings Panel From Twentyseventeen Theme
     393         *
     394         */
     395
     396        unset($panels['page_builder_settings']);
     397
    231398        return $panels;
    232399    }
     
    247414        }
    248415
     416        /**
     417         * Header Settings
     418         */
    249419        $fields['header_settings'] = array(
    250420            "type"              => "button",
     
    262432        );
    263433
     434        /**
     435         * Page Options
     436         */
    264437        $fields['page_content_layout'] = array(
    265438            'setting_id'        => 'page_layout',
     
    274447                "two-column"        =>    __('Two Column', 'site-editor'),
    275448            ) ,
    276             'panel'             => 'content_layout_settings',
    277         );
    278 
     449            'panel'             => 'pages_settings',
     450        );
     451
     452        $fields['show_pages_title'] = array(
     453            'setting_id'        => 'sed_show_pages_title',
     454            'label'             => __('Show pages title', 'site-editor'),
     455            'type'              => 'switch',
     456            'default'           => true,
     457            'transport'         => 'postMessage' ,
     458            'choices'           => array(
     459                "on"            =>    "Show" ,
     460                "off"           =>    "Hide" ,
     461            ) ,
     462            'panel'             =>  'pages_settings',
     463        );
     464
     465        $fields['disable_page_featured_image_header'] = array(
     466            'setting_id'        => 'sed_disable_page_featured_image_header',
     467            'label'             => __('Disable Featured Image Header', 'site-editor'),
     468            'type'              => 'switch',
     469            'default'           => false,
     470            'choices'           => array(
     471                "on"                    =>    "Yes" ,
     472                "off"                   =>    "No" ,
     473            ) ,
     474            'option_type'       => 'theme_mod',
     475            'transport'         => 'postMessage' ,
     476            'panel'             => 'pages_settings',
     477        );
     478
     479
     480        /**
     481         * Home Page Options
     482         */
     483        $fields['show_front_page_titles'] = array(
     484            'setting_id'        => 'sed_show_front_page_titles',
     485            'label'             => __('Show front page titles', 'site-editor'),
     486            'type'              => 'switch',
     487            'default'           => true,
     488            'transport'         => 'postMessage' ,
     489            'choices'           => array(
     490                "on"            =>    "Show" ,
     491                "off"           =>    "Hide" ,
     492            ) ,
     493            'panel'             =>  'front_page_settings',
     494        );
    279495
    280496        /**
     
    299515                'transport'         => 'postMessage' ,
    300516                'sanitize_callback' => 'absint',
    301                 'panel'             => 'content_layout_settings',
     517                'panel'             => 'front_page_settings',
    302518                'partial_refresh'   => array(
    303519                    'selector'            => '#panel' . $i,
     
    309525        }
    310526
     527        /**
     528         * Footer Settings
     529         */
    311530        $fields['footer_settings'] = array(
    312531            "type"              => "button",
     
    317536                'class'                 => "open-new-group-settings" ,
    318537            ),
    319             'priority'          => 40 ,
     538            'priority'          => 12 ,
    320539            'has_border_box'    => false ,
    321540            'icon'              => 'sedico-footer' ,
     
    324543        );
    325544
     545        /**
     546         * 404 Page Settings
     547         */
     548        $fields['404_content_layout'] = array(
     549            'setting_id'        => 'sed_404_content_layout',
     550            'label'             => __('404 Content Layout', 'site-editor'),
     551            'description'       => __( 'When the two column layout is assigned, the page title is in one column and content is in the other.' , 'site-editor' ),
     552            'type'              => 'radio-buttonset',
     553            'default'           => 'two-column',
     554            'option_type'       => 'theme_mod',
     555            'transport'         => 'postMessage' ,
     556            'choices'           => array(
     557                "one-column"        =>    __('One Column', 'site-editor'),
     558                "two-column"        =>    __('Two Column', 'site-editor'),
     559            ) ,
     560            'panel'             => '404_page_settings',
     561        );
     562
     563        $fields['show_404_page_title'] = array(
     564            'setting_id'        => 'sed_show_404_page_title',
     565            'label'             => __('Show 404 page title', 'site-editor'),
     566            'type'              => 'switch',
     567            'default'           => true,
     568            'transport'         => 'postMessage' ,
     569            'choices'           => array(
     570                "on"            =>    "Show" ,
     571                "off"           =>    "Hide" ,
     572            ) ,
     573            'panel'             =>  '404_page_settings',
     574        );
     575
     576        $fields['404_page_title'] = array(
     577            'setting_id'        => 'sed_404_page_title',
     578            'label'             => __('404 Page Title', 'site-editor'),
     579            'description'       => __( '404 Page Title' , 'site-editor' ),
     580            'type'              => 'text',
     581            'default'           => __( 'Oops! That page can&rsquo;t be found.', 'site-editor' ),
     582            'option_type'       => 'theme_mod',
     583            'transport'         => 'postMessage' ,
     584            'panel'             => '404_page_settings',
     585            'dependency' => array(
     586                'queries'  =>  array(
     587                    array(
     588                        "key"       => "show_404_page_title" ,
     589                        "value"     => '1' ,
     590                        "compare"   => "=="
     591                    )
     592                )
     593            )
     594        );
     595
     596        /**
     597         * Search Result Settings
     598         */
     599        $fields['disable_search_results_sidebar'] = array(
     600            'setting_id'        => 'sed_disable_search_results_sidebar',
     601            'label'             => __('Disable search results sidebar', 'site-editor'),
     602            'type'              => 'switch',
     603            'default'           => false,
     604            'option_type'       => 'theme_mod',
     605            'transport'         => 'postMessage' ,
     606            'choices'           => array(
     607                "on"       =>    "Yes" ,
     608                "off"      =>    "No" ,
     609            ) ,
     610            'panel'             =>  'search_results_page_settings',
     611        );
     612
     613        /**
     614         * Blog settings
     615         */
     616        $fields['disable_blog_sidebar'] = array(
     617            'setting_id'        => 'sed_disable_blog_sidebar',
     618            'label'             => __('Disable Blog Sidebar', 'site-editor'),
     619            'type'              => 'switch',
     620            'default'           => false,
     621            'option_type'       => 'theme_mod',
     622            'transport'         => 'postMessage' ,
     623            'choices'           => array(
     624                "on"       =>    "Yes" ,
     625                "off"      =>    "No" ,
     626            ) ,
     627            'panel'             =>  'blog_settings',
     628        );
     629
     630        $fields['disable_header_post_meta'] = array(
     631            'setting_id'        => 'sed_disable_header_post_meta',
     632            'label'             => __('Disable Header Post Meta', 'site-editor'),
     633            'type'              => 'switch',
     634            'default'           => false,
     635            'choices'           => array(
     636                "on"       =>    "Yes" ,
     637                "off"      =>    "No" ,
     638            ) ,
     639            'option_type'       => 'theme_mod',
     640            'transport'         => 'postMessage' ,
     641            'panel'             =>  'blog_settings',
     642        );
     643
     644        $fields['disable_footer_post_meta'] = array(
     645            'setting_id'        => 'sed_disable_footer_post_meta',
     646            'label'             => __('Disable Footer Post Meta', 'site-editor'),
     647            'type'              => 'switch',
     648            'default'           => false,
     649            'choices'           => array(
     650                "on"       =>    "Yes" ,
     651                "off"      =>    "No" ,
     652            ) ,
     653            'option_type'       => 'theme_mod',
     654            'transport'         => 'postMessage' ,
     655            'panel'             =>  'blog_settings',
     656        );
     657
     658        /**
     659         * Single Post settings
     660         */
     661
     662        $fields['show_single_post_title'] = array(
     663            'setting_id'        => 'sed_show_single_post_title',
     664            'label'             => __('Show Post Title', 'site-editor'),
     665            'type'              => 'switch',
     666            'default'           => true,
     667            'transport'         => 'postMessage' ,
     668            'choices'           => array(
     669                "on"            =>    "Yes" ,
     670                "off"           =>    "No"  ,
     671            ) ,
     672            'panel'             =>  'blog_single_posts_settings',
     673        );
     674
     675        $fields['disable_single_featured_image_header'] = array(
     676            'setting_id'        => 'sed_disable_single_featured_image_header',
     677            'label'             => __('Disable Featured Image Header', 'site-editor'),
     678            'type'              => 'switch',
     679            'default'           => false,
     680            'choices'           => array(
     681                "on"                    =>    "Yes" ,
     682                "off"                   =>    "No" ,
     683            ) ,
     684            'option_type'       => 'theme_mod',
     685            'transport'         => 'postMessage' ,
     686            'panel'             => 'blog_single_posts_settings',
     687        );
     688
     689        $fields['disable_single_post_comments'] = array(
     690            'setting_id'        => 'sed_disable_single_post_comments',
     691            'label'             => __('Disable Comments on single post', 'site-editor'),
     692            'type'              => 'switch',
     693            'default'           => false,
     694            'choices'           => array(
     695                "on"       =>    "Yes" ,
     696                "off"      =>    "No" ,
     697            ) ,
     698            'option_type'       => 'theme_mod',
     699            'transport'         => 'postMessage' ,
     700            'panel'             =>  'blog_single_posts_settings',
     701        );
     702
     703        $fields['disable_post_nav'] = array(
     704            'setting_id'        => 'sed_disable_post_nav',
     705            'label'             => __('Disable Post Navigation', 'site-editor'),
     706            'type'              => 'switch',
     707            'default'           => false,
     708            'choices'           => array(
     709                "on"       =>    "Yes" ,
     710                "off"      =>    "No" ,
     711            ) ,
     712            'option_type'       => 'theme_mod',
     713            'transport'         => 'postMessage' ,
     714            'panel'             =>  'blog_single_posts_settings',
     715        );
     716
     717        /**
     718         * Blog && Archive settings
     719         */
     720        $archive_partial = $this->get_partial_refresh();
     721
     722        $fields['show_blog_archive_title'] = array(
     723            'setting_id'        => 'sed_show_blog_archive_title',
     724            'label'             => __('Show Archive Title', 'site-editor'),
     725            'type'              => 'switch',
     726            'default'           => true,
     727            'transport'         => 'postMessage' ,
     728            'choices'           => array(
     729                "on"            =>    "Show" ,
     730                "off"           =>    "Hide" ,
     731            ) ,
     732            'panel'             =>  'blog_archive_settings',
     733        );
     734
     735        $fields['show_blog_archive_description'] = array(
     736            'setting_id'        => 'sed_show_blog_archive_description',
     737            'label'             => __('Show Archive Description', 'site-editor'),
     738            'type'              => 'switch',
     739            'default'           => true,
     740            'transport'         => 'postMessage' ,
     741            'choices'           => array(
     742                "on"            =>    "Show" ,
     743                "off"           =>    "Hide" ,
     744            ) ,
     745            'panel'             =>  'blog_archive_settings',
     746        );
     747
     748        $fields['show_archive_featured_image'] = array(
     749            'setting_id'        => 'sed_show_archive_featured_image',
     750            'label'             => __('Show Archive Featured Images', 'site-editor'),
     751            'type'              => 'switch',
     752            'default'           => true,
     753            'transport'         => 'postMessage' ,
     754            'choices'           => array(
     755                "on"            =>    "Show" ,
     756                "off"           =>    "Hide" ,
     757            ) ,
     758            'panel'             =>  'blog_archive_settings',
     759        );
     760
     761        $fields["blog_content_display"] = array(
     762            'setting_id'        =>  "sed_blog_content_display",
     763            "type"              => "radio-buttonset",
     764            "label"             => __("Blog Content Display","site-editor"),
     765            "description"       => __('This feature allows you to select if you want whole content of a post be loaded or only Excerpt and a summary of the post be displayed.',"site-editor"),
     766            'choices'   => array(
     767                "excerpt"           =>__("Excerpt","site-editor"),
     768                "content"           =>__("Full Content","site-editor"),
     769            ),
     770            "default"           => 'content',
     771            'option_type'       => 'theme_mod' ,
     772            'transport'         => 'postMessage' ,
     773            'partial_refresh'   => $archive_partial ,
     774            'panel'             =>  'blog_archive_settings',
     775        );
     776
     777        $fields["excerpt_length"] = array(
     778            'setting_id'        =>  "sed_blog_excerpt_length",
     779            "type"              => 'number',
     780            "label"             => __("Excerpt Length","site-editor"),
     781            "description"       => __('This feature allows you to specify the number of Excerpt characters in a post. In other words it enables you to define the number of your post summary’s characters.',"site-editor"),
     782            "default"           => 250 ,
     783            'option_type'       => 'theme_mod' ,
     784            "js_params"         =>  array(
     785                "min"  =>  10 ,
     786            ),
     787            'transport'         => 'postMessage' ,
     788            'partial_refresh'   => $archive_partial ,
     789            'panel'             =>  'blog_archive_settings',
     790            "dependency"    => array(
     791                'queries'  =>  array(
     792                    array(
     793                        "key"           => "blog_content_display" ,
     794                        "value"         => "excerpt" ,
     795                        "compare"       => "==="
     796                    )
     797                ),
     798            )
     799        );
     800
     801        $fields["excerpt_strip_html"] = array(
     802            'setting_id'        =>  "sed_blog_excerpt_strip_html",
     803            "type"              => "switch",
     804            "label"             => __("Strip HTML from Excerpt","site-editor"),
     805            "description"       => __('This feature allows to Html and Excerpt codes be overlooked for you.',"site-editor"),
     806            "default"           => false,
     807            'choices'           => array(
     808                "on"                =>    __( "Yes","site-editor") ,
     809                "off"               =>    __( "No","site-editor") ,
     810            ) ,
     811            'option_type'       => 'theme_mod' ,
     812            'transport'         => 'postMessage' ,
     813            'partial_refresh'   => $archive_partial ,
     814            'panel'             =>  'blog_archive_settings',
     815            "dependency"    => array(
     816                'queries'  =>  array(
     817                    array(
     818                        "key"           => "blog_content_display" ,
     819                        "value"         => "excerpt" ,
     820                        "compare"       => "==="
     821                    )
     822                ),
     823            )
     824        );
     825
     826        /**
     827         * Remove Page Builder Settings Fields From Twentyseventeen Theme
     828         *
     829         */
     830        unset($fields['pb_rows_width']);
     831
     832        unset($fields['pb_rows_padding']);
     833
    326834        $fields = array_merge( $fields , $this->dynamic_css_options );
    327835
    328836        return $fields;
     837
     838    }
     839
     840    protected function get_partial_refresh(){
     841
     842        return array(
     843            'selector'            => '#main.site-main',
     844            'render_callback'     => array( $this, '_render_archive_content' ),
     845            'container_inclusive' => false,
     846        );
     847
     848    }
     849
     850    public function _render_archive_content(){
     851
     852        ob_start();
     853
     854        if ( have_posts() ) :
     855
     856            /* Start the Loop */
     857            while ( have_posts() ) : the_post();
     858
     859                /*
     860                 * Include the Post-Format-specific template for the content.
     861                 * If you want to override this in a child theme, then include a file
     862                 * called content-___.php (where ___ is the Post Format name) and that will be used instead.
     863                 */
     864                get_template_part( 'template-parts/post/content', get_post_format() );
     865
     866            endwhile;
     867
     868            the_posts_pagination( array(
     869                'prev_text' => twentyseventeen_get_svg( array( 'icon' => 'arrow-left' ) ) . '<span class="screen-reader-text">' . __( 'Previous page', 'twentyseventeen' ) . '</span>',
     870                'next_text' => '<span class="screen-reader-text">' . __( 'Next page', 'twentyseventeen' ) . '</span>' . twentyseventeen_get_svg( array( 'icon' => 'arrow-right' ) ),
     871                'before_page_number' => '<span class="meta-nav screen-reader-text">' . __( 'Page', 'twentyseventeen' ) . ' </span>',
     872            ) );
     873
     874        else :
     875
     876            get_template_part( 'template-parts/post/content', 'none' );
     877
     878        endif;
     879
     880        $content = ob_get_contents();
     881
     882        ob_end_clean();
     883
     884        return $content;
     885
     886    }
     887
     888    public static function the_blog_content(){
     889
     890        if ( is_single() ) {
     891
     892            the_content();
     893
     894        }else{
     895
     896            $blog_content_display = get_theme_mod( 'sed_blog_content_display' , 'content' );
     897
     898            $excerpt_length = get_theme_mod( 'sed_blog_excerpt_length' , 250 );
     899
     900            $strip_html = (bool)get_theme_mod( 'sed_blog_excerpt_strip_html' , '0' );
     901
     902            switch ( $blog_content_display ){
     903
     904                case "content" :
     905
     906                    the_content( sprintf(
     907                        __( 'Continue reading<span class="screen-reader-text"> "%s"</span>', 'twentyseventeen' ),
     908                        get_the_title()
     909                    ) );
     910
     911                    break;
     912
     913                case "excerpt" :
     914
     915                    $content_post = apply_filters('the_excerpt', get_the_excerpt());
     916
     917                    # FILTER EXCERPT LENGTH
     918                    if( strlen( $content_post ) > $excerpt_length )
     919                        $content_post = mb_substr( $content_post , 0 , $excerpt_length - 3 ) . '...';
     920
     921                    if( $strip_html )
     922                        $content_post = strip_tags( $content_post );
     923
     924                    echo $content_post;
     925
     926                    break;
     927
     928            }
     929
     930        }
    329931
    330932    }
     
    4821084            ),
    4831085
     1086            'link_hover_underline' => array(
     1087                'setting_id'        => 'sed_link_hover_underline',
     1088                'label'             => __('Link Hover Underline', 'site-editor'),
     1089                'type'              => 'switch',
     1090                'default'           => true,
     1091                'transport'         => 'postMessage' ,
     1092                'choices'           => array(
     1093                    "on"            =>    "Show" ,
     1094                    "off"           =>    "Hide" ,
     1095                ) ,
     1096                'panel'             =>  'general_custom_styling',
     1097            ),
     1098
     1099
     1100
     1101            'reset_default_spacing' => array(
     1102                'setting_id'        => 'sed_reset_default_spacing', 
     1103                'label'             => __('Reset Default Spacing', 'site-editor'),
     1104                'type'              => 'switch',
     1105                'default'           => false,
     1106                'transport'         => 'postMessage' ,
     1107                'choices'           => array(
     1108                    "on"            =>    "Yes" ,
     1109                    "off"           =>    "No" ,
     1110                ) ,
     1111                'panel'             =>  'general_custom_styling',
     1112            ),
     1113
     1114
     1115
     1116
     1117            /*'pages_and_front_page_title' => array(
     1118                'setting_id'        => 'sed_pages_and_front_page_title',
     1119                'label'             => __('Pages and Front Page Title', 'site-editor'),
     1120                'type'              => 'radio-buttonset',
     1121                'default'           => 'block',
     1122                'transport'         => 'postMessage' ,
     1123                'choices'           => array(
     1124                    "none"          =>    "Hide" ,
     1125                    "block"         =>    "Show" ,
     1126                ) ,
     1127                'panel'             =>  'general_custom_styling',
     1128                //'has_border_box'    => false,
     1129            ),*/
     1130       
     1131
    4841132        /*--------------------------------------------------------------
    4851133        6.0 Forms
    4861134        --------------------------------------------------------------*/
    4871135
     1136            'form_control_padding' => array(
     1137                'setting_id'        => 'sed_form_control_padding',
     1138                'type'              => 'text',
     1139                'label'             => __('Padding', 'site-editor'),
     1140                'default'           => '0.7em',
     1141                'transport'         => 'postMessage' ,
     1142                'option_type'       => 'theme_mod',
     1143                'has_border_box'    => false,
     1144                'panel'             => 'forms_custom_styling' ,
     1145            ),
     1146
     1147            'form_control_border_width' => array(
     1148                'setting_id'        => 'sed_form_control_border_width',
     1149                'type'              => 'text',
     1150                'label'             => __('Border Width', 'site-editor'),
     1151                'default'           => '1px',
     1152                'transport'         => 'postMessage' ,
     1153                'option_type'       => 'theme_mod',
     1154                'has_border_box'    => false,
     1155                'panel'             => 'forms_custom_styling' ,
     1156            ),
     1157
    4881158            'form_control_border_radius' => array(
    4891159                'setting_id'        => 'sed_form_control_border_radius',
    4901160                'type'              => 'dimension',
    491                 'label'             => __('Form Control Border Radius', 'site-editor'),
    492                 "description"       => __("Border Radius for theme", "site-editor") ,
    493                 'default'           => '',
     1161                'label'             => __('Border Radius', 'site-editor'),
     1162                'default'           => '3px',
    4941163                'transport'         => 'postMessage' ,
    4951164                'option_type'       => 'theme_mod',
    4961165                'panel'             => 'forms_custom_styling' ,
    497             ),
    498 
     1166            ),
    4991167
    5001168            'form_control_bg' => array(
     
    5021170                'type'              => 'color',
    5031171                'label'             => __('Background Color', 'site-editor'),
    504                 "description"       => __("Form Control Background Color", "site-editor"),
    505                 'default'           => '',
    506                 'transport'         => 'postMessage' ,
    507                 'option_type'       => 'theme_mod',
     1172                'default'           => '',
     1173                'transport'         => 'postMessage' ,
     1174                'option_type'       => 'theme_mod',
     1175                'has_border_box'    => false,
     1176                'panel'             => 'forms_custom_styling' ,
     1177            ),
     1178
     1179            'form_control_color' => array(
     1180                'setting_id'        => 'sed_form_control_color',
     1181                'type'              => 'color',
     1182                'label'             => __('Text Color', 'site-editor'),
     1183                'default'           => '',
     1184                'transport'         => 'postMessage' ,
     1185                'option_type'       => 'theme_mod',
     1186                'has_border_box'    => false,
     1187                'panel'             => 'forms_custom_styling' ,
     1188            ),
     1189
     1190            'placeholder_color' => array(
     1191                'setting_id'        => 'sed_placeholder_color',
     1192                'type'              => 'color',
     1193                'label'             => __('Placeholder Color', 'site-editor'),
     1194                'default'           => '',
     1195                'transport'         => 'postMessage' ,
     1196                'option_type'       => 'theme_mod',
     1197                'has_border_box'    => false,
    5081198                'panel'             => 'forms_custom_styling' ,
    5091199            ),
     
    5131203                'type'              => 'color',
    5141204                'label'             => __('Border Color', 'site-editor'),
    515                 "description"       => __("Form Control Border Color", "site-editor"),
    516                 'default'           => '',
    517                 'transport'         => 'postMessage' ,
    518                 'option_type'       => 'theme_mod',
     1205                'default'           => '',
     1206                'transport'         => 'postMessage' ,
     1207                'option_type'       => 'theme_mod',
     1208                'has_border_box'    => false,
    5191209                'panel'             => 'forms_custom_styling' ,
    5201210            ),
    5211211
    522             'form_control_color' => array(
    523                 'setting_id'        => 'sed_form_control_color',
    524                 'type'              => 'color',
    525                 'label'             => __('Text Color', 'site-editor'),
    526                 "description"       => __("Form Control Text Color", "site-editor"),
    527                 'default'           => '',
     1212            'form_control_box_shadow' => array(
     1213                'setting_id'        => 'sed_form_control_box_shadow',
     1214                'type'              => 'text',
     1215                'label'             => __('Shadow', 'site-editor'),
     1216                'default'           => 'none',
    5281217                'transport'         => 'postMessage' ,
    5291218                'option_type'       => 'theme_mod',
    5301219                'panel'             => 'forms_custom_styling' ,
    531             ),
    532 
    533             'placeholder_color' => array(
    534                 'setting_id'        => 'sed_placeholder_color',
    535                 'type'              => 'color',
    536                 'label'             => __('Placeholder Color', 'site-editor'),
    537                 "description"       => __("Form placeholder Text Color", "site-editor"),
    538                 'default'           => '',
    539                 'transport'         => 'postMessage' ,
    540                 'option_type'       => 'theme_mod',
     1220            ), 
     1221
     1222            'form_control_active_bg' => array(
     1223                'setting_id'        => 'sed_form_control_active_bg',
     1224                'type'              => 'color',
     1225                'label'             => __('Active Background Color', 'site-editor'),
     1226                'default'           => '',
     1227                'transport'         => 'postMessage' ,
     1228                'option_type'       => 'theme_mod',
     1229                'has_border_box'    => false,
    5411230                'panel'             => 'forms_custom_styling' ,
    5421231            ),
     1232
     1233            'form_control_active_color' => array(
     1234                'setting_id'        => 'sed_form_control_active_color',
     1235                'type'              => 'color',
     1236                'label'             => __('Active Text Color', 'site-editor'),
     1237                'default'           => '',
     1238                'transport'         => 'postMessage' ,
     1239                'option_type'       => 'theme_mod',
     1240                'has_border_box'    => false,
     1241                'panel'             => 'forms_custom_styling' ,
     1242            ),
     1243
     1244            'active_placeholder_color' => array(
     1245                'setting_id'        => 'sed_active_placeholder_color',
     1246                'type'              => 'color',
     1247                'label'             => __('Active Placeholder Color', 'site-editor'),
     1248                'default'           => '',
     1249                'transport'         => 'postMessage' ,
     1250                'option_type'       => 'theme_mod',
     1251                'has_border_box'    => false,
     1252                'panel'             => 'forms_custom_styling' ,
     1253            ),
    5431254
    5441255            'form_control_active_border' => array(
     
    5461257                'type'              => 'color',
    5471258                'label'             => __('Active Border Color', 'site-editor'),
    548                 "description"       => __("Form Control Active Border Color", "site-editor"),
    549                 'default'           => '',
    550                 'transport'         => 'postMessage' ,
    551                 'option_type'       => 'theme_mod',
     1259                'default'           => '',
     1260                'transport'         => 'postMessage' ,
     1261                'option_type'       => 'theme_mod',
     1262                'has_border_box'    => false,
    5521263                'panel'             => 'forms_custom_styling' ,
    5531264            ),
    5541265
    555             'form_control_active_color' => array(
    556                 'setting_id'        => 'sed_form_control_active_color',
    557                 'type'              => 'color',
    558                 'label'             => __('Active Text Color', 'site-editor'),
    559                 "description"       => __("Form Control Active Text Color", "site-editor"),
    560                 'default'           => '',
    561                 'transport'         => 'postMessage' ,
    562                 'option_type'       => 'theme_mod',
     1266            'form_control_active_box_shadow' => array(
     1267                'setting_id'        => 'sed_form_control_active_box_shadow',
     1268                'type'              => 'text',
     1269                'label'             => __('Active Shadow', 'site-editor'),
     1270                'default'           => 'none',
     1271                'transport'         => 'postMessage' ,
     1272                'option_type'       => 'theme_mod',
     1273                'has_border_box'    => false,
    5631274                'panel'             => 'forms_custom_styling' ,
    564             ),
     1275            ),   
     1276
     1277
     1278        /*--------------------------------------------------------------
     1279        6.0 Forms -> Button
     1280        --------------------------------------------------------------*/   
     1281
     1282            'button_padding' => array(
     1283                'setting_id'        => 'sed_button_padding',
     1284                'type'              => 'text',
     1285                'label'             => __('Padding', 'site-editor'),
     1286                'default'           => '1em 2em',
     1287                'transport'         => 'postMessage' ,
     1288                'option_type'       => 'theme_mod',
     1289                'has_border_box'    => false,
     1290                'panel'             => 'buttons_custom_styling' ,
     1291            ),       
     1292
     1293            'button_border_width' => array(
     1294                'setting_id'        => 'sed_button_border_width',
     1295                'type'              => 'dimension',
     1296                'label'             => __('Border Width', 'site-editor'),
     1297                'default'           => '0px',
     1298                'transport'         => 'postMessage' ,
     1299                'option_type'       => 'theme_mod',
     1300                'has_border_box'    => false,
     1301                'panel'             => 'buttons_custom_styling' ,
     1302            ),
     1303
     1304            'button_border_radius' => array(
     1305                'setting_id'        => 'sed_button_border_radius',
     1306                'type'              => 'dimension',
     1307                'label'             => __('Border Radius', 'site-editor'),
     1308                'default'           => '2px',
     1309                'transport'         => 'postMessage' ,
     1310                'option_type'       => 'theme_mod',
     1311                'has_border_box'    => false,
     1312                'panel'             => 'buttons_custom_styling' ,
     1313            ),
     1314
     1315
     1316            'button_font_weight' => array(
     1317                'setting_id'        => 'sed_button_font_weight',
     1318                "type"              => "select" ,
     1319                "label"             => __('Font Weight', 'site-editor'),
     1320                'default'           => 800,
     1321                'choices'           => array(
     1322                    'normal'        => __('normal', 'site-editor'),
     1323                    'bold'          => __('bold', 'site-editor') ,
     1324                    'bolder'        => __('bolder', 'site-editor'),
     1325                    'lighter'       => __('lighter', 'site-editor') ,
     1326                    100             => 100,
     1327                    200             => 200 ,
     1328                    300             => 300,
     1329                    400             => 400 ,
     1330                    500             => 500,
     1331                    600             => 600 ,
     1332                    700             => 700,
     1333                    800             => 800 ,
     1334                    900             => 900 ,
     1335                ) ,
     1336                'transport'         => 'postMessage' ,
     1337                'option_type'       => 'theme_mod',
     1338                'has_border_box'    => false,
     1339                'panel'             => 'buttons_custom_styling' ,
     1340            ),
     1341
     1342            'button_text_transform' => array(
     1343                'setting_id'        => 'sed_button_text_transform',
     1344                'type'              => 'select' ,
     1345                'label'             => __('Text Transform', 'site-editor'),
     1346                'default'           => 'none',
     1347                'choices'           => array(
     1348                    'capitalize'    => __('capitalize', 'site-editor'),
     1349                    'lowercase'     => __('lowercase', 'site-editor'),
     1350                    'uppercase'     => __('uppercase', 'site-editor'),
     1351                    'none'          => __('none', 'site-editor'),
     1352                ) ,
     1353                'transport'         => 'postMessage' ,
     1354                'option_type'       => 'theme_mod',
     1355                'panel'             => 'buttons_custom_styling' ,
     1356            ),
     1357
    5651358
    5661359            'button_bg' => array(
    5671360                'setting_id'        => 'sed_button_bg',
    5681361                'type'              => 'color',
    569                 'label'             => __('Button Background Color', 'site-editor'),
    570                 "description"       => __("Button Background Color", "site-editor"),
    571                 'default'           => '',
    572                 'transport'         => 'postMessage' ,
    573                 'option_type'       => 'theme_mod',
    574                 'panel'             => 'forms_custom_styling' ,
     1362                'label'             => __('Background Color', 'site-editor'),
     1363                'default'           => '',
     1364                'transport'         => 'postMessage' ,
     1365                'option_type'       => 'theme_mod',
     1366                'has_border_box'    => false,
     1367                'panel'             => 'buttons_custom_styling' ,
     1368            ),
     1369
     1370            'button_border' => array(
     1371                'setting_id'        => 'sed_button_border',
     1372                'type'              => 'color',
     1373                'label'             => __('Border Color', 'site-editor'),
     1374                'default'           => '',
     1375                'transport'         => 'postMessage' ,
     1376                'option_type'       => 'theme_mod',
     1377                'has_border_box'    => false,
     1378                'panel'             => 'buttons_custom_styling' ,
    5751379            ),
    5761380
     
    5781382                'setting_id'        => 'sed_button_color',
    5791383                'type'              => 'color',
    580                 'label'             => __('Button Text Color', 'site-editor'),
    581                 "description"       => __("Button Text Color", "site-editor"),
    582                 'default'           => '',
    583                 'transport'         => 'postMessage' ,
    584                 'option_type'       => 'theme_mod',
    585                 'panel'             => 'forms_custom_styling' ,
     1384                'label'             => __('Text Color', 'site-editor'),
     1385                'default'           => '',
     1386                'transport'         => 'postMessage' ,
     1387                'option_type'       => 'theme_mod',
     1388                'panel'             => 'buttons_custom_styling' ,
    5861389            ),       
    5871390
     
    5891392                'setting_id'        => 'sed_button_active_bg',
    5901393                'type'              => 'color', 
    591                 'label'             => __('Button Active Background Color', 'site-editor'),
    592                 "description"       => __("Button Active Background Color", "site-editor"),
    593                 'default'           => '',
    594                 'transport'         => 'postMessage' ,
    595                 'option_type'       => 'theme_mod',
    596                 'panel'             => 'forms_custom_styling' ,
    597             ),
     1394                'label'             => __('Active Background Color', 'site-editor'),
     1395                'default'           => '',
     1396                'transport'         => 'postMessage' ,
     1397                'option_type'       => 'theme_mod',
     1398                'has_border_box'    => false,
     1399                'panel'             => 'buttons_custom_styling' ,
     1400            ),
     1401
     1402            'button_active_border' => array(
     1403                'setting_id'        => 'sed_button_active_border',
     1404                'type'              => 'color',
     1405                'label'             => __('Active Border Color', 'site-editor'),
     1406                'default'           => '',
     1407                'transport'         => 'postMessage' ,
     1408                'option_type'       => 'theme_mod',
     1409                'has_border_box'    => false,
     1410                'panel'             => 'buttons_custom_styling' ,
     1411            ),
     1412
     1413            'button_active_color' => array(
     1414                'setting_id'        => 'sed_button_active_color',
     1415                'type'              => 'color',
     1416                'label'             => __('Active Text Color', 'site-editor'),
     1417                'default'           => '',
     1418                'transport'         => 'postMessage' ,
     1419                'option_type'       => 'theme_mod',
     1420                'panel'             => 'buttons_custom_styling' ,
     1421            ),
    5981422
    5991423            'secondary_button_bg' => array(
    6001424                'setting_id'        => 'sed_secondary_button_bg',
    6011425                'type'              => 'color',
    602                 'label'             => __('Secondary Button Background Color', 'site-editor'),
    603                 "description"       => __("Secondary Button Background Color", "site-editor"),
    604                 'default'           => '',
    605                 'transport'         => 'postMessage' ,
    606                 'option_type'       => 'theme_mod',
    607                 'panel'             => 'forms_custom_styling' ,
     1426                'label'             => __('Secondary Background Color', 'site-editor'),
     1427                'default'           => '',
     1428                'transport'         => 'postMessage' ,
     1429                'option_type'       => 'theme_mod',
     1430                'has_border_box'    => false,
     1431                'panel'             => 'buttons_custom_styling' ,
     1432            ),
     1433
     1434            'secondary_button_border' => array(
     1435                'setting_id'        => 'sed_secondary_button_border',
     1436                'type'              => 'color',
     1437                'label'             => __('Secondary Border Color', 'site-editor'),
     1438                'default'           => '',
     1439                'transport'         => 'postMessage' ,
     1440                'option_type'       => 'theme_mod',
     1441                'has_border_box'    => false,
     1442                'panel'             => 'buttons_custom_styling' ,
    6081443            ),
    6091444
     
    6111446                'setting_id'        => 'sed_secondary_button_color',
    6121447                'type'              => 'color',
    613                 'label'             => __('Secondary Button Text Color', 'site-editor'),
    614                 "description"       => __("Secondary Button Text Color", "site-editor"),
    615                 'default'           => '',
    616                 'transport'         => 'postMessage' ,
    617                 'option_type'       => 'theme_mod',
    618                 'panel'             => 'forms_custom_styling' ,
     1448                'label'             => __('Secondary Text Color', 'site-editor'),
     1449                'default'           => '',
     1450                'transport'         => 'postMessage' ,
     1451                'option_type'       => 'theme_mod',
     1452                'panel'             => 'buttons_custom_styling' ,
    6191453            ),       
    6201454
     
    6221456                'setting_id'        => 'sed_secondary_button_active_bg',
    6231457                'type'              => 'color', 
    624                 'label'             => __('Secondary Button Active Background Color', 'site-editor'),
    625                 "description"       => __("Secondary Button Active Background Color", "site-editor"),
    626                 'default'           => '',
    627                 'transport'         => 'postMessage' ,
    628                 'option_type'       => 'theme_mod',
    629                 'panel'             => 'forms_custom_styling' ,
    630             ),
    631 
     1458                'label'             => __('Secondary Active Background Color', 'site-editor'),
     1459                'default'           => '',
     1460                'transport'         => 'postMessage' ,
     1461                'option_type'       => 'theme_mod',
     1462                'has_border_box'    => false,
     1463                'panel'             => 'buttons_custom_styling' ,
     1464            ),
     1465
     1466            'secondary_button_active_border' => array(
     1467                'setting_id'        => 'sed_secondary_button_active_border',
     1468                'type'              => 'color',
     1469                'label'             => __('Secondary Active Border Color', 'site-editor'),
     1470                'default'           => '',
     1471                'transport'         => 'postMessage' ,
     1472                'option_type'       => 'theme_mod',
     1473                'has_border_box'    => false,
     1474                'panel'             => 'buttons_custom_styling' ,
     1475            ),
     1476
     1477            'secondary_button_active_color' => array(
     1478                'setting_id'        => 'sed_secondary_button_active_color',
     1479                'type'              => 'color',
     1480                'label'             => __('Secondary Active Text Color', 'site-editor'),
     1481                'default'           => '',
     1482                'transport'         => 'postMessage' ,
     1483                'option_type'       => 'theme_mod',
     1484                'has_border_box'    => false,
     1485                'panel'             => 'buttons_custom_styling' ,
     1486            ), 
     1487
     1488
     1489
     1490        /*--------------------------------------------------------------
     1491        15.0 Widgets
     1492        --------------------------------------------------------------*/
     1493
     1494
     1495            'widget_color' => array(
     1496                'setting_id'        => 'sed_widget_color',
     1497                'type'              => 'color',
     1498                'label'             => __('Text Color', 'site-editor'),
     1499                'default'           => '',
     1500                'transport'         => 'postMessage' ,
     1501                'option_type'       => 'theme_mod',
     1502                'has_border_box'    => false,
     1503                'panel'             => 'widgets_custom_styling' ,
     1504            ),   
     1505
     1506            'secondary_widget_color' => array(
     1507                'setting_id'        => 'sed_secondary_widget_color',
     1508                'type'              => 'color',
     1509                'label'             => __('Secondary Text Color', 'site-editor'),
     1510                'default'           => '',
     1511                'transport'         => 'postMessage' ,
     1512                'option_type'       => 'theme_mod',
     1513                'has_border_box'    => false,
     1514                'panel'             => 'widgets_custom_styling' ,
     1515            ),   
     1516
     1517            'widget_border_color' => array(
     1518                'setting_id'        => 'sed_widget_border_color',
     1519                'type'              => 'color',
     1520                'label'             => __('Border Color', 'site-editor'),
     1521                'default'           => '',
     1522                'transport'         => 'postMessage' ,
     1523                'option_type'       => 'theme_mod',
     1524                'has_border_box'    => false,
     1525                'panel'             => 'widgets_custom_styling' ,
     1526            ), 
     1527
     1528            'widget_border_width' => array(
     1529                'setting_id'        => 'sed_widget_border_width',
     1530                'type'              => 'dimension',
     1531                'label'             => __('Border Width', 'site-editor'),
     1532                'default'           => '1px',
     1533                'transport'         => 'postMessage' ,
     1534                'option_type'       => 'theme_mod',
     1535                'has_border_box'    => false,
     1536                'panel'             => 'widgets_custom_styling' ,
     1537            ),   
     1538
     1539            'widget_border_style' => array(
     1540                'setting_id'        => 'sed_widget_border_style',
     1541                "type"              => "select" ,
     1542                "label"             => __('Border Style', 'site-editor'),
     1543                'default'           => "solid",
     1544                'choices'           => array(
     1545                    'none'          => __('none', 'site-editor'),
     1546                    'dotted'        => __('dotted', 'site-editor'),
     1547                    'dashed'        => __('dashed', 'site-editor'),
     1548                    'solid'         => __('solid', 'site-editor'),
     1549                    'double'        => __('double', 'site-editor'),
     1550                    'groove'        => __('groove', 'site-editor'),
     1551                    'ridge'         => __('ridge', 'site-editor'),
     1552                    'inset'         => __('inset', 'site-editor'),
     1553                    'outset'        => __('outset', 'site-editor'),
     1554                ) ,
     1555                'transport'         => 'postMessage' ,
     1556                'option_type'       => 'theme_mod',
     1557                'has_border_box'    => false,
     1558                'panel'             => 'widgets_custom_styling' ,
     1559            ),
     1560
     1561            'widget_border_radius' => array(
     1562                'setting_id'        => 'sed_widget_border_radius',
     1563                'type'              => 'dimension',
     1564                'label'             => __('Border Radius', 'site-editor'),
     1565                'default'           => '0px',
     1566                'transport'         => 'postMessage' ,
     1567                'option_type'       => 'theme_mod',
     1568                'panel'             => 'widgets_custom_styling' ,
     1569            ),
     1570
     1571            'widget_lists_padding' => array(
     1572                'setting_id'        => 'sed_widget_padding',
     1573                'type'              => 'text',
     1574                'label'             => __('Lists Padding', 'site-editor'),
     1575                'default'           => '0.5em 0',
     1576                'transport'         => 'postMessage' ,
     1577                'option_type'       => 'theme_mod',
     1578                'panel'             => 'widgets_custom_styling' ,
     1579            ), 
     1580
     1581            'widget_title_color' => array(
     1582                'setting_id'        => 'sed_widget_title_color',
     1583                'type'              => 'color',
     1584                'label'             => __('Title Color', 'site-editor'),
     1585                'default'           => '',
     1586                'transport'         => 'postMessage' ,
     1587                'option_type'       => 'theme_mod',
     1588                'has_border_box'    => false,
     1589                'panel'             => 'widgets_custom_styling' ,
     1590            ),   
     1591
     1592            'widget_title_font_size' => array(
     1593                'setting_id'        => 'sed_widget_title_font_size',
     1594                'type'              => 'dimension',
     1595                'label'             => __('Title Font Size', 'site-editor'),
     1596                'transport'         => 'postMessage' ,
     1597                'option_type'       => 'theme_mod',
     1598                'has_border_box'    => false,
     1599                'panel'             => 'widgets_custom_styling' ,
     1600            ),
     1601
     1602            'widget_title_font_weight' => array(
     1603                'setting_id'        => 'sed_widget_title_font_weight',
     1604                "type"              => "select" ,
     1605                "label"             => __('Title Font Weight', 'site-editor'),
     1606                'default'           => 800,
     1607                'choices'           => array(
     1608                    'normal'        => __('normal', 'site-editor'),
     1609                    'bold'          => __('bold', 'site-editor') ,
     1610                    'bolder'        => __('bolder', 'site-editor'),
     1611                    'lighter'       => __('lighter', 'site-editor') ,
     1612                    100             => 100,
     1613                    200             => 200 ,
     1614                    300             => 300,
     1615                    400             => 400 ,
     1616                    500             => 500,
     1617                    600             => 600 ,
     1618                    700             => 700,
     1619                    800             => 800 ,
     1620                    900             => 900 ,
     1621                ) ,
     1622                'transport'         => 'postMessage' ,
     1623                'option_type'       => 'theme_mod',
     1624                'has_border_box'    => false,
     1625                'panel'             => 'widgets_custom_styling' ,
     1626            ),
     1627
     1628            'widget_title_text_transform' => array(
     1629                'setting_id'        => 'sed_widget_title_text_transform',
     1630                'type'              => 'select' ,
     1631                'label'             => __('Title Text Transform', 'site-editor'),
     1632                'default'           => 'uppercase',
     1633                'choices'           => array(
     1634                    'capitalize'    => __('capitalize', 'site-editor'),
     1635                    'lowercase'     => __('lowercase', 'site-editor'),
     1636                    'uppercase'     => __('uppercase', 'site-editor'),
     1637                    'none'          => __('none', 'site-editor'),
     1638                ) ,
     1639                'transport'         => 'postMessage' ,
     1640                'option_type'       => 'theme_mod',
     1641                'has_border_box'    => false,
     1642                'panel'             => 'widgets_custom_styling' ,
     1643            ),     
     1644
     1645
     1646        /*--------------------------------------------------------------
     1647        15.0 Widgets for Background Dark
     1648        --------------------------------------------------------------*/
     1649
     1650
     1651            'dark_bg_widget_color' => array(
     1652                'setting_id'        => 'sed_dark_bg_widget_color',
     1653                'type'              => 'color',
     1654                'label'             => __('Text Color', 'site-editor'),
     1655                'default'           => 'rgba(255,255,255,0.9)',
     1656                'transport'         => 'postMessage' ,
     1657                'option_type'       => 'theme_mod',
     1658                'has_border_box'    => false,
     1659                'panel'             => 'dark_bg_widgets_custom_styling' ,
     1660            ),   
     1661
     1662            'dark_bg_secondary_widget_color' => array(
     1663                'setting_id'        => 'sed_dark_bg_secondary_widget_color',
     1664                'type'              => 'color',
     1665                'label'             => __('Secondary Text Color', 'site-editor'),
     1666                'default'           => 'rgba(255,255,255,0.7)',
     1667                'transport'         => 'postMessage' ,
     1668                'option_type'       => 'theme_mod',
     1669                'has_border_box'    => false,
     1670                'panel'             => 'dark_bg_widgets_custom_styling' ,
     1671            ),   
     1672
     1673            'dark_bg_widget_border_color' => array(
     1674                'setting_id'        => 'sed_dark_bg_widget_border_color',
     1675                'type'              => 'color',
     1676                'label'             => __('Border Color', 'site-editor'),
     1677                'default'           => 'rgba(255,255,255,0.2)',
     1678                'transport'         => 'postMessage' ,
     1679                'option_type'       => 'theme_mod',
     1680                'has_border_box'    => false,
     1681                'panel'             => 'dark_bg_widgets_custom_styling' ,
     1682            ), 
     1683
     1684            'dark_bg_widget_title_color' => array(
     1685                'setting_id'        => 'sed_dark_bg_widget_title_color',
     1686                'type'              => 'color',
     1687                'label'             => __('Title Color', 'site-editor'),
     1688                'default'           => '#fff',
     1689                'transport'         => 'postMessage' ,
     1690                'option_type'       => 'theme_mod',
     1691                'has_border_box'    => false,
     1692                'panel'             => 'dark_bg_widgets_custom_styling' ,
     1693            ),   
     1694
     1695            'dark_bg_form_control_bg' => array(
     1696                'setting_id'        => 'sed_dark_bg_form_control_bg',
     1697                'type'              => 'color',
     1698                'label'             => __('Background Color', 'site-editor'),
     1699                'default'           => 'rgba(255,255,255,0.08)',
     1700                'transport'         => 'postMessage' ,
     1701                'option_type'       => 'theme_mod',
     1702                'has_border_box'    => false,
     1703                'panel'             => 'dark_bg_widgets_forms_custom_styling' ,
     1704            ),
     1705
     1706            'dark_bg_form_control_color' => array(
     1707                'setting_id'        => 'sed_dark_bg_form_control_color',
     1708                'type'              => 'color',
     1709                'label'             => __('Text Color', 'site-editor'),
     1710                'default'           => '#fff',
     1711                'transport'         => 'postMessage' ,
     1712                'option_type'       => 'theme_mod',
     1713                'has_border_box'    => false,
     1714                'panel'             => 'dark_bg_widgets_forms_custom_styling' ,
     1715            ),
     1716
     1717            'dark_bg_placeholder_color' => array(
     1718                'setting_id'        => 'sed_dark_bg_placeholder_color',
     1719                'type'              => 'color',
     1720                'label'             => __('Placeholder Color', 'site-editor'),
     1721                'default'           => 'rgba(255,255,255,0.7)',
     1722                'transport'         => 'postMessage' ,
     1723                'option_type'       => 'theme_mod',
     1724                'has_border_box'    => false,
     1725                'panel'             => 'dark_bg_widgets_forms_custom_styling' ,
     1726            ),
     1727
     1728            'dark_bg_form_control_border' => array(
     1729                'setting_id'        => 'sed_dark_bg_form_control_border',
     1730                'type'              => 'color',
     1731                'label'             => __('Border Color', 'site-editor'),
     1732                'default'           => 'rgba(255,255,255,0.2)',
     1733                'transport'         => 'postMessage' ,
     1734                'option_type'       => 'theme_mod',
     1735                'has_border_box'    => false,
     1736                'panel'             => 'dark_bg_widgets_forms_custom_styling' ,
     1737            ),
     1738
     1739            'dark_bg_form_control_active_bg' => array(
     1740                'setting_id'        => 'sed_dark_bg_form_control_active_bg',
     1741                'type'              => 'color',
     1742                'label'             => __('Active Background Color', 'site-editor'),
     1743                'default'           => 'rgba(255,255,255,0.08)',
     1744                'transport'         => 'postMessage' ,
     1745                'option_type'       => 'theme_mod',
     1746                'has_border_box'    => false,
     1747                'panel'             => 'dark_bg_widgets_forms_custom_styling' ,
     1748            ),
     1749
     1750            'dark_bg_form_control_active_border' => array(
     1751                'setting_id'        => 'sed_dark_bg_form_control_active_border',
     1752                'type'              => 'color',
     1753                'label'             => __('Active Border Color', 'site-editor'),
     1754                'default'           => 'rgba(255,255,255,0.5)',
     1755                'transport'         => 'postMessage' ,
     1756                'option_type'       => 'theme_mod',
     1757                'has_border_box'    => false,
     1758                'panel'             => 'dark_bg_widgets_forms_custom_styling' ,
     1759            ),
    6321760
    6331761        /*--------------------------------------------------------------
     
    6661794                'transport'         => 'postMessage' ,
    6671795                'option_type'       => 'theme_mod',
    668                 'panel'             => 'general_custom_styling' ,
     1796                'panel'             => 'front_page_settings' ,
    6691797            ),     
    6701798
     
    6761804                'transport'         => 'postMessage' ,
    6771805                'option_type'       => 'theme_mod',
    678                 'panel'             => 'general_custom_styling' ,
     1806                'panel'             => 'front_page_settings' ,
    6791807            ),
    6801808
     
    6861814                'transport'         => 'postMessage' ,
    6871815                'option_type'       => 'theme_mod',
    688                 'panel'             => 'general_custom_styling' ,
     1816                'panel'             => 'front_page_settings' ,
    6891817            ),
    6901818
     
    6961824                'transport'         => 'postMessage' ,
    6971825                'option_type'       => 'theme_mod',
    698                 'panel'             => 'general_custom_styling' ,
     1826                'panel'             => 'front_page_settings' ,
    6991827            ),
    7001828
     
    7061834                'transport'         => 'postMessage' ,
    7071835                'option_type'       => 'theme_mod',
    708                 'panel'             => 'general_custom_styling' ,
     1836                'panel'             => 'pages_settings' ,
    7091837            ),
    7101838
     
    7161844                'transport'         => 'postMessage' ,
    7171845                'option_type'       => 'theme_mod',
    718                 'panel'             => 'general_custom_styling' ,
     1846                'panel'             => 'pages_settings' ,
    7191847            ),
    7201848
     
    7261854                'transport'         => 'postMessage' ,
    7271855                'option_type'       => 'theme_mod',
    728                 'panel'             => 'general_custom_styling' ,
     1856                'panel'             => 'pages_settings' ,
    7291857            ),
    7301858
     
    7361864                'transport'         => 'postMessage' ,
    7371865                'option_type'       => 'theme_mod',
    738                 'panel'             => 'general_custom_styling' ,
     1866                'panel'             => 'pages_settings' ,
    7391867            ),
    7401868
     
    7461874                'transport'         => 'postMessage' ,
    7471875                'option_type'       => 'theme_mod',
    748                 'panel'             => 'general_custom_styling' ,
     1876                'panel'             => '404_page_settings' ,
    7491877            ),
    7501878
     
    7561884                'transport'         => 'postMessage' ,
    7571885                'option_type'       => 'theme_mod',
    758                 'panel'             => 'general_custom_styling' ,
     1886                'panel'             => '404_page_settings' ,
    7591887            ),
    7601888
     
    7631891        --------------------------------------------------------------*/           
    7641892
    765             'wrap_padding_left' => array(
    766                 'setting_id'        => 'sed_wrap_padding_left',
     1893            'wrap_padding_left_right' => array(
     1894                'setting_id'        => 'sed_wrap_padding_left_right',
    7671895                'type'              => 'dimension',
    768                 'label'             => __('Wrap Padding Left', 'site-editor'),
     1896                'label'             => __('Wrap Padding Left & Right', 'site-editor'),
    7691897                'default'           => '3em',
     1898                'transport'         => 'postMessage' ,
     1899                'option_type'       => 'theme_mod',
     1900                'panel'             => 'general_settings' ,
     1901            ),       
     1902
     1903            'rps_wrap_padding_left_right' => array(
     1904                'setting_id'        => 'sed_rps_wrap_padding_left_right',
     1905                'type'              => 'dimension',
     1906                'label'             => __('Wrap Responsive Padding Left & Right', 'site-editor'),
     1907                'default'           => '2em',
    7701908                'transport'         => 'postMessage' ,
    7711909                'option_type'       => 'theme_mod',
     
    7731911            ),     
    7741912
    775             'wrap_padding_right' => array(
    776                 'setting_id'        => 'sed_wrap_padding_right',
    777                 'type'              => 'dimension',
    778                 'label'             => __('Wrap Padding Right', 'site-editor'),
    779                 'default'           => '3em',
    780                 'transport'         => 'postMessage' ,
    781                 'option_type'       => 'theme_mod',
    782                 'panel'             => 'general_settings' ,
    783             ),     
    784 
    785             'rps_wrap_padding_left' => array(
    786                 'setting_id'        => 'sed_rps_wrap_padding_left',
    787                 'type'              => 'dimension',
    788                 'label'             => __('Wrap Responsive Padding Left', 'site-editor'),
    789                 'default'           => '2em',
    790                 'transport'         => 'postMessage' ,
    791                 'option_type'       => 'theme_mod',
    792                 'panel'             => 'general_settings' ,
    793             ),     
    794 
    795             'rps_wrap_padding_right' => array(
    796                 'setting_id'        => 'sed_rps_wrap_padding_right',
    797                 'type'              => 'dimension',
    798                 'label'             => __('Wrap Responsive Padding Right', 'site-editor'),
    799                 'default'           => '2em',
    800                 'transport'         => 'postMessage' ,
    801                 'option_type'       => 'theme_mod',
    802                 'panel'             => 'general_settings' ,
    803             ),
    804 
    805 
    8061913
    8071914        );
     
    8091916    }
    8101917
     1918    /**
     1919     * Remove Page Builder Settings Dynamic Css From Twentyseventeen Theme
     1920     *
     1921     */
     1922    public function remove_page_builder_settings(){
     1923
     1924        remove_action( "sed_before_dynamic_css_output"       , array( SED()->framework , 'pb_css_output' ) );
     1925
     1926    }
     1927
    8111928}
    8121929
  • site-editor/trunk/includes/functions.php

    r1640500 r1650000  
    2828    if ($key != null) { // Get one specific value
    2929
    30         $data = isset( $options[$key] ) ? $options[$key] : false;
     30        $data = isset( $options[$key] ) ? $options[$key] : ( !is_null( $data ) ? $data : false );
    3131
    3232    } else { // Get all values
     
    13821382}
    13831383
    1384 
    1385 function sed_js_remove_wpautop( $content, $autop = false , $do_shortcode = true ) {
    1386 
    1387     if ( $autop ) {
    1388         $content = wpautop( preg_replace( '/<\/?p\>/', "\n", $content ) . "\n" );
    1389     }
    1390 
    1391     return $do_shortcode === true ? do_shortcode( shortcode_unautop( $content ) ) : shortcode_unautop( $content );
     1384function sed_remove_wpautop($content , $do_shortcode = true ) {
     1385
     1386    if( $do_shortcode === true ) {
     1387        $content = do_shortcode(shortcode_unautop($content));
     1388    }
     1389
     1390    $content = preg_replace( '#^<\/p>|<br\s*\/>|<p>$#', '', $content );
     1391
     1392    return $content;
    13921393}
    13931394
  • site-editor/trunk/includes/site-editor-install.class.php

    r1640500 r1650000  
    7777
    7878        /**
     79         * Fifth Step: create cron jobs for send user tracking data
     80         */
     81        self::create_cron_jobs();
     82
     83        /**
    7984         * Hook After Site Editor Installation Process
    8085         */
     
    135140        $header_preset_content = ob_get_clean();
    136141
    137         $post_id = SiteEditorPreset::create_preset( 'sed_header' , __("Default Header" , "site-editor") ,  $header_preset_content , false );
     142        $post_id = SiteEditorPreset::create_preset( 'sed_header' , __("Default Header" , "site-editor") ,  $header_preset_content , true );
    138143
    139144        $helper_shortcodes = array(
     
    158163    }
    159164
     165    public static function create_cron_jobs(){
     166
     167        wp_clear_scheduled_hook( 'sed_tracker_send_event' );
     168
     169        wp_schedule_event( time(), 'daily', 'sed_tracker_send_event' );
     170
     171        flush_rewrite_rules();
     172
     173    }
     174
    160175}
    161176
  • site-editor/trunk/readme.txt

    r1640509 r1650000  
    1 === Site Editor - WordPress Site Builder ===
     1=== Site Editor - WordPress Site Builder - Theme Builder and Page Builder ===
    22Contributors: wpsiteeditor
    33Tags: site editor, site builder, page builder, theme builder, theme framework, design, inline editor, inline text editor, layout builder,live options, live, customizer, theme customizer, header builder, footer builder, fully customizable, design options,design editor, options framework, front end, page builder plugin, builder, responsive, front end editor, landing page, editor, drag-and-drop, shortcode, wordpress, ultra flexible, unlimited tools, elements, modules, support, seo, animation, absolute flexibility, live theme options, video backgrounds, font awesome, Optimized, fast, quick, ux, ui
    44Requires at least: 4.7
    5 Tested up to: 4.7.3
    6 Stable tag: 1.0.0
     5Tested up to: 4.7.4
     6Stable tag: 1.1
    77License: GPLv3
    88License URI: https://www.gnu.org/licenses/gpl-3.0.html
    99
    10 The best solution for build your Wordpress site with The best drag and drop WordPress Site, theme and Page Builder.Any theme, any page, any design.
     10SiteEditor is The best solution for build your Wordpress site with The best drag and drop WordPress Site, theme and Page Builder.Any theme, any page, any design.
    1111
    1212== Description ==
     
    1414**What is the Site Editor?**
    1515
    16 Site Editor is the most powerful Site Builder which is designed for WordPress. it's a powerful, advanced, user-friendly front end editor and you can build your website via drag and drop and full live options.
    17 too Site Editor is a powerful front-end platform for the developer.
     16Site Editor is the most powerful Site Builder which is designed for WordPress. It's a powerful, advanced, user-friendly front end editor and you can build your website via drag and drop and full live options. Site Editor is also a powerful front-end platform for the developer.
     17
     18**OUR OFFICIAL WEBSITE & GITHUB**
     19
     20[SiteEditor.ORG](https://www.siteeditor.org)
     21
     22[SiteEditor GitHub Repository](https://github.com/SiteEditor/editor)
    1823
    1924**Why Site Editor?**
    2025
    21 Because you can build your website in more efficient, more flexible and much Faster. Site Editor allows you build all of your website's parts like pages, theme, ... in a integrate front end editor easy and fast.
    22 
    23 **User-End Friendly**
    24 
    25 If you aren't a developer and you want to create an amazing and beautiful website, Site Editor is the best tools for it.you can build footer, header and other public theme rows with
    26 drag and drop and apply them to all pages or spcify pages. you can build all pages and posts with drag and drop too.
    27 Actually you don't need **CODING KNOWLEDGE** for create your website.
     26Because you can build your website more efficiently, more flexibly and much faster. Site Editor allows you to build all of your website's parts like pages, theme, ... in an integrate front end editor; easy and fast.
     27
     28**End-User Friendly**
     29
     30If you aren't a developer and you want to create an amazing and beautiful website, Site Editor has the best tools for it. You can build footer, header and other public theme rows with drag and drop and apply them to all pages or specify pages. you can build all pages and posts with drag and drop too. In fact you don't need **CODING KNOWLEDGE** for create your website.
    2831
    2932**Developer Friendly**
    3033
    31 If you are a developer, you can develop your themes and plugins with our front end platform faster and easier and its result will be very user-friendly extensions and happier clients for you
     34If you are a developer, you can develop your themes and plugins with our front end platform quickly and easily and its result will be very user-friendly extensions and happier clients.
    3235
    3336**Layout Builder**
    3437
    35 Site Editor is help you build your custom layout for set of pages like single posts or portfolio pages or set of custom pages.( Like WordPress page templates and post type templates feature but our feature is full visual and don't need to any coding knowledge )
     38Site Editor helps you build your custom layout for set of pages like single posts or portfolio pages or set of custom pages.( Like WordPress page templates and post type templates feature but our feature is full visual and doesn't need any coding knowledge )
    3639
    3740**Theme Builder and Theme Customizer**
    3841
    39 Site Editor is header builder, it allows to you create your custom header and apply to all pages or set of pages. it's footer builder too and you can your custom page titles And addition you can create any custom public rows for theme area and apply them to all pages or specify pages. Actually, you can completely your theme in our front end editor. this feature is The most exclusive our feature and there isn't on other WordPress plugins. this feature introduced for the first time by Site Editor
     42Site Editor's header builder allows to you create your custom header and apply to all pages or set of pages. Its footer builder acts the same; you can customize page titles, and in addition you can create any custom public rows for theme area and apply them to all pages or specify pages. Actually, you can completely your theme in our front end editor. This feature is our most exclusive feature and it doesn't exist on other WordPress plugins. This feature is introduced for the first time by Site Editor.
    4043
    4144**Page Builder**
    4245
    43 You can create all of website's pages content like content of pages, posts and custom post types with Site Editor. for it you need drag and drop modules to your content of pages easily and edit the module settings and simultaneously see exactly how it looks like. With Site Editor you can create content of pages very easy, fast and truly live.
    44 
     46You can create all of website's pages content like content of pages, posts and custom post types with Site Editor. In order to do that you need drag and drop modules to your content of pages easily and edit the module settings and simultaneously see exactly how it looks like. With Site Editor you can create content of pages very easily, fast and truly live.
    4547
    4648**Options Framework and Fully Live Options**
    4749
    48 See changes as you make them in a live environment(Front End Editor) and after change each option you can see changes on your page and no more need to switch between admin panel and site to see the changes. Our Options Framework have +30 type of option, these include :
     50See changes as you make them in a live environment (Front End Editor) and after change each option you can see changes on your page and no more need to switch between admin panel and site to see the changes. Our Options Framework have +30 type of option, these include :
    4951
    5052* text
     
    9294**Developer API**
    9395
    94 If you are a **Theme Developer**, you can build your themes with Site Editor very easy & fast. you can add all your theme options with front end options framework and you can add your modules for page builder and sync our modules with your design too.
     96If you are a **Theme Developer**, you can build your themes with Site Editor very easily & quickly. You can add all your theme options with front end options framework and you can add your modules for page builder and sync our modules with your design too.
    9597If you are a **Plugin Developer**, you can build your Plugins in our front end editor with front end options framework.
    9698
    97 We have a sample module for developers guide that for find it go to **"Site Editor Plugin Folder/editor/extensions/pagebuilder/modules/api-test-module"**
    98 you can test in module in our editor. it's active by default
    99 
    100 Too We have a sample options file for developers guide( you can using for theme options and plugin options in front end editor mode ) that for find it go to **"Site Editor Plugin Folder/editor/extensions/options-engine/includes/demo/site-editor-sample-options.php"**
    101 **Notic 1:** for test this options in our editor you can need active it on WordPress Admin > SiteEditor > General Settings > Developer Sample Options.
    102 **Notic 2:** Our Developer API documentation coming soon!
     99We have a sample module for developers guide which you can find at **"Site Editor Plugin Folder/editor/extensions/pagebuilder/modules/api-test-module"**
     100you can test in module in our editor. It's active by default.
     101
     102We also have a sample options file for developers guide( you can use for theme options and plugin options in front end editor mode ) which you find at **"Site Editor Plugin Folder/editor/extensions/options-engine/includes/demo/site-editor-sample-options.php"**
     103
     104**Notice 1:** To test this options in our editor you need to activate it on WordPress Admin > SiteEditor > General Settings > Developer Sample Options.
     105**Notice 2:** Our Developer API documentation coming soon!
    103106
    104107
     
    115118**100% MOBILE FRIENDLY**
    116119
    117 Every part of a Site Editor like modules, skins, ... are well adjusted based on the size of the screen and you
    118 can set of responsive options for each module and see the changes in our mobile editor preview. Site Editor allow you
    119 create amazing responsive design for your site.
     120Every part of a Site Editor like modules, skins, ... are well adjusted based on the size of the screen and you can set responsive options for each module and see the changes in our mobile editor preview. Site Editor allow you create amazing responsive design for your site.
    120121
    121122
     
    205206== Changelog ==
    206207
     208= 1.1 =
     209
     210**1.1 - Released: May 2th, 2017**
     211
     212* Remove wputop From Site Editor Shortcodes
     213
     214* Post Content Disable Edit Fixed issue #
     215
     216* Shortcodes nesting Level Fixed issue #
     217
     218* Add user feedback system
     219
     220* Site Custom Css Fixed issue #
     221
     222* Theme Row Preset Fixed issue #
     223
     224* Ajax module wrapper settings Fixed issue #
     225
     226* and some a little issues fixed
     227
    207228= 1.0 =
    208229
    209 **1.0 - Released: April 16th, 2017**
     230**1.0 - Released: April 19th, 2017**
    210231
    211232* Initial release
     233
    212234
    213235== Upgrade Notice ==
  • site-editor/trunk/site-editor.php

    r1640500 r1650000  
    22/*
    33Plugin Name: Site Editor
    4 Plugin URI: http://www.siteeditor.org/
     4Plugin URI: https://www.siteeditor.org
    55Description: SiteEditor is a powerful theme builder & page builder for wordpress
    66Author: Site Editor Team
    7 Author URI: http://www.siteeditor.org/products/site-editor
    8 Version: 1.0.0
     7Author URI: https://www.siteeditor.org
     8Version: 1.1
    99*/
    1010
     
    2525     * @var string
    2626     */
    27     public $version = '1.0.0';
     27    public $version = '1.1';
    2828
    2929    /**
     
    127127
    128128        $this->config = sed_array_to_object( $this->config );
     129
     130        $this->max_nesting_level();
    129131
    130132        $this->includes();
     
    343345    }
    344346
     347    /**
     348     * Site Editor Use the nesting level shortcodes like :
     349     * [sed_row]
     350     *  [sed_module]
     351     *      [sed_row_inner]
     352     *          [sed_row_inner_inner]
     353     *              ...
     354     * If you active xdebug extension on your server, it will use 100 nesting level and happen a error
     355     * Increase max_nesting_level to 10000
     356     */
     357    private function max_nesting_level(){
     358
     359        @ini_set( 'xdebug.max_nesting_level', apply_filters( 'sed_max_nesting_level', 10000 ) );
     360
     361    }
    345362
    346363    /**
  • site-editor/trunk/uninstall.php

    r1640500 r1650000  
    1414    exit;
    1515}
     16
     17wp_clear_scheduled_hook( 'sed_tracker_send_event' );
     18
Note: See TracChangeset for help on using the changeset viewer.