Skip to content

Commit

Permalink
Merge branch 'develop' of https://github.com/everexio/ethplorer into …
Browse files Browse the repository at this point in the history
…develop
  • Loading branch information
ArtemKo7v committed Feb 23, 2017
2 parents 0b3926b + 6d06960 commit 54f281f
Show file tree
Hide file tree
Showing 3 changed files with 14 additions and 7 deletions.
12 changes: 12 additions & 0 deletions api/widget.css
Original file line number Diff line number Diff line change
Expand Up @@ -97,6 +97,18 @@
max-width: 80px;
}

.ethplorer-widget a.widget-code-link,
.ethplorer-widget a.widget-code-link:visited,
.ethplorer-widget a.widget-code-link:hover {
color: #47C2FF !important;
display: inline-block;
max-width: 350px;
overflow: hidden;
text-overflow: ellipsis !important;
text-decoration: none !important;
border-bottom: 1px dashed #47C2FF;
}

.ethplorer-widget a.tx-link,
.ethplorer-widget a.tx-link:visited,
.ethplorer-widget a.tx-link:hover {
Expand Down
4 changes: 2 additions & 2 deletions api/widget.js
Original file line number Diff line number Diff line change
Expand Up @@ -83,8 +83,8 @@ ethplorerWidget = {
}else if('undefined' !== typeof(obj.options.getCode) && obj.options.getCode){
var divLink = '<div style="text-align:center;font-size:16px;padding-top:10px;padding-bottom:4px;">';
var popupId = obj.el.attr('id') + '-code';
obj.el.append(divLink + '<a class="tx-link" style="text-decoration-line: underline !important;" href="javascript:void(0)" onclick="ethplorerWidget.getWidgetCode(this);">Get widget code</a></div>');
obj.el.find('.tx-link').data("widget", obj);
obj.el.append(divLink + '<a class="widget-code-link" href="javascript:void(0)" onclick="ethplorerWidget.getWidgetCode(this);">Get widget code</a></div>');
obj.el.find('.widget-code-link').data("widget", obj);
$("body").append('<div id="' + popupId + '" title="Widget code"></div>');
$("#" + popupId).dialog({
'autoOpen': false,
Expand Down
5 changes: 0 additions & 5 deletions index.php
Original file line number Diff line number Diff line change
Expand Up @@ -130,11 +130,6 @@
margin-left: auto;
margin-right: auto;
}
.ethplorer-widget a.tx-link,
.ethplorer-widget a.tx-link:visited,
.ethplorer-widget a.tx-link:hover {
text-decoration: dashed !important;
}
</style>
<div>
<div class="hidden-xs col-sm-1"></div>
Expand Down

0 comments on commit 54f281f

Please sign in to comment.