Skip to content

Commit

Permalink
Initial update for v3.3.1.
Browse files Browse the repository at this point in the history
  • Loading branch information
morteza committed Dec 21, 2014
1 parent 7bd35f2 commit f7424bc
Show file tree
Hide file tree
Showing 14 changed files with 79 additions and 46 deletions.
4 changes: 2 additions & 2 deletions Gruntfile.js
Original file line number Diff line number Diff line change
Expand Up @@ -6,11 +6,11 @@ module.exports = function(grunt) {
// Read package.json Metadata.
pkg: grunt.file.readJSON('package.json'),
banner: '/*******************************************************************************\n' +
' * <%= pkg.name %> (Version <%= pkg.version %>)\n' +
' * <%= pkg.name %> (version <%= pkg.version %>)\n' +
' * Author: <%= pkg.author %>\n' +
' * Created on: <%= grunt.template.today("mmmm dd,yyyy") %>\n' +
' * Project: <%= pkg.name %>\n' +
' * Copyright: No license.\n' +
' * Copyright: Unlicense.\n' +
' *******************************************************************************/\n',
less: {
rtl: {
Expand Down
2 changes: 1 addition & 1 deletion bootstrap
Submodule bootstrap updated 155 files
8 changes: 4 additions & 4 deletions bower.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrap-rtl",
"description": "Right-to-left (RTL) theme for Twitter Bootstrap 3.2.",
"version": "3.2.0-rc4",
"description": "Right-to-left (RTL) theme for Twitter Bootstrap 3.x",
"version": "3.3.1-rc1",
"homepage": "https://github.com/morteza/bootstrap-rtl",
"authors": [
"Morteza Ansarinia <[email protected]>"
Expand All @@ -18,8 +18,8 @@
"docs",
"js/tests"
],
"license": "Creative Commons Attribution-NonCommercial-ShareAlike 4.0",
"license": "Unlicense",
"dependencies": {
"jquery": ">= 1.9.0"
"jquery": ">= 1.9.1"
}
}
33 changes: 23 additions & 10 deletions dist/css/bootstrap-rtl.css

Some generated files are not rendered by default. Learn more about how customized files appear on GitHub.

2 changes: 1 addition & 1 deletion dist/css/bootstrap-rtl.css.map

Large diffs are not rendered by default.

8 changes: 4 additions & 4 deletions dist/css/bootstrap-rtl.min.css

Large diffs are not rendered by default.

8 changes: 8 additions & 0 deletions examples/rtl/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -330,6 +330,14 @@ <h6>
<div class="page-header">
<h1>Badges</h1>
</div>
<p>
<ul class="list-group">
<li class="list-group-item">
<span class="badge">14</span>
Cras justo odio
</li>
</ul>
</p>
<p>
<a href="#">Inbox <span class="badge">42</span></a>
</p>
Expand Down
8 changes: 8 additions & 0 deletions less/badges-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -10,4 +10,12 @@
margin-left: 0px;
margin-right: 3px;
}

.list-group-item > & {
float: left;
}
.list-group-item > & + & {
margin-left: 5px;
margin-right: auto;
}
}
16 changes: 0 additions & 16 deletions less/list-group-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -12,19 +12,3 @@
padding-left: initial;
}


// Individual list items
//
// Use on `li`s or `div`s within the `.list-group` parent.

.list-group-item {

// Align badges within list items
> .badge {
float: left;
}
> .badge + .badge {
margin-right: 5px;
margin-left: auto;
}
}
13 changes: 13 additions & 0 deletions less/media-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -22,6 +22,19 @@
}
}

.media-right,
.media > .pull-right {
padding-right: 10px;
padding-left: initial;
}

.media-left,
.media > .pull-left {
padding-left: 10px;
padding-right: initial;
}


// Media list variation
// -------------------------

Expand Down
4 changes: 2 additions & 2 deletions less/mixins/grid-framework-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.make-rtl-grid-columns() {
// Common styles for all sizes of grid columns, widths 1-12
.col(@index) when (@index = 1) { // initial
.col(@index) { // initial
@item: ~".col-xs-@{index}, .col-sm-@{index}, .col-md-@{index}, .col-lg-@{index}";
.col((@index + 1), @item);
}
Expand All @@ -27,7 +27,7 @@
}

.float-rtl-grid-columns(@class) {
.col(@index) when (@index = 1) { // initial
.col(@index) { // initial
@item: ~".col-@{class}-@{index}";
.col((@index + 1), @item);
}
Expand Down
2 changes: 2 additions & 0 deletions less/navbar-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -118,3 +118,5 @@
}
}
}


5 changes: 5 additions & 0 deletions less/tables-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -2,6 +2,11 @@
// Tables
// --------------------------------------------------

//TODO
caption {
text-align: right;
}

th {
text-align: right;
}
Expand Down
12 changes: 6 additions & 6 deletions package.json
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"name": "bootstrap-rtl",
"description": "Right-to-left (RTL) theme for Boostrap 3.2",
"version": "3.2.0-rc7",
"description": "Right-to-left (RTL) theme for Boostrap 3.x",
"version": "3.3.1-rc1",
"style": "dist/css/bootstrap-rtl.css",
"homepage": "http://github.com/morteza/bootstrap-rtl",
"author": "Morteza Ansarinia <[email protected]> (http://github.com/morteza)",
Expand All @@ -17,9 +17,9 @@
"theme"
],
"devDependencies": {
"grunt": "~0.4.4",
"grunt-banner": "~0.2.2",
"grunt-contrib-less": "~0.11.0"
"grunt": "~0.4.5",
"grunt-banner": "~0.2.3",
"grunt-contrib-less": "~0.12.0"
},
"engines": {
"node": "~0.10.1"
Expand All @@ -33,6 +33,6 @@
"email": "[email protected]"
},
"licenses": [{
"type": "No License"
"type": "Unlicense"
}]
}

0 comments on commit f7424bc

Please sign in to comment.