s['footer_widget_container_bottom'], $defaults['footer_widget_container_left'] ) ); } $css->set_selector( '.site-footer .footer-widgets-container .inner-padding' ); $css->add_property( 'padding', generate_padding_css( '0', '0', '0', $settings['footer_widget_separator'] ), generate_padding_css( '0', '0', '0', $defaults['footer_widget_separator'] ) ); $css->set_selector( '.site-footer .footer-widgets-container .inside-footer-widgets' ); $css->add_property( 'margin-left', '-' . absint( $settings['footer_widget_separator'] ), '-' . absint( $defaults['footer_widget_separator'] ), 'px' ); if ( generate_is_using_flexbox() ) { $css->set_selector( '.inside-site-info' ); $css->add_property( 'padding', generate_padding_css( $settings['footer_top'], $settings['footer_right'], $settings['footer_bottom'], $settings['footer_left'] ), generate_padding_css( $defaults['footer_top'], $defaults['footer_right'], $defaults['footer_bottom'], $defaults['footer_left'] ) ); if ( 'boxes' === generate_get_option( 'container_alignment' ) ) { $site_info_padding = absint( $settings['footer_right'] ) + absint( $settings['footer_left'] ); $css->set_selector( '.inside-site-info.grid-container' ); $css->add_property( 'max-width', generate_get_option( 'container_width' ) + $site_info_padding, false, 'px' ); } } else { $css->set_selector( '.site-info' ); $css->add_property( 'padding', generate_padding_css( $settings['footer_top'], $settings['footer_right'], $settings['footer_bottom'], $settings['footer_left'] ), generate_padding_css( $defaults['footer_top'], $defaults['footer_right'], $defaults['footer_bottom'], $defaults['footer_left'] ) ); } $css->start_media_query( generate_get_media_query( 'mobile' ) ); $css->set_selector( '.separate-containers .inside-article, .separate-containers .comments-area, .separate-containers .page-header, .separate-containers .paging-navigation, .one-container .site-content, .inside-page-header' ); $css->add_property( 'padding', generate_padding_css( $settings['mobile_content_top'], $settings['mobile_content_right'], $settings['mobile_content_bottom'], $settings['mobile_content_left'] ) ); if ( apply_filters( 'generate_do_group_inner_container_style', true ) ) { $css->set_selector( '.site-main .wp-block-group__inner-container' ); $css->add_property( 'padding', generate_padding_css( $settings['mobile_content_top'], $settings['mobile_content_right'], $settings['mobile_content_bottom'], $settings['mobile_content_left'] ) ); } $css->set_selector( '.inside-top-bar' ); if ( '' !== $settings['mobile_top_bar_top'] ) { $css->add_property( 'padding-top', absint( $settings['mobile_top_bar_top'] ), false, 'px' ); } if ( '' !== $settings['mobile_top_bar_right'] ) { $css->add_property( 'padding-right', absint( $settings['mobile_top_bar_right'] ), false, 'px' ); } if ( '' !== $settings['mobile_top_bar_bottom'] ) { $css->add_property( 'padding-bottom', absint( $settings['mobile_top_bar_bottom'] ), false, 'px' ); } if ( '' !== $settings['mobile_top_bar_left'] ) { $css->add_property( 'padding-left', absint( $settings['mobile_top_bar_left'] ), false, 'px' ); } $css->set_selector( '.inside-header' ); if ( '' !== $settings['mobile_header_top'] ) { $css->add_property( 'padding-top', absint( $settings['mobile_header_top'] ), false, 'px' ); } if ( '' !== $settings['mobile_header_right'] ) { $css->add_property( 'padding-right', absint( $settings['mobile_header_right'] ), false, 'px' ); } if ( '' !== $settings['mobile_header_bottom'] ) { $css->add_property( 'padding-bottom', absint( $settings['mobile_header_bottom'] ), false, 'px' ); } if ( '' !== $settings['mobile_header_left'] ) { $css->add_property( 'padding-left', absint( $settings['mobile_header_left'] ), false, 'px' ); } $css->set_selector( '.widget-area .widget' ); if ( '' !== $settings['mobile_widget_top'] ) { $css->add_property( 'padding-top', absint( $settings['mobile_widget_top'] ), false, 'px' ); } if ( '' !== $settings['mobile_widget_right'] ) { $css->add_property( 'padding-right', absint( $settings['mobile_widget_right'] ), false, 'px' ); } if ( '' !== $settings['mobile_widget_bottom'] ) { $css->add_property( 'padding-bottom', absint( $settings['mobile_widget_bottom'] ), false, 'px' ); } if ( '' !== $settings['mobile_widget_left'] ) { $css->add_property( 'padding-left', absint( $settings['mobile_widget_left'] ), false, 'px' ); } if ( generate_is_using_flexbox() ) { $css->set_selector( '.footer-widgets-container' ); } else { $css->set_selector( '.footer-widgets' ); } if ( '' !== $settings['mobile_footer_widget_container_top'] ) { $css->add_property( 'padding-top', absint( $settings['mobile_footer_widget_container_top'] ), false, 'px' ); } if ( '' !== $settings['mobile_footer_widget_container_right'] ) { $css->add_property( 'padding-right', absint( $settings['mobile_footer_widget_container_right'] ), false, 'px' ); } if ( '' !== $settings['mobile_footer_widget_container_bottom'] ) { $css->add_property( 'padding-bottom', absint( $settings['mobile_footer_widget_container_bottom'] ), false, 'px' ); } if ( '' !== $settings['mobile_footer_widget_container_left'] ) { $css->add_property( 'padding-left', absint( $settings['mobile_footer_widget_container_left'] ), false, 'px' ); } if ( generate_is_using_flexbox() ) { $css->set_selector( '.inside-site-info' ); } else { $css->set_selector( '.site-info' ); } if ( '' !== $settings['mobile_footer_top'] ) { $css->add_property( 'padding-top', absint( $settings['mobile_footer_top'] ), false, 'px' ); } if ( '' !== $settings['mobile_footer_right'] ) { $css->add_property( 'padding-right', absint( $settings['mobile_footer_right'] ), false, 'px' ); } if ( '' !== $settings['mobile_footer_bottom'] ) { $css->add_property( 'padding-bottom', absint( $settings['mobile_footer_bottom'] ), false, 'px' ); } if ( '' !== $settings['mobile_footer_left'] ) { $css->add_property( 'padding-left', absint( $settings['mobile_footer_left'] ), false, 'px' ); } $mobile_content_padding = absint( $settings['mobile_content_right'] ) + absint( $settings['mobile_content_left'] ); $css->set_selector( '.entry-content .alignwide, body:not(.no-sidebar) .entry-content .alignfull' ); $css->add_property( 'margin-left', '-' . absint( $settings['mobile_content_left'] ) . 'px' ); $css->add_property( 'width', 'calc(100% + ' . absint( $mobile_content_padding ) . 'px)' ); $css->add_property( 'max-width', 'calc(100% + ' . absint( $mobile_content_padding ) . 'px)' ); if ( '' !== $settings['mobile_separator'] ) { if ( generate_is_using_flexbox() ) { $css->set_selector( '.sidebar .widget, .page-header, .widget-area .main-navigation, .site-main > *' ); } else { $css->set_selector( '.separate-containers .widget, .separate-containers .site-main > *, .separate-containers .page-header' ); } $css->add_property( 'margin-bottom', absint( $settings['mobile_separator'] ), false, 'px' ); $css->set_selector( '.separate-containers .site-main' ); $css->add_property( 'margin', absint( $settings['mobile_separator'] ), false, 'px' ); if ( generate_is_using_flexbox() ) { $css->set_selector( '.separate-containers .featured-image' ); } else { $css->set_selector( '.separate-containers .page-header-image, .separate-containers .page-header-image-single' ); } $css->add_property( 'margin-top', absint( $settings['mobile_separator'] ), false, 'px' ); $css->set_selector( '.separate-containers .inside-right-sidebar, .separate-containers .inside-left-sidebar' ); $css->add_property( 'margin-top', absint( $settings['mobile_separator'] ), false, 'px' ); $css->add_property( 'margin-bottom', absint( $settings['mobile_separator'] ), false, 'px' ); if ( generate_is_using_flexbox() ) { $css->set_selector( '.one-container .site-main .paging-navigation' ); $css->add_property( 'margin-bottom', absint( $settings['mobile_separator'] ), false, 'px' ); } } else { if ( generate_is_using_flexbox() ) { $css->set_selector( '.one-container .site-main .paging-navigation' ); $css->add_property( 'margin-bottom', absint( $settings['separator'] ), false, 'px' ); } } $css->stop_media_query(); // Add spacing back where dropdown arrow should be. // Old versions of WP don't get nice things. if ( version_compare( $GLOBALS['wp_version'], '4.4', '<' ) ) { $css->set_selector( '.main-navigation .main-nav ul li.menu-item-has-children>a, .secondary-navigation .main-nav ul li.menu-item-has-children>a' ); $css->add_property( 'padding-right', absint( $settings['menu_item'] ), absint( $defaults['menu_item'] ), 'px' ); } $output = ''; if ( ! generate_is_using_flexbox() ) { $generate_settings = wp_parse_args( get_option( 'generate_settings', array() ), generate_get_color_defaults() ); // Find out if the content background color and sidebar widget background color is the same. $sidebar = strtoupper( $generate_settings['sidebar_widget_background_color'] ); $content = strtoupper( $generate_settings['content_background_color'] ); // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison $colors_match = ( ( $sidebar == $content ) || '' == $sidebar ) ? true : false; // If they're all 40 (default), remove the padding when one container is set. // This way, the user can still adjust the padding and it will work (unless they want 40px padding). // We'll also remove the padding if there's no color difference between the widgets and content background color. // phpcs:ignore WordPress.PHP.StrictComparisons.LooseComparison if ( ( '40' == $settings['widget_top'] && '40' == $settings['widget_right'] && '40' == $settings['widget_bottom'] && '40' == $settings['widget_left'] ) && $colors_match ) { $output .= '.one-container .sidebar .widget{padding:0px;}'; } } do_action( 'generate_spacing_css', $css ); return apply_filters( 'generate_spacing_css_output', $css->css_output() . $output ); } } /** * Generates any CSS that can't be cached (can change from page to page). * * @since 2.0 */ function generate_no_cache_dynamic_css() { $css = new GeneratePress_CSS(); if ( generate_is_using_flexbox() ) { $right_sidebar_width = apply_filters( 'generate_right_sidebar_width', '30' ); $left_sidebar_width = apply_filters( 'generate_left_sidebar_width', '30' ); $css->set_selector( '.is-right-sidebar' ); $css->add_property( 'width', absint( $right_sidebar_width ) . '%' ); $css->set_selector( '.is-left-sidebar' ); $css->add_property( 'width', absint( $left_sidebar_width ) . '%' ); $content_width = 100; $sidebar_layout = generate_get_layout(); switch ( $sidebar_layout ) { case 'right-sidebar': $content_width = $content_width - absint( $right_sidebar_width ); break; case 'left-sidebar': $content_width = $content_width - absint( $left_sidebar_width ); break; case 'both-sidebars': case 'both-right': case 'both-left': $content_width = $content_width - absint( $right_sidebar_width ) - absint( $left_sidebar_width ); break; } $css->set_selector( '.site-content .content-area' ); $css->add_property( 'width', absint( $content_width ) . '%' ); } $css->start_media_query( generate_get_media_query( 'mobile-menu' ) ); if ( generate_is_using_flexbox() ) { $css->set_selector( '.main-navigation .menu-toggle,.sidebar-nav-mobile:not(#sticky-placeholder)' ); $css->add_property( 'display', 'block' ); $css->set_selector( '.main-navigation ul,.gen-sidebar-nav,.main-navigation:not(.slideout-navigation):not(.toggled) .main-nav > ul,.has-inline-mobile-toggle #site-navigation .inside-navigation > *:not(.navigation-search):not(.main-nav)' ); $css->add_property( 'display', 'none' ); $css->set_selector( '.nav-align-right .inside-navigation,.nav-align-center .inside-navigation' ); $css->add_property( 'justify-content', 'space-between' ); if ( is_rtl() ) { $css->set_selector( '.rtl .nav-align-right .inside-navigation,.rtl .nav-align-center .inside-navigation, .rtl .nav-align-left .inside-navigation' ); $css->add_property( 'justify-content', 'space-between' ); } if ( generate_has_inline_mobile_toggle() ) { $css->set_selector( '.has-inline-mobile-toggle .mobile-menu-control-wrapper' ); $css->add_property( 'display', 'flex' ); $css->add_property( 'flex-wrap', 'wrap' ); $css->set_selector( '.has-inline-mobile-toggle .inside-header' ); $css->add_property( 'flex-direction', 'row' ); $css->add_property( 'text-align', 'left' ); $css->add_property( 'flex-wrap', 'wrap' ); $css->set_selector( '.has-inline-mobile-toggle .header-widget,.has-inline-mobile-toggle #site-navigation' ); $css->add_property( 'flex-basis', '100%' ); $css->set_selector( '.nav-float-left .has-inline-mobile-toggle #site-navigation' ); $css->add_property( 'order', '10' ); } } else { $css->set_selector( '.main-navigation .menu-toggle,.main-navigation .mobile-bar-items,.sidebar-nav-mobile:not(#sticky-placeholder)' ); $css->add_property( 'display', 'block' ); $css->set_selector( '.main-navigation ul,.gen-sidebar-nav' ); $css->add_property( 'display', 'none' ); $css->set_selector( '[class*="nav-float-"] .site-header .inside-header > *' ); $css->add_property( 'float', 'none' ); $css->add_property( 'clear', 'both' ); } $css->stop_media_query(); return $css->css_output(); } /** * Get all of our dynamic CSS to be cached/added to a file. * * @since 3.0.0 */ function generate_get_dynamic_css() { if ( generate_is_using_dynamic_typography() ) { $typography_css = GeneratePress_Typography::get_css(); } else { $typography_css = generate_font_css(); } $css = generate_base_css() . $typography_css . generate_advanced_css() . generate_spacing_css(); return apply_filters( 'generate_dynamic_css', $css ); } add_action( 'wp_enqueue_scripts', 'generate_enqueue_dynamic_css', 50 ); /** * Enqueue our dynamic CSS. * * @since 2.0 */ function generate_enqueue_dynamic_css() { if ( apply_filters( 'generate_using_dynamic_css_external_file', false ) ) { $css = ''; } elseif ( ! get_option( 'generate_dynamic_css_output', false ) || is_customize_preview() || apply_filters( 'generate_dynamic_css_skip_cache', false ) ) { $css = generate_get_dynamic_css(); } else { $css = get_option( 'generate_dynamic_css_output' ) . '/* End cached CSS */'; } $css = $css . generate_no_cache_dynamic_css(); wp_add_inline_style( 'generate-style', wp_strip_all_tags( $css ) ); } add_action( 'init', 'generate_set_dynamic_css_cache' ); /** * Sets our dynamic CSS cache if it doesn't exist. * * If the theme version changed, bust the cache. * * @since 2.0 */ function generate_set_dynamic_css_cache() { if ( apply_filters( 'generate_dynamic_css_skip_cache', false ) ) { return; } $cached_css = get_option( 'generate_dynamic_css_output', false ); $cached_version = get_option( 'generate_dynamic_css_cached_version', '' ); if ( ! $cached_css || GENERATE_VERSION !== $cached_version ) { $css = generate_get_dynamic_css(); update_option( 'generate_dynamic_css_output', wp_strip_all_tags( $css ) ); update_option( 'generate_dynamic_css_cached_version', esc_html( GENERATE_VERSION ) ); } } add_action( 'customize_save_after', 'generate_update_dynamic_css_cache' ); /** * Update our CSS cache when done saving Customizer options. * * @since 2.0 */ function generate_update_dynamic_css_cache() { if ( apply_filters( 'generate_dynamic_css_skip_cache', false ) ) { return; } $css = generate_get_dynamic_css(); update_option( 'generate_dynamic_css_output', wp_strip_all_tags( $css ) ); } add_action( 'generate_base_css', 'generate_do_modal_css' ); /** * Do the modal CSS. * * @param Object $css The existing CSS object. */ function generate_do_modal_css( $css ) { if ( ! apply_filters( 'generate_enable_modal_script', false ) ) { return; } $css->set_selector( '.gp-modal:not(.gp-modal--open):not(.gp-modal--transition)' ); $css->add_property( 'display', 'none' ); $css->set_selector( '.gp-modal--transition:not(.gp-modal--open)' ); $css->add_property( 'pointer-events', 'none' ); $css->set_selector( '.gp-modal-overlay:not(.gp-modal-overlay--open):not(.gp-modal--transition)' ); $css->add_property( 'display', 'none' ); $css->set_selector( '.gp-modal__overlay' ); $css->add_property( 'display', 'none' ); $css->add_property( 'position', 'fixed' ); $css->add_property( 'top', '0' ); $css->add_property( 'left', '0' ); $css->add_property( 'right', '0' ); $css->add_property( 'bottom', '0' ); $css->add_property( 'background', 'rgba(0,0,0,0.2)' ); $css->add_property( 'display', 'flex' ); $css->add_property( 'justify-content', 'center' ); $css->add_property( 'align-items', 'center' ); $css->add_property( 'z-index', '10000' ); $css->add_property( 'backdrop-filter', 'blur(3px)' ); $css->add_property( 'transition', 'opacity 500ms ease' ); $css->add_property( 'opacity', 0 ); $css->set_selector( '.gp-modal--open:not(.gp-modal--transition) .gp-modal__overlay' ); $css->add_property( 'opacity', 1 ); $css->set_selector( '.gp-modal__container' ); $css->add_property( 'max-width', '100%' ); $css->add_property( 'max-height', '100vh' ); $css->add_property( 'transform', 'scale(0.9)' ); $css->add_property( 'transition', 'transform 500ms ease' ); $css->add_property( 'padding', '0 10px' ); $css->set_selector( '.gp-modal--open:not(.gp-modal--transition) .gp-modal__container' ); $css->add_property( 'transform', 'scale(1)' ); return $css; } {"id":7222,"count":1,"description":"","link":"https:\/\/notebookschematics.com\/tag\/la-b111p-schematic-pdf\/","name":"LA-B111P Schematic.pdf","slug":"la-b111p-schematic-pdf","taxonomy":"post_tag","meta":[],"_links":{"self":[{"href":"https:\/\/notebookschematics.com\/wp-json\/wp\/v2\/tags\/7222","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/notebookschematics.com\/wp-json\/wp\/v2\/tags"}],"about":[{"href":"https:\/\/notebookschematics.com\/wp-json\/wp\/v2\/taxonomies\/post_tag"}],"wp:post_type":[{"href":"https:\/\/notebookschematics.com\/wp-json\/wp\/v2\/posts?tags=7222"},{"href":"https:\/\/notebookschematics.com\/wp-json\/wp\/v2\/pages?tags=7222"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}