]> git.ipfire.org Git - thirdparty/foundation/foundation-sites.git/commitdiff
Add bidi counterparts for float and text alignment 4035/head
authorIstrasoft <istrasoft@hotmail.com>
Tue, 31 Dec 2013 05:13:17 +0000 (06:13 +0100)
committerIstrasoft <istrasoft@hotmail.com>
Tue, 31 Dec 2013 05:13:17 +0000 (06:13 +0100)
scss/foundation/components/_global.scss

index da184b6a40a186f2a18f1dafa44abe73d5f800af..0e625482c021e7b6ddec2ae8b4982a1a817ef9b7 100644 (file)
@@ -369,6 +369,11 @@ $cursor-text-value: text !default;
     .text-center  { text-align: center !important; }
     .text-justify { text-align: justify !important; }
     .hide         { display: none; }
+    // Bidi counterparts to .left, .right, .text-left, .text-right
+    .start { float: $default-float !important; }
+    .end   { float: $opposite-direction !important; }
+    .text-start { text-align: $default-float !important; }
+    .text-end   { text-align: $opposite-direction !important; }
 
     // Font smoothing
     // Antialiased font smoothing works best for light text on a dark background.