-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
4f4d881
commit 96fb847
Showing
39 changed files
with
2,572 additions
and
2,115 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,6 +1,5 @@ | ||
module.exports = { | ||
plugins: { | ||
tailwindcss: {}, | ||
autoprefixer: {}, | ||
'@tailwindcss/postcss': {}, | ||
}, | ||
} |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,80 @@ | ||
.table-container { | ||
width: 100%; | ||
overflow-x: auto; | ||
border-radius: 0.5rem; | ||
|
||
&:focus { | ||
outline: 2px solid var(--brand-outline-color); | ||
} | ||
|
||
&[data-freeze-header] { | ||
max-height: 100vh; | ||
|
||
thead td, | ||
thead th { | ||
position: sticky; | ||
top: 0; | ||
z-index: 10; | ||
background: inherit; | ||
} | ||
} | ||
|
||
&[data-freeze-column] { | ||
td:first-child, | ||
th:first-child { | ||
position: sticky; | ||
left: 0; | ||
z-index: 10; | ||
background: inherit; | ||
} | ||
} | ||
|
||
&[data-freeze-header][data-freeze-column] { | ||
thead th:first-child { | ||
z-index: 20; | ||
} | ||
} | ||
} | ||
|
||
.table { | ||
isolation: isolate; | ||
height: 100%; | ||
min-width: 100%; | ||
border-collapse: separate; | ||
border-spacing: 0; | ||
|
||
tr { | ||
height: 52px; | ||
background-color: var(--color-brand-800); | ||
} | ||
|
||
tbody tr { | ||
&:nth-child(odd) { | ||
background-color: var(--color-brand-700); | ||
} | ||
|
||
&:nth-child(even) { | ||
background-color: var(--color-brand-800); | ||
} | ||
} | ||
|
||
td, | ||
th { | ||
padding-inline: 1.25rem; | ||
text-align: left; | ||
font-weight: normal; | ||
white-space: nowrap; | ||
|
||
&:first-child { | ||
padding-left: 2.5rem; | ||
} | ||
|
||
&:last-child { | ||
padding-right: 2.5rem; | ||
} | ||
} | ||
|
||
thead th { | ||
border-bottom: 1px solid var(--color-brand-500); | ||
} | ||
} |
Oops, something went wrong.