Update SCSS compiler
This commit is contained in:
parent
6378d4f12a
commit
404ddc8795
@ -100,7 +100,7 @@ if(class_exists('Page')){
|
||||
<?php
|
||||
$scss = new ScssPhp\ScssPhp\Compiler();
|
||||
$file = __DIR__."/assets/css/main.scss";
|
||||
echo $scss->compile(file_get_contents($file));
|
||||
echo $scss->compileString(file_get_contents($file))->getCss();
|
||||
?>
|
||||
/* MAIN.SCSS – END */
|
||||
|
||||
|
@ -9,7 +9,7 @@ class Page {
|
||||
public function style() {
|
||||
$scss = new ScssPhp\ScssPhp\Compiler();
|
||||
$file = __DIR__."/../../assets/css/player.scss";
|
||||
echo $scss->compile(file_get_contents($file));
|
||||
echo $scss->compileString(file_get_contents($file))->getCss();
|
||||
|
||||
echo '
|
||||
main section#player audio::-webkit-media-controls {
|
||||
|
@ -14,7 +14,7 @@ class Page {
|
||||
public function style() {
|
||||
$scss = new ScssPhp\ScssPhp\Compiler();
|
||||
$file = __DIR__."/../../assets/css/player.scss";
|
||||
echo $scss->compile(file_get_contents($file));
|
||||
echo $scss->compileString(file_get_contents($file))->getCss();
|
||||
|
||||
echo "
|
||||
main {
|
||||
|
Loading…
Reference in New Issue
Block a user