Skip to content
Snippets Groups Projects
Commit 4cd738bc authored by wwang's avatar wwang Committed by bouhaddouzay
Browse files

[US TRTL-616] Redesign of tables

parent 5f0522b3
No related branches found
No related tags found
No related merge requests found
...@@ -239,8 +239,7 @@ $row-padding: 0.8rem; ...@@ -239,8 +239,7 @@ $row-padding: 0.8rem;
// table css // table css
.vitamui-table { .vitamui-table {
background-color: $white; background-color: var(--vitamui-background);
border: 1px solid var(--vitamui-grey-400);
border-radius: 5px; border-radius: 5px;
} }
...@@ -251,6 +250,9 @@ $row-padding: 0.8rem; ...@@ -251,6 +250,9 @@ $row-padding: 0.8rem;
font-size: 14px; font-size: 14px;
font-weight: 700; font-weight: 700;
color: var(--vitamui-grey-700); color: var(--vitamui-grey-700);
margin-bottom: 0.3rem;
border-bottom: 2px solid var(--vitamui-grey-300);
background-color: white;
i { i {
color: var(--vitamui-grey-600); color: var(--vitamui-grey-600);
...@@ -282,12 +284,14 @@ $row-padding: 0.8rem; ...@@ -282,12 +284,14 @@ $row-padding: 0.8rem;
} }
.vitamui-row { .vitamui-row {
border-top: 1px solid var(--vitamui-grey-400);
padding: $row-padding; padding: $row-padding;
margin-bottom: 0.3rem;
background-color: white;
&:hover { &:hover {
background-color: var(--vitamui-grey-300); background-color: transparent;
box-shadow: 0px 0px 8px rgba(var(--vitamui-grey-600-rgb), 0.24);
.actions > div { .actions > div {
visibility: visible; visibility: visible;
opacity: 1; opacity: 1;
...@@ -328,7 +332,6 @@ $row-padding: 0.8rem; ...@@ -328,7 +332,6 @@ $row-padding: 0.8rem;
// Subtable css // Subtable css
.vitamui-subtable { .vitamui-subtable {
background-color: var(--vitamui-background); background-color: var(--vitamui-background);
border-top: 1px solid var(--vitamui-grey-400);
.vitamui-table-head { .vitamui-table-head {
height: 55px; height: 55px;
...@@ -348,14 +351,13 @@ $row-padding: 0.8rem; ...@@ -348,14 +351,13 @@ $row-padding: 0.8rem;
.vitamui-row { .vitamui-row {
height: 55px; height: 55px;
border-top: 1px solid var(--vitamui-grey-400);
&:hover { &:hover {
background-color: var(--vitamui-grey-300); background-color: transparent;
} }
&:last-of-type { &:last-of-type {
border-bottom: 1px solid var(--vitamui-grey-400); //border-bottom: 1px solid var(--vitamui-grey-400);
} }
} }
} }
......
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment