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

Commit 0b09fe4

Browse files
committed
Merge remote-tracking branch 'refs/remotes/origin/master' into pr/1456
2 parents b17fe1b + 848e662 commit 0b09fe4

File tree

17 files changed

+339
-47
lines changed

17 files changed

+339
-47
lines changed

css/obBase.css

Lines changed: 95 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -477,6 +477,32 @@ form {
477477
flex-grow: 1;
478478
}
479479

480+
.listingType {
481+
background-color: #252525;
482+
color: #ffffff;
483+
position: absolute;
484+
padding: 6px;
485+
top: 40px;
486+
right: 40px;
487+
font-size: 11px;
488+
font-weight: 500;
489+
transition: top .3s cubic-bezier(0, 0, 0.2, 1);
490+
}
491+
492+
.listingDoesNotShipToYou {
493+
background-color: rgba(37, 37, 37, 0.65);
494+
/*border-radius: 20px;*/
495+
height: 20px;
496+
left: 32px;
497+
line-height: 20px;
498+
padding: 8px 4px;
499+
position: absolute;
500+
text-align: center;
501+
top: calc(50% - 32px);
502+
width: 242px;
503+
transition: top .3s cubic-bezier(0, 0, 0.2, 1);
504+
}
505+
480506
.noPointerEvents {
481507
pointer-events: none;
482508
}
@@ -533,6 +559,17 @@ form {
533559
padding-top: 20px;
534560
}
535561

562+
.userPage-subViews .gridItem:hover > .listingType,
563+
.homeView .gridItem:hover > .listingType {
564+
opacity: 1;
565+
top: 26px;
566+
}
567+
568+
.userPage-subViews .gridItem:hover > .listingDoesNotShipToYou,
569+
.homeView .gridItem:hover > .listingDoesNotShipToYou {
570+
top: calc(50% - 46px);
571+
}
572+
536573
.userPage-subViews .gridItem:hover .gridItemControls,
537574
.homeView .gridItem:hover .gridItemControls{
538575
opacity: 1;
@@ -2370,7 +2407,6 @@ div.chatSearchOut .chatSearchIcon {
23702407

23712408
.chatConversationMessageTimestamp {
23722409
font-size: 11px;
2373-
color: #fff;
23742410
opacity: .35;
23752411
font-weight: 500;
23762412
letter-spacing: 0;
@@ -3378,7 +3414,7 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
33783414
padding: 10px 0;
33793415
width: 230px;
33803416
overflow: hidden;
3381-
transform: translateY(-330px);
3417+
transform: translateY(-110%);
33823418
transition: transform 200ms;
33833419
}
33843420

@@ -4045,6 +4081,14 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
40454081
top: 100%;
40464082
}
40474083
4084+
.tooltip.tooltip-box2:hover:after {
4085+
height: auto;
4086+
width: 200px;
4087+
white-space: normal;
4088+
bottom: auto;
4089+
top: 100%;
4090+
}
4091+
40484092
.tooltip.tooltip-box.tooltip-boxUp:hover:after {
40494093
bottom: 120%;
40504094
}
@@ -4261,7 +4305,53 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
42614305
42624306
}
42634307
4264-
/* protect customize controls from custom page styles */
4308+
.violatorTR {
4309+
/* sets triangle to be in the top right corner */
4310+
/* must be given equal height and width properties */
4311+
/* text or icons inside the violator should have positionTopRight and a right and top margin or padding based on the violator size */
4312+
position: absolute;
4313+
top: 0;
4314+
right: 0;
4315+
-webkit-clip-path: polygon(50% 0, 100% 0, 100% 50%);
4316+
z-index: 1; /* this shouldn't need to be higher. Make it the last element in its container */
4317+
text-align: center;
4318+
}
4319+
4320+
.violator1 {
4321+
width: 50px;
4322+
height: 50px;
4323+
background: #215175; /* this should be overridden with a color class */
4324+
color: #fff;
4325+
}
4326+
4327+
.violatorTxt{
4328+
/* use on content of a violator to rotate it to match the violator */
4329+
display: block;
4330+
transform: rotate(45deg);
4331+
}
4332+
4333+
.listingTypeDigital:before {
4334+
color: #EFEF4C;
4335+
content: "\f137";
4336+
font-family: Ionicons;
4337+
font-size: 12px;
4338+
}
4339+
4340+
.listingTypePhysical:before {
4341+
color: #805C17;
4342+
content: "\f318";
4343+
font-family: Ionicons;
4344+
font-size: 12px;
4345+
}
4346+
4347+
.listingTypeService:before {
4348+
color: #DEDEDE;
4349+
content: "\f2ad";
4350+
font-family: Ionicons;
4351+
font-size: 12px;
4352+
}
4353+
4354+
/* protect customize controls from custom page styles */
42654355
#ov1 #customizeControls .labelWrap {
42664356
height: 40px;
42674357
border-radius: 0;
@@ -4517,11 +4607,13 @@ input[type="checkbox"].fieldItem:checked + label .togLabelOff {
45174607
#ov1 .positionBottom {
45184608
position: absolute;
45194609
bottom: 0;
4610+
right: 0;
45204611
}
45214612

