0.0
No commit activity in last 3 years
No release in over 3 years
Twitter Bootstrap less with for rtl languages e.g. persian or arabic.
2005
2006
2007
2008
2009
2010
2011
2012
2013
2014
2015
2016
2017
2018
2019
2020
2021
2022
2023
2024
 Dependencies

Development

~> 1.7
~> 10.0

Runtime

 Project Readme

BootstrapFarsi(3.3.6)

Farsi(right to left) support for twitter bootstrap. Less files are extracted from izer0x/bootstrap-3-arabic.

Installation

Add this line to your application's Gemfile:

gem 'bootstrap_farsi'

And then execute:

$ bundle

Or install it yourself as:

$ gem install bootstrap_farsi

Usage

create a less file in your app/assets/stylesheets directory and simply import twitter bootstrap like this:

@import 'twitter/bootstrap/bootstrap';

or import whatever you need:

// bi-app
@import "bi-app/bi-app-rtl";

// Core variables and mixins
@import "variables.less";
@import "mixins.less";

// Reset and dependencies
@import "normalize.less";
@import "print.less";
@import "glyphicons.less";

// Core CSS
@import "scaffolding.less";
@import "type.less";
@import "code.less";
@import "grid.less";
@import "tables.less";
@import "forms.less";
@import "buttons.less";

// Components
@import "component-animations.less";
@import "dropdowns.less";
@import "button-groups.less";
@import "input-groups.less";
@import "navs.less";
@import "navbar.less";
@import "breadcrumbs.less";
@import "pagination.less";
@import "pager.less";
@import "labels.less";
@import "badges.less";
@import "jumbotron.less";
@import "thumbnails.less";
@import "alerts.less";
@import "progress-bars.less";
@import "media.less";
@import "list-group.less";
@import "panels.less";
@import "responsive-embed.less";
@import "wells.less";
@import "close.less";

// Components w/ JavaScript
@import "modals.less";
@import "tooltip.less";
@import "popovers.less";
@import "carousel.less";

// Utility classes
@import "utilities.less";
@import "responsive-utilities.less";

and for importing bootstrap.js simply do

//=require twitter/bootstrap

in application.js or for importing optional packages:

//=require twitter/bootstrap/package_name

Contributing

  1. Fork it ( https://github.com/[my-github-username]/bootstrap_farsi/fork )
  2. Create your feature branch (git checkout -b my-new-feature)
  3. Commit your changes (git commit -am 'Add some feature')
  4. Push to the branch (git push origin my-new-feature)
  5. Create a new Pull Request