daily pastebin goal
1%
SHARE
TWEET

RTL layout for JotForm forms

BaneD Oct 12th, 2015 4 Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
  1. /* RTL layout for JotForm forms */
  2. /* For global setup */
  3. .form-all {
  4.         text-align : right;
  5.         direction : rtl !important;
  6.         unicode-bidi : bidi-override !important;
  7. }
  8. /* to align shrinked fields to the right side */
  9. .form-line-column, .form-radio-item {
  10.         float : right;
  11. }
  12. /* Set the top aligned label to be on the right part of the field instead of the TL */
  13. .form-label-top {
  14.     text-align: right;
  15. }
  16. /* Set the Phone field to still be LTR */
  17. [data-type="control_phone"] {
  18.     direction: ltr;
  19. }
  20. /* Set the Time field to still be LTR */
  21. [data-type="control_time"] {
  22.     direction: ltr;
  23. }
  24. /* Set the DateTime field to still be LTR */
  25. [data-type="control_datetime"] {
  26.     direction: ltr;
  27. }
RAW Paste Data
We use cookies for various purposes including analytics. By continuing to use Pastebin, you agree to our use of cookies as described in the Cookies Policy. OK, I Understand
 
Top