UNPKG

ar-design

Version:

AR Design is a (react | nextjs) ui library.

56 lines (55 loc) 1.27 kB
.ar-tabs > .tabs { display: flex; flex-direction: row; justify-content: flex-start; height: var(--input-height); margin-bottom: 1.5rem; border-bottom: solid 2px var(--gray-200); user-select: none; } .ar-tabs > .tabs > .item { position: relative; display: flex; justify-content: space-between; align-items: center; gap: 1rem; height: 100%; padding: 0 0.75rem; font-weight: 900; cursor: pointer; } .ar-tabs > .tabs > .item > .close-button { display: flex; justify-content: center; align-items: center; background-color: rgba(var(--danger-rgb), 0.25); width: 1rem; height: 1rem; border-radius: var(--border-radius-pill); color: rgba(var(--danger-rgb), 0.5); font-size: 0.75rem; } .ar-tabs > .tabs > .item.selection::before { position: absolute; left: 0; right: 0; bottom: -2px; content: ""; background-color: var(--primary); height: 2px; border-radius: var(--border-radius-pill); } .ar-tabs > .tabs > .item:not(:last-child)::after { position: absolute; top: 50%; transform: translateY(-50%); right: 0; content: ""; background-color: var(--gray-200); width: 2px; height: 12.5px; border-radius: var(--border-radius-pill); } .ar-tabs > .tabs > .item.selection { color: var(--primary); }