Skip to content

Commit

Permalink
made some ais
Browse files Browse the repository at this point in the history
  • Loading branch information
yaronvel committed Oct 1, 2016
1 parent 3156662 commit fffbdea
Show file tree
Hide file tree
Showing 7 changed files with 297 additions and 188 deletions.
2 changes: 1 addition & 1 deletion allDeals.js
Original file line number Diff line number Diff line change
Expand Up @@ -98,7 +98,7 @@ var allDealsPage = function(){
$("#all_deals_div").show();
$("#all_deals_table").hide();
$("#all_deals_table_legend").hide();
$("#all_deals_show_legend").click(toggleLegend);
$("#all_deals_show_legend").mouseover(toggleLegend);
makeAllDealsTable();
};

Expand Down
14 changes: 11 additions & 3 deletions dapp-styles/icons/style.css
Original file line number Diff line number Diff line change
Expand Up @@ -253,7 +253,15 @@ a:focus {
}

.item-actions {
background-color: #fff;
background-color: #ffffcc;
color: #33383e;
border-radius: 20px;
display: inline-block;
padding: 0.5em;
}

.item-todo-actions {
background-color: #ccccff;
color: #33383e;
border-radius: 20px;
display: inline-block;
Expand All @@ -269,7 +277,7 @@ a:focus {
}

.item-address {
background-color: #fff;
background-color: #ffffcc;
color: #33383e;
border-radius: 8px;
display: inline-block;
Expand All @@ -286,7 +294,7 @@ a:focus {
}

.item-new-deal {
background-color: #fff;
background-color: #ccccff;
color: #33383e;
border-radius: 20px;
display: block;
Expand Down
4 changes: 2 additions & 2 deletions deals.js
Original file line number Diff line number Diff line change
Expand Up @@ -46,7 +46,7 @@ function NewDealUI(){
icon = "icon-hourglass";
}
else{
action = "Create New Mixing Deal";
action = "Create New Mixing Deal (it is free)";
icon = "icon-star";
}

Expand Down Expand Up @@ -151,7 +151,7 @@ function DealUI(deal){
}
}

var string = "<span class=\"item-box-actions\"><span class=\"item-actions\"><span aria-hidden=\"true\" class=\""
var string = "<span class=\"item-box-actions\"><span class=\"item-todo-actions\"><span aria-hidden=\"true\" class=\""
+ icon +
"\"></span>&nbsp;" + action +"</span></span>";
string = "<button id=\"" + this.actionId() + "\">" + string + "</button>";
Expand Down
Loading

0 comments on commit fffbdea

Please sign in to comment.