Skip to content

Commit

Permalink
Alternate table row colors
Browse files Browse the repository at this point in the history
  • Loading branch information
michaelglenister committed Mar 15, 2024
1 parent e7b4b1c commit 4973b7d
Showing 1 changed file with 17 additions and 3 deletions.
20 changes: 17 additions & 3 deletions municipal_finance/static/stylesheets/table.scss
Original file line number Diff line number Diff line change
Expand Up @@ -24,7 +24,8 @@ h3 {
font-size: 16px;
}

h4, h5 {
h4,
h5 {
font-size: 14px;
font-weight: bold;
}
Expand Down Expand Up @@ -52,6 +53,7 @@ label {
color: white;
}
}

h1.site-notice {
margin: -1px 0px 0px 140px;
font-size: 16px;
Expand Down Expand Up @@ -80,6 +82,7 @@ label {

li.text {
padding: 7px 0px 0px 0px;

a {
color: white;
text-decoration: underline;
Expand Down Expand Up @@ -176,6 +179,7 @@ label {
float: left;
width: 33%;
}

label {
margin-bottom: 2px;
}
Expand All @@ -195,15 +199,25 @@ label {
padding: 10px;
border-top: 1px solid #ccc;

td, th {
td,
th {
padding: 2px;
white-space: nowrap;
}

tr.item-undefined:nth-child(even) {
background-color: #dddddd;
}

tr.item-undefined:nth-child(odd) {
background-color: #ffffff;
}

.item-heading td {
font-weight: bold;
text-transform: uppercase;
}

.item-subtotal td {
font-weight: bold;
}
Expand Down Expand Up @@ -306,4 +320,4 @@ label {
// prevent boxes from getting in the way
.article-header .downloads {
z-index: 10;
}
}

0 comments on commit 4973b7d

Please sign in to comment.