Git Product home page Git Product logo

tefstrap's Introduction

Telefónica theme for Twitter Bootstrap 3

Telefónica Corporative Bootstrap Theme for easy and quick web page prototyping.

See it live at https://telefonica.github.io/TEFstrap

Quick start

Several quick start options are available:

  • Download the latest release
  • Clone the repo: git clone https://github.com/Telefonica/TEFstrap.git
  • Install with Bower: bower install tefstrap
  • Install with npm: npm install @telefonica/tefstrap

Here you get the most basic form of TEFstrap: precompiled files for quick drop-in usage in nearly any web project. Just replace your original bootstrap.css with the TEFstrap one you downloaded, located at dist/css/bootstrap.css and copy the fonts dist/fonts/ and dist/img directory to your own one.

Hacking

After downloading the project, you can modify and compile your own distributon with your own customizations, or just pick some parts. The pre-compiled bootstrap.css distributed in dist/ directory is precompiled and minified, and
the less/, js/, and fonts/ are the source code for our CSS, JS, and fonts (respectively).

Three source files are provided in the less directory:

  • less/tefstrap.less: Custom components and variables for TEFstrap.
  • less/variables.less: A copy of bootstrap variables, but with the values for the Telefonica theme.
  • less/bootstrap.less: The main entry point for compile TEFstrap. Loads all bootstrap and applies the TEFstrap customizations. Here you can be quirurgic: make your own and just import your desired bootstap files, add the above two files and then compile it.

Both boostrap and TEFstrap does not proactively add all the browser vendor prefixes. Therefore you will need to use the autoprefixer tool.

Finally take a look to our package.json#scripts.build for inspiration about how to compile/autoprefix/minify less files and generate the CSS ones.

Development

First of all, download and install NodeJS.

git clone https://github.com/Telefonica/TEFstrap.git
cd TEFstrap
npm install # Install node dependencies for this project
npm run build # Build (i.e compile/autoprefix/minify) assets
npm run dev # Start development watchers, to auto compile less
open index.html # Open the index.html with your default browser

LICENSE

Copyright (c) 2011-2016 Telefónica I+D. Code released under the MIT license.

Bootstrap: copyright 2011-2016 Twitter, Inc. Code released under the MIT license.

tefstrap's People

Contributors

jmendiara avatar palmerabollo avatar jorge-sanz avatar joseantoniorodriguez avatar

Watchers

Giovanny Vizcaya avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. 📊📈🎉

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.