1) $opacity = 1.0; $output = 'rgba('.implode(",",$rgb).','.$opacity.')'; } else { $output = 'rgb('.implode(",",$rgb).')'; } //Return rgb(a) color string return $output; } /** * Allo color's * * @package Allo * @since 1.0 */ function allo_color() { $setting_color = get_theme_mod('allo_theme_color'); switch( $setting_color ) { case '1': // add a condition to show demo color scheme by url ( isset($_GET["color_scheme_color"]) ) ? $color_scheme_color = sanitize_text_field( wp_unslash( $_GET["color_scheme_color"] ) ) : $color_scheme_color = "" ; if (preg_match('/^[A-Z0-9]{6}$/i', $color_scheme_color)) { $demo_color_scheme = sanitize_text_field( wp_unslash( $_GET["color_scheme_color"] ) ); } else { $demo_color_scheme = "03dedf"; } $allo_color = "#".$demo_color_scheme; break; case '2': $allo_color = "#d12a5c"; break; case '3': $allo_color = "#49ca9f"; break; case '4': $allo_color = "#1f1f1f"; break; case '5': $allo_color = "#808080"; break; case '6': $allo_color = "#ebebeb"; break; default: $allo_color = get_theme_mod('allo_theme_color', '#2962ff'); } //rgba color $allo_rgba_color = allo_hex_2_rgba($allo_color, 0.8); ?> ::selection {background: none repeat scroll 0 0; } *::-moz-selection {background: none repeat scroll 0 0; } a:hover, a:focus, a:active {color: ; } label a {color: ; } .post-content a {color: ; } .post-password-form input[type="submit"] { background: ; border: 1px solid ; } h1 a:hover, h2 a:hover, h3 a:hover, h4 a:hover, h5 a:hover, h6 a:hover { color: !important; } .single-blog-area .blog-content .post-content blockquote {border-left-color: ; } .comment-con a:not(.comment-reply-link) {color: ;} .widget_categories ul li:before, .widget_archive ul li:before, .widget_layered_nav ul li:before, .widget_links ul li:before,.widget_meta ul li:before,.widget_nav_menu ul li:before,.widget_pages ul li:before,.widget_recent_comments ul li:before,.widget_recent_entries ul li:before, .widget_product_categories ul li:before { color: ; } .woo-menu-item.woo-list form.cart .single_add_to_cart_button { border-color: !important; color: !important; } .menu-style-four .dropdown .dropdown-menu li a:hover {color: !important;} header .header-top-four .higlight .search-box button[type="submit"] {background: } .tagcloud a:hover{ border-color: !important; background: !important; } .woocommerce-tabs .wc-tabs li.active a { color: ; } .widget table a { color: ; } .woocommerce #respond input#submit.alt:hover, .woocommerce a.button.alt:hover, .woocommerce button.button.alt:hover, .woocommerce input.button.alt:hover,.woocommerce #review_form #respond .form-submit input[type="submit"]:hover {background-color: !important;} .woocommerce form.woocommerce-form-login button[name="login"]:hover,.woocommerce form.checkout_coupon button[name="apply_coupon"]:hover,.woocommerce-EditAccountForm .woocommerce-Button:hover {background: !important;} .woocommerce-MyAccount-navigation li.is-active a {background-color: } .woo-menu-item.woo-list form.cart .wishlist-btn { color: !important; } .woo-menu-item.woo-list form.cart .wishlist-btn:hover, .new-arrival-item .wishlist-btn:hover { border-color: !important; background: !important; } form.cart .single_add_to_cart_button { border-color: !important; color: !important; } .user-cart .budge { background: !important; } .posts-sorting .bsm-dropdown-content li > a, .posts-sorting .bsm-select-wrapper input.select-dropdown, .posts-sorting .bsm-dropdown-content li > span { color: ; } .woocommerce .return-to-shop .wc-backward { background-color: !important; } .widget_allo_newsletter .newsletter-area .mc-embedded-subscribe-form .mc-embedded-subscribe { background-color: ; } .entry-title a:hover, .reset_variations { color: ; } .breadcumb-area .breadcumb-content .breadcumb-link ul li span a { color: ; } .logged-in-as a { color: ; } .comment-navigation .nav-links a, .single-blog-area .comment-respond form.comment-form input[type="submit"] { background-color: ; } .woocommerce .register .woocommerce-Button:hover {background: ;} .woocommerce .widget_price_filter .ui-slider .ui-slider-range {background-color: !important;} .widget_price_filter .price_slider_amount .button:hover {background: !important;} .footer-top a:hover {color: !important;} .woocommerce-message .wc-forward {background: !important;} .page-header-content { background-image: url(); } .mean-container .mean-bar .mobile-logo { background: transparent url() no-repeat scroll 0 0; } .footer-one .footer-top {background: ; color: ;} footer h1, footer h2, footer h3, footer h4, footer h5, footer h6 {color: ;} .footer-top a {color: !important;}