Skip to content

Commit

Permalink
Merge pull request #3248 from fecgov/feature/3016-pre-election-report…
Browse files Browse the repository at this point in the history
…ing-dates-tables-template

Feature/3016 pre election reporting dates tables template
  • Loading branch information
patphongs authored Oct 7, 2019
2 parents 31c22d6 + 03177c3 commit f374475
Showing 1 changed file with 11 additions and 15 deletions.
26 changes: 11 additions & 15 deletions fec/fec/static/scss/components/_table-styles.scss
Original file line number Diff line number Diff line change
Expand Up @@ -202,11 +202,11 @@ h3 + .simple-table {
border: 1px solid $gray-light;

&:first-child {
border-left:none;
border-left: none;
}

&:last-child {
border-right:none;
border-right: none;
}
}

Expand All @@ -225,15 +225,14 @@ h3 + .simple-table {

.election-dates-table {
tr {
display: table-row ;
&.row_display {
display: table-row;
}
}

td {
.th_append {
display:none !important;
display: none !important;
}
}

Expand Down Expand Up @@ -262,21 +261,19 @@ h3 + .simple-table {
}

tr.footnote_row {
/*background: $inverse !important;*/

td {
/*background: $inverse !important;*/
border:none !important;
padding-bottom: u(1rem);
&:first-child {
border-right: 1px solid $gray-light !important;
}
a {
border-bottom:1px dotted $gray-dark;
border-bottom: 1px dotted $gray-dark;
}
span {
line-height: u(1.5rem);
font-weight:bold;
font-weight: bold;
}
}
}
Expand All @@ -294,10 +291,6 @@ h3 + .simple-table {

}

th {
/*visibility:collapse;*/
}

/* Hide table headers (but not display: none;, for accessibility) */
thead tr {
position: absolute;
Expand All @@ -313,10 +306,13 @@ h3 + .simple-table {
display: block !important;
}
&.footnote_row {
display:none !important;
display: none !important;
}
/* Hide table headers (but not display: none;, for accessibility) */
&:first-child{
display: none !important;
position: absolute;
top: -9999px;
left: -9999px;
}
}

Expand All @@ -340,7 +336,7 @@ h3 + .simple-table {


tr:nth-child(even) td {
border-bottom:1px solid #aaa
border-bottom: 1px solid #aaa
}

.ftnt_append {
Expand Down

0 comments on commit f374475

Please sign in to comment.