Skip to content

Commit

Permalink
CSS fixes; add bash script for rebuilding fixtures
Browse files Browse the repository at this point in the history
  • Loading branch information
philipbelesky committed Jun 27, 2017
1 parent 192d2ef commit 8f504e0
Show file tree
Hide file tree
Showing 3 changed files with 10 additions and 3 deletions.
6 changes: 6 additions & 0 deletions bin/rebuild_fixtures.sh
Original file line number Diff line number Diff line change
@@ -0,0 +1,6 @@
#!/usr/bin/env bash

dj loaddata ./data/fixtures/completed_demo.json
dj migrate
dj checkpreferences
dj dumpdata --natural-foreign --natural-primary -e options -e sessions -e contenttypes --format=json -o data/fixtures/completed_demo.json
4 changes: 3 additions & 1 deletion tabbycat/templates/scss/components/diversity-highlights.scss
Original file line number Diff line number Diff line change
Expand Up @@ -108,12 +108,15 @@
path.gender-nm {
fill: $female;
}

path.gender-male {
fill: $male;
}

path.gender-other {
fill: $unknown;
}

path.gender-other {
fill: $other;
}
Expand Down Expand Up @@ -167,7 +170,6 @@ path.gender-other {
}
}


// For D3
path.region-0 {
fill: $region-cat-0;
Expand Down
3 changes: 1 addition & 2 deletions tabbycat/templates/scss/modules/typography.scss
Original file line number Diff line number Diff line change
Expand Up @@ -4,8 +4,7 @@
// Primary Typeface
@font-face {
font-family: 'LatoLatinWeb';
src: url('/static/fonts/lato-normal.woff2') format('woff2'),
url('/static/fonts/lato-normal.woff') format('woff');
src: url('/static/fonts/lato-normal.woff2') format('woff2'), url('/static/fonts/lato-normal.woff') format('woff');
font-weight: normal;
font-style: normal;
text-rendering: optimizeLegibility;
Expand Down

0 comments on commit 8f504e0

Please sign in to comment.