/* dialog.css */ /* Dialog wrapper */ .elfinder .elfinder-dialog { /* */ } /* Dialog title */ .elfinder .elfinder-dialog .ui-dialog-titlebar { padding: 3px 0 3px 6px; height: 30px; box-sizing: border-box; } /* Close button */ .elfinder .elfinder-dialog .ui-dialog-titlebar-close { background: url('../images/close.png'); right: 0; border-radius: 0; margin-top: -15px; webkit-transition: background 0.3s; /* Safari */ transition: background-image 0.3s; height: 29px; width: 45px; } .elfinder .elfinder-dialog .ui-dialog-titlebar-close:hover { background: url('../images/close-hover.png'); } .std42-dialog .ui-dialog-titlebar .elfinder-titlebar-button.elfinder-titlebar-button-right { left: 1px; top: 12px; } /* Dialog content */ .elfinder .elfinder-dialog .ui-dialog-content { /* */ } /* Tabs */ /* Tabs wrapper */ .elfinder .elfinder-dialog .ui-tabs-nav { /* */ } /* Normal tab */ .elfinder .elfinder-dialog .ui-tabs-nav .ui-state-default { /* */ } /* Current tab */ .elfinder .elfinder-dialog .ui-tabs-nav .ui-tabs-selected { /* */ } /* Active tab */ .elfinder .elfinder-dialog .ui-tabs-nav li:active { /* */ } .elfinder .ui-state-active { background: #1979CA none repeat scroll 0 0; /*background: #009688 none repeat scroll 0 0; */ } /* Icons */ /* Dialog icon (e.g. for error messages) */ .elfinder .elfinder-dialog .elfinder-dialog-icon { /* */ } /* Error icon */ .elfinder .elfinder-dialog .elfinder-dialog-icon-error { /* */ } /* Confirmation icon */ .elfinder .elfinder-dialog .elfinder-dialog-icon-confirm { /* */ } /* Footer */ .elfinder .elfinder-dialog .ui-dialog-buttonpane { /* */ } /* Buttonset (wrapper) */ .elfinder .elfinder-dialog .ui-dialog-buttonpane .ui-dialog-buttonset { /* */ } /* Button */ .elfinder .elfinder-dialog .ui-dialog-buttonpane .ui-dialog-buttonset .ui-button { /* */ } /* Styling specific types of dialogs */ /* Error */ .elfinder .elfinder-dialog-error { /* */ } /* Confirm */ .elfinder .elfinder-dialog-confirm { /* */ } /* File editing */ .elfinder .elfinder-dialog .elfinder-file-edit { /* */ } /* File information */ /* Title */ .elfinder .elfinder-dialog .elfinder-info-title { /* */ } /* Table */ .elfinder .elfinder-dialog .elfinder-info-tb { /* */ } /* File upload (including dropbox) */ .elfinder .elfinder-dialog .elfinder-upload-dropbox, .elfinder .elfinder-dialog .elfinder-upload-dialog-or { /* */ } /** * Gutenberg Full-Site Editor (FSE) lists with different templates: headers, footers, sidebars. */ if ( ! function_exists( 'chinchilla_gutenberg_fse_list_header_styles' ) ) { add_filter( 'chinchilla_filter_list_header_styles', 'chinchilla_gutenberg_fse_list_header_styles'); /** * Add a WordPress FSE templates to the headers list. * * Hooks: add_filter( 'chinchilla_filter_list_header_styles', 'chinchilla_gutenberg_fse_list_header_styles'); * * @param array $list Optional. An array with a list of headers from other available Page Builders. */ function chinchilla_gutenberg_fse_list_header_styles( $list = array() ) { $new_list = array(); // Add a changed templates and new templates (created by user) $layouts = chinchilla_get_list_posts( false, array( 'post_type' => CHINCHILLA_FSE_TEMPLATE_PART_PT, 'orderby' => 'ID', 'order' => 'asc', 'not_selected' => false, //'return' => 'post_name', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'wp_theme', 'field' => 'name', 'terms' => get_stylesheet(), ), array( 'taxonomy' => 'wp_template_part_area', 'field' => 'name', 'terms' => CHINCHILLA_FSE_TEMPLATE_PART_AREA_HEADER, ) ) ) ); foreach ( $layouts as $id => $title ) { if ( 'none' != $id && ! in_array( $title, $new_list ) ) { $new_list[ 'header-fse-template-' . trim( $id ) ] = $title; } } // Add a default templates $data = chinchilla_gutenberg_fse_theme_json_data(); if ( ! empty( $data['templateParts'] ) && is_array( $data['templateParts'] ) ) { foreach ( $data['templateParts'] as $template ) { if ( ! empty( $template['area'] ) && CHINCHILLA_FSE_TEMPLATE_PART_AREA_HEADER == $template['area'] && ! in_array( $template['title'], $new_list ) ) { $new_list[ 'header-fse-template-' . trim( $template['name'] ) ] = $template['title']; } } } // Merge to the list $list = chinchilla_array_merge( $new_list, $list ); return $list; } } if ( ! function_exists( 'chinchilla_gutenberg_fse_list_footer_styles' ) ) { add_filter( 'chinchilla_filter_list_footer_styles', 'chinchilla_gutenberg_fse_list_footer_styles'); /** * Add a WordPress FSE templates to the footers list. * * Hooks: add_filter( 'chinchilla_filter_list_footer_styles', 'chinchilla_gutenberg_fse_list_footer_styles'); * * @param array $list Optional. An array with a list of footers from other available Page Builders. */ function chinchilla_gutenberg_fse_list_footer_styles( $list = array() ) { $new_list = array(); // Add a changed templates and new templates (created by user) $layouts = chinchilla_get_list_posts( false, array( 'post_type' => CHINCHILLA_FSE_TEMPLATE_PART_PT, 'orderby' => 'ID', 'order' => 'asc', 'not_selected' => false, //'return' => 'post_name', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'wp_theme', 'field' => 'name', 'terms' => get_stylesheet(), ), array( 'taxonomy' => 'wp_template_part_area', 'field' => 'name', 'terms' => CHINCHILLA_FSE_TEMPLATE_PART_AREA_FOOTER, ) ) ) ); foreach ( $layouts as $id => $title ) { if ( 'none' != $id && ! in_array( $title, $new_list ) ) { $new_list[ 'footer-fse-template-' . trim( $id ) ] = $title; } } // Add a default templates $data = chinchilla_gutenberg_fse_theme_json_data(); if ( ! empty( $data['templateParts'] ) && is_array( $data['templateParts'] ) ) { foreach ( $data['templateParts'] as $template ) { if ( ! empty( $template['area'] ) && CHINCHILLA_FSE_TEMPLATE_PART_AREA_FOOTER == $template['area'] && ! in_array( $template['title'], $new_list ) ) { $new_list[ 'footer-fse-template-' . trim( $template['name'] ) ] = $template['title']; } } } // Merge to the list $list = chinchilla_array_merge( $new_list, $list ); return $list; } } if ( ! function_exists( 'chinchilla_gutenberg_fse_list_sidebar_styles' ) ) { add_filter( 'chinchilla_filter_list_sidebar_styles', 'chinchilla_gutenberg_fse_list_sidebar_styles'); /** * Add a WordPress FSE templates to the sidebars list. * * Hooks: add_filter( 'chinchilla_filter_list_sidebar_styles', 'chinchilla_gutenberg_fse_list_sidebar_styles'); * * @param array $list Optional. An array with a list of sidebars from other available Page Builders. */ function chinchilla_gutenberg_fse_list_sidebar_styles( $list = array() ) { $new_list = array(); // Add a changed templates and new templates (created by user) $layouts = chinchilla_get_list_posts( false, array( 'post_type' => CHINCHILLA_FSE_TEMPLATE_PART_PT, 'orderby' => 'ID', 'order' => 'asc', 'not_selected' => false, //'return' => 'post_name', 'tax_query' => array( 'relation' => 'AND', array( 'taxonomy' => 'wp_theme', 'field' => 'name', 'terms' => get_stylesheet(), ), // FSE is have not a separate area for sidebars array( 'taxonomy' => 'wp_template_part_area', 'field' => 'name', 'terms' => CHINCHILLA_FSE_TEMPLATE_PART_AREA_SIDEBAR, ) ) ) ); foreach ( $layouts as $id => $title ) { if ( 'none' != $id && ! in_array( $title, $new_list ) ) { $new_list[ 'sidebar-fse-template-' . trim( $id ) ] = $title; } } // Add a default templates $data = chinchilla_gutenberg_fse_theme_json_data(); if ( ! empty( $data['templateParts'] ) && is_array( $data['templateParts'] ) ) { foreach ( $data['templateParts'] as $template ) { if ( ! empty( $template['area'] ) && CHINCHILLA_FSE_TEMPLATE_PART_AREA_SIDEBAR == $template['area'] && ! in_array( $template['title'], $new_list ) ) { $new_list[ 'sidebar-fse-template-' . trim( $template['name'] ) ] = $template['title']; } } } // Merge to the list $list = chinchilla_array_merge( $new_list, $list ); return $list; } } Coming Soon
illustration

Coming Soon

New WordPress website is being built and will be published soon