Advertisement
BaneD

RTL layout for JotForm forms

Oct 12th, 2015
101
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
CSS 0.69 KB | None | 0 0
  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. }
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement