Projet

Général

Profil

Paste
Statistiques
| Branche: | Révision:

root / drupal7 / sites / all / themes / bootstrap / starterkits / sass @ 7547bb19

Nom Taille Révision Âge Auteur Commentaire
  scss 7547bb19 environ 7 ans Assos Assos Weekly update of contrib modules
  templates 4eeb3b46 presque 8 ans Assos Assos Weekly update of contrib modules
README.md 2,61 ko 1f623f01 plus de 7 ans Assos Assos Weekly update of contrib modules
favicon.ico 1,12 ko 4eeb3b46 presque 8 ans Assos Assos Weekly update of contrib modules
logo.png 742 octets 4eeb3b46 presque 8 ans Assos Assos Weekly update of contrib modules
sass.starterkit 1,56 ko 4eeb3b46 presque 8 ans Assos Assos Weekly update of contrib modules
screenshot.png 19 ko 4eeb3b46 presque 8 ans Assos Assos Weekly update of contrib modules
template.php 63 octets 4eeb3b46 presque 8 ans Assos Assos Weekly update of contrib modules

Dernières révisions

# Date Auteur Commentaire
7547bb19 23/02/2017 00:12 Assos Assos

Weekly update of contrib modules

7295e063 30/11/2016 23:49 Assos Assos

Weekly update of contrib modules

1f623f01 02/11/2016 22:46 Assos Assos

Weekly update of contrib modules

4eeb3b46 03/08/2016 22:49 Assos Assos

Weekly update of contrib modules

Voir les révisions

README


Sass Starterkit

Below are instructions on how to create a Bootstrap sub-theme using a Sass preprocessor.

Prerequisites

  • Read the @link getting_started Getting Started @endlink and @link subtheme Sub-theming @endlink documentation topics.
  • You must understand the basic concept of using the Sass CSS pre-processor.
  • You must use a local Sass compiler.
  • You must use the Bootstrap Framework Source Files ending in the .scss extension, not files ending in .css.

Additional Setup {#setup}

Download and extract the latest 3.x.x version of Bootstrap Framework Source Files into the root of your new sub-theme. After it has been extracted, the directory should be renamed (if needed) so it reads ./THEMENAME/bootstrap.

If for whatever reason you have an additional bootstrap directory wrapping the first bootstrap directory (e.g. ./THEMENAME/bootstrap/bootstrap), remove the wrapping bootstrap directory. You will only ever need to touch these files if or when you upgrade your version of the Bootstrap Framework.

{.alert.alert-warning} WARNING: Do not modify the files inside of ./THEMENAME/bootstrap directly. Doing so may cause issues when upgrading the Bootstrap Framework in the future.

Overrides {#overrides}

The ./THEMENAME/sass/_default-variables.scss file is generally where you will spend the majority of your time providing any default variables that should be used by the Bootstrap Framework instead of its own.

The ./THEMENAME/sass/overrides.scss file contains various Drupal overrides to properly integrate with the Bootstrap Framework. It may contain a few enhancements, feel free to edit this file as you see fit.

The ./THEMENAME/scss/style.scss file is the glue that combines: _default-variables.scss, Bootstrap Framework Source Files and the overrides.scss file together. Generally, you will not need to modify this file unless you need to add or remove files to be imported. This is the file that you should compile to ./THEMENAME/css/styles.css (note the same file name, using a different extension of course).

See also:

  • @link templates Templates @endlink
  • @link subtheme_settings Theme Settings @endlink
  • @link registry Theme Registry @endlink

Formats disponibles : Atom