Skip to content

Commit

Permalink
Merge pull request #83 from kleros/feat/add-link-escrow-tutorial
Browse files Browse the repository at this point in the history
Feat: add link to escrow tutorial
  • Loading branch information
alcercu authored Nov 3, 2021
2 parents 7eb104d + 400b04f commit 8a157c4
Show file tree
Hide file tree
Showing 26 changed files with 53 additions and 40 deletions.
4 changes: 2 additions & 2 deletions src/bootstrap/app.css
Original file line number Diff line number Diff line change
Expand Up @@ -182,8 +182,8 @@ input[type="file"]:active {
.menu-wrapper {
margin-top: -54px; } }

/* 48em = 768px */
@media (min-width: 48em) {
/* 56em = 896px */
@media (min-width: 56em) {
.App main {
padding: 100px 2em 120px 2em; }
.header {
Expand Down
16 changes: 16 additions & 0 deletions src/bootstrap/app.js
Original file line number Diff line number Diff line change
Expand Up @@ -17,6 +17,7 @@ import AccountInfo from "../containers/account-info";
import { ReactComponent as Kleros } from "../assets/kleros.svg";
import { ReactComponent as Transaction } from "../assets/transaction.svg";
import { ReactComponent as Invoice } from "../assets/invoice.svg";
import { ReactComponent as QuestionIcon } from "../assets/question-circle.svg";

import "./app.css";

Expand Down Expand Up @@ -94,6 +95,21 @@ function Main({ children }) {
New Payment
</Link>
</li>
<li className="menu-transaction">
<a
href={
"https://kleros.gitbook.io/docs/products/escrow/" +
"new-in-progress-kleros-escrow-tutorial"
}
rel="noopener noreferrer"
target="blank"
className='btn-new btn-new-invoice'
style={{border: "none"}}
>
<QuestionIcon className="btn-icon" />
Tutorial
</a>
</li>
</ul>
</div>
</header>
Expand Down
5 changes: 2 additions & 3 deletions src/bootstrap/app.scss
Original file line number Diff line number Diff line change
Expand Up @@ -234,9 +234,8 @@ input[type="file"]:active {
}
}

/* 48em = 768px */

@media (min-width: 48em) {
/* 56em = 896px */
@media (min-width: 56em) {
.App {
main {
padding: 100px 2em 120px 2em;
Expand Down
2 changes: 1 addition & 1 deletion src/components/agreement_fully/agreement-fully.css
Original file line number Diff line number Diff line change
Expand Up @@ -54,7 +54,7 @@
font-size: 14px;
line-height: 18px; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.AgreementFully {
margin: 0 4px; }
.AgreementFully-modal-buttons {
Expand Down
2 changes: 1 addition & 1 deletion src/components/agreement_fully/agreement-fully.scss
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@
}
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.AgreementFully {
margin: 0 4px;
&-modal {
Expand Down
4 changes: 2 additions & 2 deletions src/components/arbitrable-tx-cards/arbitrable-tx-cards.css
Original file line number Diff line number Diff line change
Expand Up @@ -152,8 +152,8 @@
line-height: 60vh;
cursor: pointer; }

/* 48em = 768px */
@media (max-width: 48em) {
/* 56em = 896px */
@media (max-width: 56em) {
.ArbitrableTxCards-h1 {
text-align: center;
font-size: 1.1em;
Expand Down
5 changes: 2 additions & 3 deletions src/components/arbitrable-tx-cards/arbitrable-tx-cards.scss
Original file line number Diff line number Diff line change
Expand Up @@ -197,9 +197,8 @@
}
}

/* 48em = 768px */

@media (max-width: 48em) {
/* 56em = 896px */
@media (max-width: 56em) {
.ArbitrableTxCards {
&-h1 {
text-align: center;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -16,7 +16,7 @@
background: #1e075f;
min-height: 70px; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.DisputeArbitrableTx {
margin: 0 4px; }
.DisputeArbitrableTx-message {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -22,11 +22,11 @@
}
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.DisputeArbitrableTx {
margin: 0 4px;
&-message {
padding: 0 1em;
}
}
}
}
4 changes: 2 additions & 2 deletions src/components/email-form/email-form.css
Original file line number Diff line number Diff line change
Expand Up @@ -39,8 +39,8 @@
.Checkbox {
margin: 1em 1em 2em 0; }

/* 48em = 768px */
@media (max-width: 48em) {
/* 56em = 896px */
@media (max-width: 56em) {
.EmailForm {
padding: 0 15px 10px 15px;
margin: 0 4px; }
Expand Down
5 changes: 2 additions & 3 deletions src/components/email-form/email-form.scss
Original file line number Diff line number Diff line change
Expand Up @@ -53,9 +53,8 @@
margin: 1em 1em 2em 0;
}

/* 48em = 768px */

@media (max-width: 48em) {
/* 56em = 896px */
@media (max-width: 56em) {
.EmailForm {
padding: 0 15px 10px 15px;
margin: 0 4px;
Expand Down
6 changes: 3 additions & 3 deletions src/components/footer/footer.css
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@
padding: 18px 25px;
width: 100%;
margin-top: -60px; }
@media (max-width: 768px) {
@media (max-width: 896px) {
.footer {
display: none; } }
.footer a {
Expand Down Expand Up @@ -34,7 +34,7 @@
width: 18px;
position: relative;
top: 4px; }
@media (max-width: 1130px) {
@media (max-width: 1600px) {
.footer-right-help {
width: 100%; } }
.footer-right-icons {
Expand All @@ -44,6 +44,6 @@
top: 3px; }
.footer-right-icons a {
padding-right: 10px; }
@media (max-width: 1130px) {
@media (max-width: 1600px) {
.footer-right-icons {
display: none; } }
6 changes: 3 additions & 3 deletions src/components/footer/footer.scss
Original file line number Diff line number Diff line change
Expand Up @@ -7,7 +7,7 @@
width: 100%;
margin-top: -60px;

@media (max-width: 768px) {
@media (max-width: 896px) {
display: none;
}

Expand Down Expand Up @@ -46,7 +46,7 @@
top: 4px;
}

@media (max-width: 1130px) {
@media (max-width: 1600px) {
width: 100%;
}
}
Expand All @@ -60,7 +60,7 @@
padding-right: 10px;
}

@media (max-width: 1130px) {
@media (max-width: 1600px) {
display: none;
}
}
Expand Down
2 changes: 1 addition & 1 deletion src/components/footer/index.js
Original file line number Diff line number Diff line change
Expand Up @@ -21,7 +21,7 @@ const Footer = () => (
<div className='footer-right-help'>
<a href="https://t.me/kleros">
<div className="footer-right-help-text">
I need help
I need human help
</div>
<Question className="footer-right-help-icon"/>
</a>
Expand Down
2 changes: 1 addition & 1 deletion src/components/new-arbitrable-tx/new-arbitrable-tx.css
Original file line number Diff line number Diff line change
Expand Up @@ -212,7 +212,7 @@
span.error {
display: none; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.NewArbitrableTx {
border: none;
box-shadow: none;
Expand Down
2 changes: 1 addition & 1 deletion src/components/new-arbitrable-tx/new-arbitrable-tx.scss
Original file line number Diff line number Diff line change
Expand Up @@ -355,7 +355,7 @@ span.error {
display: none;
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.NewArbitrableTx {
border: none;
box-shadow: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -50,7 +50,7 @@
padding-top: 2em;
padding-right: 15%; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.NewEvidenceArbitrableTx {
margin: 0 4px; }
.NewEvidenceArbitrableTx-footer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -70,7 +70,7 @@
}
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.NewEvidenceArbitrableTx {
margin: 0 4px;
&-footer {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -135,7 +135,7 @@
span.error {
display: none; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.NewInvoiceArbitrableTx {
border: none;
box-shadow: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -245,7 +245,7 @@ span.error {
display: none;
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.NewInvoiceArbitrableTx {
border: none;
box-shadow: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -32,7 +32,7 @@
.rangeslider-horizontal .rangeslider__fill {
background-color: #009AFF !important; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.PayOrReimburseArbitrableTx {
width: 100%; }
.PayOrReimburseArbitrableTx-yes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@
}


@media (max-width: 48em) {
@media (max-width: 56em) {
.PayOrReimburseArbitrableTx {
width: 100%;
&-yes {
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -92,7 +92,7 @@
color: #4a4a4a;
font-size: 18px; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.ResumeArbitrableTx {
border: none;
box-shadow: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -169,7 +169,7 @@
}
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.ResumeArbitrableTx {
border: none;
box-shadow: none;
Expand Down
Original file line number Diff line number Diff line change
Expand Up @@ -19,6 +19,6 @@
background: #1e075f;
font-size: 14px; }

@media (max-width: 48em) {
@media (max-width: 56em) {
.SuccessArbitrableTx {
margin: 0 4px; } }
Original file line number Diff line number Diff line change
Expand Up @@ -25,8 +25,8 @@
}
}

@media (max-width: 48em) {
@media (max-width: 56em) {
.SuccessArbitrableTx {
margin: 0 4px;
}
}
}

0 comments on commit 8a157c4

Please sign in to comment.