You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
284 lines
5.5 KiB
284 lines
5.5 KiB
7 years ago
|
var csjs = require('csjs-inject')
|
||
|
|
||
|
var css = csjs`
|
||
|
.instanceTitleContainer {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
}
|
||
5 years ago
|
.calldataInput{
|
||
|
height: 32px;
|
||
|
}
|
||
7 years ago
|
.title {
|
||
|
display: flex;
|
||
7 years ago
|
justify-content: space-between;
|
||
7 years ago
|
font-size: 11px;
|
||
6 years ago
|
width: 100%;
|
||
7 years ago
|
overflow: hidden;
|
||
|
word-break: break-word;
|
||
|
line-height: initial;
|
||
|
overflow: visible;
|
||
5 years ago
|
padding: 0 0 8px;
|
||
5 years ago
|
margin: 0;
|
||
|
background: none;
|
||
|
border: none;
|
||
|
}
|
||
|
.title button {
|
||
|
background: none;
|
||
|
border: none;
|
||
7 years ago
|
}
|
||
|
.titleLine {
|
||
|
display: flex;
|
||
|
align-items: baseline;
|
||
|
}
|
||
|
.titleText {
|
||
|
word-break: break-word;
|
||
6 years ago
|
width: 100%;
|
||
5 years ago
|
border: none;
|
||
6 years ago
|
}
|
||
|
.spanTitleText {
|
||
5 years ago
|
line-height: 12px;
|
||
|
padding: 0;
|
||
6 years ago
|
font-size: 11px;
|
||
|
width:100%;
|
||
5 years ago
|
border: none;
|
||
5 years ago
|
background: none;
|
||
|
text-transform: uppercase;
|
||
7 years ago
|
}
|
||
6 years ago
|
.inputGroupText {
|
||
|
width: 100%;
|
||
|
}
|
||
7 years ago
|
.title .copy {
|
||
6 years ago
|
color: var(--primary);
|
||
7 years ago
|
}
|
||
6 years ago
|
.titleExpander {
|
||
6 years ago
|
padding: 5px 7px;
|
||
6 years ago
|
}
|
||
|
.nameNbuts {
|
||
6 years ago
|
display: contents;
|
||
6 years ago
|
flex-wrap: nowrap;
|
||
6 years ago
|
width: 100%;
|
||
6 years ago
|
}
|
||
7 years ago
|
.instance {
|
||
6 years ago
|
display: block;
|
||
7 years ago
|
flex-direction: column;
|
||
5 years ago
|
margin-bottom: 12px;
|
||
5 years ago
|
background: none;
|
||
|
border-radius: 2px;
|
||
7 years ago
|
}
|
||
5 years ago
|
.instance.hidesub {
|
||
|
border-bottom: 1px solid;
|
||
|
}
|
||
7 years ago
|
.instance.hidesub .title {
|
||
|
display: flex;
|
||
|
}
|
||
|
.instance.hidesub .udappClose {
|
||
|
display: flex;
|
||
|
}
|
||
6 years ago
|
.instance.hidesub > * {
|
||
|
display: none;
|
||
|
}
|
||
7 years ago
|
.methCaret {
|
||
5 years ago
|
min-width: 12px;
|
||
|
width: 12px;
|
||
|
margin-left: 4px;
|
||
7 years ago
|
cursor: pointer;
|
||
7 years ago
|
font-size: 16px;
|
||
5 years ago
|
line-height: 0.6;
|
||
|
vertical-align: middle;
|
||
|
padding: 0;
|
||
6 years ago
|
}
|
||
|
.cActionsWrapper {
|
||
6 years ago
|
border-top-left-radius: 0;
|
||
|
border-bottom-left-radius: 0.25rem;
|
||
|
border-top-rightt-radius: 0;
|
||
|
border-bottom-right-radius: 0.25rem;
|
||
5 years ago
|
padding: 8px 10px 7px;
|
||
7 years ago
|
}
|
||
|
.group:after {
|
||
|
content: "";
|
||
|
display: table;
|
||
|
clear: both;
|
||
|
}
|
||
7 years ago
|
.buttonsContainer {
|
||
|
margin-top: 2%;
|
||
|
display: flex;
|
||
|
overflow: hidden;
|
||
|
}
|
||
6 years ago
|
.instanceButton {
|
||
5 years ago
|
height: 32px;
|
||
6 years ago
|
border-radius: 3px;
|
||
5 years ago
|
white-space: nowrap;
|
||
5 years ago
|
font-size: 11px;
|
||
5 years ago
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
6 years ago
|
}
|
||
7 years ago
|
.closeIcon {
|
||
|
font-size: 12px;
|
||
|
cursor: pointer;
|
||
7 years ago
|
margin-left: 5px;
|
||
7 years ago
|
}
|
||
|
.udappClose {
|
||
|
display: flex;
|
||
|
justify-content: flex-end;
|
||
|
}
|
||
|
.contractProperty {
|
||
7 years ago
|
width:100%;
|
||
7 years ago
|
}
|
||
|
.contractProperty.hasArgs input {
|
||
|
padding: .36em;
|
||
7 years ago
|
border-radius: 5px;
|
||
7 years ago
|
}
|
||
7 years ago
|
.contractProperty .contractActionsContainerSingle input{
|
||
|
border-top-left-radius: 0;
|
||
|
border-bottom-left-radius: 0;
|
||
|
}
|
||
7 years ago
|
.contractProperty button {
|
||
|
min-width: 100px;
|
||
|
width: 100px;
|
||
|
margin:0;
|
||
|
word-break: inherit;
|
||
|
}
|
||
|
.contractProperty button:disabled {
|
||
|
cursor: not-allowed;
|
||
|
background-color: white;
|
||
|
border-color: lightgray;
|
||
|
}
|
||
|
.contractProperty.constant button {
|
||
|
min-width: 100px;
|
||
|
width: 100px;
|
||
|
margin:0;
|
||
|
word-break: inherit;
|
||
|
outline: none;
|
||
6 years ago
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
7 years ago
|
}
|
||
|
.contractProperty > .value {
|
||
|
box-sizing: border-box;
|
||
|
float: left;
|
||
|
align-self: center;
|
||
|
margin-left: 4px;
|
||
|
}
|
||
7 years ago
|
.contractActionsContainer {
|
||
5 years ago
|
width: 100%;
|
||
5 years ago
|
margin-bottom: 8px;
|
||
7 years ago
|
}
|
||
|
.contractActionsContainerSingle {
|
||
|
display: flex;
|
||
|
width: 100%;
|
||
|
}
|
||
5 years ago
|
.contractActionsContainerSingle i {
|
||
|
line-height: 2;
|
||
|
}
|
||
7 years ago
|
.contractActionsContainerMulti {
|
||
|
display:none;
|
||
|
width: 100%;
|
||
|
}
|
||
|
.contractActionsContainerMultiInner {
|
||
5 years ago
|
width: 100%;
|
||
|
padding: 16px 8px 16px 14px;
|
||
6 years ago
|
border-radius: 3px;
|
||
5 years ago
|
margin-bottom: 8px;
|
||
7 years ago
|
}
|
||
|
.multiHeader {
|
||
5 years ago
|
display: flex;
|
||
|
justify-content: space-between;
|
||
|
align-items: center;
|
||
|
margin-bottom: 8px;
|
||
7 years ago
|
text-align: left;
|
||
|
font-size: 10px;
|
||
|
font-weight: bold;
|
||
|
}
|
||
7 years ago
|
.contractActionsContainerMultiInner .multiTitle {
|
||
|
padding-left: 10px;
|
||
|
}
|
||
7 years ago
|
.contractProperty .multiTitle {
|
||
5 years ago
|
padding: 0;
|
||
|
line-height: 16px;
|
||
7 years ago
|
display: inline-block;
|
||
7 years ago
|
font-size: 12px;
|
||
7 years ago
|
font-weight: bold;
|
||
7 years ago
|
cursor: default;
|
||
|
}
|
||
7 years ago
|
.contractProperty .contractActionsContainerMultiInner .multiArg label{
|
||
6 years ago
|
text-align: right;
|
||
7 years ago
|
}
|
||
|
.multiHeader .methCaret {
|
||
|
float: right;
|
||
|
margin-right: 0;
|
||
|
}
|
||
7 years ago
|
.contractProperty.constant .multiTitle {
|
||
|
display: inline-block;
|
||
7 years ago
|
width: 90%;
|
||
6 years ago
|
/* font-size: 10px; */
|
||
7 years ago
|
height: 25px;
|
||
|
padding-left: 20px;
|
||
7 years ago
|
font-weight: bold;
|
||
7 years ago
|
line-height: 25px;
|
||
|
cursor: default;
|
||
|
}
|
||
|
.multiArg {
|
||
5 years ago
|
display: flex;
|
||
|
align-items: center;
|
||
|
justify-content: flex-end;
|
||
|
margin-top: 4px;
|
||
7 years ago
|
}
|
||
|
.multiArg input{
|
||
|
padding: 5px;
|
||
|
}
|
||
|
.multiArg label {
|
||
5 years ago
|
width: auto;
|
||
|
padding: 0;
|
||
|
margin: 0 4px 0 0;
|
||
|
font-size: 10px;
|
||
|
line-height: 12px;
|
||
|
text-align: right;
|
||
|
word-break: initial;
|
||
7 years ago
|
}
|
||
|
.multiArg button {
|
||
5 years ago
|
max-width: 100px;
|
||
7 years ago
|
border-radius: 3px;
|
||
|
border-width: 1px;
|
||
7 years ago
|
width: inherit;
|
||
7 years ago
|
}
|
||
|
.multiHeader button {
|
||
|
display: inline-block;
|
||
|
width: 94%;
|
||
|
}
|
||
|
.hasArgs .multiArg input {
|
||
|
border-left: 1px solid #dddddd;
|
||
6 years ago
|
width: 67%;
|
||
7 years ago
|
}
|
||
7 years ago
|
.hasArgs input {
|
||
|
display: block;
|
||
5 years ago
|
height: 32px;
|
||
7 years ago
|
border: 1px solid #dddddd;
|
||
|
padding: .36em;
|
||
|
border-left: none;
|
||
|
padding: 8px 8px 8px 10px;
|
||
5 years ago
|
font-size: 10px !important;
|
||
7 years ago
|
}
|
||
|
.hasArgs button {
|
||
|
border-top-right-radius: 0;
|
||
|
border-bottom-right-radius: 0;
|
||
|
border-right: 0;
|
||
6 years ago
|
white-space: nowrap;
|
||
|
overflow: hidden;
|
||
|
text-overflow: ellipsis;
|
||
5 years ago
|
font-size: 11px;
|
||
7 years ago
|
}
|
||
6 years ago
|
.hasArgs .contractActionsContainerMulti button {
|
||
|
border-radius: 3px;
|
||
|
}
|
||
7 years ago
|
.contractActionsContainerMultiInner .multiArg i {
|
||
5 years ago
|
padding-right: 10px;
|
||
5 years ago
|
}
|
||
7 years ago
|
.hideWarningsContainer {
|
||
|
display: flex;
|
||
|
align-items: center;
|
||
|
margin-left: 2%
|
||
7 years ago
|
}
|
||
7 years ago
|
`
|
||
|
|
||
|
module.exports = css
|