Skip to content
This repository has been archived by the owner on Aug 9, 2018. It is now read-only.

Commit

Permalink
Add table stylesheet
Browse files Browse the repository at this point in the history
  • Loading branch information
koudaiii committed Mar 19, 2016
1 parent ca0ce8c commit b19de5e
Showing 1 changed file with 36 additions and 0 deletions.
36 changes: 36 additions & 0 deletions app/assets/stylesheets/admin/tables.css.scss
Original file line number Diff line number Diff line change
@@ -0,0 +1,36 @@
@import 'colors';
@import 'dimensions';

div.table-wrapper {
width: 90%;
margin: 0 auto;

div.links {
text-align: right;
padding: $moderate;
}

table {
margin: $moderate auto 0;
border: solid $moderate $very_dark_magenta;
tr {
th {
background-color: $dark_gray;
color: $very_light_gray;
}
th, td { padding: $narrow }
td.email, td.date { font-family: monospase }
td.boolean { text-align: center }
td.actions {
text-align: center;
color: $dark_gray;
}
}
}

table.listing {
width: 100%;
tr:nth-child(even) { background-color: $very_light_gray }
tr:nth-child(odd) { background-color: $light_gray }
}
}

0 comments on commit b19de5e

Please sign in to comment.