Skip to content

Commit

Permalink
Fix several invalid property values for a valid css3.
Browse files Browse the repository at this point in the history
  • Loading branch information
morteza committed Sep 8, 2014
1 parent 1dae09f commit 7007138
Show file tree
Hide file tree
Showing 13 changed files with 32 additions and 32 deletions.
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,7 @@ To get started, **[download latest release](https://github.com/morteza/bootstrap
In addition to bootstrap distribution, LESS codes for RTL theme and compiled CSS (`bootstrap-rtl.css`) are provided, as well as minified CSS (`bootstrap-rtl.min.css`). Check `dist/` directory for all the codes you need.

#### Auto Flip (`.flip`)
To automatically flip placements from right to left and vice versa (in bilingual pages), use `.flip` alongside `.pull-right` and `.pull-left`. This is a custom class which is not available in the original Bootstrap 3.
To automatically flip placements from right to left and vice versa (in bilingual pages), use `.flip` alongside `.pull-right` and `.pull-left`. This is a custom class and is not available in the original Bootstrap 3.

## Building CSS and JavaScript

Expand Down
30 changes: 15 additions & 15 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.

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

Large diffs are not rendered by default.

2 changes: 1 addition & 1 deletion less/alerts-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -15,6 +15,6 @@
// Adjust close link position
.close {
right: 0;
left: 21;
left: 21px;
}
}
4 changes: 2 additions & 2 deletions less/forms-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

label {
padding-right: 20px;
padding-left: auto;
padding-left: initial;
}
}
.radio input[type="radio"],
Expand Down Expand Up @@ -63,7 +63,7 @@

label {
padding-right: 0;
padding-left: auto;
padding-left: initial;
}

.radio input[type="radio"],
Expand Down
4 changes: 2 additions & 2 deletions less/list-group-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@

.list-group {
padding-right: 0; // reset padding because ul and ol
padding-left: auto;
padding-left: initial;
}


Expand All @@ -24,7 +24,7 @@
float: left;
}
> .badge + .badge {
margin-ight: 5px;
margin-right: 5px;
margin-left: auto;
}
}
2 changes: 1 addition & 1 deletion less/media-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -28,7 +28,7 @@
// Undo default ul/ol styles
.media-list {
padding-right: 0;
padding-left: auto;
padding-left: initial;
list-style: none;
}

2 changes: 1 addition & 1 deletion less/navs-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@

.nav {
padding-right: 0; // Override default ul/ol
padding-left: auto;
padding-left: initial;
}


Expand Down
2 changes: 1 addition & 1 deletion less/pager-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,7 @@

.pager {
padding-right: 0;
padding-left: none;
padding-left: initial;

.next {
> a,
Expand Down
2 changes: 1 addition & 1 deletion less/responsive-embed-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -9,7 +9,7 @@
embed,
object {
right: 0;
left: none;
left: auto;
}

}
4 changes: 2 additions & 2 deletions less/tables-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -27,12 +27,12 @@ th {
> th:first-child,
> td:first-child {
border-right: 0;
border-left: auto;
border-left: initial;
}
> th:last-child,
> td:last-child {
border-left: 0;
border-right: auto;
border-right: initial;
}
}
}
Expand Down
4 changes: 2 additions & 2 deletions less/type-rtl.less
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
// Unstyled keeps list items block level, just removes default browser padding and list-style
.list-unstyled {
padding-right: 0;
padding-left: none;
padding-left: initial;
}

// Inline turns list items into inline-block
Expand All @@ -19,7 +19,7 @@

dd {
margin-right: 0; // Undo browser default
margin-left: none;
margin-left: initial;
}

// Horizontal description lists
Expand Down

0 comments on commit 7007138

Please sign in to comment.