<!-- THEME COLORS -->
<?php
    echo td_panel_generator::ajax_box(__('GENERAL theme colors', TD_THEME_NAME), array(
        'td_ajax_calling_file' => basename(__FILE__),
        'td_ajax_box_id' => 'td_general_theme_colors'
        ), '', 'td_panel_box_general_theme_colors'
    );
?>



<hr>
<div class="td-section-separator"><?php _e('Header', TD_THEME_NAME); ?></div>




<!-- TOP MENU -->
<?php
if( 'Newspaper' == TD_THEME_NAME && defined('TD_STANDARD_PACK') ) {
    echo td_panel_generator::ajax_box(__('Top menu', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_top_menu'
        ), '', 'td_panel_box_top_menu'
    );
    ?>

    <!-- MAIN MENU -->
    <?php
    echo td_panel_generator::ajax_box(__('Main menu', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_main_menu'
        ), '','td_panel_box_main_menu'
    );
    ?>


    <!-- SUB MENU -->
    <?php
    echo td_panel_generator::ajax_box(__('Sub menu', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_sub_menu'
        ), '', 'td_panel_box_sub_menu'
    );
    ?>

    <!-- MEGA MENU -->
    <?php
    echo td_panel_generator::ajax_box(__('Mega menu', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_mega_menu'
        ), '', 'td_panel_box_mega_menu'
    );
    ?>

    <!-- LIVE SEARCH -->
    <?php
    echo td_panel_generator::ajax_box(__('Live search', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_live_search'
        ), '', 'td_panel_box_live_search'
    );
}
?>


<!-- MOBILE MENU -->
<?php
echo td_panel_generator::ajax_box(__('Mobile menu / Mobile search', TD_THEME_NAME), array(
        'td_ajax_calling_file' => basename(__FILE__),
        'td_ajax_box_id' => 'td_mobile_menu'
    ), '', 'td_panel_box_mobile_menu_mobile_search'
);
?>



<!-- HEADER COLOR -->
<?php if( 'Newspaper' == TD_THEME_NAME && defined('TD_STANDARD_PACK') ) {
    echo td_panel_generator::box_start(__('Header', TD_THEME_NAME), false); ?>

    <!-- Header color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('HEADER BACKGROUND COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('This refers to Logo and Ad background color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_header_wrap_color',
                'default_color' => ''
            ));
            ?>
        </div>
    </div>

    <!-- Text logo color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('TEXT LOGO COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select text logo color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_text_logo_color',
                'default_color' => '#222222'
            ));
            ?>
        </div>
    </div>

    <!-- Text logo tagline color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('TEXT LOGO TAGLINE COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select text logo tagline color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_text_logo_tagline_color',
                'default_color' => '#777777'
            ));
            ?>
        </div>
    </div>

    <?php echo td_panel_generator::box_end();
} ?>


<!-- SIGN IN/JOIN MODAL -->
<?php
if( 'Newspaper' == TD_THEME_NAME && ( defined('TD_STANDARD_PACK') || td_global::is_tdb_registered() ) ) {
    echo td_panel_generator::ajax_box(__('Sign in / Join modal', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_login_modal'
        ), '', 'td_panel_box_sign_in_join_modal'
    );
}

if( 'Newspaper' == TD_THEME_NAME && defined('TD_STANDARD_PACK') ) {
    ?>


    <hr>
    <div class="td-section-separator"><?php _e('Footer', TD_THEME_NAME); ?></div>


    <!-- FOOTER -->
    <?php echo td_panel_generator::box_start(__('Footer', TD_THEME_NAME), false); ?>

    <!-- FOOTER color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('BACKGROUND COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select footer background color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_color',
                'default_color' => '#222222'
            ));
            ?>
        </div>
    </div>

    <!-- FOOTER text color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('TEXT COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select footer text color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_text_color',
                'default_color' => '#ffffff'
            ));
            ?>
        </div>
    </div>


    <!-- FOOTER WIDGETS HEADER TEXT COLOR -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('WIDGETS HEADER TEXT COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select widgets header text color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_widget_text_color',
                'default_color' => ''
            ));
            ?>
        </div>
    </div>

    <!-- FOOTER SOCIAL ICONS COLOR -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('FOOTER SOCIAL ICONS COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select social icons color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_social_icons_color',
                'default_color' => ''
            ));
            ?>
        </div>
    </div>

    <!-- FOOTER SOCIAL ICONS HOVER COLOR -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title td-title-on-row"><?php _e('FOOTER SOCIAL ICONS HOVER COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select social icons hover color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_social_icons_hover_color',
                'default_color' => ''
            ));
            ?>
        </div>
    </div>

    <?php echo td_panel_generator::box_end(); ?>


    <!-- SUB FOOTER -->
    <?php echo td_panel_generator::box_start(__('Sub-footer', TD_THEME_NAME), false); ?>

    <!-- FOOTER bottom color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('BACKGROUND COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select sub footer bottom background color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_bottom_color',
                'default_color' => '#0d0d0d'
            ));
            ?>
        </div>
    </div>


    <!-- FOOTER bottom text color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('TEXT COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select sub footer bottom text color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_bottom_text_color',
                'default_color' => '#cccccc'
            ));
            ?>
        </div>
    </div>


    <!-- FOOTER bottom text hover color -->
    <div class="td-box-row">
        <div class="td-box-description">
            <span class="td-box-title"><?php _e('FOOTER MENU HOVER COLOR', TD_THEME_NAME); ?></span>
            <p><?php _e('Select sub footer menu items hover/active color', TD_THEME_NAME); ?></p>
        </div>
        <div class="td-box-control-full">
            <?php
            echo td_panel_generator::color_picker(array(
                'ds' => 'td_option',
                'option_id' => 'tds_footer_bottom_hover_color',
                'default_color' => '#cccccc'
            ));
            ?>
        </div>
    </div>


    <?php echo td_panel_generator::box_end();
} ?>


<hr>
<div class="td-section-separator"><?php _e('Content', TD_THEME_NAME); ?></div>


<!-- POSTS PAGE -->
<?php if( 'Newspaper' == TD_THEME_NAME && defined('TD_STANDARD_PACK') ) {
    echo td_panel_generator::ajax_box(__('Posts', TD_THEME_NAME), array(
            'td_ajax_calling_file' => basename(__FILE__),
            'td_ajax_box_id' => 'td_posts'
        ), '', 'td_panel_box_posts'
    );
} ?>




<!-- PAGES COLORS -->
<?php
echo td_panel_generator::ajax_box(__('Pages', TD_THEME_NAME), array(
        'td_ajax_calling_file' => basename(__FILE__),
        'td_ajax_box_id' => 'td_pages'
    ), '', 'td_panel_box_pages'
);
?>
