Lines Matching refs:css
77 $css = "";
79 $css .= css_loadfile($file, $location);
83 $css = css_applystyle($css,$tplinc);
86 $css = css_moveimports($css);
87 io_saveFile($path . 'Styles/style.css' ,$css);
99 function css_applystyle($css,$tplinc){ argument
102 $css = strtr($css,$ini['replacements']);
104 return $css;
120 $css = io_readFile($file);
121 if(!$location) return $css;
123 $css = preg_replace('#(url\([ \'"]*)(?!/|http://|https://| |\'|")#','\\1'.$location,$css);
124 $css = preg_replace('#(@import\s+[\'"])(?!/|http://|https://)#', '\\1'.$location, $css);
135 function css_moveimports($css) argument
137 …if(!preg_match_all('/@import\s+(?:url\([^)]+\)|"[^"]+")\s*[^;]*;\s*/', $css, $matches, PREG_OFFSET…
138 return $css;
144 $newCss .= substr($css, $offset, $match[1] - $offset);
148 $newCss .= substr($css, $offset);