Skip to content

Commit

Permalink
[UPDATE] Edit css table
Browse files Browse the repository at this point in the history
  • Loading branch information
muhammadaliii committed Dec 29, 2015
1 parent 6210a24 commit a682759
Show file tree
Hide file tree
Showing 4 changed files with 13 additions and 3 deletions.
6 changes: 5 additions & 1 deletion css/naked.css
Original file line number Diff line number Diff line change
Expand Up @@ -1096,6 +1096,10 @@ table tr,
.table tr {
border-bottom: 1px solid #b4c8e0;
}
table tr.selected td,
.table tr.selected td {
background: #d8e4c8;
}
table tbody tr:last-child,
table tbody tr.last-child,
.table tbody tr:last-child,
Expand Down Expand Up @@ -1166,7 +1170,7 @@ table.hover tr.hover td,
table.hover tr:hover td,
.table.hover tr.hover td,
.table.hover tr:hover td {
background: #f6ebc0;
background: #d8e4c8;
}

@media only screen and (max-width: 1023px) {
Expand Down
2 changes: 1 addition & 1 deletion css/naked.min.css

Large diffs are not rendered by default.

6 changes: 6 additions & 0 deletions scss/include/_table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -33,6 +33,12 @@ table,

tr {
border-bottom: 1px solid #{$table-border-color};

&.selected {
td {
background: #{$table-hover-color};
}
}
}
tbody tr:last-child,
tbody tr.last-child {
Expand Down
2 changes: 1 addition & 1 deletion scss/include/_variables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -111,7 +111,7 @@ $pagination-active-color: $white;
$table-color: $white;
$table-head-color: $white;
$table-stripe-color: adjust-lightness($blue, 52%);
$table-hover-color: adjust-lightness($yellow, 32%);
$table-hover-color: adjust-lightness($green, 42%);
$table-border-color: adjust-lightness($blue, 36%);

// List view color
Expand Down

0 comments on commit a682759

Please sign in to comment.