tabs.css 617 B

12345678910111213141516171819202122232425262728293031323334353637383940
  1. /**
  2. * @file
  3. * Visual styles for tabs.
  4. */
  5. .layout-tabs {
  6. background-color: #79bd8f;
  7. }
  8. .tabs.primary {
  9. display: flex;
  10. flex-wrap: wrap;
  11. margin: 0 0 0.5em;
  12. padding: 0;
  13. list-style: none;
  14. }
  15. .tabs .tab {
  16. margin: 0; /* LTR */
  17. background-color: #e6eee0;
  18. }
  19. [dir=rtl] .tabs .tab {
  20. margin: 0;
  21. }
  22. .tabs .tab.is-active {
  23. background-color: #fff;
  24. }
  25. .tabs a {
  26. display: block;
  27. padding: 0.75rem 1rem;
  28. text-decoration: none;
  29. color: inherit;
  30. background-color: inherit;
  31. }
  32. .tabs a.is-active {
  33. background-color: inherit;
  34. }
  35. .tabs a:focus,
  36. .tabs a:hover {
  37. outline-offset: -5px;
  38. background-color: #fff;
  39. }