Skip to content

Commit

Permalink
Tweak the trackers index page
Browse files Browse the repository at this point in the history
  • Loading branch information
nono committed Jul 24, 2018
1 parent a3f11c2 commit f01d47a
Show file tree
Hide file tree
Showing 2 changed files with 14 additions and 20 deletions.
4 changes: 0 additions & 4 deletions app/assets/stylesheets/parts/content.scss
Original file line number Diff line number Diff line change
Expand Up @@ -10,10 +10,6 @@ body#comments-update #contents > ul > li#comment_new,
body#comments-show #contents > ul > li.comment,
body#wiki_pages-revision #contents,
body#news-revision #contents,
body#dashboard-index #contents table,
body#trackers-index #contents table,
body#applications-index table,
body#registrations-edit table,
body#boards-show #contents,
body#stylesheets-edit #contents,
body#wiki_pages-changes #contents,
Expand Down
30 changes: 14 additions & 16 deletions app/assets/stylesheets/parts/tables.scss
Original file line number Diff line number Diff line change
Expand Up @@ -6,34 +6,32 @@ body#dashboard-index #contents table,
body#trackers-index #contents table,
body#applications-index table,
body#registrations-edit table {
display: inline-block;
border-collapse: collapse;
border-radius: 0;
width: 100%;
margin-bottom: 1rem;
padding: 0;
clear: right;
border-collapse: collapse;
border: 0;
font-size: 0.8rem;

th {
background: $C_CLAIR;
}
tr {
width: 100%;
border-bottom: 1px solid $C_INTER;
&:last-of-type {
border-bottom: none;
&:nth-child(even) {
background: $C_CLAIR;
}
&:hover {
background: $C_BD1;
}
}
th {
background: $C_BD3;
}
td,
th {
border-right: 1px solid $C_INTER;
&:last-of-type {
border-right: none;
}
padding: 0.25rem;
&.date {
white-space: nowrap;
}
&.number {
text-align: right;
padding-right: 2px;
}
}
a[href] {
Expand Down

0 comments on commit f01d47a

Please sign in to comment.