.three-dots-spinner > div', self::$BG_COLOR]]; /** * Typography */ $css_selector[self::$leapin_typography_link_color] = [['a', self::$COLOR]]; $css_selector[self::$leapin_typography_link_color_hover] = [['a:hover, a:focus', self::$COLOR]]; /** * Primary Menu */ $css_selector[self::$leapin_header_menu_background] = [['.main-header, body.home .main-header.scroll-down', self::$BG_COLOR]]; $css_selector[self::$leapin_header_menu_bg_gradient] = [['.main-header, body.home .main-header.scroll-down', self::$BG_IMAGE]]; $css_selector[self::$leapin_primary_menu_link_color] = [['ul.main-nav>li>a.leapin-nav-desc>span.main, ul.main-nav>li>a>span.main, .inner-header .searchform label, .site-description', self::$COLOR]]; $css_selector[self::$leapin_primary_menu_link_color_hover] = [['ul.main-nav a.leapin-nav-desc:hover>span.main, ul.main-nav li>a:hover>span.main, header .logo h1 a:hover, header .logo p a:hover', self::$COLOR]]; $css_selector[self::$leapin_primary_menu_desc_color] = [['ul.main-nav>li>a.leapin-nav-desc>span.desc', self::$COLOR]]; $css_selector[self::$leapin_primary_menu_accent_color] = [['ul.main-nav>li>a.leapin-nav-desc::after', self::$BG_COLOR]]; $css_selector[self::$leapin_primary_menu_border_bottom_color] = [['.main-header.rel', 'border-bottom']]; $css_selector[self::$leapin_hide_primary_menu_search_icon] = [['.header .inner-header .searchform', self::$SR_ONLY]]; /** * Secondary Menu */ $css_selector[self::$leapin_secondary_menu_type] = [['ul.secondary-nav', '']]; $css_selector[self::$leapin_secondary_menu_link_color] = [['#secondary-nav .icon-link, .secondary-nav.rich > li > a, .secondary-nav.rich > li > a::after, .secondary-nav.simple > li > a::after, .secondary-nav.simple > li > a', self::$COLOR]]; // $css_selector[self::$leapin_secondary_menu_link_color] = [['ul.secondary-nav.rich > li > a, ul.secondary-nav.rich > li > a::after, ul.secondary-nav.simple li > a::after, ul.secondary-nav.simple li > a', self::$COLOR]]; $css_selector[self::$leapin_secondary_menu_link_color_hover] = [['#secondary-nav .icon-link:hover, .secondary-nav.rich > li:hover > a, .secondary-nav.rich > li:hover > a::after, .secondary-nav.simple > li:hover > a::after, .secondary-nav.simple > li:hover > a', self::$COLOR]]; // $css_selector[self::$leapin_secondary_menu_link_color_hover] = [['ul.secondary-nav.rich > li:hover > a, ul.secondary-nav.rich > li:hover > a::after, ul.secondary-nav.simple li:hover > a::after, ul.secondary-nav.simple li:hover > a', self::$COLOR]]; $css_selector[self::$leapin_secondary_menu_bg_color] = [['#secondary-nav', self::$BG_COLOR]]; $css_selector[self::$leapin_secondary_menu_accent_color] = [['#secondary-slide-line', 'background-color']]; $css_selector[self::$leapin_secondary_menu_hide_sns] = [['#secondary-nav .sns-links', self::$SR_ONLY]]; /** * Mobile Menu */ $css_selector[self::$leapin_mobile_menu_button_display] = [['.mobile-nav__button', 'all']]; $css_selector[self::$leapin_mobile_menu_button_color] = [['.mobile-nav__icon, .mobile-nav__icon::after, .mobile-nav__icon::before', self::$BG_COLOR]]; $css_selector[self::$leapin_mobile_menu_link_color] = [['.mobile-nav__cr a', self::$COLOR]]; $css_selector[self::$leapin_mobile_menu_link_color_hover] = [['.mobile-nav__cr a:hover, .mobile-nav__cr a:focus', self::$COLOR]]; $css_selector[self::$leapin_mobile_menu_bg_image] = [['body.mobile-init, .load-mobile-menu-bg', self::$BG_IMAGE]]; $css_selector[self::$leapin_mobile_menu_blur] = [['.mobile-menu-left #container', self::$FILTER]]; $css_selector[self::$leapin_mobile_menu_hide_sns_btns] = [['#sns-mobile-menu', self::$SR_ONLY]]; if(!defined('LEAPIN_CUSTOMIZE_JS')){ if(LEAPIN_Theme_Mod::get_instance()->get(LEAPIN_IDs::$leapin_mobile_menu_type, LEAPIN_Theme_Mod::$default_leapin_mobile_menu_type) === "drawer"){ $css_selector[self::$leapin_mobile_menu_bg_color] = [['.mobile-nav__cr', self::$BG_COLOR],['.mobile-menu-left .mobile-nav__cr', self::$BOX_SHADOW]]; }else{ $css_selector[self::$leapin_mobile_menu_bg_color] = [['body.mobile-init::before', self::$BG_COLOR]]; } } /** * Features */ $css_selector[self::$leapin_feature_hb_font_color] = [['.header-feature-button, .header-feature-button:hover, .header-feature-button:focus', self::$COLOR]]; $css_selector[self::$leapin_feature_hb_bg_color_gradient] = [['.header-feature-button', self::$BG_IMAGE]]; $css_selector[self::$leapin_feature_hb_bg_color] = [['.header-feature-button', self::$BG_COLOR]]; $css_selector[self::$leapin_feature_hb_hide] = [['.header-feature-button', self::$SR_ONLY]]; /** * Single */ $css_selector[self::$leapin_single_title_bg_color] = [['.article-header.fullwidth figure::after', self::$BG_COLOR], ['.article-header.default .title-container', self::$BG_COLOR]]; // $css_selector[self::$leapin_single_outline_color] = [['article.single', self::$BOX_SHADOW]]; $css_selector[self::$leapin_hide_author_name_below_title] = [['article.single header .author', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_author_section_below_content] = [['article.single footer .author', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_modified_date_below_title] = [['article.single header .updated,article.single header .updated-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_pagination_below_article] = [['article.single footer .neighbor-posts', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_category_below_title] = [['article.single header .entry-category,article.single header .category-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_category_below_content] = [['article.single footer .entry-categories', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_tag_below_content] = [['article.single footer .entry-tags', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_sns_below_content] = [['article.single footer #sns-end-of-content', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_breadcrumb] = [['#breadcrumbs', self::$SR_ONLY]]; $css_selector[self::$leapin_typography_text_color] = [['body', self::$COLOR]]; $css_selector[self::$leapin_single_title_color] = [ ['article.single h2::before,article.single h2::after,article.single h4::before,article.single h6::after', self::$BG_COLOR], ['article.single h5', self::$BG_COLOR] ]; // $css_selector[self::$leapin_single_link_color] = [['article.single a', self::$COLOR]]; // $css_selector[self::$leapin_single_link_hover] = [['article.single a:hover', self::$COLOR]]; /** * Sidebar Widget */ $css_selector[self::$leapin_sidebar_widgets_hover_underline_color] = [ ['.sidebar li::after', self::$BG_COLOR], ['.sidebar .widget.toc_widget .toc_widget_list li a.current', self::$COLOR], ['.sidebar table a::before', self::$BG_COLOR] ]; // $css_selector[self::$leapin_sidebar_widgets_background] = [['article.single header .title-container', self::$BG_COLOR]]; $css_selector[self::$leapin_sidebar_widget_title_color] = [['.sidebar .widget-title', self::$COLOR]]; // $css_selector[self::$leapin_sidebar_widget_color] = [['.sidebar *', self::$COLOR]]; $css_selector[self::$leapin_sidebar_widget_title_border_color] = [['.sidebar .widget-title', self::$BORDER]]; $css_selector[self::$leapin_sidebar_widget_title_border_radius] = [['.sidebar .widget-title', self::$BORDER_RADIUS]]; $css_selector[self::$leapin_sidebar_widget_border_radius] = [['.sidebar .widget > ul,.sidebar .widget_media_image img,.sidebar .widget .card__w ,.sidebar .widget > div', self::$BORDER_RADIUS]]; $css_selector[self::$leapin_sidebar_links_color] = [['.sidebar .widget a', self::$COLOR]]; $css_selector[self::$leapin_sidebar_links_color_hover] = [['.sidebar .widget a:hover', self::$COLOR]]; /** * Copyright */ $css_selector[self::$leapin_copyright_color] = [['#leapin_footer_copytext p, #leapin_footer_copytext span', self::$COLOR]]; $css_selector[self::$leapin_copyright_background] = [['#leapin_footer_copytext', self::$BG_COLOR]]; $css_selector[self::$leapin_copyright_links] = [['#leapin_footer_copytext a', self::$COLOR]]; $css_selector[self::$leapin_copyright_links_hover] = [['#leapin_footer_copytext a:hover', self::$COLOR]]; // $css_selector[self::$leapin_copyright_text] = [['.sidebar .widget a:hover', self::$COLOR]]; /** * Footer Widget */ // $css_selector[self::$leapin_footer_widget_columns] = [['#leapin_footer_widget .footer-widget', 'flex-basis']]; $css_selector[self::$leapin_footer_widget_color] = [['.footer-widget p,.footer-widget td,.footer-widget th,.footer-widget caption,.footer-widget li,.footer-widget i, .footer-widget span', self::$COLOR]]; $css_selector[self::$leapin_footer_widget_title_color] = [ ['.footer-widget .widget-title', self::$COLOR], ['.footer-widget .widget-title::before', self::$BG_COLOR] ]; $css_selector[self::$leapin_footer_widget_background] = [['#leapin_footer_widget', self::$BG_COLOR]]; $css_selector[self::$leapin_footer_widget_color_links] = [['.footer-widget a', self::$COLOR]]; $css_selector[self::$leapin_footer_widget_color_links_hover] = [['.footer-widget a:hover', self::$COLOR]]; $css_selector[self::$leapin_footer_widget_border_color] = [['.footer-widget .footer-widget', 'border-right-color']]; /** * Sns */ $css_selector[self::$leapin_sns_circle_mono_color] = [['#sns-sidebar .btn-icon-link .social-icon::before', self::$COLOR], ['#sns-sidebar .btn-icon-link', self::$BORDER_COLOR], ['#sns-sidebar.circle-mono ul.snsb li a::before', self::$BG_COLOR]]; $css_selector[self::$leapin_sns_btns_shadow] = [['#sns-sidebar .btn-icon-link', self::$BOX_SHADOW]]; $css_selector[self::$leapin_sns_btns_border] = [['#sns-sidebar.circle ul.snsb li a, #sns-sidebar.circle-mono ul.snsb li a', self::$BORDER]]; $css_selector[self::$leapin_hide_twitter_btn] = [['.twitter-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_facebook_btn] = [['.facebook-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_google_plus_btn] = [['.google-plus-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_hatena_btn] = [['.hatena-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_linkedin_btn] = [['.linkedin-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_pocket_btn] = [['.pocket-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_line_btn] = [['.line-btn-icon', self::$SR_ONLY]]; $css_selector[self::$leapin_hide_feedly_btn] = [['.feedly-btn-icon', self::$SR_ONLY]]; /** * Other */ $css_selector[self::$leapin_other_loading_dots_color] = [['.three-dots-spinner > div', self::$BG_COLOR]]; $css_selector[self::$leapin_other_slide_overlay_color] = [['.overlay_slide::after', self::$BG_COLOR]]; $css_selector[self::$leapin_other_third_party_color] = [['.woocommerce-store-notice, p.demo_store, .woocommerce #respond input#submit.alt, .woocommerce a.button.alt, .woocommerce button.button.alt, .woocommerce input.button.alt', self::$BG_COLOR], ['.woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover', self::$BG_COLOR], ['.star-rating > span', self::$COLOR]]; /** * WP default */ $css_selector[LEAPIN_IDs::$wp_custom_background_color] = [['.barba-container', self::$BG_COLOR]]; // $css_selector[LEAPIN_IDs::$leapin_custom_header_mobile_height] = [['#wp-custom-header', self::$HEIGHT]]; // $css_selector[LEAPIN_IDs::$leapin_custom_header_height] = [['#wp-custom-header', self::$HEIGHT]]; $css_selector[LEAPIN_IDs::$leapin_custom_header_overlay_color] = [ ['#wp-custom-header .card__content::after', self::$BG_COLOR], ['#wp-custom-header .card__content::after', self::$BOX_SHADOW] ]; // $css_selector[LEAPIN_IDs::$leapin_custom_header_overlay_color] = [['#wp-custom-header::before, #wp-custom-header .swiper-slide::before', self::$BG_COLOR]]; // $css_selector[LEAPIN_IDs::$leapin_custom_header_text_color] = [['#wp-custom-header', self::$COLOR]]; $css_selector[LEAPIN_IDs::$leapin_custom_header_link_color] = [['#wp-custom-header .card__more', self::$BG_COLOR]]; // $css_selector[LEAPIN_IDs::$leapin_custom_header_separator_color] = [['#wp-custom-header h2::before', self::$BG_COLOR]]; return $css_selector; } public static function initPriority() { self::$PRIORITY = 0; } public static function getPriority() { return self::$PRIORITY++ * 10 + self::$PRIORITY_OFFSET; } }