Skip to content

Commit

Permalink
rollback unwanted files
Browse files Browse the repository at this point in the history
  • Loading branch information
Mohit Kumar committed Oct 16, 2023
1 parent 38c6b8f commit 8357f0e
Show file tree
Hide file tree
Showing 3 changed files with 72 additions and 1,186 deletions.
104 changes: 12 additions & 92 deletions blocks/table/table.css
Original file line number Diff line number Diff line change
Expand Up @@ -3,6 +3,10 @@ main .table.block h3.table-title {
margin-bottom: 0.5rem;
}

main .table.block .table-title h4 {
color: var(--gray-dark);
}

main .table .table-item {
display: grid;
grid-auto-flow: column;
Expand Down Expand Up @@ -53,6 +57,10 @@ main .table.inner-table .table-item div {
padding: unset;
}

main .table.inner-table table tbody tr:first-of-type {
background: var(--transparent-blue-light-color);
}

main .table.inner-table table td {
font-size: 0.88rem;
line-height: 1.7em;
Expand All @@ -70,6 +78,10 @@ main .table.inner-table table td p {
-webkit-text-size-adjust: none;
}

main .table.inner-table.lastline-leftalign table tr:last-of-type td {
text-align: left;
}

main .table.fixed .table-item {
display: inline-grid;
grid-auto-flow: row;
Expand Down Expand Up @@ -132,96 +144,4 @@ main .multiple-table .flat-table {
main .section .table.block p.table-annotation {
margin-bottom: 2rem;
}
}

/* Text Table varient */
main .table.text-table h3.table-title {
text-transform: uppercase;
border-bottom: 0.1em solid var(--primary);
font-size: var(--heading-font-size-ms);
line-height: 2.4em;
font-weight: var(--font-weight-bold);
margin-bottom: 0.5em;
}

main .table.text-table .table-item {
border: none;
display: block;
}

main .table.text-table .table-item .table-head {
background: var(--white);
padding: 0;
}

main .table.text-table table {
text-align: left;
border-spacing: unset;
display: block;
}

main .table.text-table table tbody {
display: block;
}

main .table.text-table table tr {
display: flex;
flex-direction: column;
padding: 1.2rem 0;
border-bottom: 1px solid var(--transparent-grey-light-color);
}

main .table.text-table table tr td {
color: var(--text-color);
flex-basis: calc(100% - 7.5em);
}

main .table.text-table table tr td h4 {
color: var(--text-color);
font-size: 20px;
font-weight: 700;
line-height: 34px;
}

main .table.text-table table tr td p {
font-size: 14px;
}

main .table.text-table table tr td a {
font-size: 1rem;
line-height: 2rem;
}

main .table.text-table table tr td a .icon {
margin-left: 0.25em;
height: 20px;
width: 24px;
}

main .table.text-table table tr td:first-child {
color: var(--transparent-grey-color);
font-size: 16px;
line-height: 1.5rem;
}

main .table.inner-table table tbody tr:first-of-type {
background: var(--transparent-blue-light-color);
}

main .table.inner-table.lastline-leftalign table tr:last-of-type td {
text-align: left;
}

main .table.block .table-title h4 {
color: var(--gray-dark);
}

@media (min-width: 62rem) {
main .table.text-table table tr {
flex-direction: row;
}

main .table.text-table table tr td:first-child {
flex-basis: 7.5em;
}
}
Loading

0 comments on commit 8357f0e

Please sign in to comment.