getStyles() ); } ); } } /** * Add personalized CSS * * @return void */ public function printStyle() { ?> ) * * @param bool $minified Whether styles should be minified. * * @return string */ public function getStyles( $minified = true ) { // Search form $show_submit = DGWT_WCAS()->settings->getOption( 'show_submit_button' ); $bg_input_underlay_color = DGWT_WCAS()->settings->getOption( 'bg_input_underlay_color' ); // Pirx $bg_search_input = DGWT_WCAS()->settings->getOption( 'bg_input_color' ); $text_input_color = DGWT_WCAS()->settings->getOption( 'text_input_color' ); $border_input_color = DGWT_WCAS()->settings->getOption( 'border_input_color' ); $bg_submit_color = DGWT_WCAS()->settings->getOption( 'bg_submit_color' ); $text_submit_color = DGWT_WCAS()->settings->getOption( 'text_submit_color' ); // Suggestions $sug_hover_color = DGWT_WCAS()->settings->getOption( 'sug_hover_color' ); $sug_highlight_color = DGWT_WCAS()->settings->getOption( 'sug_highlight_color' ); $sug_text_color = DGWT_WCAS()->settings->getOption( 'sug_text_color' ); $sug_bg_color = DGWT_WCAS()->settings->getOption( 'sug_bg_color' ); $sug_border_color = DGWT_WCAS()->settings->getOption( 'sug_border_color' ); $preloader_url = trim( DGWT_WCAS()->settings->getOption( 'preloader_url' ) ); $max_form_width = absint( DGWT_WCAS()->settings->getOption( 'max_form_width' ) ); $search_icon_color = DGWT_WCAS()->settings->getOption( 'search_icon_color' ); ob_start(); ?> .dgwt-wcas-ico-magnifier, .dgwt-wcas-ico-magnifier-handler { max-width: 20px; } .dgwt-wcas-search-wrapp { max-width: px; } .dgwt-wcas-style-pirx .dgwt-wcas-sf-wrapp {background-color: ;} .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input, .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:hover, .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:focus { } .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::placeholder { color: ; opacity: 0.3; } .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::-webkit-input-placeholder { color: ; opacity: 0.3; } .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:-moz-placeholder { color: ; opacity: 0.3; } .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input::-moz-placeholder { color: ; opacity: 0.3; } .dgwt-wcas-sf-wrapp input[type="search"].dgwt-wcas-search-input:-ms-input-placeholder { color: ; } .dgwt-wcas-no-submit.dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier path, .dgwt-wcas-search-wrapp .dgwt-wcas-close path { fill: ; } .dgwt-wcas-loader-circular-path { stroke: ; } .dgwt-wcas-preloader { opacity: 0.6; } .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit::before { } .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:hover::before, .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit:focus::before { } .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit, .dgwt-wcas-om-bar .dgwt-wcas-om-return { } .dgwt-wcas-search-wrapp .dgwt-wcas-ico-magnifier, .dgwt-wcas-search-wrapp .dgwt-wcas-sf-wrapp .dgwt-wcas-search-submit svg path, .dgwt-wcas-om-bar .dgwt-wcas-om-return svg path { } .dgwt-wcas-suggestions-wrapp, .dgwt-wcas-details-wrapp { } .dgwt-wcas-suggestion-selected { } .dgwt-wcas-suggestions-wrapp *, .dgwt-wcas-details-wrapp *, .dgwt-wcas-sd, .dgwt-wcas-suggestion * { } .dgwt-wcas-st strong, .dgwt-wcas-sd strong { } .dgwt-wcas-suggestions-wrapp, .dgwt-wcas-details-wrapp, .dgwt-wcas-suggestion, .dgwt-wcas-datails-title, .dgwt-wcas-details-more-products { } .dgwt-wcas-inner-preloader { background-image: url(''); } .dgwt-wcas-inner-preloader * { display: none; }