summaryrefslogtreecommitdiffstats
path: root/openecomp-ui/resources/scss/bootstrap-cust/_tables.scss
diff options
context:
space:
mode:
Diffstat (limited to 'openecomp-ui/resources/scss/bootstrap-cust/_tables.scss')
-rw-r--r--openecomp-ui/resources/scss/bootstrap-cust/_tables.scss42
1 files changed, 42 insertions, 0 deletions
diff --git a/openecomp-ui/resources/scss/bootstrap-cust/_tables.scss b/openecomp-ui/resources/scss/bootstrap-cust/_tables.scss
new file mode 100644
index 0000000000..6902914f35
--- /dev/null
+++ b/openecomp-ui/resources/scss/bootstrap-cust/_tables.scss
@@ -0,0 +1,42 @@
+.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;
+ }
+}