Changeset 310690
- Timestamp:
- 01/28/2026 11:01:08 AM (9 months ago)
- Location:
- old-age-home/0.2.4
- Files:
-
- 8 edited
- 1 copied
-
. (copied) (copied from old-age-home/0.2.3 )
-
includes/color-setting/custom-color-control.php (modified) (1 diff)
-
includes/customizer.php (modified) (1 diff)
-
includes/product-create.php (modified) (1 diff)
-
includes/tgm/class-tgm-plugin-activation.php (modified) (38 diffs)
-
includes/tgm/tgm.php (modified) (1 diff)
-
readme.txt (modified) (2 diffs)
-
rtl.css (modified) (173 diffs)
-
style.css (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
old-age-home/0.2.4/includes/color-setting/custom-color-control.php
r260848 r310690 37 37 $old_age_home_theme_custom_setting_css .='display: none;'; 38 38 $old_age_home_theme_custom_setting_css .='}'; 39 } 39 } 40 41 // Featured Image Hover Effect 42 $old_age_home_show_featured = get_theme_mod('old_age_home_featured_image_hide_show', 1); 43 $old_age_home_hover_effect = get_theme_mod('old_age_home_single_post_featured_image_hover','none'); 44 45 if ( $old_age_home_show_featured && $old_age_home_hover_effect !== 'none' ) { 46 47 $old_age_home_theme_custom_setting_css .= ' 48 .post-img img{ 49 transition: all 0.4s ease; 50 }'; 51 52 if ( $old_age_home_hover_effect === 'zoom-in' ) { 53 $old_age_home_theme_custom_setting_css .= ' 54 .post-img:hover img{ 55 transform: scale(1.2); 56 }'; 57 } 58 59 if ( $old_age_home_hover_effect === 'zoom-out' ) { 60 $old_age_home_theme_custom_setting_css .= ' 61 .post-img img{ transform: scale(1.2); } 62 .post-img:hover img{ transform: scale(1); }'; 63 } 64 65 if ( $old_age_home_hover_effect === 'grayscale' ) { 66 $old_age_home_theme_custom_setting_css .= ' 67 .post-img img{ filter: grayscale(100%); } 68 .post-img:hover img{ filter: grayscale(0); }'; 69 } 70 71 if ( $old_age_home_hover_effect === 'sepia' ) { 72 $old_age_home_theme_custom_setting_css .= ' 73 .post-img:hover img{ filter: sepia(100%); }'; 74 } 75 76 if ( $old_age_home_hover_effect === 'blur' ) { 77 $old_age_home_theme_custom_setting_css .= ' 78 .post-img:hover img{ filter: blur(3px); }'; 79 } 80 81 if ( $old_age_home_hover_effect === 'bright' ) { 82 $old_age_home_theme_custom_setting_css .= ' 83 .post-img:hover img{ filter: brightness(1.3); }'; 84 } 85 86 if ( $old_age_home_hover_effect === 'translate' ) { 87 $old_age_home_theme_custom_setting_css .= ' 88 .post-img:hover img{ transform: translateY(-10px); }'; 89 } 90 91 if ( $old_age_home_hover_effect === 'scale' ) { 92 $old_age_home_theme_custom_setting_css .= ' 93 .post-img:hover img{ transform: scale(1.1); }'; 94 } 95 } -
old-age-home/0.2.4/includes/customizer.php
r299564 r310690 712 712 ), 713 713 ] ); 714 715 Kirki::add_field( 'theme_config_id', [ 716 'type' => 'select', 717 'tab' => 'single-post', 718 'settings' => 'old_age_home_single_post_featured_image_hover', 719 'label' => esc_html__( 'Featured Image Hover Effect', 'old-age-home' ), 720 'section' => 'old_age_home_blog_post', 721 'default' => 'none', 722 'priority' => 20, 723 'choices' => [ 724 'none' => esc_html__( 'None', 'old-age-home' ), 725 'zoom-in' => esc_html__( 'Zoom In', 'old-age-home' ), 726 'zoom-out' => esc_html__( 'Zoom Out', 'old-age-home' ), 727 'scale' => esc_html__( 'Scale', 'old-age-home' ), 728 'grayscale' => esc_html__( 'Grayscale', 'old-age-home' ), 729 'blur' => esc_html__( 'Blur', 'old-age-home' ), 730 'bright' => esc_html__( 'Bright', 'old-age-home' ), 731 'sepia' => esc_html__( 'Sepia', 'old-age-home' ), 732 'translate' => esc_html__( 'Translate', 'old-age-home' ), 733 ], 734 ] ); 714 735 715 736 Kirki::add_field( 'theme_config_id', [ -
old-age-home/0.2.4/includes/product-create.php
r299564 r310690 20 20 set_theme_mod( 'old_age_home_header_button_text', 'Make An Appointment' ); 21 21 set_theme_mod( 'old_age_home_header_button_link', '#' ); 22 23 /* Create Menu */ 24 $old_age_home_menuname = 'Main Menus'; 25 $old_age_home_location = 'main-menu'; 26 27 $old_age_home_menu = wp_get_nav_menu_object( $old_age_home_menuname ); 28 29 if ( ! $old_age_home_menu ) { 30 $old_age_home_menu_id = wp_create_nav_menu( $old_age_home_menuname ); 31 32 // Home Page 33 wp_update_nav_menu_item( $old_age_home_menu_id, 0, array( 34 'menu-item-title' => __( 'Home', 'old-age-home' ), 35 'menu-item-url' => home_url( '/' ), 36 'menu-item-type' => 'custom', 37 'menu-item-status' => 'publish', 38 ) ); 39 40 // About Us Page 41 $old_age_home_about_id = wp_insert_post( array( 42 'post_type' => 'page', 43 'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.', 44 'post_title' => 'About Us', 45 'post_status' => 'publish', 46 ) ); 47 48 if ( $old_age_home_about_id ) { 49 wp_update_nav_menu_item( $old_age_home_menu_id, 0, array( 50 'menu-item-title' => 'About Us', 51 'menu-item-object' => 'page', 52 'menu-item-object-id' => $old_age_home_about_id, 53 'menu-item-type' => 'post_type', 54 'menu-item-status' => 'publish', 55 ) ); 56 } 57 58 // Services Page 59 $old_age_home_about_id = wp_insert_post( array( 60 'post_type' => 'page', 61 'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.', 62 'post_title' => 'Services', 63 'post_status' => 'publish', 64 ) ); 65 66 if ( $old_age_home_about_id ) { 67 wp_update_nav_menu_item( $old_age_home_menu_id, 0, array( 68 'menu-item-title' => 'Services', 69 'menu-item-object' => 'page', 70 'menu-item-object-id' => $old_age_home_about_id, 71 'menu-item-type' => 'post_type', 72 'menu-item-status' => 'publish', 73 ) ); 74 } 75 76 // Pages Page 77 $old_age_home_about_id = wp_insert_post( array( 78 'post_type' => 'page', 79 'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.', 80 'post_title' => 'Pages', 81 'post_status' => 'publish', 82 ) ); 83 84 if ( $old_age_home_about_id ) { 85 wp_update_nav_menu_item( $old_age_home_menu_id, 0, array( 86 'menu-item-title' => 'Pages', 87 'menu-item-object' => 'page', 88 'menu-item-object-id' => $old_age_home_about_id, 89 'menu-item-type' => 'post_type', 90 'menu-item-status' => 'publish', 91 ) ); 92 } 93 94 // Contact Us Page 95 $old_age_home_about_id = wp_insert_post( array( 96 'post_type' => 'page', 97 'post_content' => 'We are committed to providing reliable, professional, and result-oriented solutions tailored to meet individual needs. Our goal is to empower people with the right guidance, knowledge, and support to help them make informed decisions for a better future. <br><br> Our mission is to deliver high-quality services with honesty, transparency, and dedication. We focus on understanding client requirements and offering practical solutions that create long-term value. <br><br> With a client-centric approach, experienced professionals, and a commitment to excellence, we ensure every individual receives the attention and guidance they deserve. We believe in building trust through quality service and consistent results.', 98 'post_title' => 'Contact Us', 99 'post_status' => 'publish', 100 ) ); 101 102 if ( $old_age_home_about_id ) { 103 wp_update_nav_menu_item( $old_age_home_menu_id, 0, array( 104 'menu-item-title' => 'Contact Us', 105 'menu-item-object' => 'page', 106 'menu-item-object-id' => $old_age_home_about_id, 107 'menu-item-type' => 'post_type', 108 'menu-item-status' => 'publish', 109 ) ); 110 } 111 112 // Create Blog Page 113 $old_age_home_blog_page_title = 'Blog'; 114 115 $old_age_home_blog_page_query = new WP_Query(array( 116 'post_type' => 'page', 117 'name' => sanitize_title($old_age_home_blog_page_title), 118 'post_status' => 'publish', 119 'posts_per_page' => 1 120 )); 121 if (!$old_age_home_blog_page_query->hae_posts()) { 122 $old_age_home_blog_page = array( 123 'post_type' => 'page', 124 'post_title' => $old_age_home_blog_page_title, 125 'post_status' => 'publish', 126 'post_author' => 1, 127 ); 128 $old_age_home_blog_page_id = wp_insert_post($old_age_home_blog_page); 129 update_option('page_for_posts', $old_age_home_blog_page_id); 130 131 wp_update_na_menu_item($old_age_home_menu_id, 0, array( 132 'menu-item-title' => __('Blog', 'old-age-home'), 133 'menu-item-url' => get_permalink($old_age_home_blog_page_id), 134 'menu-item-status' => 'publish', 135 'menu-item-object-id' => $old_age_home_blog_page_id, 136 'menu-item-object' => 'page', 137 'menu-item-type' => 'post_type', 138 )); 139 } 140 141 /* Assign Menu Location */ 142 $old_age_home_locations = get_theme_mod( 'nav_menu_locations', array() ); 143 $old_age_home_locations[ $old_age_home_location ] = $old_age_home_menu_id; 144 set_theme_mod( 'nav_menu_locations', $old_age_home_locations ); 145 } 22 146 } 23 147 -
old-age-home/0.2.4/includes/tgm/class-tgm-plugin-activation.php
r243650 r310690 9 9 * 10 10 * @package TGM-Plugin-Activation 11 * @version 2.6.1 for parent theme Old Age Home for publication on WordPress.org11 * @version 2.6.1 12 12 * @link http://tgmpluginactivation.com/ 13 13 * @author Thomas Griffin, Gary Jones, Juliette Reinders Folmer … … 32 32 Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA 33 33 */ 34 35 // Exit if accessed directly. 36 if ( ! defined( 'ABSPATH' ) ) { 37 return; 38 } 34 39 35 40 if ( ! class_exists( 'TGM_Plugin_Activation' ) ) { … … 260 265 do_action_ref_array( 'tgmpa_init', array( $this ) ); 261 266 262 267 /* 268 * Load our text domain and allow for overloading the fall-back file. 269 * 270 * {@internal IMPORTANT! If this code changes, review the regex in the custom TGMPA 271 * generator on the website.}} 272 */ 273 add_action( 'init', array( $this, 'load_textdomain' ), 5 ); 274 add_filter( 'load_textdomain_mofile', array( $this, 'overload_textdomain_mofile' ), 10, 2 ); 263 275 264 276 // When the rest of WP has loaded, kick-start the rest of the class. … … 283 295 */ 284 296 public function __set( $name, $value ) { 297 // phpcs:ignore Squiz.PHP.NonExecutableCode.ReturnNotRequired -- See explanation above. 285 298 return; 286 299 } … … 332 345 'updating' => __( 'Updating Plugin: %s', 'old-age-home' ), 333 346 'oops' => __( 'Something went wrong with the plugin API.', 'old-age-home' ), 347 /* translators: 1: plugin name(s). */ 334 348 'notice_can_install_required' => _n_noop( 335 /* translators: 1: plugin name(s). */336 349 'This theme requires the following plugin: %1$s.', 337 350 'This theme requires the following plugins: %1$s.', 338 351 'old-age-home' 339 352 ), 353 /* translators: 1: plugin name(s). */ 340 354 'notice_can_install_recommended' => _n_noop( 341 /* translators: 1: plugin name(s). */342 355 'This theme recommends the following plugin: %1$s.', 343 356 'This theme recommends the following plugins: %1$s.', 344 357 'old-age-home' 345 358 ), 359 /* translators: 1: plugin name(s). */ 346 360 'notice_ask_to_update' => _n_noop( 347 /* translators: 1: plugin name(s). */348 361 'The following plugin needs to be updated to its latest version to ensure maximum compatibility with this theme: %1$s.', 349 362 'The following plugins need to be updated to their latest version to ensure maximum compatibility with this theme: %1$s.', 350 363 'old-age-home' 351 364 ), 365 /* translators: 1: plugin name(s). */ 352 366 'notice_ask_to_update_maybe' => _n_noop( 353 /* translators: 1: plugin name(s). */354 367 'There is an update available for: %1$s.', 355 368 'There are updates available for the following plugins: %1$s.', 356 369 'old-age-home' 357 370 ), 371 /* translators: 1: plugin name(s). */ 358 372 'notice_can_activate_required' => _n_noop( 359 /* translators: 1: plugin name(s). */360 373 'The following required plugin is currently inactive: %1$s.', 361 374 'The following required plugins are currently inactive: %1$s.', 362 375 'old-age-home' 363 376 ), 377 /* translators: 1: plugin name(s). */ 364 378 'notice_can_activate_recommended' => _n_noop( 365 /* translators: 1: plugin name(s). */366 379 'The following recommended plugin is currently inactive: %1$s.', 367 380 'The following recommended plugins are currently inactive: %1$s.', … … 445 458 add_action( 'switch_theme', array( $this, 'force_deactivation' ) ); 446 459 } 460 461 // Add CSS for the TGMPA admin page. 462 add_action( 'admin_head', array( $this, 'admin_css' ) ); 463 } 464 465 /** 466 * Load translations. 467 * 468 * @since 2.6.0 469 * 470 * (@internal Uses `load_theme_textdomain()` rather than `load_plugin_textdomain()` to 471 * get round the different ways of handling the path and deprecated notices being thrown 472 * and such. For plugins, the actual file name will be corrected by a filter.}} 473 * 474 * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA 475 * generator on the website.}} 476 */ 477 public function load_textdomain() { 478 if ( is_textdomain_loaded( 'old-age-home' ) ) { 479 return; 480 } 481 482 if ( false !== strpos( __FILE__, WP_PLUGIN_DIR ) || false !== strpos( __FILE__, WPMU_PLUGIN_DIR ) ) { 483 // Plugin, we'll need to adjust the file name. 484 add_action( 'load_textdomain_mofile', array( $this, 'correct_plugin_mofile' ), 10, 2 ); 485 load_theme_textdomain( 'old-age-home', dirname( __FILE__ ) . '/languages' ); 486 remove_action( 'load_textdomain_mofile', array( $this, 'correct_plugin_mofile' ), 10 ); 487 } else { 488 load_theme_textdomain( 'old-age-home', dirname( __FILE__ ) . '/languages' ); 489 } 490 } 491 492 /** 493 * Correct the .mo file name for (must-use) plugins. 494 * 495 * Themese use `/path/{locale}.mo` while plugins use `/path/{text-domain}-{locale}.mo`. 496 * 497 * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA 498 * generator on the website.}} 499 * 500 * @since 2.6.0 501 * 502 * @param string $mofile Full path to the target mofile. 503 * @param string $domain The domain for which a language file is being loaded. 504 * @return string $mofile 505 */ 506 public function correct_plugin_mofile( $mofile, $domain ) { 507 // Exit early if not our domain (just in case). 508 if ( 'old-age-home' !== $domain ) { 509 return $mofile; 510 } 511 return preg_replace( '`/([a-z]{2}_[A-Z]{2}.mo)$`', '/tgmpa-$1', $mofile ); 512 } 513 514 /** 515 * Potentially overload the fall-back translation file for the current language. 516 * 517 * WP, by default since WP 3.7, will load a local translation first and if none 518 * can be found, will try and find a translation in the /wp-content/languages/ directory. 519 * As this library is theme/plugin agnostic, translation files for TGMPA can exist both 520 * in the WP_LANG_DIR /plugins/ subdirectory as well as in the /themes/ subdirectory. 521 * 522 * This method makes sure both directories are checked. 523 * 524 * {@internal IMPORTANT! If this function changes, review the regex in the custom TGMPA 525 * generator on the website.}} 526 * 527 * @since 2.6.0 528 * 529 * @param string $mofile Full path to the target mofile. 530 * @param string $domain The domain for which a language file is being loaded. 531 * @return string $mofile 532 */ 533 public function overload_textdomain_mofile( $mofile, $domain ) { 534 // Exit early if not our domain, not a WP_LANG_DIR load or if the file exists and is readable. 535 if ( 'old-age-home' !== $domain || false === strpos( $mofile, WP_LANG_DIR ) || @is_readable( $mofile ) ) { 536 return $mofile; 537 } 538 539 // Current fallback file is not valid, let's try the alternative option. 540 if ( false !== strpos( $mofile, '/themes/' ) ) { 541 return str_replace( '/themes/', '/plugins/', $mofile ); 542 } elseif ( false !== strpos( $mofile, '/plugins/' ) ) { 543 return str_replace( '/plugins/', '/themes/', $mofile ); 544 } else { 545 return $mofile; 546 } 447 547 } 448 548 … … 556 656 557 657 global $tab, $body_id; 658 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedVariableFound -- WP requirement. 558 659 $body_id = 'plugin-information'; 559 // @codingStandardsIgnoreStart 560 $tab = 'plugin-information';561 // @codingStandardsIgnoreEnd660 661 // phpcs:ignore WordPress.WP.GlobalVariablesOverride.Prohibited -- Overriding the WP global is the point. 662 $tab = 'plugin-information'; 562 663 563 664 install_plugin_information(); … … 631 732 */ 632 733 protected function add_admin_menu( array $args ) { 633 $this->page_hook = add_theme_page( $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); 734 if ( has_filter( 'tgmpa_admin_menu_use_add_theme_page' ) ) { 735 _deprecated_function( 'The "tgmpa_admin_menu_use_add_theme_page" filter', '2.5.0', esc_html__( 'Set the parent_slug config variable instead.', 'old-age-home' ) ); 736 } 737 738 if ( 'themes.php' === $this->parent_slug ) { 739 $this->page_hook = call_user_func( 'add_theme_page', $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); 740 } else { 741 $this->page_hook = call_user_func( 'add_submenu_page', $args['parent_slug'], $args['page_title'], $args['menu_title'], $args['capability'], $args['menu_slug'], $args['function'] ); 742 } 634 743 } 635 744 … … 647 756 public function install_plugins_page() { 648 757 // Store new instance of plugin table in object. 649 $plugin_table = new TGMPA_List_Table ;758 $plugin_table = new TGMPA_List_Table(); 650 759 651 760 // Return early if processing a plugin installation action. … … 735 844 $method = ''; // Leave blank so WP_Filesystem can populate it as necessary. 736 845 737 if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, array() ) ) ) { 846 $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, array() ); 847 if ( false === $creds ) { 738 848 return true; 739 849 } … … 792 902 if ( 'update' === $install_type ) { 793 903 // Inject our info into the update transient. 794 $to_inject = array( $slug => $this->plugins[ $slug ] ); 904 $to_inject = array( 905 $slug => $this->plugins[ $slug ], 906 ); 795 907 $to_inject[ $slug ]['source'] = $source; 796 908 $this->inject_update_info( $to_inject ); … … 819 931 // Display message based on if all plugins are now active or not. 820 932 if ( $this->is_tgmpa_complete() ) { 821 echo '<p>', sprintf( esc_html( $this->strings['complete'] ), '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html __( 'Return to the Dashboard', 'old-age-home') . '</a>' ), '</p>';933 echo '<p>', sprintf( esc_html( $this->strings['complete'] ), '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html( $this->strings['dashboard'] ) . '</a>' ), '</p>'; 822 934 echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>'; 823 935 } else { … … 849 961 850 962 if ( ! is_object( $repo_updates ) ) { 851 $repo_updates = new stdClass ;963 $repo_updates = new stdClass(); 852 964 } 853 965 … … 856 968 857 969 if ( empty( $repo_updates->response[ $file_path ] ) ) { 858 $repo_updates->response[ $file_path ] = new stdClass ;970 $repo_updates->response[ $file_path ] = new stdClass(); 859 971 } 860 972 … … 926 1038 return trailingslashit( $to_path ); 927 1039 } else { 928 return new WP_Error( 'rename_failed', esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); 1040 return new WP_Error( 1041 'rename_failed', 1042 esc_html__( 'The remote plugin package does not contain a folder with the desired slug and renaming did not work.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ), 1043 array( 1044 'found' => $subdir_name, 1045 'expected' => $desired_slug, 1046 ) 1047 ); 929 1048 } 930 1049 } elseif ( empty( $subdir_name ) ) { 931 return new WP_Error( 'packaged_wrong', esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ), array( 'found' => $subdir_name, 'expected' => $desired_slug ) ); 1050 return new WP_Error( 1051 'packaged_wrong', 1052 esc_html__( 'The remote plugin package consists of more than one file, but the files are not packaged in a folder.', 'old-age-home' ) . ' ' . esc_html__( 'Please contact the plugin provider and ask them to package their plugin according to the WordPress guidelines.', 'old-age-home' ), 1053 array( 1054 'found' => $subdir_name, 1055 'expected' => $desired_slug, 1056 ) 1057 ); 932 1058 } 933 1059 } … … 960 1086 // Make sure message doesn't display again if bulk activation is performed 961 1087 // immediately after a single activation. 962 if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK. 1088 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Not using the superglobal. 1089 if ( ! isset( $_POST['action'] ) ) { 963 1090 echo '<div id="message" class="updated"><p>', esc_html( $this->strings['activated_successfully'] ), ' <strong>', esc_html( $this->plugins[ $slug ]['name'] ), '.</strong></p></div>'; 964 1091 } … … 981 1108 // Make sure message doesn't display again if bulk activation is performed 982 1109 // immediately after a single activation. 983 if ( ! isset( $_POST['action'] ) ) { // WPCS: CSRF OK. 1110 // phpcs:ignore WordPress.Security.NonceVerification.Missing -- Not using the superglobal. 1111 if ( ! isset( $_POST['action'] ) ) { 984 1112 echo '<div id="message" class="error"><p>', 985 1113 sprintf( … … 1131 1259 1132 1260 // Register the nag messages and prepare them to be processed. 1133 add_settings_error( ' tgmpa', 'tgmpa', $rendered, $this->get_admin_notice_class() );1261 add_settings_error( 'old-age-home', 'old-age-home', $rendered, $this->get_admin_notice_class() ); 1134 1262 } 1135 1263 … … 1231 1359 global $wp_settings_errors; 1232 1360 1233 settings_errors( ' tgmpa' );1361 settings_errors( 'old-age-home' ); 1234 1362 1235 1363 foreach ( (array) $wp_settings_errors as $key => $details ) { 1236 if ( ' tgmpa' === $details['setting'] ) {1364 if ( 'old-age-home' === $details['setting'] ) { 1237 1365 unset( $wp_settings_errors[ $key ] ); 1238 1366 break; … … 1276 1404 1277 1405 $defaults = array( 1278 'name' => '', // String 1279 'slug' => '', // String 1280 'source' => 'repo', // String 1281 'required' => false, // Boolean 1282 'version' => '', // String 1283 'force_activation' => false, // Boolean 1284 'force_deactivation' => false, // Boolean 1285 'external_url' => '', // String 1286 'is_callable' => '', // String |Array.1406 'name' => '', // String. 1407 'slug' => '', // String. 1408 'source' => 'repo', // String. 1409 'required' => false, // Boolean. 1410 'version' => '', // String. 1411 'force_activation' => false, // Boolean. 1412 'force_deactivation' => false, // Boolean. 1413 'external_url' => '', // String. 1414 'is_callable' => '', // String or array. 1287 1415 ); 1288 1416 … … 1550 1678 } 1551 1679 1552 $response = plugins_api( 'plugin_information', array( 'slug' => $slug, 'fields' => array( 'sections' => false ) ) ); 1680 $response = plugins_api( 1681 'plugin_information', 1682 array( 1683 'slug' => $slug, 1684 'fields' => array( 1685 'sections' => false, 1686 ), 1687 ) 1688 ); 1553 1689 1554 1690 $api[ $slug ] = false; … … 1633 1769 // Core update screen. 1634 1770 return true; 1635 } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok.1771 } elseif ( 'plugins' === $screen->base && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 1636 1772 // Plugins bulk update screen. 1637 1773 return true; 1638 } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // WPCS: CSRF ok.1774 } elseif ( 'update' === $screen->base && ! empty( $_POST['action'] ) ) { // phpcs:ignore WordPress.Security.NonceVerification.Missing 1639 1775 // Individual updates (ajax call). 1640 1776 return true; … … 1982 2118 1983 2119 /** 2120 * Adds CSS to admin head. 2121 * 2122 * @since 2.6.2 2123 */ 2124 public function admin_css() { 2125 if ( ! $this->is_tgmpa_page() ) { 2126 return; 2127 } 2128 2129 echo ' 2130 <style> 2131 #tgmpa-plugins .tgmpa-type-required > th { 2132 border-left: 3px solid #dc3232; 2133 } 2134 </style>'; 2135 } 2136 2137 /** 1984 2138 * Returns the singleton instance of the class. 1985 2139 * … … 2025 2179 * @param array $config Optional. An array of configuration values. 2026 2180 */ 2027 function old_age_home_tgmpa( $plugins, $config = array() ) {2181 function tgmpa( $plugins, $config = array() ) { 2028 2182 $instance = call_user_func( array( get_class( $GLOBALS['tgmpa'] ), 'get_instance' ) ); 2029 2183 … … 2478 2632 $color = ''; 2479 2633 if ( ! empty( $item['minimum_version'] ) && $this->tgmpa->does_plugin_require_update( $item['slug'] ) ) { 2480 $color = ' color: # 008D9E; font-weight: bold;';2634 $color = ' color: #ff0000; font-weight: bold;'; 2481 2635 } 2482 2636 … … 2525 2679 */ 2526 2680 public function no_items() { 2527 echo esc_html__( 'No plugins to install, update or activate.', 'old-age-home' ) . ' <a href="' . esc_url( self_admin_url() ) . '"> ' . esc_html __( 'Return to the Dashboard', 'old-age-home') . '</a>';2681 echo esc_html__( 'No plugins to install, update or activate.', 'old-age-home' ) . ' <a href="' . esc_url( self_admin_url() ) . '"> ' . esc_html( $this->tgmpa->strings['dashboard'] ) . '</a>'; 2528 2682 echo '<style type="text/css">#adminmenu .wp-submenu li.current { display: none !important; }</style>'; 2529 2683 } … … 2643 2797 */ 2644 2798 public function single_row( $item ) { 2645 parent::single_row( $item ); 2799 echo '<tr class="' . esc_attr( 'tgmpa-type-' . strtolower( $item['type'] ) ) . '">'; 2800 $this->single_row_columns( $item ); 2801 echo '</tr>'; 2646 2802 2647 2803 /** … … 2688 2844 * @since 2.5.0 2689 2845 * 2690 * @param string $which 'top' or 'bottom' table navigation.2846 * @param string $which Either 'top' or 'bottom' table navigation. 2691 2847 */ 2692 2848 public function extra_tablenav( $which ) { … … 2814 2970 $fields = array_keys( $_POST ); // Extra fields to pass to WP_Filesystem. 2815 2971 2816 if ( false === ( $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, $fields ) ) ) { 2972 $creds = request_filesystem_credentials( esc_url_raw( $url ), $method, false, false, $fields ); 2973 if ( false === $creds ) { 2817 2974 return true; // Stop the normal page form from displaying, credential request form will be shown. 2818 2975 } … … 2942 3099 $imploded = empty( $plugin_names ) ? $last_plugin : ( implode( ', ', $plugin_names ) . ' ' . esc_html_x( 'and', 'plugin A *and* plugin B', 'old-age-home' ) . ' ' . $last_plugin ); 2943 3100 2944 printf( // WPCS: xss ok.3101 printf( 2945 3102 '<div id="message" class="updated"><p>%1$s %2$s.</p></div>', 2946 3103 esc_html( _n( 'The following plugin was activated successfully:', 'The following plugins were activated successfully:', $count, 'old-age-home' ) ), 3104 // phpcs:ignore WordPress.Security.EscapeOutput.OutputNotEscaped -- Pre-escaped via wrap_in_strong() method above. 2947 3105 $imploded 2948 3106 ); … … 3289 3447 break; 3290 3448 } 3291 } //end foreach $plugins3449 } 3292 3450 3293 3451 $this->maintenance_mode( false ); … … 3309 3467 * } 3310 3468 */ 3311 do_action( 'upgrader_process_complete', $this, array( 3312 'action' => 'install', // [TGMPA + ] adjusted. 3313 'type' => 'plugin', 3314 'bulk' => true, 3315 'plugins' => $plugins, 3316 ) ); 3469 do_action( 3470 // phpcs:ignore WordPress.NamingConventions.PrefixAllGlobals.NonPrefixedHooknameFound -- Using WP core hook. 3471 'upgrader_process_complete', 3472 $this, 3473 array( 3474 'action' => 'install', // [TGMPA + ] adjusted. 3475 'type' => 'plugin', 3476 'bulk' => true, 3477 'plugins' => $plugins, 3478 ) 3479 ); 3317 3480 3318 3481 $this->skin->bulk_footer(); … … 3501 3664 $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation and activation process is starting. This process may take a while on some hosts, so please be patient.', 'old-age-home' ); 3502 3665 /* translators: 1: plugin name. */ 3503 $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'old-age-home' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'old-age-home' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'old-age-home' ) . '</span>.</a>';3666 $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed and activated successfully.', 'old-age-home' ); 3504 3667 $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations and activations have been completed.', 'old-age-home' ); 3505 3668 /* translators: 1: plugin name, 2: action number 3: total number of actions. */ … … 3509 3672 $this->upgrader->strings['skin_upgrade_start'] = __( 'The installation process is starting. This process may take a while on some hosts, so please be patient.', 'old-age-home' ); 3510 3673 /* translators: 1: plugin name. */ 3511 $this->upgrader->strings['skin_update_successful'] = esc_html__( '%1$s installed successfully.', 'old-age-home' ) . ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'old-age-home' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'old-age-home' ) . '</span>.</a>';3674 $this->upgrader->strings['skin_update_successful'] = __( '%1$s installed successfully.', 'old-age-home' ); 3512 3675 $this->upgrader->strings['skin_upgrade_end'] = __( 'All installations have been completed.', 'old-age-home' ); 3513 3676 /* translators: 1: plugin name, 2: action number 3: total number of actions. */ 3514 3677 $this->upgrader->strings['skin_before_update_header'] = __( 'Installing Plugin %1$s (%2$d/%3$d)', 'old-age-home' ); 3678 } 3679 3680 // Add "read more" link only for WP < 4.8. 3681 if ( version_compare( $this->tgmpa->wp_version, '4.8', '<' ) ) { 3682 $this->upgrader->strings['skin_update_successful'] .= ' <a href="#" class="hide-if-no-js" onclick="%2$s"><span>' . esc_html__( 'Show Details', 'old-age-home' ) . '</span><span class="hidden">' . esc_html__( 'Hide Details', 'old-age-home' ) . '</span>.</a>'; 3515 3683 } 3516 3684 } … … 3572 3740 $update_actions['dashboard'] = sprintf( 3573 3741 esc_html( $this->tgmpa->strings['complete'] ), 3574 '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html __( 'Return to the Dashboard', 'old-age-home') . '</a>'3742 '<a href="' . esc_url( self_admin_url() ) . '">' . esc_html( $this->tgmpa->strings['dashboard'] ) . '</a>' 3575 3743 ); 3576 3744 } else { … … 3715 3883 */ 3716 3884 protected static function emulate_filter_bool( $value ) { 3717 // @codingStandardsIgnoreStart3885 // phpcs:disable WordPress.Arrays.ArrayDeclarationSpacing.ArrayItemNoNewLine 3718 3886 static $true = array( 3719 3887 '1', … … 3730 3898 'off', 'Off', 'OFF', 3731 3899 ); 3732 // @codingStandardsIgnoreEnd3900 // phpcs:enable 3733 3901 3734 3902 if ( is_bool( $value ) ) { … … 3752 3920 } 3753 3921 } // End of class TGMPA_Utils 3754 } // End of class_exists wrapper3922 } -
old-age-home/0.2.4/includes/tgm/tgm.php
r243650 r310690 40 40 ); 41 41 $config = array(); 42 old_age_home_tgmpa( $plugins, $config );42 tgmpa( $plugins, $config ); 43 43 } 44 44 add_action( 'tgmpa_register', 'old_age_home_register_recommended_plugins' ); -
old-age-home/0.2.4/readme.txt
r307778 r310690 2 2 Contributors: wpelemento 3 3 Requires at least: 5.0 4 Stable tag: 0.2. 34 Stable tag: 0.2.4 5 5 Requires PHP: 5.6 6 6 Tested up to: 6.9 … … 80 80 Source : https://pxhere.com/en/photo/1193849 81 81 82 82 83 == Changelog == 84 85 = January-12-2026 :: 0.2.4 86 87 * Updated rtl.css file. 88 * Added hover effect on single post featured image. 89 * Resolve css error. 90 * Added menu in demo import. 91 * Fetching post in blog page. 92 * Resolve tgm plugin error. 83 93 84 94 = January-1-2026 :: 0.2.3 -
old-age-home/0.2.4/rtl.css
r288880 r310690 19 19 transition: none; 20 20 } 21 21 22 .screen-reader-text:focus { 22 23 background-color: #f1f1f1; … … 38 39 z-index: 100000; 39 40 } 41 40 42 #content[tabindex="-1"]:focus { 41 43 outline: 0; 42 44 } 45 43 46 body { 44 47 font-family: "Inter", sans-serif; … … 47 50 background: #fff; 48 51 } 52 49 53 h1, 50 54 h2, … … 57 61 font-family: "Lexend", sans-serif; 58 62 } 63 59 64 a { 60 65 color: #121212; … … 65 70 text-decoration: none; 66 71 } 72 67 73 a:hover, 68 74 a:focus { … … 70 76 text-decoration: none; 71 77 } 78 72 79 .post-single a, 73 80 .page-single a, … … 80 87 color: var(--primary-theme-color); 81 88 } 89 82 90 .post-content a { 83 91 color: var(--primary-theme-color); 84 92 } 93 85 94 /* =============================================== 86 95 HEADER BOX … … 90 99 background-color: #fff; 91 100 } 101 92 102 .page-template-frontpage .header { 93 103 border-bottom: 1px solid #000000; 94 104 } 105 95 106 .topheader span { 96 107 color: #fff; … … 101 112 word-break: break-all; 102 113 } 114 103 115 .topheader .topheader-inner { 104 116 background-color: #000000; … … 106 118 border-bottom-left-radius: 160px; 107 119 } 120 108 121 .topheader i { 109 122 color: var(--primary-theme-color); 110 123 } 124 111 125 .header .header-button { 112 126 background: #000; … … 119 133 text-transform: capitalize; 120 134 } 135 121 136 .header .header-button:hover, 122 137 .header .header-button:hover { … … 124 139 color: #fff; 125 140 } 141 126 142 .header .header-button:hover i { 127 143 color: var(--primary-theme-color); 128 144 background: #fff; 129 145 } 146 130 147 .header .header-button i { 131 148 color: #000; … … 137 154 text-align: center; 138 155 } 156 139 157 .mail-text { 140 158 position: relative; 141 159 } 160 142 161 .mail-text::before { 143 162 position: absolute; … … 150 169 height: 15px; 151 170 } 171 152 172 .mail-text::after { 153 173 position: absolute; … … 160 180 height: 15px; 161 181 } 182 162 183 /* =============================================== 163 184 FOOTER SOCIAL ICONS … … 167 188 padding: 6px 0px; 168 189 } 190 169 191 .footer-links i { 170 192 color: #000; … … 173 195 border-radius: 3px; 174 196 } 197 175 198 .footer-links i:hover { 176 199 color: var(--primary-theme-color); 177 200 } 201 178 202 /* =============================================== 179 203 HEADER IMAGE … … 187 211 background-position: center; 188 212 } 213 189 214 .header-image-box:before { 190 215 position: absolute; … … 197 222 z-index: 1; 198 223 } 224 199 225 .header-image-box h1, 200 226 .headerimgbox-meta span, … … 206 232 color: #fff; 207 233 } 234 208 235 .header-image-box h1 { 209 236 font-size: 65px; 210 237 } 238 211 239 .header-image-box h1, 212 240 .post-title a { 213 241 word-wrap: break-word; 214 242 } 243 215 244 /* =============================================== 216 245 LOGO BOX … … 228 257 font-weight: bold; 229 258 } 259 230 260 .logo span { 231 261 display: block; … … 234 264 color: var(--primary-theme-color); 235 265 } 266 236 267 /* =============================================== 237 268 MENU BOX … … 241 272 position: relative; 242 273 } 274 243 275 #main-menu ul { 244 276 margin: 0; … … 246 278 display: block; 247 279 } 280 248 281 #main-menu ul li { 249 282 position: relative; … … 252 285 text-align: right; 253 286 } 287 254 288 #main-menu ul li a { 255 289 display: block; … … 263 297 font-family: "Plus Jakarta Sans", sans-serif; 264 298 } 299 265 300 #main-menu .sub-menu li a:hover::after { 266 301 display: none; 267 302 } 303 268 304 #main-menu a:hover, 269 305 #main-menu ul li a:hover, 270 #main-menu li:hover >a,306 #main-menu li:hover>a, 271 307 #main-menu a:focus, 272 308 #main-menu ul li a:focus, 273 #main-menu li.focus >a,274 #main-menu li:focus >a,275 #main-menu ul li.current-menu-item >a,276 #main-menu ul li.current_page_item >a,277 #main-menu ul li.current-menu-parent >a,278 #main-menu ul li.current_page_ancestor >a,279 #main-menu ul li.current-menu-ancestor >a {309 #main-menu li.focus>a, 310 #main-menu li:focus>a, 311 #main-menu ul li.current-menu-item>a, 312 #main-menu ul li.current_page_item>a, 313 #main-menu ul li.current-menu-parent>a, 314 #main-menu ul li.current_page_ancestor>a, 315 #main-menu ul li.current-menu-ancestor>a { 280 316 color: var(--primary-theme-color); 281 317 } 318 282 319 #main-menu ul.children, 283 320 #main-menu ul.sub-menu { … … 295 332 transition: opacity 0.3s ease 0s; 296 333 } 334 297 335 #main-menu ul.children li, 298 336 #main-menu ul.sub-menu li { … … 305 343 margin: 0; 306 344 } 307 #main-menu li li:hover > ul, 308 #main-menu li li:focus > ul, 309 #main-menu li li.focus > ul { 345 346 #main-menu li li:hover>ul, 347 #main-menu li li:focus>ul, 348 #main-menu li li.focus>ul { 310 349 top: 0px; 311 350 right: -100%; 312 351 } 352 313 353 #main-menu ul.children li a, 314 354 #main-menu ul.sub-menu li a { … … 322 362 color: #121212; 323 363 } 364 324 365 #main-menu ul.children li a:hover, 325 366 #main-menu ul.sub-menu li a:hover { … … 328 369 border-radius: 0; 329 370 } 371 330 372 #main-menu ul.children li ul:before, 331 373 #main-menu ul.sub-menu li ul:before, … … 335 377 display: none; 336 378 } 337 #main-menu li:hover > ul, 338 #main-menu li:focus > ul, 339 #main-menu li.focus > ul { 379 380 #main-menu li:hover>ul, 381 #main-menu li:focus>ul, 382 #main-menu li.focus>ul { 340 383 opacity: 1; 341 384 right: 0; 342 385 } 386 343 387 /* =============================================== 344 388 menu dropdown css … … 356 400 color: #000; 357 401 } 402 358 403 #main-menu ul li.menu-item-has-children { 359 404 padding-left: 10px; 360 405 margin-left: 10px; 361 406 } 407 362 408 #main-menu ul.sub-menu li.menu-item-has-children:after { 363 409 left: 30px; 364 410 } 411 365 412 img.custom-logo { 366 413 max-width: 100%; 367 414 } 415 368 416 #main-menu ul li a:hover::after, 369 #main-menu ul li.current-menu-item >a::after,370 #main-menu ul li.current_page_item >a::after {417 #main-menu ul li.current-menu-item>a::after, 418 #main-menu ul li.current_page_item>a::after { 371 419 position: absolute; 372 420 background-color: var(--primary-theme-color); … … 381 429 border-radius: 20px; 382 430 } 431 383 432 /* =============================================== 384 433 POST BOX … … 388 437 background: #f2f8ff; 389 438 } 439 390 440 .post-box { 391 441 box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 9%); … … 393 443 text-align: center; 394 444 } 445 395 446 h3.post-title { 396 447 font-size: 25px; 397 448 } 449 398 450 .related-post h3.post-title { 399 451 font-size: 21px; 400 452 } 453 401 454 .post-content p { 402 455 color: #5b5b5b; 403 456 } 457 404 458 .post-meta, 405 459 .crumb-box a:hover { 406 460 color: var(--primary-theme-color); 407 461 } 462 408 463 pre { 409 464 display: block; … … 418 473 border-radius: 4px; 419 474 } 475 420 476 .post-content img, 421 477 .post-thumbnail img, … … 425 481 max-width: 100%; 426 482 } 483 427 484 .post-content img, 428 485 .post-thumbnail img { … … 430 487 height: auto; 431 488 } 489 432 490 .post-content:after { 433 491 content: ""; … … 435 493 clear: both; 436 494 } 495 437 496 .post-content { 438 497 word-wrap: break-word; 439 498 } 499 440 500 #content, 441 501 footer { … … 443 503 width: 100%; 444 504 } 505 445 506 .box { 446 507 background-color: rgb(171 171 171 / 70%); … … 449 510 position: relative; 450 511 } 512 451 513 .post-box:hover:before { 452 514 opacity: 1; 453 515 transform: translateX(0); 454 516 } 517 455 518 .box img { 456 519 width: 100%; … … 459 522 transition: all 0.5s ease; 460 523 } 524 461 525 .post-box:hover img { 462 526 opacity: 0.2; 463 527 transform: translateX(-20px) scale(1.15); 464 528 } 529 465 530 .box .box-content { 466 531 opacity: 0; … … 475 540 transition: all 0.5s ease; 476 541 } 542 477 543 .post-box:hover .box-content { 478 544 opacity: 1; 479 545 transform: scale(1); 480 546 } 547 481 548 p.slider-button a { 482 549 background: var(--primary-theme-color); … … 486 553 font-weight: bold; 487 554 } 555 488 556 p.slider-button a:hover { 489 557 background: #121212; 490 558 } 559 491 560 .post-info span, 492 561 .post-info a { … … 496 565 display: inline-block; 497 566 } 567 498 568 .post-info a:hover, 499 569 .entry-date:hover a, … … 503 573 color: var(--primary-theme-color); 504 574 } 575 505 576 .post-info i { 506 577 color: var(--primary-theme-color); 507 578 font-size: 12px; 508 579 } 580 509 581 /* Edit link */ 510 582 .link-edit { … … 512 584 margin-right: 10px; 513 585 } 586 514 587 .post-info { 515 588 display: inline-block; 516 589 } 590 517 591 .link-edit::before { 518 592 content: "\f044"; 519 593 color: var(--primary-theme-color); 520 594 } 595 521 596 .link-edit::before { 522 597 display: inline-block; … … 525 600 margin-left: 8px; 526 601 } 602 527 603 .post-edit-link { 528 604 color: #000 !important; 529 605 } 606 530 607 /* =============================================== 531 608 Pagination … … 536 613 margin: 25px 0; 537 614 } 615 538 616 .pagination .nav-links a, 539 617 .pagination .nav-links span.current, … … 550 628 background: #f3f4f7; 551 629 } 630 552 631 .pagination .nav-links a:hover, 553 632 .pagination .nav-links a:focus, … … 568 647 color: #fff; 569 648 } 649 570 650 .comment-respond input#submit:hover, 571 651 .comment-reply a:hover { 572 652 background: #121212; 573 653 } 654 574 655 .comment-form-url input, 575 656 nav.navigation.pagination { 576 657 width: 100%; 577 658 } 659 578 660 .comment-respond input#submit { 579 661 background: var(--primary-theme-color); … … 583 665 font-weight: 600; 584 666 } 667 585 668 .comment-content a { 586 669 word-wrap: break-word; 587 670 } 671 588 672 .bypostauthor { 589 673 display: block; 590 674 } 675 591 676 .comments-title { 592 677 font-size: 1.125rem; 593 678 } 679 594 680 .comment-body .pull-left { 595 681 padding-left: 0.625rem; 596 682 } 683 597 684 .comment-list { 598 685 padding-right: 0; 599 686 border-bottom: 1px solid #00000047; 600 687 } 688 601 689 .comment-list .comment { 602 690 display: block; 603 691 } 692 604 693 .comment-list .pingback { 605 694 border-top: 1px solid rgba(0, 0, 0, 0.125); 606 695 padding: 0.563rem 0; 607 696 } 697 608 698 .comment-list .pingback a { 609 699 margin-right: 5px; 610 700 margin-left: 5px; 611 701 } 702 612 703 .comment-content.card-block { 613 704 padding: 15px; 614 705 } 706 615 707 .comment-reply a { 616 708 padding: 10px; … … 618 710 background: var(--primary-theme-color); 619 711 } 712 620 713 /* =============================================== 621 714 SIDEBARS … … 626 719 padding: 0 20px 0 0; 627 720 } 721 628 722 .sidebar-area .textwidget img, 629 723 .footer-area .textwidget img { … … 631 725 height: auto; 632 726 } 727 633 728 .sidebar-area .sidebar-widget { 634 729 margin-bottom: 25px; 635 730 } 731 636 732 .sidebar-area a, 637 733 .sidebar-area p, … … 646 742 font-weight: normal; 647 743 } 744 648 745 .sidebar-area ul, 649 746 #calendar_wrap, … … 653 750 margin: 0; 654 751 } 752 655 753 .sidebar-area ul { 656 754 padding: 15px 30px 25px; … … 658 756 border: solid 1px #e4e7ee; 659 757 } 758 660 759 .wp-calendar .sidebar-area li a, 661 760 .sidebar-area li { … … 663 762 color: #5b5b5b; 664 763 } 764 665 765 .sidebar-area li a:hover, 666 766 .sidebar-area li:hover { 667 767 color: var(--primary-theme-color); 668 768 } 769 669 770 .sidebar-area li { 670 771 padding: 14px 10px; 671 772 border-bottom: solid 1px #e4e7ee; 672 773 } 774 673 775 .sidebar-area h4.title { 674 776 position: relative; … … 677 779 margin-bottom: 20px; 678 780 } 781 679 782 .sidebar-area h4.title:before { 680 783 position: absolute; … … 688 791 margin: auto; 689 792 } 793 690 794 .sidebar-area h4.title:after { 691 795 position: absolute; … … 700 804 margin: auto; 701 805 } 806 702 807 .sidebar-area .tagcloud a, 703 808 .footer-area .tagcloud a { … … 710 815 border: solid 1px #e4e7ee; 711 816 } 817 712 818 .footer-area .tagcloud a { 713 819 border: solid 1px #fff; 714 820 color: #fff; 715 821 } 822 716 823 .sidebar-area .tagcloud a:before, 717 824 .footer-area .tagcloud a:before { 718 825 content: "#"; 719 826 } 827 720 828 .sidebar-area .tagcloud a:hover, 721 829 .footer-area .tagcloud a:hover { … … 723 831 color: #fff; 724 832 } 833 725 834 .sidebar-area .wp-block-group__inner-container h2 { 726 835 color: #000000 !important; 727 836 font-size: 20px; 728 837 } 838 729 839 .sidebar-area select, 730 840 .footer-area select, … … 756 866 border: solid 1px #e4e7ee; 757 867 } 868 758 869 .sidebar-area ol.wp-block-latest-comments { 759 870 padding-right: 0px; 760 871 } 872 761 873 #wp-calendar th, 762 874 #wp-calendar #today, … … 765 877 color: #434343 !important; 766 878 } 879 767 880 #wp-calendar a:hover { 768 881 border: none; 769 882 } 883 770 884 #wp-calendar { 771 885 background: #fff; 772 886 width: 100%; 773 887 } 888 774 889 #wp-calendar caption { 775 890 font-size: 14px; … … 780 895 font-weight: 500; 781 896 } 897 782 898 #wp-calendar th, 783 899 #wp-calendar td { … … 787 903 padding: 3px 6px; 788 904 } 905 789 906 #wp-calendar td a { 790 907 display: block; … … 794 911 text-decoration: underline; 795 912 } 913 796 914 #wp-calendar td#prev a, 797 915 #wp-calendar td#prev a { … … 799 917 text-align: right; 800 918 } 919 801 920 #wp-calendar th { 802 921 font-weight: bold; 803 922 } 923 804 924 tr:nth-child(2n + 2) { 805 925 background-color: #f3f4f7; 806 926 } 927 807 928 .searchform label { 808 929 display: block; 809 930 } 931 810 932 .searchform input[type="text"] { 811 933 width: calc(100% - 110px); … … 817 939 border-radius: 30px; 818 940 } 941 819 942 #searchform { 820 943 border: solid 1px #e4e7ee; 821 944 border-radius: 30px; 822 945 } 946 823 947 .searchform input[type="submit"] { 824 948 background: var(--primary-theme-color); … … 841 965 transition: color 0.3s ease, background-color 0.3s ease; 842 966 } 967 843 968 .searchform input[type="submit"]:hover, 844 969 .searchform input[type="submit"]:focus { … … 846 971 text-decoration: none; 847 972 } 973 848 974 .searchform:after { 849 975 content: ""; … … 851 977 clear: both; 852 978 } 979 853 980 .footer-widget { 854 981 background: #171414; 855 982 } 983 856 984 .footer-copyright { 857 985 background: var(--primary-theme-color); 858 986 } 987 859 988 footer a, 860 989 footer p, … … 872 1001 color: #fff; 873 1002 } 1003 874 1004 .footer-area ul { 875 1005 padding: 0; 876 1006 list-style: none; 877 1007 } 1008 878 1009 .footer-area h4.title { 879 1010 font-size: 30px; … … 882 1013 word-wrap: break-word; 883 1014 } 1015 884 1016 .footer-area li { 885 1017 padding: 8px 0; 886 1018 } 1019 887 1020 .footer-area input[type="search"] { 888 1021 width: 100%; … … 891 1024 border: solid 1px#4d4d4d; 892 1025 } 1026 893 1027 .footer-area form.woocommerce-product-search button, 894 1028 #sidebar form.woocommerce-product-search button { … … 903 1037 border: solid 1pxvar (--primary-theme-color); 904 1038 } 1039 905 1040 img.size-auto, 906 1041 img.size-full, … … 914 1049 height: auto; 915 1050 } 1051 916 1052 .alignleft, 917 1053 img.alignleft { … … 921 1057 margin-top: 4px; 922 1058 } 1059 923 1060 .alignright, 924 1061 img.alignright { … … 928 1065 margin-top: 4px; 929 1066 } 1067 930 1068 div.aligncenter, 931 1069 img.aligncenter { … … 935 1073 float: none; 936 1074 } 1075 937 1076 img.alignleft, 938 1077 img.alignright, … … 940 1079 margin-bottom: 12px; 941 1080 } 1081 942 1082 .wp-caption { 943 1083 line-height: 18px; … … 947 1087 text-align: center; 948 1088 } 1089 949 1090 .wp-caption img { 950 1091 margin: 5px 5px 0; … … 952 1093 height: 100%; 953 1094 } 1095 954 1096 .wp-caption p.wp-caption-text { 955 1097 color: #888; … … 957 1099 margin: 5px; 958 1100 } 1101 959 1102 .wp-block-latest-comments__comment-meta a { 960 1103 color: #000; 961 1104 } 1105 962 1106 /* =============================================== 963 1107 BLOCK CSS … … 968 1112 border-radius: 30px; 969 1113 } 970 .sidebar-area 971 .widget_search 972 .wp-block-search__inside-wrapper 973 .wp-block-search__input { 1114 1115 .sidebar-area .widget_search .wp-block-search__inside-wrapper .wp-block-search__input { 974 1116 width: calc(100% - 110px); 975 1117 margin: 0; … … 980 1122 border-radius: 30px; 981 1123 } 1124 982 1125 .sidebar-area .widget_search button.wp-block-search__button.wp-element-button { 983 1126 background: var(--primary-theme-color); … … 1000 1143 transition: color 0.3s ease, background-color 0.3s ease; 1001 1144 } 1145 1002 1146 .sidebar-area .widget_search button.wp-block-search__button:hover, 1003 1147 .sidebar-area .widget_search button.wp-block-search__button:focus { … … 1005 1149 text-decoration: none; 1006 1150 } 1151 1007 1152 .sidebar-area .widget_search .wp-block-search__inside-wrapper { 1008 1153 content: ""; … … 1019 1164 color: #000; 1020 1165 } 1166 1021 1167 .sidebar-area .wp-block-search label { 1022 1168 display: inline; 1023 1169 } 1170 1024 1171 .sidebar-area .widget_search label:before, 1025 1172 .sidebar-area .sidebar-widget.widget_block .wp-block-heading:before { … … 1034 1181 margin: auto; 1035 1182 } 1183 1036 1184 .sidebar-area .widget_search label:after, 1037 1185 .sidebar-area .sidebar-widget.widget_block .wp-block-heading:after { … … 1047 1195 margin: auto; 1048 1196 } 1197 1049 1198 .sidebar-area .wp-block-tag-cloud a, 1050 1199 .footer-area .wp-block-tag-cloud a, … … 1058 1207 border: solid 1px #e4e7ee; 1059 1208 } 1209 1060 1210 .footer-area .wp-block-tag-cloud a { 1061 1211 border: solid 1px #fff; 1062 1212 color: #fff; 1063 1213 } 1214 1064 1215 .sidebar-area .wp-block-tag-cloud a:before, 1065 1216 .footer-area .wp-block-tag-cloud a:before, … … 1067 1218 content: "#"; 1068 1219 } 1220 1069 1221 .sidebar-area .wp-block-tag-cloud a:hover, 1070 1222 .footer-area .wp-block-tag-cloud a:hover, … … 1073 1225 color: #fff; 1074 1226 } 1227 1075 1228 .sidebar-area ol footer.wp-block-latest-comments__comment-meta { 1076 1229 float: none !important; 1077 1230 } 1231 1078 1232 .sidebar-area ol.wp-block-latest-comments { 1079 1233 padding-right: 0px !important; … … 1082 1236 border: solid 1px #e4e7ee; 1083 1237 } 1238 1084 1239 .footer-area .wp-block-heading { 1085 1240 font-size: 30px; … … 1088 1243 word-wrap: break-word; 1089 1244 } 1245 1090 1246 /* WOOCOMMERCE */ 1091 1247 /* Cart */ … … 1094 1250 margin-right: auto; 1095 1251 } 1252 1096 1253 .wp-block-woocommerce-checkout.alignwide { 1097 1254 margin-left: auto; 1098 1255 margin-right: auto; 1099 1256 } 1257 1100 1258 .wp-block-woocommerce-cart .wc-block-cart-items { 1101 1259 border: 1px solid #dee2e6 !important; … … 1103 1261 padding: 10px; 1104 1262 } 1263 1105 1264 .wp-block-woocommerce-cart-order-summary-block { 1106 1265 border: 1px solid #dee2e6 !important; 1107 1266 box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 9%); 1108 1267 } 1268 1109 1269 .wp-block-woocommerce-cart-order-summary-heading-block { 1110 1270 padding: 10px 20px !important; 1111 1271 background: #f3f4f7 !important; 1112 1272 } 1273 1113 1274 .wc-block-components-product-name { 1114 1275 font-size: 20px; … … 1117 1278 color: #000 !important; 1118 1279 } 1280 1119 1281 .wc-block-cart-items__header-image { 1120 1282 padding-right: 16px !important; 1121 1283 } 1284 1122 1285 .wc-block-cart-items__header-total { 1123 1286 padding-left: 16px !important; 1124 1287 } 1288 1125 1289 .wc-block-components-totals-coupon-link, 1126 1290 .wc-block-cart__submit-container a, … … 1146 1310 text-decoration: none !important; 1147 1311 } 1312 1148 1313 .yith-wcwl-wishlistexistsbrowse a, 1149 1314 .yith-wcwl-wishlistaddedbrowse a { … … 1151 1316 color: #fff !important; 1152 1317 } 1318 1153 1319 .yith-wcwl-add-to-wishlist.exists .yith-wcwl-wishlistaddedbrowse { 1154 1320 display: inline-block !important; 1155 1321 } 1322 1156 1323 .entry-summary .yith-wcwl-add-button a, 1157 1324 .entry-summary .yith-wcwl-wishlistexistsbrowse, … … 1159 1326 margin-bottom: 10px; 1160 1327 } 1328 1161 1329 .wc-block-components-totals-coupon__form button { 1162 1330 margin-top: 0px !important; 1163 1331 } 1332 1164 1333 .entry-summary .yith-wcwl-add-button, 1165 1334 .products .yith-wcwl-add-button { … … 1167 1336 margin-bottom: 10px; 1168 1337 } 1338 1169 1339 .wc-block-cart__submit-container a { 1170 1340 margin-top: 20px; 1171 1341 } 1342 1172 1343 .wc-block-components-totals-coupon-link:hover, 1173 1344 .wc-block-cart__submit-container:hover a, … … 1178 1349 background: #121212; 1179 1350 } 1351 1180 1352 .wc-block-components-totals-coupon { 1181 1353 text-align: center; 1182 1354 } 1355 1183 1356 .wc-block-cart-items__header-product { 1184 1357 background: #f3f4f7 !important; 1185 1358 } 1359 1186 1360 .wc-block-cart-items__header th { 1187 1361 padding: 10px 20px !important; 1188 1362 font-size: 14px; 1189 1363 } 1364 1190 1365 .wc-block-cart__totals-title { 1191 1366 font-size: 14px !important; … … 1193 1368 text-align: center !important; 1194 1369 } 1370 1195 1371 tr.wc-block-cart-items__row { 1196 1372 padding: 15px 15px !important; 1197 1373 } 1374 1198 1375 .wc-block-components-totals-item, 1199 1376 .wc-block-components-totals-item { … … 1201 1378 padding-left: 16px !important; 1202 1379 } 1380 1203 1381 span.wp-block-woocommerce-cart-order-summary-heading-block.wc-block-cart__totals-title { 1204 1382 display: block !important; 1205 1383 } 1384 1206 1385 #commentform input[type="text"], 1207 1386 #commentform input[type="email"], … … 1217 1396 height: auto; 1218 1397 } 1398 1219 1399 .woocommerce-message p { 1220 1400 flex-basis: 55%; 1221 1401 } 1402 1222 1403 .product .price ins, 1223 1404 .price .woocommerce-Price-amount.amount { … … 1225 1406 font-weight: 600; 1226 1407 } 1408 1227 1409 .product .price del .woocommerce-Price-amount.amount { 1228 1410 font-size: 18px !important; 1229 1411 font-weight: 500 !important; 1230 1412 } 1413 1231 1414 .product .price { 1232 1415 margin: 10px 0px !important; 1233 1416 } 1417 1234 1418 /* single product review form */ 1235 1419 #reviews .comment-form { … … 1237 1421 flex-direction: column; 1238 1422 } 1423 1239 1424 #reviews .comment-form-author { 1240 1425 order: 1; 1241 1426 } 1427 1242 1428 #reviews .comment-form-email { 1243 1429 order: 2; 1244 1430 } 1431 1245 1432 #reviews .comment-form-comment { 1246 1433 order: 3; 1247 1434 } 1435 1248 1436 #reviews .comment-form-cookies-consent { 1249 1437 order: 4; 1250 1438 } 1439 1251 1440 #reviews .form-submit { 1252 1441 order: 5; … … 1257 1446 padding-right: 0; 1258 1447 } 1448 1259 1449 .wishlist_table.mobile table { 1260 1450 width: auto; 1261 1451 } 1452 1262 1453 .wishlist_table.mobile li { 1263 1454 padding: 15px; 1264 1455 border: 1px solid rgba(0, 0, 0, 0.1); 1265 1456 } 1457 1266 1458 .cart.wishlist_table .additional-info-wrapper { 1267 1459 display: flex; … … 1269 1461 justify-content: space-around; 1270 1462 } 1463 1271 1464 ul.shop_table.cart.wishlist_table.wishlist_view.responsive.mobile { 1272 1465 display: grid; … … 1274 1467 gap: 10px; 1275 1468 } 1469 1276 1470 .wishlist_table.images_grid li .item-details table.item-details-table td.label, 1277 1471 .wishlist_table.mobile li .item-details table.item-details-table td.label, … … 1280 1474 font-size: 16px !important; 1281 1475 } 1476 1282 1477 .wishlist_table.mobile li .item-details table.item-details-table td, 1283 1478 .additional-info .value { … … 1286 1481 font-family: "Exo 2", sans-serif; 1287 1482 } 1483 1288 1484 .main-product-section .wishlist_view { 1289 1485 display: block !important; 1290 1486 } 1487 1291 1488 .share-button i::before { 1292 1489 font-family: "FontAwesome"; 1293 1490 } 1491 1294 1492 .hidden-title-form button i, 1295 1493 .wishlist-title a.show-title-form i, … … 1298 1496 .wishlist_table .add_to_cart.button i, 1299 1497 .wishlist_table .ask-an-estimate-button i, 1300 .yith-wcwl-add-button >a i,1498 .yith-wcwl-add-button>a i, 1301 1499 .yith-wcwl-wishlist-new button i, 1302 1500 .yith-wcwl-wishlist-search-form button.wishlist-search-button i { 1303 1501 margin-left: 0px !important; 1304 1502 } 1503 1305 1504 .wpr-grid-slider-dots { 1306 1505 z-index: 9 !important; 1307 1506 } 1507 1308 1508 .wishlist_table tr td, 1309 1509 .wishlist_table tr th.product-checkbox, … … 1311 1511 text-align: right !important; 1312 1512 } 1513 1313 1514 /* Cart */ 1314 1515 .wc-block-grid__product-title { … … 1317 1518 text-decoration: none !important; 1318 1519 } 1520 1319 1521 a.wc-block-grid__product-link { 1320 1522 text-decoration: none !important; 1321 1523 } 1524 1322 1525 .wc-block-grid__product-price { 1323 1526 color: var(--primary-theme-color) !important; … … 1325 1528 font-weight: 500 !important; 1326 1529 } 1530 1327 1531 .wc-block-grid .wc-block-grid__product-onsale, 1328 1532 .wc-block-grid__product-image .wc-block-grid__product-onsale { … … 1338 1542 color: #fff !important; 1339 1543 } 1544 1340 1545 .wc-block-grid__products .wc-block-grid__product-image img { 1341 1546 width: 100% !important; 1342 1547 } 1548 1343 1549 /* CHECKOUT */ 1344 1550 .wp-block-woocommerce-checkout-order-summary-block { … … 1347 1553 box-shadow: 0px 0px 40px 0px rgb(0 0 0 / 9%); 1348 1554 } 1555 1349 1556 /* MY ACCOUNT */ 1350 1557 … … 1354 1561 margin-bottom: 0; 1355 1562 } 1563 1356 1564 nav.woocommerce-MyAccount-navigation ul li { 1357 1565 padding: 10px; … … 1359 1567 background: var(--primary-theme-color); 1360 1568 } 1569 1361 1570 nav.woocommerce-MyAccount-navigation ul li:hover { 1362 1571 background: #121212; 1363 1572 } 1573 1364 1574 nav.woocommerce-MyAccount-navigation ul li a { 1365 1575 text-decoration: none; 1366 1576 color: #fff; 1367 1577 } 1578 1368 1579 /* MY ACCOUNT Address Button */ 1369 1580 .woocommerce-Address-title a { … … 1376 1587 text-decoration: none !important; 1377 1588 } 1589 1378 1590 header.woocommerce-Address-title.title { 1379 1591 display: inline-grid; 1380 1592 margin-bottom: 20px; 1381 1593 } 1594 1382 1595 /* CHECKOUT */ 1383 1596 .woocommerce form .form-row label, … … 1387 1600 width: 100%; 1388 1601 } 1602 1389 1603 /* BUTTONS */ 1390 1604 .woocommerce #respond input#submit.alt, … … 1402 1616 border-radius: 7px !important; 1403 1617 } 1618 1404 1619 .woocommerce #respond input#submit.alt:hover, 1405 1620 .woocommerce a.button.alt:hover, … … 1414 1629 color: #fff; 1415 1630 } 1631 1416 1632 .woocommerce a.added_to_cart { 1417 1633 padding: 0.618em 1em; … … 1420 1636 border-radius: 0px; 1421 1637 } 1638 1422 1639 /* SHOP & SINGLE PRODUCT */ 1423 1640 … … 1434 1651 min-height: 2em !important; 1435 1652 } 1653 1436 1654 .woocommerce span.onsale { 1437 1655 right: 10px; 1438 1656 left: auto; 1439 1657 } 1658 1440 1659 h2.woocommerce-loop-product__title { 1441 1660 font-size: 18px !important; 1442 1661 } 1662 1443 1663 .woocommerce ul.products li.product .price, 1444 1664 .woocommerce div.product p.price, … … 1449 1669 font-size: 18px; 1450 1670 } 1671 1451 1672 .woocommerce ul.products li.product .price ins, 1452 1673 .woocommerce div.product p.price ins, … … 1454 1675 text-decoration: none; 1455 1676 } 1677 1456 1678 .woocommerce ul.products li.product, 1457 1679 .woocommerce-page ul.products li.product { 1458 1680 text-align: center; 1459 1681 } 1682 1460 1683 .woocommerce .quantity .qty { 1461 1684 width: 9em; 1462 1685 padding: 8px; 1463 1686 } 1687 1464 1688 .woocommerce ul.products li.product .star-rating { 1465 1689 font-size: 12px; … … 1474 1698 background: transparent; 1475 1699 } 1700 1476 1701 .wp-block-button__link { 1477 1702 color: #fff !important; … … 1479 1704 margin-bottom: 5px; 1480 1705 } 1706 1481 1707 .wp-block-button.is-style-outline .wp-block-button__link { 1482 1708 border: 1px solid var(--primary-theme-color); 1483 1709 color: #121212 !important; 1484 1710 } 1711 1485 1712 .wp-block-button.is-style-squared .wp-block-button__link { 1486 1713 border-radius: 0px !important; 1487 1714 } 1715 1488 1716 .product .add_to_cart_button.added { 1489 1717 display: none !important; 1490 1718 } 1719 1491 1720 /* shop page additional css */ 1492 1721 .woocommerce ul.products li.product a img { … … 1497 1726 border-radius: 20px; 1498 1727 } 1728 1499 1729 .woocommerce ul.products li.product, 1500 1730 .woocommerce-page ul.products li.product { … … 1503 1733 padding: 10px; 1504 1734 } 1735 1505 1736 ul.products a.button.product_type_simple.add_to_cart_button.ajax_add_to_cart, 1506 1737 a.added_to_cart.wc-forward { 1507 1738 padding: 8px 28px; 1508 1739 } 1740 1509 1741 ul.products h2.woocommerce-loop-product__title { 1510 1742 color: var(--primary-theme-color); … … 1520 1752 font-weight: bold; 1521 1753 } 1754 1522 1755 .woocommerce nav.woocommerce-pagination ul li a { 1523 1756 display: block; … … 1532 1765 border-radius: 10px; 1533 1766 } 1767 1534 1768 .woocommerce nav.woocommerce-pagination ul li a:hover { 1535 1769 background: var(--primary-theme-color); … … 1543 1777 overflow: unset; 1544 1778 } 1779 1545 1780 .woocommerce nav.woocommerce-pagination { 1546 1781 text-align: center; 1547 1782 margin-bottom: 20px; 1548 1783 } 1784 1549 1785 /* SINGLE POST */ 1550 1786 .single-post-category span { … … 1552 1788 color: #5b5b5b; 1553 1789 } 1790 1554 1791 .single-post-category .post-categories li, 1555 1792 .single-post-category ul { … … 1557 1794 padding-right: 0px; 1558 1795 } 1796 1559 1797 .single-post-category .post-categories li a { 1560 1798 margin-left: 8px; … … 1568 1806 line-height: 1; 1569 1807 } 1808 1570 1809 .single-post-category .post-categories li a:hover { 1571 1810 background: #000000; 1572 1811 } 1812 1573 1813 /*scroll-to-top*/ 1574 1814 .scroll-up { … … 1578 1818 z-index: 999; 1579 1819 } 1820 1580 1821 .scroll-up a { 1581 1822 background: var(--primary-theme-color); 1582 1823 color: #ffffff; 1583 1824 } 1825 1584 1826 .scroll-up a { 1585 1827 display: block; … … 1595 1837 box-shadow: 0 0 10px rgb(0 0 0 / 20%); 1596 1838 } 1839 1597 1840 .scroll-up i { 1598 1841 line-height: 40px; … … 1612 1855 align-items: center; 1613 1856 } 1857 1614 1858 .preloader { 1615 1859 animation: move 0.5s ease infinite alternate; 1616 1860 } 1861 1617 1862 .diamond { 1618 1863 width: 60px; … … 1624 1869 align-items: center; 1625 1870 } 1871 1626 1872 .diamond span { 1627 1873 width: 60px; … … 1631 1877 right: 0; 1632 1878 } 1879 1633 1880 .diamond span:nth-child(1) { 1634 1881 border: 10px solid var(--primary-theme-color); … … 1637 1884 transform: rotateX(90deg) rotateZ(-45deg); 1638 1885 } 1886 1639 1887 .diamond span:nth-child(2) { 1640 1888 border: 6px solid var(--primary-theme-color); … … 1643 1891 transform: rotateX(90deg) rotateY(-90deg) rotateZ(-45deg); 1644 1892 } 1893 1645 1894 .diamond span:last-child { 1646 1895 border: 6px solid var(--primary-theme-color); … … 1649 1898 transform: rotateZ(-45deg); 1650 1899 } 1900 1651 1901 @keyframes move { 1652 1902 0% { 1653 1903 transform: translateY(0) scaleY(0.9); 1654 1904 } 1905 1655 1906 100% { 1656 1907 transform: translateY(-70px) scaleY(1.1); 1657 1908 } 1658 1909 } 1910 1659 1911 @keyframes spin { 1660 1912 0% { 1661 1913 transform: translateY(-50%) rotateX(-15deg) rotateY(0deg); 1662 1914 } 1915 1663 1916 100% { 1664 1917 transform: translateY(-50%) rotateX(-15deg) rotateY(-180deg); 1665 1918 } 1666 1919 } 1920 1667 1921 .result-search #searchform { 1668 1922 display: table; 1669 1923 } 1924 1670 1925 .not-found-content #searchform { 1671 1926 display: inline-block; 1672 1927 } 1928 1673 1929 .footer-copyright a, 1674 1930 .footer-copyright p { 1675 1931 color: #ffffff; 1676 1932 } 1933 1677 1934 /* =============================================== 1678 1935 Progress Bar … … 1685 1942 z-index: 99999; 1686 1943 } 1944 1687 1945 #elemento-progress-bar.top { 1688 1946 top: 0; 1689 1947 } 1948 1690 1949 .admin-bar #elemento-progress-bar.top { 1691 1950 top: 32px; 1692 1951 } 1952 1693 1953 #elemento-progress-bar.bottom { 1694 1954 bottom: 0; 1695 1955 } 1956 1696 1957 /* =============================================== 1697 1958 HOME PAGE CSS … … 1704 1965 gap: 20px; 1705 1966 } 1967 1706 1968 .old-age-home-contact .form-group .input-with-icon { 1707 1969 width: calc(25% - 15px); 1708 1970 position: relative; 1709 1971 } 1972 1710 1973 .old-age-home-contact .form-group .input-with-icon i { 1711 1974 position: absolute; … … 1715 1978 top: 17px; 1716 1979 } 1980 1717 1981 .old-age-home-contact .form-group .input-with-icon input, 1718 1982 .old-age-home-contact .form-group .input-with-icon select, … … 1728 1992 width: 100%; 1729 1993 } 1994 1730 1995 .old-age-home-contact .wpcf7 form.invalid .wpcf7-response-output { 1731 1996 color: #fff !important; 1732 1997 } 1998 1733 1999 .old-age-home-contact .form-group .input-with-icon br { 1734 2000 display: none; 1735 2001 } 2002 1736 2003 .old-age-home-contact .form-group .input-with-icon select { 1737 2004 height: 51px; 1738 2005 } 2006 1739 2007 .old-age-home-contact .form-group .input-with-icon:nth-child(6) { 1740 2008 width: calc(50% - 15px); … … 1745 2013 resize: none !important; 1746 2014 } 1747 .old-age-home-contact .input-with-icon.form-button > p input { 2015 2016 .old-age-home-contact .input-with-icon.form-button>p input { 1748 2017 width: auto; 1749 2018 background-color: #000000; 1750 2019 color: #ffffff; 1751 2020 } 1752 .old-age-home-contact .input-with-icon.form-button > p i { 2021 2022 .old-age-home-contact .input-with-icon.form-button>p i { 1753 2023 position: static; 1754 2024 } 1755 .old-age-home-contact .input-with-icon.form-button > p { 2025 2026 .old-age-home-contact .input-with-icon.form-button>p { 1756 2027 width: 100%; 1757 2028 padding: 0; … … 1764 2035 border-radius: 10px; 1765 2036 } 2037 1766 2038 .old-age-home-contact .wpcf7-spinner { 1767 2039 display: none !important; 1768 2040 } 2041 1769 2042 .old-age-home-contact .input-with-icon.form-button { 1770 2043 margin-top: 0; 1771 2044 } 2045 1772 2046 .old-age-home-contact .product_img img { 1773 2047 width: 100%; … … 1776 2050 object-position: top center; 1777 2051 } 2052 1778 2053 .old-age-home-contact .form-button p i { 1779 2054 background: #000000; … … 1785 2060 font-size: 18px; 1786 2061 } 2062 1787 2063 .contact-after { 1788 2064 position: relative; 1789 2065 } 2066 1790 2067 .contact-after::after { 1791 2068 position: absolute; … … 1800 2077 right: -30px; 1801 2078 } 2079 1802 2080 .wpcf7-response-output, 1803 2081 .wpcf7-contact-form-not-found { 1804 2082 color: #fff; 1805 2083 } 2084 1806 2085 /* banner */ 1807 2086 … … 1809 2088 overflow: visible; 1810 2089 } 2090 1811 2091 .home_banner .bdt-prime-slider-skin-general { 1812 2092 overflow: visible; 1813 2093 } 2094 1814 2095 .home_banner .reveal-muted a.bdt-slidenav { 1815 2096 width: 38px !important; … … 1819 2100 right: -81px; 1820 2101 } 2102 1821 2103 .home_banner .reveal-muted a.bdt-slidenav svg { 1822 2104 display: none; 1823 2105 } 2106 1824 2107 .home_banner .reveal-muted a.bdt-slidenav::before { 1825 2108 display: none; 1826 2109 } 2110 1827 2111 .home_banner .reveal-muted a.bdt-prime-slider-next { 1828 2112 margin-bottom: 108px; 1829 2113 } 2114 1830 2115 .home_banner .reveal-muted a.bdt-slidenav::after { 1831 2116 content: "\f061"; … … 1834 2119 font-size: 20px; 1835 2120 } 2121 1836 2122 .home_banner .reveal-muted a.bdt-prime-slider-previous::after { 1837 2123 transform: rotate(-180deg); 1838 2124 } 2125 1839 2126 .bdt-prime-slider-skin-general .bdt-prime-slider-social-icon { 1840 2127 top: 15% !important; 1841 2128 transform: translateY(0) !important; 1842 2129 } 2130 1843 2131 .home_banner .bdt-prime-slider-skin-general ul.bdt-slideshow-items { 1844 2132 border-radius: 30px; 1845 2133 } 2134 1846 2135 .banner_btn { 1847 2136 min-height: 100px; … … 1862 2151 transform: rotate(90deg); 1863 2152 } 2153 1864 2154 .banner-btn-col::after, 1865 2155 .banner-btn-col::before { … … 1870 2160 background: transparent !important; 1871 2161 } 2162 1872 2163 .banner-btn-col::after { 1873 2164 border-top-right-radius: 40px; … … 1877 2168 left: -30px; 1878 2169 } 2170 1879 2171 .banner-btn-col::before { 1880 2172 border-top-right-radius: 40px !important; … … 1884 2176 right: 0px !important; 1885 2177 } 2178 1886 2179 .happy_customer { 1887 2180 width: max-content !important; 1888 2181 } 2182 1889 2183 .happy_customer::after, 1890 2184 .happy_customer::before { … … 1895 2189 background: transparent !important; 1896 2190 } 2191 1897 2192 .happy_customer::after { 1898 2193 border-bottom-left-radius: 40px; … … 1902 2197 left: 0px; 1903 2198 } 2199 1904 2200 .happy_customer::before { 1905 2201 border-bottom-left-radius: 40px !important; … … 1909 2205 right: -30px !important; 1910 2206 } 2207 1911 2208 .service-banner-btn .elementor-button-icon svg { 1912 2209 color: #000000 !important; … … 1915 2212 fill: #000000 !important; 1916 2213 } 2214 1917 2215 .service-banner-btn .elementor-button-icon { 1918 2216 height: 30px; … … 1924 2222 border-radius: 4px; 1925 2223 } 2224 1926 2225 .master-headding-sec { 1927 2226 background: #0000; … … 1933 2232 width: 7vw !important; 1934 2233 } 2234 1935 2235 .big_headding_title { 1936 2236 -ms-transform: rotate(90deg); … … 1951 2251 direction: ltr; 1952 2252 } 1953 /* Wide Block */ 1954 1955 .alignwide { 1956 margin-right : -60px; 1957 margin-left : -60px; 1958 } 2253 2254 /* =============================================== 2255 Wide Block 2256 ============================================= */ 2257 2258 .alignwide { 2259 margin-right: -60px; 2260 margin-left: -60px; 2261 } 2262 1959 2263 .alignfull { 1960 margin-right : calc( -100vw / 2 + 100% / 2 ); 1961 margin-left : calc( -100vw / 2 + 100% / 2 ); 1962 max-width : 100vw; 1963 } 1964 2264 margin-right: calc(-100vw / 2 + 100% / 2); 2265 margin-left: calc(-100vw / 2 + 100% / 2); 2266 max-width: 100vw; 2267 } 2268 2269 /* =============================================== 2270 Sticky Copyright 2271 ============================================= */ 2272 2273 .sticky-copyright.footer-copyright { 2274 position: fixed; 2275 bottom: 0; 2276 right: 0; 2277 width: 100%; 2278 z-index: 999; 2279 transition: bottom 0.4s; 2280 box-shadow: 0px 0px 8px #000000; 2281 } 2282 2283 .close-sticky { 2284 position: static; 2285 } 2286 2287 /* =============================================== 2288 Sticky Sidebar 2289 ============================================= */ 2290 2291 .sidebar-sticky { 2292 position: sticky; 2293 top: 100px; 2294 z-index: 999; 2295 } -
old-age-home/0.2.4/style.css
r307778 r310690 5 5 Theme URI: https://www.wpelemento.com/products/free-senior-care-wordpress-theme 6 6 Author URI: https://www.wpelemento.com/ 7 Version: 0.2. 37 Version: 0.2.4 8 8 Requires PHP: 5.6 9 9 Tested up to: 6.9
Note:
See TracChangeset
for help on using the changeset viewer.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)