Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add basic RTL support #8424

Closed
wants to merge 3 commits into from
Closed
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
5 changes: 5 additions & 0 deletions Makefile
Original file line number Diff line number Diff line change
@@ -1,5 +1,7 @@
BOOTSTRAP ?= ./docs/assets/css/bootstrap.css
BOOTSTRAP_RTL ?= ./docs/assets/css/bootstrap.rtl.css
BOOTSTRAP_LESS ?= ./less/bootstrap.less
BOOTSTRAP_RTL_LESS ?= ./less/rtl.less
DATE=$(shell date +%I:%M%p)
CHECK=\033[32m✔ Done\033[39m
HR=\033[37m--------------------------------------------------\033[39m
Expand All @@ -20,6 +22,7 @@ build:
@echo " ${CHECK}"
@printf "Compiling LESS with Recess..."
@recess --compile ${BOOTSTRAP_LESS} > ${BOOTSTRAP}
@recess --compile ${BOOTSTRAP_RTL_LESS} > ${BOOTSTRAP_RTL}
@echo " ${CHECK}"
@printf "Prepping documentation assets..."
@cp js/tests/vendor/jquery.js docs/assets/js/
Expand Down Expand Up @@ -85,7 +88,9 @@ bootstrap-css: bootstrap/css/*.css
bootstrap/css/*.css: less/*.less
mkdir -p bootstrap/css
recess --compile ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.css
recess --compile ${BOOTSTRAP_RTL_LESS} > bootstrap/css/bootstrap.rtl.css
recess --compress ${BOOTSTRAP_LESS} > bootstrap/css/bootstrap.min.css
recess --compress ${BOOTSTRAP_RTL_LESS} > bootstrap/css/bootstrap.rtl.min.css

#
# WATCH LESS FILES
Expand Down
4 changes: 3 additions & 1 deletion docs/assets/css/bootstrap.css
Original file line number Diff line number Diff line change
Expand Up @@ -2317,7 +2317,9 @@ input[type="button"].btn-block {
.list-group-item {
position: relative;
display: block;
padding: 10px 30px 10px 15px;
padding: 10px;
padding-right: 30px;
padding-left: 15px;
margin-bottom: -1px;
border: 1px solid #dddddd;
}
Expand Down
Loading