Skip to content

Commit

Permalink
adds link to data sources for all profile sections
Browse files Browse the repository at this point in the history
  • Loading branch information
alexandersimoes committed Oct 9, 2017
1 parent 07b15df commit 5783f81
Show file tree
Hide file tree
Showing 4 changed files with 15 additions and 4 deletions.
8 changes: 6 additions & 2 deletions oec/assets/scss/elements/_profile.scss
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,11 @@ body.profile {

p.explore_link {
@media all and (max-width: 768px) {
margin-bottom: 13px !important;
margin-bottom: 12px !important;
}
a {
display: inline-block;
margin: 0 0 6px 0;
}
}

Expand Down Expand Up @@ -360,7 +364,7 @@ body.profile {
a {
background-color: #dbb706;
padding: 7px;

display: inline-block;
border-radius: 4px;
color: #fff;
Expand Down
1 change: 1 addition & 0 deletions oec/html/profile/index.html
Original file line number Diff line number Diff line change
Expand Up @@ -194,6 +194,7 @@ <h2>{{ build.title }}</h2>
{% if not build.iframe %}
<p class="explore_link">
<a href="/{{ g.locale }}/visualize/{{ build.build.url() }}" class="deep-link" target="_blank">{{ _('Explore on Visualizations page') }} <i class="fa fa-external-link"></i></a>
<a href="/en/resources/data/" class="deep-link" target="_blank">{{ _('Data Sources') }} <i class="fa fa-external-link"></i></a>
</p>
<div class="share_container">
<div class="share_icons_container">
Expand Down
5 changes: 4 additions & 1 deletion oec/static/css/oec-ltr.css
Original file line number Diff line number Diff line change
Expand Up @@ -1354,8 +1354,11 @@
margin-left: 3px ; }
@media all and (max-width: 768px) {
body.profile article aside p.explore_link {
margin-bottom: 13px !important; }
margin-bottom: 12px !important; }
}
body.profile article aside p.explore_link a {
display: inline-block;
margin: 0 0 6px 0; }
body.profile article aside .share_container {
-webkit-justify-content: center;
-moz-justify-content: center;
Expand Down
5 changes: 4 additions & 1 deletion oec/static/css/oec-rtl.css
Original file line number Diff line number Diff line change
Expand Up @@ -1366,8 +1366,11 @@
-ms-filter: "FlipH"; }
@media all and (max-width: 768px) {
body.profile article aside p.explore_link {
margin-bottom: 13px !important; }
margin-bottom: 12px !important; }
}
body.profile article aside p.explore_link a {
display: inline-block;
margin: 0 0 6px 0; }
body.profile article aside .share_container {
-webkit-justify-content: center;
-moz-justify-content: center;
Expand Down

0 comments on commit 5783f81

Please sign in to comment.