vertical-tabs.css 2.0 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980
  1. div.vertical-tabs {
  2. margin: 1em 0 1em 15em; /* LTR */
  3. border: 1px solid #ccc;
  4. position: relative; /* IE6/7 */
  5. }
  6. .vertical-tabs ul.vertical-tabs-list {
  7. width: 15em;
  8. list-style: none;
  9. list-style-image: none; /* IE6 */
  10. border-top: 1px solid #ccc;
  11. padding: 0;
  12. position: relative; /* IE6 */
  13. margin: -1px 0 -1px -15em; /* LTR */
  14. float: left; /* LTR */
  15. }
  16. .vertical-tabs fieldset.vertical-tabs-pane {
  17. margin: 0 !important;
  18. padding: 0 1em;
  19. border: 0;
  20. }
  21. fieldset.vertical-tabs-pane legend {
  22. display: none;
  23. }
  24. fieldset.vertical-tabs-pane fieldset legend {
  25. display: block;
  26. }
  27. /* Layout of each tab */
  28. .vertical-tabs ul.vertical-tabs-list li {
  29. background: #eee;
  30. border: 1px solid #ccc;
  31. border-top: 0;
  32. padding: 0;
  33. margin: 0;
  34. min-width: 0; /* IE7 */
  35. }
  36. .vertical-tabs ul.vertical-tabs-list li a {
  37. display: block;
  38. text-decoration: none;
  39. padding: 0.5em 0.6em;
  40. }
  41. .vertical-tabs ul.vertical-tabs-list li a:focus strong,
  42. .vertical-tabs ul.vertical-tabs-list li a:active strong,
  43. .vertical-tabs ul.vertical-tabs-list li a:hover strong {
  44. text-decoration: underline;
  45. }
  46. .vertical-tabs ul.vertical-tabs-list li a:hover {
  47. outline: 1px dotted;
  48. }
  49. .vertical-tabs ul.vertical-tabs-list li.selected {
  50. background-color: #fff;
  51. border-right-width: 0; /* LTR */
  52. }
  53. .vertical-tabs ul.vertical-tabs-list .selected strong {
  54. color: #000;
  55. }
  56. .vertical-tabs ul.vertical-tabs-list .summary {
  57. display: block;
  58. }
  59. .vertical-tabs ul.vertical-tabs ul.vertical-tabs-list .summary {
  60. line-height: normal;
  61. margin-bottom: 0;
  62. }
  63. /**
  64. * Prevent text inputs from overflowing when container is too narrow. "width" is
  65. * applied to override hardcoded cols or size attributes and used in conjunction
  66. * with "box-sizing" to prevent box model issues from occurring in most browsers.
  67. */
  68. .vertical-tabs .form-type-textfield input {
  69. width: 100%;
  70. -moz-box-sizing: border-box;
  71. -webkit-box-sizing: border-box;
  72. box-sizing: border-box;
  73. }
  74. * html .vertical-tabs .form-type-textfield,
  75. * html .vertical-tabs .form-textarea-wrapper {
  76. width: 95%; /* IE6 */
  77. }