Skip to content

Commit

Permalink
Use JSON icon for GeoJSON format (#2288)
Browse files Browse the repository at this point in the history
* Use JSON icon for GeoJSON format

* Update CHANGELOG.txt

* Update dkan_dataset.css

* Update css for geojson icon
  • Loading branch information
dafeder authored and janette committed Dec 19, 2017
1 parent f69f6a1 commit dc6487c
Show file tree
Hide file tree
Showing 2 changed files with 7 additions and 1 deletion.
1 change: 1 addition & 0 deletions CHANGELOG.txt
Original file line number Diff line number Diff line change
@@ -1,5 +1,6 @@
7.x-1.14.1
----------
- #2288 Use geojson icon for GeoJSON files in listings
- #2283 Share MySQL Credentials With Docker Containers
- #2273 Remove dkan_workflow_permissions dependency
- #2275 Docker Proxy Config Updates
Expand Down
7 changes: 6 additions & 1 deletion modules/dkan/dkan_dataset/css/dkan_dataset.css
Original file line number Diff line number Diff line change
Expand Up @@ -462,7 +462,8 @@ li .heading:hover {
background-color: blue;
}
.label[data-format=json],
.label[data-format*=json] {
.label[data-format*=json],
.label[data-format=geojson] {
background-color: #ef7100;
}
.label[data-format=xml],
Expand Down Expand Up @@ -572,6 +573,10 @@ li .heading:hover {
content: "\e651";
color: #ef7100;
}
.format-label[data-format=geojson]:before {
content: "\e923";
color: #ef7100;
}
.format-label[data-format=pdf]:before {
content: "\e67b";
color: #e0051e;
Expand Down

0 comments on commit dc6487c

Please sign in to comment.