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