mirror of
https://github.com/Lastorder-DC/rhymix.git
synced 2026-04-29 07:12:15 +09:00
네모의 꿈/ 컨텐츠 위젯 스킨 (#712)
## 컨텐츠 모듈 스킨 - 사이트 테마를 따르지 않고 다른 색을 선택할 수 있도록 네모의 꿈 회원 스킨 컬러셋 추가. - 탭이 많을 때 터치 환경이 아니면 좌우로 넘기기 어려운 점을 고려하여서 메뉴를 펼침. - 작은 화면에서 화면을 최대한 활용하도록, 레이아웃 햄버거 메뉴를 부드럽게 나타내고 감춥니다. ## 위젯에서 LESS/SCSS 의 사용 - 변수를 위젯 캐시에도 전달할 수 있도록 해서 LESS 나 SCSS 에 값 전달이 가능하도록 함. - LESS 나 SCSS 를 사용한 경우에 위젯 코드 캐싱 코드가 적절하게 기록되도록 해서 LESS나 SCSS 를 사용 가능하도록 수정. ## 그 외 변화 - Reduce the number of regular expressions.
This commit is contained in:
parent
b1ba031117
commit
5140047b5f
26 changed files with 1286 additions and 27 deletions
|
|
@ -805,6 +805,7 @@ class TemplateHandler
|
|||
else
|
||||
{
|
||||
$metafile = $attr['target'];
|
||||
$metavars = ($attr['vars'] ? self::_replaceVar($attr['vars']) : '');
|
||||
$result = "\$__tmp=array('{$attr['target']}','{$attr['media']}','{$attr['targetie']}','{$attr['index']}'," . ($attr['vars'] ? self::_replaceVar($attr['vars']) : 'array()') . ");Context::loadFile(\$__tmp);unset(\$__tmp);";
|
||||
}
|
||||
break;
|
||||
|
|
@ -813,7 +814,15 @@ class TemplateHandler
|
|||
$result = "<?php {$result} ?>";
|
||||
if($metafile)
|
||||
{
|
||||
$result = "<!--#Meta:{$metafile}-->" . $result;
|
||||
if(!$metavars)
|
||||
{
|
||||
$result = "<!--#Meta:{$metafile}-->" . $result;
|
||||
}
|
||||
else
|
||||
{
|
||||
// LESS or SCSS needs the variables to be substituted.
|
||||
$result = "<!--#Meta:{$metafile}?{$metavars}-->" . $result;
|
||||
}
|
||||
}
|
||||
|
||||
return $result;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue