:root { --ifx-font-family: "Source Sans 3"; font-family: var(--ifx-font-family, sans-serif); } :host { display: flex; } .tabs { display: flex; font-family: var(--ifx-font-family); } .tabs.horizontal { flex-direction: column; } .tabs.vertical { flex-direction: row; } .tabs-list { display: flex; list-style: none; padding: 0; margin: 0; position: relative; font-weight: 600; } .tabs-list:focus-within .active-border { display: none; } .active-border { content: ""; position: absolute; transition: left 0.3s ease-in-out, width 0.3s ease-in-out, top 0.3s ease-in-out, height 0.3s ease-in-out; } .tabs.horizontal .active-border { bottom: 0; left: 0; height: 2px; background-color: #0A8276; } .tabs.vertical .tabs-list { flex-direction: column; border-bottom: none; } .tabs.vertical .tab-content { padding-top: 0px; padding-left: 32px; } .tab-item { padding: 8px 16px; cursor: pointer; position: relative; } .tab-item:hover { color: #0A8276; } .tab-item:active, .tab-item.active { color: #0A8276; } .tab-item:focus, .tab-item.focus { outline: none; border-radius: 1px; box-shadow: 0 0 0 2px #FFFFFF, 0 0 0 4px #0A8276; } .tab-item:focus + .active-border, .tab-item.focus + .active-border { display: none; } .tab-item.disabled { color: #BFBBBB; pointer-events: none; } .tabs.vertical .tab-item { border-right: 2px solid transparent; min-width: 7em; } .tabs.vertical .active-border { left: 0; top: 0; width: 2px; background-color: #0A8276; } .tab-content { padding-top: 24px; padding-left: 0px; flex-grow: 1; } .tabs.small .tab-item { font-size: 0.875rem; }