Permalink
Browse files

# [#29698] *Adding bootsrtap-rtl to compiler, correcting some rtl

classes
  • Loading branch information...
1 parent 29f71eb commit 26599921c1f09fea89da4ba0ae76dcf6824d655f @infograf768 infograf768 committed Nov 18, 2012
Showing with 166 additions and 122 deletions.
  1. +2 −1 build/generatecss.php
  2. +10 −0 build/less/bootstrap-rtl.less
  3. +1 −0 installation/CHANGELOG
  4. +49 −24 media/jui/css/bootstrap-rtl.css
  5. +104 −97 media/jui/less/bootstrap-rtl.less
@@ -52,7 +52,8 @@ public function doExecute()
JPATH_ADMINISTRATOR . '/templates/hathor/less/colour_standard.less' => JPATH_ADMINISTRATOR . '/templates/hathor/css/colour_standard.css',
JPATH_SITE . '/templates/protostar/less/template.less' => JPATH_SITE . '/templates/protostar/css/template.css',
// Below files are to recompile the default Bootstrap CSS files
- __DIR__ . '/less/bootstrap-extended.less' => JPATH_SITE . '/media/jui/css/bootstrap-extended.css'
+ __DIR__ . '/less/bootstrap-extended.less' => JPATH_SITE . '/media/jui/css/bootstrap-extended.css',
+ __DIR__ . '/less/bootstrap-rtl.less' => JPATH_SITE . '/media/jui/css/bootstrap-rtl.css'
);
$less = new JLess;
@@ -0,0 +1,10 @@
+// bootstrap-rtl.less
+//
+// Less to compile JUI CSS to extend Bootstrap using default values
+// Need to use this file to compile bootstrap-rtl.css due to the actual
+// file not importing the variables or mixins
+// -----------------------------------------------------
+
+@import "../../media/jui/less/variables.less";
+@import "../../media/jui/less/mixins.less";
+@import "../../media/jui/less/bootstrap-rtl.less";
@@ -31,6 +31,7 @@ $ -> Language fix or change
# [#29528] Incorrect arrows in table heading. Thanks Dennis
# [#29687] *Adapting hathor to new message using editor
# [#29679] *Passwords fields not required when creating a new user in back-end
+ # [#29698] *Adding bootsrtap-rtl to compiler, correcting some rtl classes
16-Nov-2012 Jean-Marie Simonet
$+ Adding Uyghur ug-CN installation files
@@ -1,17 +1,40 @@
-/* Bootstrap RTL */
-/* Pull right or left */
+.clearfix {
+ *zoom: 1;
+}
+.clearfix:before,
+.clearfix:after {
+ display: table;
+ content: "";
+ line-height: 0;
+}
+.clearfix:after {
+ clear: both;
+}
+.hide-text {
+ font: 0/0 a;
+ color: transparent;
+ text-shadow: none;
+ background-color: transparent;
+ border: 0;
+}
+.input-block-level {
+ display: block;
+ width: 100%;
+ min-height: 30px;
+ -webkit-box-sizing: border-box;
+ -moz-box-sizing: border-box;
+ box-sizing: border-box;
+}
.pull-right {
float: left;
}
.pull-left {
float: right;
}
-/* Tables */
.table th,
.table td {
text-align: right;
}
-/* Navbar */
.navbar .brand {
float: right;
padding: 8px 20px 12px;
@@ -30,7 +53,6 @@
left: 0;
right: auto;
}
-/* Grid */
[class*="span"] {
float: right;
margin-right: 20px;
@@ -40,13 +62,12 @@
float: right;
margin-right: 2.127659574%;
*margin-right: 2.0744680846382977%;
- margin-left: 0px!important;
- *margin-left: 0px!important;
+ margin-left: 0px !important;
+ *margin-left: 0px !important;
}
.row-fluid [class*="span"]:first-child {
margin-right: 0;
}
-/* Forms */
.form-horizontal .control-label {
float: right;
width: 140px;
@@ -65,21 +86,31 @@
.form-horizontal .controls:first-child {
*padding-right: 160px;
}
+.form-vertical .controls {
+ *display: inline-block;
+ *padding-right: 20px;
+ margin-right: 0;
+ *margin-right: 0;
+ margin-left: 0;
+ text-align: right;
+ margin-top: 6px;
+}
.form-vertical .control-label {
float: none;
padding-right: 0;
padding-top: 0;
text-align: right;
width: auto;
}
-/* Nav */
-/* Tabs */
+.chzn-container-single-nosearch .chzn-search input {
+ position: absolute;
+ left: -9000px;
+ display: none;
+}
.nav-tabs > li,
.nav-pills > li {
float: right;
}
-/* Buttons */
-/* Button Groups */
.btn-group > .btn {
float: right;
margin-right: -1px;
@@ -164,8 +195,6 @@
-moz-border-radius-bottomright: 4px;
-moz-border-radius-topright: 4px;
}
-/* Forms */
-/* Input Prepend and Append */
.input-prepend .add-on {
float: right;
}
@@ -231,7 +260,6 @@
-moz-border-radius: 3px 0 0 3px;
border-radius: 3px 0 0 3px;
}
-/* start myrtl */
body {
direction: rtl;
}
@@ -333,17 +361,15 @@ body {
.pagination ul {
display: inline-block;
*display: inline;
- /* IE7 inline-block hack */
-
*zoom: 1;
margin-right: 0;
margin-bottom: 0;
-webkit-border-radius: 3px;
-moz-border-radius: 3px;
border-radius: 3px;
- -webkit-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
- -moz-box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
- box-shadow: 0 1px 2px rgba(0, 0, 0, 0.05);
+ -webkit-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
+ -moz-box-shadow: 0 1px 2px rgba(0,0,0,0.05);
+ box-shadow: 0 1px 2px rgba(0,0,0,0.05);
}
.pagination a {
float: right;
@@ -360,7 +386,7 @@ body {
border-radius: 0 3px 3px 0;
}
.pagination li:last-child a {
- -webkit-border-radius: 3px 0 0 3px ;
+ -webkit-border-radius: 3px 0 0 3px;
-moz-border-radius: 3px 0 0 3px;
border-radius: 3px 0 0 3px;
}
@@ -385,14 +411,13 @@ body {
.dl-horizontal dt {
float: right;
}
-.profile > ul {
+.profile> ul {
margin: 9px 25px 0 0;
}
-/* end myrtl */
.dropdown-submenu > a:after {
float: left;
border-width: 5px 5px 5px 0;
margin-left: -10px;
border-left-color: transparent;
border-right-color: #CCC;
-}
+}
Oops, something went wrong.

0 comments on commit 2659992

Please sign in to comment.