PageRenderTime 44ms CodeModel.GetById 16ms RepoModel.GetById 1ms app.codeStats 0ms

/lib/jquery-validate/demo/css/cmxformTemplate.css

#
CSS | 55 lines | 40 code | 9 blank | 6 comment | 0 complexity | 8d1e5b93bbf1e6f11bfe4081bc9b2156 MD5 | raw file
Possible License(s): LGPL-2.1, Apache-2.0, BSD-3-Clause
  1. /**********************************
  2. Use: cmxform template
  3. ***********************************/
  4. form.cmxform fieldset {
  5. margin-bottom: 10px;
  6. }
  7. form.cmxform legend {
  8. padding: 0 2px;
  9. font-weight: bold;
  10. _margin: 0 -7px; /* IE Win */
  11. }
  12. form.cmxform label {
  13. display: inline-block;
  14. line-height: 1.8;
  15. vertical-align: top;
  16. cursor: hand;
  17. }
  18. form.cmxform fieldset p {
  19. list-style: none;
  20. padding: 5px;
  21. margin: 0;
  22. }
  23. form.cmxform fieldset fieldset {
  24. border: none;
  25. margin: 3px 0 0;
  26. }
  27. form.cmxform fieldset fieldset legend {
  28. padding: 0 0 5px;
  29. font-weight: normal;
  30. }
  31. form.cmxform fieldset fieldset label {
  32. display: block;
  33. width: auto;
  34. }
  35. form.cmxform label { width: 100px; } /* Width of labels */
  36. form.cmxform fieldset fieldset label { margin-left: 103px; } /* Width plus 3 (html space) */
  37. form.cmxform label.error {
  38. margin-left: 103px;
  39. width: 220px;
  40. }
  41. form.cmxform input.submit {
  42. margin-left: 103px;
  43. }
  44. /*\*//*/ form.cmxform legend { display: inline-block; } /* IE Mac legend fix */