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.
252 lines
5.1 KiB
252 lines
5.1 KiB
var csjs = require('csjs-inject')
|
|
var styleGuide = require('./app/ui/styles-guide/theme-chooser')
|
|
var styles = styleGuide.chooser()
|
|
|
|
var css = csjs`
|
|
.instanceTitleContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
}
|
|
.title {
|
|
${styles.rightPanel.runTab.titlebox_RunTab}
|
|
display: flex;
|
|
justify-content: space-between;
|
|
align-items: center;
|
|
font-size: 11px;
|
|
height: 30px;
|
|
width: 97%;
|
|
overflow: hidden;
|
|
word-break: break-word;
|
|
line-height: initial;
|
|
overflow: visible;
|
|
margin-bottom: 10px;
|
|
}
|
|
.noInstancesText {
|
|
|
|
}
|
|
.titleLine {
|
|
display: flex;
|
|
align-items: baseline;
|
|
}
|
|
.titleText {
|
|
margin-right: 1em;
|
|
word-break: break-word;
|
|
min-width: 230px;
|
|
}
|
|
|
|
.title .copy {
|
|
color: ${styles.rightPanel.runTab.icon_AltColor_Instance_CopyToClipboard};
|
|
}
|
|
.instance {
|
|
min-width: 310px;
|
|
display: flex;
|
|
flex-direction: column;
|
|
}
|
|
.instance .title:before {
|
|
content: "\\25BE";
|
|
margin-right: 5%;
|
|
}
|
|
.instance.hidesub .title:before {
|
|
content: "\\25B8";
|
|
margin-right: 5%;
|
|
}
|
|
.instance.hidesub > * {
|
|
display: none;
|
|
}
|
|
.instance.hidesub .title {
|
|
display: flex;
|
|
}
|
|
.instance.hidesub .udappClose {
|
|
display: flex;
|
|
}
|
|
.methCaret {
|
|
margin-right: 5px;
|
|
cursor: pointer;
|
|
font-size: 16px;
|
|
padding-top: 5px;
|
|
vertical-align: top;
|
|
}
|
|
.group:after {
|
|
content: "";
|
|
display: table;
|
|
clear: both;
|
|
}
|
|
.buttonsContainer {
|
|
margin-top: 2%;
|
|
display: flex;
|
|
overflow: hidden;
|
|
}
|
|
.contractActions {
|
|
}
|
|
.instanceButton {}
|
|
.closeIcon {
|
|
font-size: 12px;
|
|
cursor: pointer;
|
|
margin-left: 5px;
|
|
}
|
|
.udapp {}
|
|
.udappClose {
|
|
display: flex;
|
|
justify-content: flex-end;
|
|
}
|
|
.contractProperty {
|
|
overflow: auto;
|
|
margin-bottom: 0.4em;
|
|
width:100%;
|
|
}
|
|
.contractProperty.hasArgs input {
|
|
min-width: 200px;
|
|
padding: .36em;
|
|
border-radius: 5px;
|
|
width: 70%;
|
|
}
|
|
.contractProperty .contractActionsContainerSingle input{
|
|
border-top-left-radius: 0;
|
|
border-bottom-left-radius: 0;
|
|
}
|
|
.contractProperty button {
|
|
${styles.rightPanel.runTab.button_Create}
|
|
min-width: 100px;
|
|
width: 100px;
|
|
font-size: 10px;
|
|
margin:0;
|
|
word-break: inherit;
|
|
}
|
|
.contractProperty button:disabled {
|
|
cursor: not-allowed;
|
|
background-color: white;
|
|
border-color: lightgray;
|
|
}
|
|
.contractProperty.constant button {
|
|
${styles.rightPanel.runTab.button_Constant}
|
|
min-width: 100px;
|
|
width: 100px;
|
|
font-size: 10px;
|
|
margin:0;
|
|
word-break: inherit;
|
|
outline: none;
|
|
}
|
|
.contractProperty input {
|
|
width: 75%
|
|
}
|
|
.contractProperty > .value {
|
|
box-sizing: border-box;
|
|
float: left;
|
|
align-self: center;
|
|
color: ${styles.appProperties.mainText_Color};
|
|
margin-left: 4px;
|
|
}
|
|
.value ul {
|
|
margin-bottom: 10px;
|
|
padding-bottom: 5px;
|
|
border-bottom: 1px solid ${styles.appProperties.solidBorderBox_BorderColor};
|
|
}
|
|
.contractActionsContainer {
|
|
width: 98%;
|
|
}
|
|
.contractActionsContainerSingle {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
.contractActionsContainerMulti {
|
|
display:none;
|
|
width: 100%;
|
|
}
|
|
.contractActionsContainerMultiInner {
|
|
margin-bottom: 10px;
|
|
border: 1px solid ${styles.appProperties.solidBorderBox_BorderColor};
|
|
padding: 0px 5px 5px 0px;
|
|
background-color: ${styles.appProperties.primary_BackgroundColor};
|
|
width: 100%;
|
|
}
|
|
.multiHeader {
|
|
text-align: left;
|
|
font-size: 10px;
|
|
margin-bottom: 5px;
|
|
font-weight: bold;
|
|
}
|
|
.contractActionsContainerMultiInner .multiTitle {
|
|
padding-left: 10px;
|
|
}
|
|
.contractProperty .multiTitle {
|
|
display: inline-block;
|
|
width: 90%;
|
|
font-size: 12px;
|
|
height: 25px;
|
|
padding-left: 20px;
|
|
font-weight: bold;
|
|
line-height: 25px;
|
|
cursor: default;
|
|
}
|
|
.contractProperty .contractActionsContainerMultiInner .multiArg label{
|
|
text-align: center;
|
|
}
|
|
.multiHeader .methCaret {
|
|
float: right;
|
|
margin-right: 0;
|
|
}
|
|
.contractProperty.constant .multiTitle {
|
|
display: inline-block;
|
|
width: 90%;
|
|
font-size: 10px;
|
|
height: 25px;
|
|
padding-left: 20px;
|
|
font-weight: bold;
|
|
line-height: 25px;
|
|
cursor: default;
|
|
}
|
|
.multiArg {
|
|
margin-bottom: 8px;
|
|
}
|
|
.multiArg input{
|
|
padding: 5px;
|
|
}
|
|
|
|
.multiArg label {
|
|
float: left;
|
|
margin-right: 6px;
|
|
font-size: 10px;
|
|
width: 20%;
|
|
}
|
|
.multiArg button {
|
|
border-radius: 3px;
|
|
float: right;
|
|
margin-right: 5%;
|
|
font-size: 10px;
|
|
border-width: 1px;
|
|
width: inherit;
|
|
}
|
|
.multiHeader button {
|
|
display: inline-block;
|
|
width: 94%;
|
|
}
|
|
.hasArgs .multiArg input {
|
|
border-left: 1px solid #dddddd;
|
|
}
|
|
.hasArgs input {
|
|
display: block;
|
|
border: 1px solid #dddddd;
|
|
padding: .36em;
|
|
border-left: none;
|
|
padding: 8px 8px 8px 10px;
|
|
font-size: 10px;
|
|
height: 25px;
|
|
}
|
|
.hasArgs button {
|
|
border-top-right-radius: 0;
|
|
border-bottom-right-radius: 0;
|
|
border-right: 0;
|
|
}
|
|
.contractActionsContainerMultiInner .multiArg i {
|
|
padding-right: 26px;
|
|
padding-top: 5px;
|
|
float: right;
|
|
},
|
|
.hideWarningsContainer {
|
|
display: flex;
|
|
align-items: center;
|
|
margin-left: 2%
|
|
}
|
|
`
|
|
|
|
module.exports = css
|
|
|