Skip to content

Instantly share code, notes, and snippets.

@crbdev
Last active January 4, 2023 12:55
Show Gist options
  • Save crbdev/90d78ee67ef3af4453529ee65039cb48 to your computer and use it in GitHub Desktop.
Save crbdev/90d78ee67ef3af4453529ee65039cb48 to your computer and use it in GitHub Desktop.
Styles applied to the GV Table layout when used to create a report card (GravityKit blog)
.gv-container table td {
border:1px solid #444444 !important;
}
.gv-container table {
border-collapse:collapse;
}
.gv-container table td, #customers th {
border: 1px solid #ddd;
padding: 8px;
}
.gv-container table tr:nth-child(even){background-color: #f2f2f2;}
.gv-container table th {
padding-top: 12px;
padding-bottom: 12px;
text-align: left;
background-color: #ccddff;
color: #444444;
}
.gv-container table tfoot {
display:none;
}
.gv-table-single-container table th {
padding-top: 12px;
padding-bottom: 12px;
padding-left:12px;
text-align: left;
background-color: #e6eeff;
color: #444444;
border: 1px solid;
}
.gv-table-single-container table tr:nth-child(even){background-color: #ffffff;}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment