芝麻web文件管理V1.00
编辑当前文件:/home/seolotod/sthwholesaler.com/wp-content/themes/porto/style-internal.php
lighten( $dark_color, 5 ); $color_dark_4 = $porto_color_lib->lighten( $dark_color, 8 ); $is_dark = true; } /* logo css */ $logo_width = ( isset( $porto_settings['logo-width'] ) && (int) $porto_settings['logo-width'] ) ? (int) $porto_settings['logo-width'] : 170; $logo_width_wide = ( isset( $porto_settings['logo-width-wide'] ) && (int) $porto_settings['logo-width-wide'] ) ? (int) $porto_settings['logo-width-wide'] : 250; $logo_width_tablet = ( isset( $porto_settings['logo-width-tablet'] ) && (int) $porto_settings['logo-width-tablet'] ) ? (int) $porto_settings['logo-width-tablet'] : 110; $logo_width_mobile = ( isset( $porto_settings['logo-width-mobile'] ) && (int) $porto_settings['logo-width-mobile'] ) ? (int) $porto_settings['logo-width-mobile'] : 110; $logo_width_sticky = ( isset( $porto_settings['logo-width-sticky'] ) && (int) $porto_settings['logo-width-sticky'] ) ? (int) $porto_settings['logo-width-sticky'] : 80; ?> .side-header-narrow-bar-logo { max-width: px; } /* Loading Overlay */ /*.loading-overlay-showing { overflow-x: hidden; }*/ .loading-overlay-showing > .loading-overlay { opacity: 1; visibility: visible; transition-delay: 0; } .loading-overlay { transition: visibility 0s ease-in-out 0.5s, opacity 0.5s ease-in-out; position: absolute; bottom: 0; left: 0; opacity: 0; right: 0; top: 0; visibility: hidden; } .loading-overlay .loader { display: inline-block; border: 2px solid transparent; width: 40px; height: 40px; -webkit-animation: spin 0.75s infinite linear; animation: spin 0.75s infinite linear; border-image: none; border-radius: 50%; vertical-align: middle; position: absolute; margin: auto; left: 0; right: 0; top: 0; bottom: 0; z-index: 2; border-top-color: var(--porto-primary-color); } .loading-overlay .loader:before { content: ""; display: inline-block; border: inherit; width: inherit; height: inherit; -webkit-animation: spin 1.5s infinite ease; animation: spin 1.5s infinite ease; border-radius: inherit; position: absolute; left: -2px; top: -2px; border-top-color: inherit; } body > .loading-overlay { position: fixed; z-index: 999999; } #header, .sticky-header .header-main.sticky { border-top: solid } @media (min-width: 992px) { #header { margin: px px px px; } #header.logo-overlay-header .overlay-logo { top: -px } #header.logo-overlay-header.sticky-header .overlay-logo { top: -px } } body { --porto-side-header-width: px } @media (min-width: 992px) { .header-side-nav.pin-wrapper { position: absolute; top: 0; : 0; : auto; max-width: var( --porto-side-header-width ); padding-left: 0 !important; padding-right: 0 !important; } .header-wrapper #header { display: flex; flex-direction: column; z-index: 1110; width: 100%; padding-bottom: 0; background-color: ; box-shadow: 0 0 30px } #header .header-main { display: flex; height: 100%; } .page-wrapper.side-nav .page-top.fixed-pos { position: fixed; z-index: 1001; width: 100%; box-shadow: 0 1px 0 0 rgba(0, 0, 0, .1); } #header.sticky-header .header-main.sticky { position: static; } .page-wrapper.side-nav > * { padding-: var( --porto-side-header-width ); padding-: 0; } #header .header-main { overflow-x: hidden; overflow-y: auto; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; } .header-builder-p .side-menu-accordion { overflow-x: auto; overflow-y: auto; -webkit-overflow-scrolling: touch; scroll-behavior: smooth; } #header .header-main::-webkit-scrollbar, .header-builder-p .side-menu-accordion::-webkit-scrollbar, #header .side-menu-slide ul.sub-menu::-webkit-scrollbar { width: 5px; } #header .header-main::-webkit-scrollbar-thumb, .header-builder-p .side-menu-accordion::-webkit-scrollbar-thumb, #header .side-menu-slide ul.sub-menu::-webkit-scrollbar-thumb { border-radius: 0px; background: ; } #header .sidebar-menu li.menu-item > .arrow { top: px } #header .sidebar-menu > li.menu-item > .arrow { top: px } #header .sidebar-menu li.menu-item > .arrow { : 10px } #header .sidebar-menu li.menu-item:hover > .arrow { : 5px } #header .header-main .header-row, #header .header-main .header-row > div { align-items: center; height: 100%; } #header .header-main { flex: 1; } } @media (min-width: 992px) { #header.fixed-bottom { position: fixed; bottom: 0; top: auto; } } #header .sidebar-menu .popup:before { border--color: ; } #header .sidebar-menu .wide .popup, #header .sidebar-menu .narrow .popup { border-: solid ; } #header .sidebar-menu .popup:before { border--color: ; } /* breadcrumb type */ .page-top .page-title-wrap { line-height: 0; } .page-top .page-title:not(.b-none):after { content: ''; position: absolute; width: 100%; left: 0; border-bottom: solid var(--porto-primary-color); bottom: -px; } .page-top .product-nav { position: static; height: auto; margin-top: 0; } .page-top .product-nav .product-prev, .page-top .product-nav .product-next { float: none; position: absolute; height: 30px; top: 50%; bottom: 50%; margin-top: -15px; } .page-top .product-nav .product-prev { : 10px; } .page-top .product-nav .product-next { : 10px; } .page-top .product-nav .product-next .product-popup { : auto; : 0; } .page-top .product-nav .product-next .product-popup:before { : auto; : 6px; } .page-top .sort-source { position: static; text-align: center; margin-top: 5px; border-width: 0; } .page-top ul.breadcrumb { -ms-flex-pack: center; justify-content: center } .page-top .page-title { font-weight: 700; } .page-top { padding-top: 20px; padding-bottom: 20px; } .page-top .page-title { padding-bottom: 0; } @media (max-width: 991px) { .page-top .page-sub-title { margin-bottom: 5px; margin-top: 0; } .page-top .breadcrumbs-wrap { margin-bottom: 5px; } } @media (min-width: 992px) { .page-top .page-title { min-height: 0; line-height: 1.25; } .page-top .page-sub-title { line-height: 1.6; } .page-top .product-nav { display: inline-block; height: 30px; vertical-align: middle; margin-: 10px; } .page-top .product-nav .product-prev, .page-top .product-nav .product-next { position: relative; } .page-top .product-nav .product-prev { float: ; : 0; } .page-top .product-nav .product-prev .product-popup { : auto; : -26px; } .page-top .product-nav .product-prev:before { : auto; : 32px; } .page-top .product-nav .product-next { float: ; : 0; } .page-top .product-nav .product-next .product-popup { : auto; : 0; } .page-top .product-nav .product-next .product-popup:before { : auto; } } @media (min-width: 992px) { .page-top .product-nav { height: auto; } .page-top .breadcrumb { -webkit-justify-content: flex-end; -ms-flex-pack: end; justify-content: flex-end } } .page-top ul.breadcrumb > li.home { display: inline-block; } .page-top ul.breadcrumb > li.home a { position: relative; width: 1em; text-indent: -9999px; } .page-top ul.breadcrumb > li.home a:after { content: "\e883"; font-family: 'porto'; float: ; text-indent: 0; } /* sidebar width */ @media (min-width: 1500px) { .left-sidebar.col-lg-3, .right-sidebar.col-lg-3 { width: 20%; } .main-content.col-lg-9 { width: 80%; } .main-content.col-lg-6 { width: 60%; } } .product-images .img-thumbnail .inner, .product-images .img-thumbnail .inner img { -webkit-transform: none; transform: none; } .sticky-product { position: fixed; top: 0; left: 0; width: 100%; z-index: 100; background-color: #fff; box-shadow: 0 3px 5px rgba(0,0,0,0.08); padding: 15px 0; } .sticky-product.pos-bottom { top: auto; bottom: 0; box-shadow: 0 -3px 5px rgba(0,0,0,0.08) } .sticky-product .container { display: -ms-flexbox; display: flex; -ms-flex-align: center; align-items: center; -ms-flex-wrap: wrap; flex-wrap: wrap; } .sticky-product .sticky-image { max-width: 60px; margin-: 15px; } .sticky-product .add-to-cart { -ms-flex: 1; flex: 1; text-align: ; margin-top: 5px; } .sticky-product .product-name { font-size: 16px; font-weight: 600; line-height: inherit; margin-bottom: 0; } .sticky-product .sticky-detail { line-height: 1.5; display: -ms-flexbox; display: flex; } .sticky-product .star-rating { margin: 5px 15px; font-size: 1em; } .sticky-product .availability { padding-top: 2px; } .sticky-product .sticky-detail .price { font-family: , sans-serif; font-weight: 400; margin-bottom: 0; font-size: 1.3em; line-height: 1.5; } .sticky-product.pos-top:not(.hide) { top: 0; opacity: 1; visibility: visible; transform: translate3d( 0, 0, 0 ); } .sticky-product.pos-top.scroll-down { opacity: 0 !important; visibility: hidden; transform: translate3d( 0, -100%,0 ); } .sticky-product.sticky-ready { transition: .3s, visibility 0.3s, opacity 0.3s, transform 0.3s, top 0.3s ease; } .sticky-product .quantity.extra-type { display: none; } @media (max-width: 992px) { .sticky-product .container { padding-left: var(--porto-grid-gutter-width); padding-right: var(--porto-grid-gutter-width) } } @media (min-width: 767px) { body.single-product .sticky-product .container { padding-left: 15px; padding-right: 15px; } } @media (max-width: 768px) { .sticky-product .sticky-image, .sticky-product .sticky-detail, .sticky-product { display: none; } .sticky-product.show-mobile { display: block; padding-top: 10px; padding-bottom: 10px; } .sticky-product.show-mobile .add-to-cart { margin-top: 0; } .sticky-product.show-mobile .single_add_to_cart_button { margin: 0; width: 100%; } body.single-product .sticky-product.show-mobile .container, .sticky-product.show-mobile > .container { padding-left: 10px; padding-right: 10px; } } body { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } #main { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .page-content { margin-left: -px; margin-right: -px; } .main-content { padding-bottom: 0 !important; } .left-sidebar, .right-sidebar, .wide-left-sidebar, .wide-right-sidebar { padding-top: 0 !important; padding-bottom: 0 !important; margin: 0; } #main .content-bottom-wrapper { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } #header, .fixed-header #header { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .header-wrapper #header .header-main { background: none; } #header.sticky-header, .fixed-header #header.sticky-header { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .footer-top { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .footer { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .footer .footer-main { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .footer .footer-bottom, .footer-wrapper.fixed .footer .footer-bottom { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } .page-top { background-color: !important; background-image: url('') !important; background-repeat: !important; background-size: !important; background-attachment: !important; background-position: !important; } #header.sticky-header .main-menu > li.menu-item > a, #header.sticky-header .main-menu > li.menu-custom-content a { color: } #header.sticky-header .main-menu > li.menu-item:hover > a, #header.sticky-header .main-menu > li.menu-item.active:hover > a, #header.sticky-header .main-menu > li.menu-custom-content:hover a { color: } #header.sticky-header .main-menu > li.menu-item.active > a, #header.sticky-header .main-menu > li.menu-custom-content.active a { color: } @media (min-width: 1500px) { .main-content-wrap .left-sidebar { : -20%; } .main-content-wrap .right-sidebar{ : -20%; } .main-content-wrap:not(.opened) .main-content { margin-: -20%; } } @media (min-width: 992px) and (max-width: px) { .porto-product-filters .widget-title, .woocommerce-ordering select { width: 140px; } } @media (min-width: 768px) { .main-content { flex: 0 0 auto; width: 66.6666% } } @media (min-width: 992px) { .main-content { flex: 0 0 auto; width: 75% } } .main-content { flex: 0 0 auto; width: 100% } @media (min-width: 1500px) { .main-content.col-lg-6 { width: 80% } .right-sidebar.col-lg-3 { width: 20% } } #login-form-popup { max-width: 480px; } $template_slug, 'posts_per_page' => 1, 'no_found_rows' => true, ), false ); $id = array_key_first( $blocks ); if ( $id ) { $css = get_post_meta( $id, 'porto_blocks_style_options_css', true ); if ( $css ) { echo wp_strip_all_tags( $css ); } } } /* Gutenberg Template Part */ global $porto_gutenberg_tp; if ( ! empty( $porto_gutenberg_tp ) ) { echo wp_strip_all_tags( $porto_gutenberg_tp ); unset( $GLOBALS['porto_gutenberg_tp'] ); } /* custom css */ $custom_css = ''; if ( ! defined( 'WPB_VC_VERSION' ) || ! vc_is_inline() ) { /* WPBakery Builder css and Gutenberg css */ $block_ids = array(); if ( 'header_builder_p' == $porto_settings['header-type-select'] ) { $hb_layout = porto_header_builder_layout(); if ( is_array( $hb_layout ) && ! empty( $hb_layout['ID'] ) ) { $block_ids[] = (int) $hb_layout['ID']; } } $pt_id = get_the_ID(); if ( is_singular( 'porto_builder' ) && ! in_array( $pt_id, $block_ids ) ) { $block_ids[] = $pt_id; } if ( ! empty( $porto_product_layout ) ) { if ( 'builder' == $porto_product_layout && ! empty( $porto_settings['product-single-content-builder'] ) ) { global $wpdb; $where = is_numeric( $porto_settings['product-single-content-builder'] ) ? 'ID' : 'post_name'; $post_id = $wpdb->get_var( $wpdb->prepare( "SELECT ID FROM $wpdb->posts WHERE post_type = 'porto_builder' AND $where = %s", sanitize_text_field( $porto_settings['product-single-content-builder'] ) ) ); if ( $post_id && ! in_array( $post_id, $block_ids ) ) { $block_ids[] = (int) $post_id; } } else { $builder_id = porto_check_builder_condition( 'product' ); if ( $builder_id && ! in_array( $builder_id, $block_ids ) ) { $block_ids[] = $builder_id; } } } elseif ( class_exists( 'Woocommerce' ) && ( is_shop() || is_product_category() || is_product_tag() ) ) { $builder_id = porto_check_builder_condition( 'shop' ); if ( $builder_id && ! in_array( $builder_id, $block_ids ) ) { $block_ids[] = $builder_id; } } if ( ! empty( $block_ids ) ) { foreach ( $block_ids as $post_id ) { $css = get_post_meta( $post_id, 'porto_builder_css', true ); if ( $css ) { echo wp_strip_all_tags( $css ); } $css = get_post_meta( $post_id, 'porto_blocks_style_options_css', true ); if ( $css ) { echo wp_strip_all_tags( $css ); } } } /* Gutenberg style options css */ if ( is_singular() && ! porto_is_elementor_preview() && ! in_array( $pt_id, $block_ids ) ) { $css = get_post_meta( $pt_id, 'porto_blocks_style_options_css', true ); if ( $css ) { $custom_css .= $css; } } } /* header builder custom css */ if ( ! is_customize_preview() && ! porto_header_type_is_preset() ) { $current_layout = porto_header_builder_layout(); if ( isset( $current_layout['custom_css'] ) && $current_layout['custom_css'] ) { $custom_css .= $current_layout['custom_css']; } } if ( ! empty( $porto_settings['css-code'] ) ) { $custom_css .= $porto_settings['css-code']; } if ( ! porto_is_elementor_preview() ) { $page_css = porto_get_meta_value( 'custom_css' ); if ( $page_css ) { $custom_css .= $page_css; } } else { ?> .elementor-widget-porto_steps .elementor-widget-container:after { content: ''; display: table; clear: both } .elementor-edit-area-active .elementor-inner-section.h-100:first-child { margin-top: 0 } ]*>(.*)#is', '$1', $custom_css ) ); }