mattclegg/silverstripe-bootstrap-3

该软件包最新版本(dev-master)没有可用的许可信息。

基于twitter bootstrap 3的SilverStripe主题(使用sass!)

安装: 81

依赖: 0

建议者: 0

安全性: 0

星标: 0

关注者: 3

分支: 0

开放问题: 0

语言:CSS

类型:silverstripe-theme

dev-master 2014-11-20 09:34 UTC

This package is auto-updated.

Last update: 2024-09-07 14:08:10 UTC


README

此主题使用sass将所有CSS样式合并到单个styles.css文件中。

要求

自定义

使用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