2017 © Pedro Peláez
 

silverstripe-theme module_bootstrap

CSS toolkit by Twitter.

image

purezero/module_bootstrap

CSS toolkit by Twitter.

  • Monday, March 14, 2016
  • by pure_zero
  • Repository
  • 0 Watchers
  • 0 Stars
  • 5 Installations
  • HTML
  • 0 Dependents
  • 0 Suggesters
  • 60787 Forks
  • 0 Open issues
  • 9 Versions
  • 25 % Grown

The README.md

Sass Bootstrap v3.3.6

Bootstrap is a sleek, intuitive, and powerful front-end framework for faster and easier web development, created and maintained by Mark Otto and Jacob Thornton., (*1)

This is the Sass version of Bootstrap. A port of Bootstrap from Less to Sass. This project is focused on being a 1:1 port of the original. Please do not submit issues or pull requests for issues with Bootstrap itself. Those should be pushed upstream in the Less version., (*2)

To get started, check out http://getbootstrap.com!, (*3)

Usage

This is a module for better use of bootstrap in silverstripe projects., (*4)

To download use: composer require purezero/module_bootstrap, (*5)

This will download the package into the themes directory of your silverstripe project., (*6)

Just CSS and javascript

If you just need to link the code to use the css selectors, this can be done by linking the files found in the dist folder on page.php, this can be done through Requirements::javascript('themes/module_bootstrap/dist/js/bootstrap.min.js'); Requirements::css('themes/module_bootstrap/dist//css/bootstrap.min.css');, (*7)

Using SASS for variables and mixins

I am not sure on what best practise is here, but I create a new bootstrap.scss in my themes directory and import module_bootstrap/lib/_boostrap.scss into that file. So when I compile my other code it will compile bootstrap as well., (*8)

With regards to mixins and other files that would be nice in my SASS I would just import the needed files into the scss file that needs it., (*9)

Copyright 2012 Twitter, Inc under the Apache 2.0 license., (*10)

The Versions

14/03 2016

dev-master

9999999-dev

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

11/03 2016

dev-3.3.16-Upgrade

dev-3.3.16-Upgrade

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

24/10 2013

3.0.x-dev

3.0.9999999.9999999-dev

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

24/10 2013

dev-3.0.0-wip

dev-3.0.0-wip

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

15/08 2013

dev-breadcrumb

dev-breadcrumb

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

15/08 2013

dev-cwp

dev-cwp

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

23/05 2013

2.3.2.x-dev

2.3.2.9999999-dev

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

23/05 2013

dev-ssexpress

dev-ssexpress

CSS toolkit by Twitter.

  Sources   Download

The Requires

 

05/12 2012

2.3.1.x-dev

2.3.1.9999999-dev

CSS toolkit by Twitter.

  Sources   Download

The Requires