|
|
|
.udapp {
|
|
|
|
padding: 1em;
|
|
|
|
border: 1px dotted #4D5686;
|
|
|
|
position: relative;
|
|
|
|
box-shadow: 0 0 5px rgba(0, 0, 0, 0.3);
|
|
|
|
box-sizing: border-box;
|
|
|
|
overflow: auto;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp a,
|
|
|
|
.udapp .caveat {
|
|
|
|
color: #7A7AE2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp a:visited {
|
|
|
|
color: #7A7AE2;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp input,
|
|
|
|
.udapp button,
|
|
|
|
.udapp-setup textarea,
|
|
|
|
.udapp-setup button {
|
|
|
|
display: block;
|
|
|
|
width: 100%;
|
|
|
|
padding: 0.6em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
border: 1px solid rgba(0, 0, 0, 0.3);
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp-setup textarea {
|
|
|
|
border-radius: 0;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
height: 7em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp-setup button {
|
|
|
|
background-color: #556DF3;
|
|
|
|
border-color: #556DF3;
|
|
|
|
color: white;
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contract {
|
|
|
|
margin-bottom: 1em;
|
|
|
|
clear: both;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .create {
|
|
|
|
overflow: auto;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .title {
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
padding: 0.2em;
|
|
|
|
background-color: rgba(255, 255, 255, 0.5);
|
|
|
|
display: block;
|
|
|
|
font-weight: bold;
|
|
|
|
padding-right: 2em;
|
|
|
|
word-wrap: break-word;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .title .size {
|
|
|
|
position: absolute;
|
|
|
|
right: 2.2em;
|
|
|
|
top: 0.2em;
|
|
|
|
font-weight: normal;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output {
|
|
|
|
padding: 1em;
|
|
|
|
clear: both;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .constructor > .output {
|
|
|
|
padding-right: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output .error {
|
|
|
|
color: red;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output .result {
|
|
|
|
position: relative;
|
|
|
|
margin-bottom: 3.5em;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .result {
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output .result .returned,
|
|
|
|
.udapp .output .result .value,
|
|
|
|
.udapp .output .result .waiting,
|
|
|
|
.udapp .output .result .gasUsed {
|
|
|
|
padding-right: 2em;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output .result .debugTx {
|
|
|
|
position: absolute;
|
|
|
|
top: 0.4em;
|
|
|
|
right: 1.4em;
|
|
|
|
height: 1.5em;
|
|
|
|
width: 2.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output .result:last-child {
|
|
|
|
margin: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .output:empty {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp-close:before {
|
|
|
|
position: absolute;
|
|
|
|
font-family: monospace;
|
|
|
|
top: .4em;
|
|
|
|
right: .4em;
|
|
|
|
width: 1.5em;
|
|
|
|
height: 1.5em;
|
|
|
|
text-align: center;
|
|
|
|
content: "x";
|
|
|
|
cursor: pointer;
|
|
|
|
z-index: 9999;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance {
|
|
|
|
padding: 0.4em;
|
|
|
|
background-color: rgb(244, 246, 255);
|
|
|
|
margin-bottom: 1em;
|
|
|
|
position: relative;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance:last-child {
|
|
|
|
margin-bottom: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance .title {
|
|
|
|
cursor: pointer;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance.hide .title {
|
|
|
|
margin-bottom: 0;
|
|
|
|
padding-right: 1.5em;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance .title:before {
|
|
|
|
content: "\25BC";
|
|
|
|
opacity: 0.5;
|
|
|
|
margin-right: 0.4em;
|
|
|
|
font-size: 10px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance.hide > *:not(.title) {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance.hide > .title:before {
|
|
|
|
content: "\25B6";
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty {
|
|
|
|
overflow: auto;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp input,
|
|
|
|
.udapp button {
|
|
|
|
width: 20%;
|
|
|
|
display: block;
|
|
|
|
float: left;
|
|
|
|
padding: 0.25em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp button:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
background-color: white;
|
|
|
|
border-color: lightgray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .atAddress {
|
|
|
|
background-color: #B1EAC5;
|
|
|
|
border-color: #B1EAC5;
|
|
|
|
margin-right: 1em;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .publishContract {
|
|
|
|
background-color: #EC96EC;
|
|
|
|
border-color: #EC96EC;
|
|
|
|
margin-right: 1em;
|
|
|
|
border-radius: 3px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp input {
|
|
|
|
border-left: 0 none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp button {
|
|
|
|
background-color: #666;
|
|
|
|
color: #4C4B4B;
|
|
|
|
cursor: pointer;
|
|
|
|
overflow: hidden;
|
|
|
|
text-overflow: ellipsis;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .instance input,
|
|
|
|
.udapp .instance button {
|
|
|
|
width: 50%;
|
|
|
|
float: left;
|
|
|
|
box-sizing: border-box;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty.hasArgs input {
|
|
|
|
width: 75%;
|
|
|
|
}
|
|
|
|
.udapp .contractProperty button {
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty button.debug {
|
|
|
|
width: 21px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty button:disabled {
|
|
|
|
cursor: not-allowed;
|
|
|
|
background-color: white;
|
|
|
|
border-color: lightgray;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty .call {
|
|
|
|
background-color: #FFB9B9;
|
|
|
|
border-color: #FFB9B9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty .debug {
|
|
|
|
background-color: #9DC1F5;
|
|
|
|
border-color: #9DC1F5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty.constant .call {
|
|
|
|
background-color: #9DC1F5;
|
|
|
|
border-color: #9DC1F5;
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty.payable .call {
|
|
|
|
background-color: #FF8B8B;
|
|
|
|
border-color: #FF8B8B;
|
|
|
|
width: 25%;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty input {
|
|
|
|
display: none;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty > .value {
|
|
|
|
padding: 0 0.4em;
|
|
|
|
box-sizing: border-box;
|
|
|
|
width: 75%;
|
|
|
|
float: left;
|
|
|
|
word-wrap: break-word;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty.hasArgs input {
|
|
|
|
display: block;
|
|
|
|
border-top-left-radius: 0;
|
|
|
|
border-bottom-left-radius: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .contractProperty.hasArgs button {
|
|
|
|
border-top-right-radius: 0;
|
|
|
|
border-bottom-right-radius: 0;
|
|
|
|
border-right: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
.udapp .events:not(:empty):before {
|
|
|
|
content: "Events";
|
|
|
|
font-weight: bold;
|
|
|
|
display: block;
|
|
|
|
margin-bottom: 0.4em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .events .event {
|
|
|
|
padding: 0.4em;
|
|
|
|
position: relative;
|
|
|
|
word-wrap: break-word;
|
|
|
|
padding-right: 3em;
|
|
|
|
background-color: white;
|
|
|
|
margin-bottom: 0.5em;
|
|
|
|
white-space: pre;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .events .event .name {
|
|
|
|
margin-right: 0.5em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend {
|
|
|
|
font-size: 12px;
|
|
|
|
float: left;
|
|
|
|
color: #666;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend div {
|
|
|
|
display: inline-block;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
margin-bottom: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend div:before {
|
|
|
|
content: ".";
|
|
|
|
color: transparent;
|
|
|
|
display: inline-block;
|
|
|
|
background-color: #ccc;
|
|
|
|
height: 1em;
|
|
|
|
margin-right: 0.5em;
|
|
|
|
width: 1em;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend .publish:before {
|
|
|
|
background-color: #EC96EC;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend .attach:before {
|
|
|
|
background-color: #B1EAC5;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend .transact:before {
|
|
|
|
background-color: #FFB9B9;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend .payable:before {
|
|
|
|
background-color: #FF8B8B;
|
|
|
|
}
|
|
|
|
|
|
|
|
.udapp .legend .call:before {
|
|
|
|
background-color: #9DC1F5;
|
|
|
|
}
|