45224613
#ov1 .positionTop {
45234614
position: absolute;
45244615
top: 0;
4616+
left: 0;
45254617
}
45264618

45274619
#ov1 .positionTopRight {

imgs/helpdesk-icon.png

20.7 KB
Loading

js/config.js

Lines changed: 5 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -15,16 +15,17 @@ module.exports = {
1515
keyShortcuts: {
1616
undo: 'z',
1717
discover: 'd',
18-
myPage: 'h',
18+
myPage: 't',
1919
customizePage: 'e',
2020
create: 'n',
21-
purchases: 't',
22-
sales: 'y',
21+
purchases: 'k',
22+
sales: 'm',
2323
cases: 'j',
2424
settings: 'g',
2525
addressBar: 'l',
2626
save: 's',
27-
restart: 'r'
27+
refresh: 'r',
28+
restart: 'f'
2829
},
2930

3031
setTestnet: function(testNetBoolean){

js/languages/en-US.json

Lines changed: 6 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -333,6 +333,7 @@
333333
"Avatar": "Avatar",
334334
"AdditionalPaymentData": "Additional payment data",
335335
"AdditionalPaymentDataInfo": "Include name of purchase and order number in payment QR code?",
336+
"ShippableHelp": "This product can be shipped to one of your currently saved addresses. Add more addresses in the Settings/Addresses section to be able to purchase more listings.",
336337
"firewall": {
337338
"Open": "Open",
338339
"Restricted": "Restricted",
@@ -496,7 +497,8 @@
496497
"UpdatingOrder": "Updating your transaction",
497498
"UpdateComplete": "Your transaction update is complete",
498499
"UpdateFailed": "Your transaction update did not complete. Open the transaction and try again",
499-
"UpdateInvalid": "Your transaction update returned invalid data. Open the transaction and try again"
500+
"UpdateInvalid": "Your transaction update returned invalid data. Open the transaction and try again",
501+
"ExportCSV": "Export to CSV"
500502
},
501503
"errorMessages": {
502504
"saveError": "Data could not be saved.",
@@ -517,7 +519,8 @@
517519
"tooManyPhotosBody": "Some or all of your photos were prevented from being uploaded because you would exceeded the maximum allowable amount.",
518520
"badJSON": "The JSON data returned from the server was malformed",
519521
"refundAlreadySent": "The refund has already been successfully sent for this order",
520-
"serverTimeout": "No response was received from the server. It may be unreachable or taking a very long time to respond."
522+
"serverTimeout": "No response was received from the server. It may be unreachable or taking a very long time to respond.",
523+
"noData": "No data is available for the options you have selected."
521524
},
522525
"pageConnectingMessages": {
523526
"listingConnect": "Connecting to listing ${listing}",
@@ -564,6 +567,7 @@
564567
"cases": "Cases",
565568
"notifications": "Notifications",
566569
"settings": "Settings",
570+
"refresh": "Refresh Page",
567571
"restart": "Restart Application",
568572
"about": "About OpenBazaar",
569573
"support": "Support OpenBazaar",

0 commit comments

Comments
 (0)