You are here

horizontal-tabs.css in Field Group 7

div.horizontal-tabs {
  margin: 0 0 1em 0; /* LTR */
  padding: 0;
  border: 1px solid #ccc;
  position: relative; /* IE6/7 */
}

.horizontal-tabs ul.horizontal-tabs-list {
  display: inline-block;
  margin: 0;
  border: 0;
  padding: 0px;
  position: relative; /* IE6 */
  list-style: none;
  list-style-image: none; /* IE6 */
  background-color: #dedede;
  border-right: 1px solid #dedede; /* LTR */
  width: 100%;
  height: auto;
  clear: both;
}

.horizontal-tabs fieldset.horizontal-tabs-pane {
  padding: 0 1em;
  border: 0;
}

fieldset.horizontal-tabs-pane > legend,
fieldset.vertical-tabs-pane fieldset.horizontal-tabs-pane > legend {
  display: none;
}

/* Layout of each tab */
.horizontal-tabs ul.horizontal-tabs-list li {
  background: #eee;
  border-right: 1px solid #ccc; /* LTR */
  padding: 1px;
  padding-top: 0;
  margin: 0;
  min-width: 5em; /* IE7 */
  float: left; /* LTR */
}
.horizontal-tabs ul.horizontal-tabs-list li.selected {
  background-color: #fff;
  padding: 0 0 1px 0;
}
.horizontal-tabs ul.horizontal-tabs-list li a {
  display: block;
  text-decoration: none;
  padding: 0.5em 0.6em;
}
.horizontal-tabs ul.horizontal-tabs-list li a:hover {
  outline: none;
  background-color: #ededdd;
}
.horizontal-tabs ul.horizontal-tabs-list li:hover,
.horizontal-tabs ul.horizontal-tabs-list li:focus {
  background-color: #ddd;
}
.horizontal-tabs ul.horizontal-tabs-list :focus {
  outline: none;
}
.horizontal-tabs ul.horizontal-tabs-list li a:focus strong,
.horizontal-tabs ul.horizontal-tabs-list li a:active strong,
.horizontal-tabs ul.horizontal-tabs-list li a:hover strong {
  text-decoration: none;
  outline: none;
}
.horizontal-tabs ul.horizontal-tabs-list li a,
.horizontal-tabs ul.horizontal-tabs-list li.selected a {
  display: block;
  text-decoration: none;
  padding: 0.5em 0.6em 0.3em 0.6em;
  position:relative;
  top: 0px;
}
.horizontal-tabs ul.horizontal-tabs-list .selected strong {
  color: #000;
}
.horizontal-tabs ul.horizontal-tabs-list .summary {
  display: block;
}
.horizontal-tabs ul.horizontal-tabs ul.horizontal-tabs-list .summary {
  line-height: normal;
  margin-bottom: 0;
}

/**
 * tab content
 */
div.field-group-htabs-wrapper .field-group-format-wrapper {
  clear: both;
  padding: 0 0 0.6em;
}
/*hide*/
.horizontal-tabs .horizontal-tab-hidden {
  display: block;
  position: absolute;
  top: -100000px;
  width: 100%;
}

File

horizontal-tabs/horizontal-tabs.css
View source
  1. div.horizontal-tabs {
  2. margin: 0 0 1em 0; /* LTR */
  3. padding: 0;
  4. border: 1px solid #ccc;
  5. position: relative; /* IE6/7 */
  6. }
  7. .horizontal-tabs ul.horizontal-tabs-list {
  8. display: inline-block;
  9. margin: 0;
  10. border: 0;
  11. padding: 0px;
  12. position: relative; /* IE6 */
  13. list-style: none;
  14. list-style-image: none; /* IE6 */
  15. background-color: #dedede;
  16. border-right: 1px solid #dedede; /* LTR */
  17. width: 100%;
  18. height: auto;
  19. clear: both;
  20. }
  21. .horizontal-tabs fieldset.horizontal-tabs-pane {
  22. padding: 0 1em;
  23. border: 0;
  24. }
  25. fieldset.horizontal-tabs-pane > legend,
  26. fieldset.vertical-tabs-pane fieldset.horizontal-tabs-pane > legend {
  27. display: none;
  28. }
  29. /* Layout of each tab */
  30. .horizontal-tabs ul.horizontal-tabs-list li {
  31. background: #eee;
  32. border-right: 1px solid #ccc; /* LTR */
  33. padding: 1px;
  34. padding-top: 0;
  35. margin: 0;
  36. min-width: 5em; /* IE7 */
  37. float: left; /* LTR */
  38. }
  39. .horizontal-tabs ul.horizontal-tabs-list li.selected {
  40. background-color: #fff;
  41. padding: 0 0 1px 0;
  42. }
  43. .horizontal-tabs ul.horizontal-tabs-list li a {
  44. display: block;
  45. text-decoration: none;
  46. padding: 0.5em 0.6em;
  47. }
  48. .horizontal-tabs ul.horizontal-tabs-list li a:hover {
  49. outline: none;
  50. background-color: #ededdd;
  51. }
  52. .horizontal-tabs ul.horizontal-tabs-list li:hover,
  53. .horizontal-tabs ul.horizontal-tabs-list li:focus {
  54. background-color: #ddd;
  55. }
  56. .horizontal-tabs ul.horizontal-tabs-list :focus {
  57. outline: none;
  58. }
  59. .horizontal-tabs ul.horizontal-tabs-list li a:focus strong,
  60. .horizontal-tabs ul.horizontal-tabs-list li a:active strong,
  61. .horizontal-tabs ul.horizontal-tabs-list li a:hover strong {
  62. text-decoration: none;
  63. outline: none;
  64. }
  65. .horizontal-tabs ul.horizontal-tabs-list li a,
  66. .horizontal-tabs ul.horizontal-tabs-list li.selected a {
  67. display: block;
  68. text-decoration: none;
  69. padding: 0.5em 0.6em 0.3em 0.6em;
  70. position:relative;
  71. top: 0px;
  72. }
  73. .horizontal-tabs ul.horizontal-tabs-list .selected strong {
  74. color: #000;
  75. }
  76. .horizontal-tabs ul.horizontal-tabs-list .summary {
  77. display: block;
  78. }
  79. .horizontal-tabs ul.horizontal-tabs ul.horizontal-tabs-list .summary {
  80. line-height: normal;
  81. margin-bottom: 0;
  82. }
  83. /**
  84. * tab content
  85. */
  86. div.field-group-htabs-wrapper .field-group-format-wrapper {
  87. clear: both;
  88. padding: 0 0 0.6em;
  89. }
  90. /*hide*/
  91. .horizontal-tabs .horizontal-tab-hidden {
  92. display: block;
  93. position: absolute;
  94. top: -100000px;
  95. width: 100%;
  96. }