todc/todc-bootstrap
This is a Google-styled theme for Bootstrap. Because I’m a fan of the new Google UI seen in Gmail, Docs, Calendar, etc, I decided to reproduce the look of these new UI elements for my own personal use. The project’s goal isn’t UI parity with Google Apps – it’s feature parity with Bootstrap, themed with Google’s UI in mind.
TODC Bootstrap was created by Tim O’Donnell, and maintained with the support and involvement of the community.
Quick start
Several quick start options are available:
- Download the latest release.
- Clone the repo:
git clone https://github.com/todc/todc-bootstrap.git
. - Install with Bower:
bower install todc-bootstrap
. - Install with Composer:
composer require todc/todc-bootstrap
.
NOTE – After cloning/installing todc-bootstrap you must run grunt checkout-bootstrap
from the todc-bootstrap directory. This will download the correct version of the Bootstrap source.
Read the Getting started page for information on the framework contents, templates and examples, and more.
What’s included
Within the download you’ll find the following directories and files, logically grouping common assets and providing both compiled and minified variations. You’ll see something like this:
todc-bootstrap/
├── css/
│ ├── bootstrap.css
│ ├── bootstrap.css.map
│ ├── bootstrap.min.css
│ ├── bootstrap-theme.css
│ ├── bootstrap-theme.css.map
│ ├── bootstrap-theme.min.css
│ ├── todc-bootstrap.css
│ ├── todc-bootstrap.css.map
│ └── todc-bootstrap.min.css
├── js/
│ ├── bootstrap.js
│ └── bootstrap.min.js
├── fonts/
│ ├── glyphicons-halflings-regular.eot
│ ├── glyphicons-halflings-regular.svg
│ ├── glyphicons-halflings-regular.ttf
│ ├── glyphicons-halflings-regular.woff
│ └── glyphicons-halflings-regular.woff2
└── img/
└── checkmark.png
We provide compiled CSS and JS (bootstrap.*, todc-bootstrap.*
), as well as compiled and minified CSS and JS (bootstrap.min.*, todc-bootstrap.min.*
). CSS source maps (bootstrap.*.map, todc-bootstrap.*.map
) are available for use with certain browsers’ developer tools. Fonts from Glyphicons are included, as is the optional Bootstrap theme.
Compatibility
This is being tested in the latest versions of Chrome, Firefox, and IE8+.
The following projects are specifically designed for use with todc-bootstrap:
Requirements
- LESS – for compiling
.less
files into CSS - Bootstrap – this will be automatically checked out, if necessary, during the build process
Bugs and feature requests
Have a bug or a feature request? Please first read the issue guidelines and search for existing and closed issues. If your problem or idea is not addressed yet, please open a new issue.
Documentation
TODC Bootstrap’s documentation, included in this repo in the root directory, is built with Jekyll and publicly hosted on GitHub Pages at https://todc.github.io/todc-bootstrap/. The docs may also be run locally.
Running documentation locally
- If necessary, install Jekyll (requires v2.5.x).
- Install the Ruby-based syntax highlighter, Rouge, with
gem install rouge
. - From the root
/todc-bootstrap
directory, runjekyll serve
in the command line. - Open http://localhost:9002 in your browser, and voilà.
Learn more about using Jekyll by reading its documentation.
Documentation for previous releases
Documentation for v2.3.2 has been made available for the time being at https://todc.github.io/todc-bootstrap/2.3.2/ while folks transition to TODC Bootstrap 3.
Previous releases and their documentation are also available for download.
Contributing
We welcome contributions from everyone. While contributing, please follow the project code of conduct, so that everyone can be included.
Please read through our contributing guidelines. Included are directions for opening issues, coding standards, and notes on development.
Moreover, if your pull request contains JavaScript patches or features, you must include relevant unit tests. All HTML and CSS should conform to the Code Guide, maintained by Mark Otto.
Editor preferences are available in the editor config for easy use in common text editors. Read more and download plugins at http://editorconfig.org.
Versioning
TODC Bootstrap will be maintained under the Semantic Versioning guidelines as much as possible.
Releases will be numbered with the following format:
..-..
The first set of ..
is the Bootstrap version while the second set is the todc-bootstrap version.
Given a version number MAJOR.MINOR.PATCH, increment the:
- MAJOR version when you make incompatible API changes,
- MINOR version when you add functionality in a backwards-compatible manner, and
- PATCH version when you make backwards-compatible bug fixes.
Additional labels for pre-release and build metadata are available as extensions to the MAJOR.MINOR.PATCH format.
For more information on SemVer, please visit http://semver.org/.
Creators
Tim O’Donnell
Copyright and license
Copyright 2011-2015 Tim O’Donnell. Code released under the MIT license. Docs released under Creative Commons Attribution 3.0 Unported.
NOTE This project was previously and incorrectly licensed under the Public Domain. It has now been changed to be compatible with Bootstrap’s current license.
Acknowledgements
Inspired by Bootstrap and, of course, Google.