mattclegg / silverstripe-bootstrap-3
该软件包最新版本(dev-master)没有可用的许可信息。
基于twitter bootstrap 3的SilverStripe主题(使用sass!)
dev-master
2014-11-20 09:34 UTC
Requires
This package is auto-updated.
Last update: 2024-09-07 14:08:10 UTC
README
此主题使用sass将所有CSS样式合并到单个styles.css文件中。
要求
- compass宝石
- bootstrap-sass宝石(https://github.com/thomas-mcdonald/bootstrap-sass)
自定义
使用compass监视
cd yoursiverstriperoot
compass watch themes/boostrap
默认主题
包括几个bootswatch主题(https://github.com/log0ymxm/bootswatch-scss)
在styles.scss中指定主题名称
@import "bootswatch-scss/$bootswatch-theme-name";
主题自定义
要自定义bootstrap变量
- 复制
scss/customisations/_base.scss
并进行自己的更改。 - 更新
styles.scss
以指向您的副本
为了更容易调试CSS,在config.rb中将output_style
设置为"expanded"。
output_style = :expanded