diff --git a/pgml-dashboard/src/components/tables/large/row/row.scss b/pgml-dashboard/src/components/tables/large/row/row.scss index 7ffbc30d3..e69de29bb 100644 --- a/pgml-dashboard/src/components/tables/large/row/row.scss +++ b/pgml-dashboard/src/components/tables/large/row/row.scss @@ -1,45 +0,0 @@ -table.table.table-lg { - tr { - &:first-of-type { - td { - padding-top: 16px; - } - } - - &:hover, &.active { - div.table-cell-content { - background: #{$gray-800}; - } - } - - td { - vertical-align: middle; - padding: 8px 0; - - div.table-cell-content { - background: #{$gray-600}; - padding: 20px 0; - } - - &:first-of-type { - div.table-cell-content { - padding-left: 67px; - } - } - - &:last-of-type { - div.table-cell-content { - padding-right: 67px; - } - } - } - } - - &.selectable { - tbody { - tr:hover { - cursor: pointer; - } - } - } -} diff --git a/pgml-dashboard/src/components/tables/large/row/template.html b/pgml-dashboard/src/components/tables/large/row/template.html index 442ec936e..2d65260c8 100644 --- a/pgml-dashboard/src/components/tables/large/row/template.html +++ b/pgml-dashboard/src/components/tables/large/row/template.html @@ -7,9 +7,7 @@ > <% for column in columns { %> -
- <%+ column %> -
+ <%+ column %> <% } %> diff --git a/pgml-dashboard/src/components/tables/large/table/table.scss b/pgml-dashboard/src/components/tables/large/table/table.scss index 3befa6e55..7ce84f130 100644 --- a/pgml-dashboard/src/components/tables/large/table/table.scss +++ b/pgml-dashboard/src/components/tables/large/table/table.scss @@ -1,8 +1,11 @@ table.table.table-lg { - * { + td, tr, th { border-width: 0; } + border-collapse: separate; + border-spacing: 0 16px; + thead { th { color: #{$slate-shade-100}; @@ -16,4 +19,36 @@ table.table.table-lg { } } } + + tbody { + tr { + &:hover, &.active { + td { + background: #{$gray-800}; + } + } + + td { + background: #{$gray-600}; + vertical-align: middle; + padding: 20px 0; + + &:first-of-type { + padding-left: 67px; + } + } + } + } + + &.selectable { + tbody { + tr:hover { + cursor: pointer; + } + } + } + + .table-cell-content { + height: 100%; + } } pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy