vertical-tabs.css

.vertical-tabs {
  margin: 1em 0 1em 15em; /* LTR */
  border: 1px solid #ccc;
}
.vertical-tabs-list {
  float: left; /* LTR */
  width: 15em;
  margin: -1px 0 -1px -15em; /* LTR */
  padding: 0;
  border-top: 1px solid #ccc;
  list-style: none;
}
.vertical-tabs-pane {
  margin: 0;
  border: 0;
}
.vertical-tabs-pane > summary {
  display: none;
}

/* Layout of each tab */
.vertical-tab-button {
  margin: 0;
  padding: 0;
  border: 1px solid #ccc;
  border-top: 0;
  background: #eee;
}
.vertical-tab-button a {
  display: block;
  padding: 0.5em 0.6em;
  text-decoration: none;
}
.vertical-tab-button a:focus strong,
.vertical-tab-button a:active strong,
.vertical-tab-button a:hover strong {
  text-decoration: underline;
}
.vertical-tab-button a:hover {
  outline: 1px dotted;
}
.vertical-tab-button.selected {
  border-right-width: 0; /* LTR */
  background-color: #fff;
}
.vertical-tab-button.selected strong {
  color: #000;
}
.vertical-tab-button .summary {
  display: block;
  margin-bottom: 0;
  line-height: normal;
}

File

drupal/core/misc/vertical-tabs.css
View source
  1. .vertical-tabs {
  2. margin: 1em 0 1em 15em; /* LTR */
  3. border: 1px solid #ccc;
  4. }
  5. .vertical-tabs-list {
  6. float: left; /* LTR */
  7. width: 15em;
  8. margin: -1px 0 -1px -15em; /* LTR */
  9. padding: 0;
  10. border-top: 1px solid #ccc;
  11. list-style: none;
  12. }
  13. .vertical-tabs-pane {
  14. margin: 0;
  15. border: 0;
  16. }
  17. .vertical-tabs-pane > summary {
  18. display: none;
  19. }
  20. /* Layout of each tab */
  21. .vertical-tab-button {
  22. margin: 0;
  23. padding: 0;
  24. border: 1px solid #ccc;
  25. border-top: 0;
  26. background: #eee;
  27. }
  28. .vertical-tab-button a {
  29. display: block;
  30. padding: 0.5em 0.6em;
  31. text-decoration: none;
  32. }
  33. .vertical-tab-button a:focus strong,
  34. .vertical-tab-button a:active strong,
  35. .vertical-tab-button a:hover strong {
  36. text-decoration: underline;
  37. }
  38. .vertical-tab-button a:hover {
  39. outline: 1px dotted;
  40. }
  41. .vertical-tab-button.selected {
  42. border-right-width: 0; /* LTR */
  43. background-color: #fff;
  44. }
  45. .vertical-tab-button.selected strong {
  46. color: #000;
  47. }
  48. .vertical-tab-button .summary {
  49. display: block;
  50. margin-bottom: 0;
  51. line-height: normal;
  52. }