Update fontstack to use better system fonts over Helvetecia Neue

This commit is contained in:
Bryan Housel
2017-01-02 18:51:12 -05:00
parent 7e755db28d
commit fc5aea739f
2 changed files with 12 additions and 5 deletions
+8 -2
View File
@@ -11,7 +11,10 @@ html, body {
}
body {
font:normal 12px/1.6667 'Helvetica Neue', Arial, sans-serif;
font: normal 12px/1.6667 -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
sans-serif;
margin:0;
padding:0;
min-width: 768px;
@@ -148,7 +151,10 @@ a:hover {
textarea {
resize: vertical;
font:normal 12px/20px 'Helvetica Neue', Arial, sans-serif;
font:normal 12px/20px -apple-system, BlinkMacSystemFont,
"Segoe UI", "Roboto", "Oxygen", "Ubuntu", "Cantarell",
"Fira Sans", "Droid Sans", "Helvetica Neue", "Arial",
sans-serif;
}
textarea,
+4 -3
View File
@@ -159,12 +159,13 @@ export function uiFieldAddress(field, context) {
.style('width', function (d) { return d.width * 100 + '%'; });
// Update
// setup dropdowns for common address tags
var addrTags = [
'street', 'city', 'state', 'province', 'district',
'subdistrict', 'suburb', 'place', 'postcode'
'city', 'county', 'country', 'district', 'hamlet',
'neighbourhood', 'place', 'postcode', 'province',
'quarter', 'state', 'street', 'subdistrict', 'suburb'
];
// If fields exist for any of these tags, create dropdowns to pick nearby values..
addrTags.forEach(function(tag) {
var nearValues = (tag === 'street') ? getNearStreets
: (tag === 'city') ? getNearCities