Skip to content

Instantly share code, notes, and snippets.

Show Gist options
  • Save ipokkel/881f11984bd7c92ff90ab278d6c67f02 to your computer and use it in GitHub Desktop.
Save ipokkel/881f11984bd7c92ff90ab278d6c67f02 to your computer and use it in GitHub Desktop.
/* Custom styling for the highlight level of the level comparison table */
/* Apply borders to the highlighted column */
.pmpro_advanced_levels-compare_table th.pmpro_level-highlight,
.pmpro_advanced_levels-compare_table td.pmpro_level-highlight {
border-left: 6px solid #00d084;
border-right: 6px solid #00d084;
}
/* Add border to the top of the highlighted column */
.pmpro_advanced_levels-compare_table thead th.pmpro_level-highlight:first-of-type {
border-top: 6px solid #00d084;
}
/* Add border to the bottom of the highlighted column */
.pmpro_advanced_levels-compare_table tfoot td.pmpro_level-highlight:last-of-type {
border-bottom: 6px solid #00d084;
}
/* Ensure the borders are not overlapping or causing display issues */
.pmpro_advanced_levels-compare_table {
border-collapse: separate;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment