priithansen / silverstripe-foundation-boilerplate
SilverStripe CMS 的 Foundation 4 主题
4.3.2
2013-11-13 17:53 UTC
Requires
This package is not auto-updated.
Last update: 2024-09-14 15:06:05 UTC
README
基于 Foundation Sass 独立版本,因此不再需要 Foundation 钥匙。
屏幕截图
鸣谢和作者
- Foundation 4 文档 - http://foundation.zurb.com/
- Silverstripe CMS - http://www.silverstripe.org/
需求
- Compass http://compass-style.org/
- SASS https://sass-lang.cn/
- SilverStripe 3.0
安装和说明
- 将主题提取到 Silverstripe 根目录 /themes/foundation 文件夹中。
- 从我的网站 /code/Page.php 初始化方法中删除过时的 'themedCSS' 需求。
- _variables.scss 可以覆盖 foundation 默认设置。
- _layout.scss 用于您的自定义 CSS 代码。在 foundation 框架之后编译为 foundation.css。
- 默认情况下,templates/Page.ss 包含所有 foundation JavaScript 文件单独。还有一个示例代码,可以复制到我的网站 /code/Page.php 初始化方法中,以便 Silverstripe 可以合并和压缩所有 JS 文件。(Silverstripe 仅在 'live' 模式下合并 JS 文件)。
- 不是所有 JS 文件都需要包含,只需包含网站使用的那些。
注意事项
- 享受并告诉我如果有什么可以改进的地方。