Skip to content

Commit

Permalink
init
Browse files Browse the repository at this point in the history
  • Loading branch information
rise1507 committed Mar 31, 2024
1 parent 08c2bd2 commit f588e3d
Show file tree
Hide file tree
Showing 31 changed files with 24,906 additions and 1 deletion.
3 changes: 3 additions & 0 deletions .gitignore
Original file line number Diff line number Diff line change
@@ -0,0 +1,3 @@
node_modules/
.idea
dist/
10 changes: 9 additions & 1 deletion README.md
Original file line number Diff line number Diff line change
@@ -1 +1,9 @@
# multisig
# TON Multisig UI

```
npm run serve
```

```
npm run build
```
Binary file added assets/close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
336 changes: 336 additions & 0 deletions css/main.css
Original file line number Diff line number Diff line change
@@ -0,0 +1,336 @@
html, body {
font-family: Helvetica, Arial, SansSerif;
height: 100%;
margin: 0;
padding: 0;
line-height: 200%;
}

* {
box-sizing: border-box;
}

a, a:active, a:focus, a:hover {
color: #0088cc;
text-decoration: none;
}

input, select {
font-family: Helvetica, Arial, SansSerif;
text-align: left;
font-size: 14px;
color: black;
border: 1px solid #C0D1D9;
border-radius: 2px;
padding: 10px;

margin-bottom: 20px;
}

select {
-moz-appearance:none; /* Firefox */
-webkit-appearance:none; /* Safari and Chrome */
appearance:none;
}

input::-webkit-date-and-time-value {
text-align: left;
}

select::-webkit-date-and-time-value {
text-align: left;
}

button, .btn {
border: none;
background: none;
/*background-color: #0088cc;*/
font-size: 16px;
color: #0088cc;
border-radius: 40px;
padding: 12px 24px;
line-height: 24px;
font-weight: 600;
cursor: pointer;
flex-shrink: 0;
}


.btn-primary {
border: none;
background: none;
background-color: #0088cc;
font-size: 16px;
color: white;
border-radius: 40px;
padding: 12px 24px;
line-height: 24px;
font-weight: 600;
cursor: pointer;
flex-shrink: 0;
}

button:disabled, .btn:disabled {
opacity: 0.5;
cursor: not-allowed;
}

.screen {
display: flex;
flex-direction: column;
padding-left: 10px;
padding-right: 10px;
}


.testnet-badge {
position: absolute;
left: 0;
top: 0;
width: 100%;
padding-top: 10px;
padding-bottom: 10px;
color: #fff;
background: red;
text-align: center;
font-size: 14px;
font-weight: bold;
}

.testnet-padding {
padding-top: 60px;
}

/**/

.label {
font-weight: bold;
flex-shrink: 0;
}

#multisig_logoutButton {
padding-left: 0;
margin-bottom: 30px;
}

#multisig_createNewOrderButton {
margin-top: 30px;
margin-bottom: 10px;
}

#order_actions {
margin-bottom: 30px;
}

#order_approveButton {
padding-left: 0;
margin-bottom: 10px;
}

/* HEADER */

#header {
display: flex;
flex-direction: row;
align-items: center;
width: 100%;
max-width: 1120px;
min-height: 68px;
padding: 16px;
margin: 0 auto;
justify-content: flex-start;
}

#header_logo {
width: 32px;
height: 32px;
background-image: url(../assets/logo.svg);
background-repeat: no-repeat;
background-position: center;
background-size: contain;
margin-right: 8px;
flex-shrink: 0;
}

#header_title {
flex-shrink: 0;
font-size: 20px;
font-weight: bold;
line-height: 16px;
cursor: pointer;
color: #04060B;
}

#header_grow {
flex-grow: 1;
}

#tonConnectButton {
flex-shrink: 0;
}

/* START SCREEN */

#startScreen button {
margin-top: 20px;
margin-bottom: 20px;
}

/* MAIN SCREEN */

#startScreen, #importScreen {
align-items: center;
justify-content: center;
height: 80%;
}

#import_input {
width: 60%;
}

#multisigScreen, #newOrderScreen, #orderScreen, #newMultisigScreen1, #newMultisigScreen2 {
align-items: center;
}

.panel {
display: flex;
flex-direction: column;
margin-top: 80px;
width: 100%;
max-width: 600px;
}

#newOrderScreen input {
width: 100%;
}

/* MULTISIG SCREEN */

#multisigScreen {
}

#multisig_content {
flex-direction: column;
}

#mainScreen_ordersList {
display: flex;
flex-direction: column;
margin-bottom: 10px;
}

#mainScreen_ordersList div {
color: #0088cc;
padding-top: 8px;
padding-bottom: 8px;
border-bottom: 1px solid #ebebeb;
}

#multisig_error {
color: #ec6471;
}

.multisig_lastOrder {
cursor: pointer;
}

/* ORDER SCREEN */

#orderScreen {
}

#order_content {
flex-direction: column;
}

#order_backButton {
padding-left: 0;
margin-bottom: 30px;
}

#order_error {
color: #ec6471;
}


#order_actionsTitle {
margin-top: 30px;
}

#order_approveNote {
color: #696969;
text-align: center;
}

/* loading */

#loadingScreen {
align-items: center;
justify-content: center;
padding: 20px;
height: 80%;
}

@-webkit-keyframes rotating /* Safari and Chrome */
{
from {
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}

@keyframes rotating {
from {
-ms-transform: rotate(0deg);
-moz-transform: rotate(0deg);
-webkit-transform: rotate(0deg);
-o-transform: rotate(0deg);
transform: rotate(0deg);
}
to {
-ms-transform: rotate(360deg);
-moz-transform: rotate(360deg);
-webkit-transform: rotate(360deg);
-o-transform: rotate(360deg);
transform: rotate(360deg);
}
}

.loading {
margin-top: 20px;
width: 48px;
height: 48px;
border-radius: 50%;
border: 5px solid #1d98dc;
border-left: 5px solid transparent;

-webkit-animation: rotating 1s linear infinite;
-moz-animation: rotating 1s linear infinite;
-ms-animation: rotating 1s linear infinite;
-o-animation: rotating 1s linear infinite;
animation: rotating 1s linear infinite;
}

/* NEW MULTISIG */

.address-input {
display: flex;
flex-direction: row;
align-items: baseline;
width: 100%;
}

.address-input-num {
flex-shrink: 0;
margin-right: 8px;
}

.address-input input {
flex-grow: 1;
}
Binary file added docs/assets/close.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file added docs/assets/logo.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
4 changes: 4 additions & 0 deletions docs/assets/logo.svg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading

0 comments on commit f588e3d

Please sign in to comment.