X-Git-Url: https://gerrit.onap.org/r/gitweb?a=blobdiff_plain;f=resources%2Fscss%2Fbootstrap-cust%2F_tables.scss;fp=resources%2Fscss%2Fbootstrap-cust%2F_tables.scss;h=dc2e0c2a50841c34dec5d2f3cd0a94841884596d;hb=ca007e933bcd9f63aa77801656ed9dd4142c432c;hp=0000000000000000000000000000000000000000;hpb=42b788b852f0604748828e9e325e4a0f01152c75;p=aai%2Fsparky-fe.git diff --git a/resources/scss/bootstrap-cust/_tables.scss b/resources/scss/bootstrap-cust/_tables.scss new file mode 100644 index 0000000..dc2e0c2 --- /dev/null +++ b/resources/scss/bootstrap-cust/_tables.scss @@ -0,0 +1,40 @@ +.table { + // Cells + > thead, + > tbody, + > tfoot { + > tr { + > th, + > td { + border-top: none; + } + } + } + // Bottom align for column headings + > thead > tr > th { + border-bottom: none; + } + // Account for multiple tbody instances + > tbody + tbody { + border-top: none; + } +} + +.table-striped { + > tbody > tr:nth-of-type( odd ) { + background-color: $background-gray; + } +} + +.table-striped { + > tbody > tr:nth-of-type( even ) { + background-color: $gray; + } +} + +.table-hover { + > tbody > tr:hover { + background-color: $tlv-hover; + cursor: pointer; + } +}