You are here

vertical_tabs.css in Vertical Tabs 6

div.vertical-tabs {
  margin: 1em 0 1em 15em;
  border: 1px solid #ccc;
  display: none; /** Backport only CSS **/
}
div.vertical-tabs ul.vertical-tabs-list {
  width: 15em;
  list-style: none;
  list-style-image: none; /* IE6 */
  border-top: 1px solid #ccc;
  padding: 0;
  position: relative; /* IE6 */
  margin: -1px -100% -1px 0;
  left: -15em;
  float: left;
}
div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
  margin: 0 !important;
  padding: 0 1em;
  border: 0;
}
/*div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane legend {
  display: none;
}*/

/* Layout of each tab */
div.vertical-tabs ul.vertical-tabs-list li {
  background: #eee;
  border: 1px solid #ccc;
  border-top: 0;
  padding: 0;
  margin: 0;
  height: 1%;
}
div.vertical-tabs ul.vertical-tabs-list li a {
  display: block;
  text-decoration: none;
  padding: 0.5em 0.6em;
  line-height: 1.3em;
  height: 1%;
}
div.vertical-tabs ul.vertical-tabs-list li a:focus {
  position: relative;
  z-index: 5;
}
div.vertical-tabs ul.vertical-tabs-list li a:hover {
  text-decoration: none;
}
div.vertical-tabs ul.vertical-tabs-list li.selected {
  background: #fff;
  border-right-width: 0;
  position: relative;
}
div.vertical-tabs ul.vertical-tabs-list li.selected a:focus {
  outline: 0;
}
div.vertical-tabs ul.vertical-tabs-list li.selected strong,
div.vertical-tabs ul.vertical-tabs-list li.selected small {
  color: #000;
}
div.vertical-tabs ul.vertical-tabs-list .summary {
  display: block;
}
div.vertical-tabs ul.vertical-tabs ul.vertical-tabs-list .summary {
  line-height: normal;
  margin-bottom: 0;
}

/* Back-port only additions. */
div.vertical-tabs ul.vertical-tabs-list li.error {
  border:1px solid #DD7777 !important;
  background: #FFCCCC !important;
}

File

vertical_tabs.css
View source
  1. div.vertical-tabs {
  2. margin: 1em 0 1em 15em;
  3. border: 1px solid #ccc;
  4. display: none; /** Backport only CSS **/
  5. }
  6. div.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 -100% -1px 0;
  14. left: -15em;
  15. float: left;
  16. }
  17. div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane {
  18. margin: 0 !important;
  19. padding: 0 1em;
  20. border: 0;
  21. }
  22. /*div.vertical-tabs .vertical-tabs-panes fieldset.vertical-tabs-pane legend {
  23. display: none;
  24. }*/
  25. /* Layout of each tab */
  26. div.vertical-tabs ul.vertical-tabs-list li {
  27. background: #eee;
  28. border: 1px solid #ccc;
  29. border-top: 0;
  30. padding: 0;
  31. margin: 0;
  32. height: 1%;
  33. }
  34. div.vertical-tabs ul.vertical-tabs-list li a {
  35. display: block;
  36. text-decoration: none;
  37. padding: 0.5em 0.6em;
  38. line-height: 1.3em;
  39. height: 1%;
  40. }
  41. div.vertical-tabs ul.vertical-tabs-list li a:focus {
  42. position: relative;
  43. z-index: 5;
  44. }
  45. div.vertical-tabs ul.vertical-tabs-list li a:hover {
  46. text-decoration: none;
  47. }
  48. div.vertical-tabs ul.vertical-tabs-list li.selected {
  49. background: #fff;
  50. border-right-width: 0;
  51. position: relative;
  52. }
  53. div.vertical-tabs ul.vertical-tabs-list li.selected a:focus {
  54. outline: 0;
  55. }
  56. div.vertical-tabs ul.vertical-tabs-list li.selected strong,
  57. div.vertical-tabs ul.vertical-tabs-list li.selected small {
  58. color: #000;
  59. }
  60. div.vertical-tabs ul.vertical-tabs-list .summary {
  61. display: block;
  62. }
  63. div.vertical-tabs ul.vertical-tabs ul.vertical-tabs-list .summary {
  64. line-height: normal;
  65. margin-bottom: 0;
  66. }
  67. /* Back-port only additions. */
  68. div.vertical-tabs ul.vertical-tabs-list li.error {
  69. border:1px solid #DD7777 !important;
  70. background: #FFCCCC !important;
  71. }