Skip to content
This repository was archived by the owner on May 16, 2019. It is now read-only.

Commit 9af4996

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into types
# Conflicts: # js/templates/itemShort.html
2 parents c1be57e + e85cc4b commit 9af4996

File tree

2 files changed

+28
-17
lines changed

2 files changed

+28
-17
lines changed

css/obBase.css

Lines changed: 15 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -477,7 +477,8 @@ form {
477477
flex-grow: 1;
478478
}
479479

480-
.listingType {
480+
.listingType,
481+
.listingType.tooltip {
481482
background-color: #252525;
482483
color: #ffffff;
483484
position: absolute;
@@ -494,14 +495,23 @@ form {
494495
background: #252525;
495496
height: 18px;
496497
width: 18px;
497-
right: 15px;
498+
right: 39px;
498499
padding: 10px;
499500
position: absolute;
500501
text-align: center;
501-
top: 137px;
502+
top: 217px;
502503
transition: top .3s cubic-bezier(0, 0, 0.2, 1);
503504
border-radius: 32px;
504-
opacity: .95;
505+
opacity: 1;
506+
}
507+
508+
.listingsDoesNotShipToYouSlash {
509+
position: absolute;
510+
top: 3px;
511+
color: #DE2A14;
512+
font-size: 26px;
513+
left: 14px;
514+
font-weight: 700;
505515
}
506516

507517
.noPointerEvents {
@@ -568,7 +578,7 @@ form {
568578

569579
.userPage-subViews .gridItem:hover > .listingDoesNotShipToYou,
570580
.homeView .gridItem:hover > .listingDoesNotShipToYou {
571-
top: 140px;
581+
top: 203px;
572582
opacity: 1;
573583
}
574584

js/templates/itemShort.html

Lines changed: 13 additions & 12 deletions
Original file line numberDiff line numberDiff line change
@@ -8,10 +8,10 @@
88

99
<div class="gridItem clearfix custCol-border">
1010

11-
<div class="itemImg row10 color-secondary custCol-secondary overflowHidden js-item <% if(!shipsToYou){ %>textOpacity25<% } %>" data-id="<%= ob.contract_hash %>">
11+
<div class="itemImg row10 color-secondary custCol-secondary overflowHidden js-item" data-id="<%= ob.contract_hash %>">
1212
<div class="itemImg <% if(ob.cloak){ %> nsfw <% } %>" style="background-image: url(<%= ob.imageURL %>), url(imgs/defaultItem.png);"></div>
1313
</div>
14-
<div class="table <% if(!shipsToYou){ %>textOpacity25<% } %>">
14+
<div class="table">
1515
<div>
1616
<% if(ob.showAvatar) { %>
1717
<div class="thumbnail-small js-avatar tooltip" data-tooltip="<% if(ob.handle) { %><%= ob.handle %><% }else{ %><%= ob.guid %><% } %>" data-handle="<%= ob.handle %>"
@@ -84,21 +84,22 @@
8484

8585
<% if(ob.contract_type){ %><!-- type is not yet implemented -->
8686
<div class="listingType borderRadius3 js-item textOpacity90">
87-
<span class="<% print('listingType'+ob.contract_type) %>">
88-
<% if(ob.contract_type == "PHYSICAL_GOOD"){ %>
89-
<%= polyglot.t('Physical') %>
90-
<% }else if(ob.contract_type == "DIGITAL_GOOD"){ %>
91-
<%= polyglot.t('Digital') %>
92-
<% }else{ %>
93-
<%= polyglot.t('Service') %>
94-
<% } %>
95-
</span>
87+
<span class="<% print('listingType'+ob.contract_type) %>">
88+
<% if(ob.contract_type == "PHYSICAL_GOOD"){ %>
89+
<%= polyglot.t('Physical') %>
90+
<% }else if(ob.contract_type == "DIGITAL_GOOD"){ %>
91+
<%= polyglot.t('Digital') %>
92+
<% }else{ %>
93+
<%= polyglot.t('Service') %>
94+
<% } %>
95+
</span>
9696
</div>
9797
<% } %>
9898

9999
<% if(!shipsToYou && ob.ships_to.length != 0){ %>
100100
<div class="listingDoesNotShipToYou cursorDefault tooltip" data-tooltip="<%= polyglot.t('DoesNotShip') %>">
101-
<span class="ion-minus-circled fontSize15 marginLeft05 positionWrapper" style="color: #DCDCDC" ></span>
101+
<span class="ion-cube fontSize14 marginLeft05 positionWrapper" style="color: #DCDCDC" ></span>
102+
<span class="listingsDoesNotShipToYouSlash">/</span>
102103
</div>
103104
<% } %>
104105

0 commit comments

Comments
 (0)