.table-widget {
display: flex;
flex-direction: column;
gap: 48px;
}
.table-widget .titles {
display: flex;
flex-direction: column;
gap: 24px;
}
.table-widget .heading {
color: var(--Gray-Gray-700, #DDD);
font-family: 'Urbanist', sans-serif;
font-size: 80px;
font-style: normal;
font-weight: 900;
line-height: 115%;
margin: 0;
}
.table-widget .subtitle {
color: var(--Gray-Gray-600, #999);
font-family: 'Urbanist', sans-serif;
font-size: 32px;
font-style: normal;
font-weight: 400;
line-height: 130%;
margin: 0;
}
.table-widget__tabs-nav-wrapper {
position: relative;
overflow-x: auto;
overflow-y: hidden;
scrollbar-width: none;
-ms-overflow-style: none;
cursor: grab;
-webkit-overflow-scrolling: touch;
touch-action: pan-y;
}
.table-widget__tabs-nav-wrapper::-webkit-scrollbar {
display: none;
}
.table-widget__tabs-nav-wrapper.is-dragging {
cursor: grabbing;
}
.table-widget__tabs-nav {
display: inline-flex;
flex-direction: row;
flex-wrap: nowrap;
gap: 24px;
width: max-content;
min-width: 100%;
padding-bottom: 4px;
user-select: none;
-webkit-user-select: none;
-ms-user-select: none;
}
.table-widget__tab-nav-item {
display: inline-flex;
align-items: center;
justify-content: center;
padding: 8px 24px;
border-radius: 30px;
border: none;
font-size: 20px;
font-weight: 700;
font-family: 'Hanken Grotesk', sans-serif;
cursor: pointer;
color: var(--Gray-Gray-700, #DDD);
background: var(--Gray-Gray-100, #161616);
transition: 0.3s;
flex: 0 0 auto;
}
.table-widget__tab-nav-item:hover {
color: var(--Default-White, #FFF);
background: var(--Gray-Gray-400, #484848);
transition: 0.3s;
}
.table-widget__tab-nav-item.active {
color: var(--Default-Black, #000);
background: var(--Default-White, #FFF);
transition: 0.3s;
}
.table-widget__tabs-content {
position: relative;
}
.table-widget__tab-content {
display: none;
}
.table-widget__tab-content.active {
display: block;
}
.table-widget__wrapper {
display: flex;
flex-direction: column;
gap: 0;
}
.table-widget__header {
border-radius: 8px 8px 0 0;
}
.table-widget__body-wrapper {
max-height: 770px;
overflow-y: auto;
overflow-x: auto;
}
.table-widget__body {
border-radius: 0 0 8px 8px;
}
.table-widget__body .first-row-mobile {
display: none;
}
.table-widget__body tr:nth-child(odd),
.table-widget__body tr:nth-child(odd) td {
background: var(--Gray-Gray-200, #242424);
}
.table-widget__body tr:nth-child(even),
.table-widget__body tr:nth-child(even) td {
background: var(--Gray-Gray-100, #161616);
}
.table-widget__body-wrapper::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.table-widget__body-wrapper::-webkit-scrollbar-track {
background: var(--Gray-Gray-500, #606060);
}
.table-widget__body-wrapper::-webkit-scrollbar-thumb {
background: var(--Color-Palette-Blue-Blue-300, #92D8F0);
transition: 0.3s;
}
.table-widget__body-wrapper::-webkit-scrollbar-thumb:hover {
background: var(--Gray-Gray-600, #999);
transition: 0.3s;
}
.table-widget__body-wrapper::-webkit-scrollbar-corner {
background: var(--Gray-Gray-500, #606060);
}
.table-widget__table {
width: 100%;
border-collapse: collapse;
margin: 0;
font-size: 14px;
overflow: hidden;
font-style: normal;
font-weight: 400;
line-height: 150%;
font-family: 'Hanken Grotesk', sans-serif;
background-color: var(--Gray-Gray-100, #161616);
transition: 0.3s;
}
.table-widget__table td {
padding: 12px 24px;
border: none;
align-content: center;
}
.table-widget__table td .table-content {
display: flex;
flex-direction: column;
gap: 16px;
}
.table-widget__table tr:hover {
background: var(--Gray-Gray-400, #484848);
transition: 0.3s;
}
.table-widget__header tr:first-child,
.table-widget__header tr:first-child td {
background: var(--Gray-Gray-200, #242424);
}
.table-widget__table tr.first-row {
font-size: 16px;
font-weight: 700;
border-bottom: 1px solid var(--Color-Palette-Blue-Blue-300, #92D8F0);
border-collapse: separate !important;
}
.table-widget__table tr.first-row:hover {
background-color: var(--Gray-Gray-100, #161616);
font-size: 16px;
font-weight: 700;
}
.table-widget__table tr.first-row td p {
color: var(--Gray-Gray-600, #999);
}
.table-widget__table td .table-content p {
color: var(--Default-White, #FFF);
margin: 0;
line-height: 150%;
} .table-widget__table tr td .table-content a {
font-weight: 700;
color: var(--Default-White, #FFF);
text-decoration: none;
transition: 0.3s;
}
.table-widget__table tr:hover td .table-content a {
font-weight: 700;
color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
transition: 0.3s;
}
.table-widget__table tr td .table-content a:hover {
color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
transition: 0.3s;
}
.table-widget__table[data-columns="1"] td {
width: 100%;
}
.table-widget__table[data-columns="2"] td {
width: 50%;
}
.table-widget__table[data-columns="3"] td {
width: 33.333%;
}
.table-widget__table[data-columns="4"] td {
width: 25%;
}
.table-widget__table[data-columns="5"] td {
width: 20%;
}
@media (max-width: 768px) {
.table-widget {
gap: 32px;
}
.table-widget .titles {
gap: 16px;
}
.table-widget .heading {
font-size: 32px;
font-family: 'Urbanist', sans-serif;
font-style: normal;
font-weight: 900;
line-height: 115%;
}
.table-widget .subtitle {
font-size: 24px;
font-weight: 400;
line-height: 130%;
}
.table-widget__header {
display: none;
}
.table-widget__body .first-row-mobile {
display: table-row;
}
.table-widget__body {
border-radius: 8px;
overflow: hidden;
}
.table-widget__body tr:nth-child(odd),
.table-widget__body tr:nth-child(odd) td {
background: var(--Gray-Gray-100, #161616);
}
.table-widget__body tr:nth-child(even),
.table-widget__body tr:nth-child(even) td {
background: var(--Gray-Gray-200, #242424);
}
.table-widget__tabs-content {
margin-right: -16px;
}
.table-widget__tabs-nav {
gap: 12px;
}
.table-widget__tab-nav-item {
padding: 10px 15px;
font-size: 14px;
text-align: center;
}
.table-widget__body-wrapper {
max-height: 962px;
overflow-x: scroll;
overflow-y: auto;
-webkit-overflow-scrolling: touch;
scrollbar-width: thin;
scrollbar-color: var(--Color-Palette-Blue-Blue-300, #92D8F0) var(--Gray-Gray-500, #606060);
}
.table-widget__body-wrapper::-webkit-scrollbar {
width: 4px;
height: 4px;
}
.table-widget__body-wrapper::-webkit-scrollbar-track {
background: var(--Gray-Gray-500, #606060);
}
.table-widget__body-wrapper::-webkit-scrollbar-thumb {
background: var(--Color-Palette-Blue-Blue-300, #92D8F0);
transition: 0.3s;
}
.table-widget__body-wrapper::-webkit-scrollbar-thumb:hover {
background: var(--Gray-Gray-600, #999);
transition: 0.3s;
}
.table-widget__body-wrapper::-webkit-scrollbar-corner {
background: var(--Gray-Gray-500, #606060);
}
.table-widget__body-wrapper::-webkit-scrollbar-button {
display: none;
}
.table-widget__table td {
width: 228px !important;
min-width: 228px;
}
.table-widget__body tr:hover,
.table-widget__body tr:hover td {
background: inherit;
}
.table-widget__table tr td .table-content a {
color: var(--Color-Palette-Yellow-Yellow-500, #FFC432);
}
.table-widget__table tr td .table-content a:hover {
color: var(--Color-Palette-Blue-Blue-500, #25B1E1);
}
}