2021-12-01 18:22:08 +01:00
|
|
|
//styling for ui components
|
|
|
|
@import './components/ui/copy-raw-data/index';
|
2021-12-07 20:43:14 +01:00
|
|
|
@import './components/ui/accreditation/index';
|
2021-12-01 18:22:08 +01:00
|
|
|
|
|
|
|
//styling for decoding components
|
|
|
|
@import './components/decoding/address/index';
|
|
|
|
|
|
|
|
.tx-insight {
|
|
|
|
overflow-x: hidden;
|
2022-11-10 11:28:34 +01:00
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
2021-12-01 18:22:08 +01:00
|
|
|
|
|
|
|
&-loading {
|
|
|
|
display: flex;
|
|
|
|
justify-content: center;
|
|
|
|
align-items: center;
|
|
|
|
min-height: 100px;
|
|
|
|
|
|
|
|
.spinner {
|
|
|
|
width: 30px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
& > details {
|
|
|
|
margin: 20px 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
& > details > summary {
|
|
|
|
&.tx-insight-title {
|
|
|
|
font-size: 14px;
|
|
|
|
position: relative;
|
|
|
|
margin: 12px 0 4px;
|
|
|
|
padding-inline-start: 22px;
|
|
|
|
cursor: pointer;
|
|
|
|
|
|
|
|
& + .tx-insight-content {
|
|
|
|
padding-inline-start: 14px;
|
|
|
|
padding-top: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
2021-12-07 16:12:34 +01:00
|
|
|
&-error {
|
|
|
|
cursor: auto;
|
|
|
|
}
|
2021-12-01 18:22:08 +01:00
|
|
|
|
|
|
|
.tx-insight-content {
|
|
|
|
&__tree-component {
|
|
|
|
line-height: 175%;
|
|
|
|
|
|
|
|
& > ol {
|
|
|
|
padding-left: 0;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params {
|
|
|
|
padding: 8px;
|
|
|
|
width: 343px;
|
2022-03-28 19:23:27 +02:00
|
|
|
background: var(--color-background-default);
|
2021-12-01 18:22:08 +01:00
|
|
|
text-align: left;
|
|
|
|
display: flex;
|
|
|
|
flex-direction: column;
|
|
|
|
align-items: left;
|
|
|
|
font-family: Euclid Circular B, sans-serif;
|
|
|
|
font-style: normal;
|
|
|
|
font-weight: normal;
|
|
|
|
font-size: 14px;
|
|
|
|
line-height: 172%;
|
|
|
|
}
|
|
|
|
|
|
|
|
ol ol {
|
|
|
|
padding-left: 22px;
|
|
|
|
margin-left: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
details > summary {
|
|
|
|
position: relative;
|
|
|
|
cursor: pointer;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params .solidity-func-name {
|
|
|
|
width: fit-content;
|
|
|
|
padding: 4px;
|
|
|
|
text-transform: uppercase;
|
2022-03-28 19:23:27 +02:00
|
|
|
border: 1px solid var(--color-border-default);
|
|
|
|
color: var(--color-background-alternative);
|
2021-12-01 18:22:08 +01:00
|
|
|
border-radius: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params .sol-value {
|
|
|
|
display: flex;
|
|
|
|
flex-flow: row wrap;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params .sol-value > {
|
|
|
|
overflow: ellipses;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params ol {
|
|
|
|
list-style: none;
|
|
|
|
padding: 0;
|
|
|
|
max-width: inherit;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params > ol {
|
|
|
|
margin-left: 16px;
|
|
|
|
}
|
|
|
|
|
|
|
|
/*
|
|
|
|
Use this parameter to change the indentation!! */
|
|
|
|
.eth-tx-params ol ol:not(:first-child) {
|
|
|
|
padding-left: 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
pre.solidity-raw {
|
|
|
|
text-align: left;
|
|
|
|
}
|
|
|
|
|
|
|
|
.solidity-address {
|
|
|
|
display: flex;
|
|
|
|
flex-direction: row;
|
|
|
|
}
|
|
|
|
|
|
|
|
.solidity-address :first-child {
|
|
|
|
width: 16px;
|
|
|
|
height: 16px;
|
|
|
|
margin: 0 8px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.solidity-item .param-name {
|
|
|
|
padding-right: 4px;
|
|
|
|
}
|
|
|
|
|
|
|
|
.solidity-value {
|
2022-03-24 19:08:08 +01:00
|
|
|
color: var(--color-text-alternative);
|
2021-12-01 18:22:08 +01:00
|
|
|
overflow-x: hidden;
|
|
|
|
padding-bottom: 5px;
|
|
|
|
|
|
|
|
& > div {
|
|
|
|
display: flex;
|
|
|
|
flex-wrap: wrap;
|
|
|
|
word-break: break-all;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.solidity-error {
|
|
|
|
display: flex;
|
|
|
|
align-items: center;
|
|
|
|
|
|
|
|
& > .error-message__icon {
|
|
|
|
width: 14px;
|
|
|
|
margin-right: 5px;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params details > summary {
|
2022-03-24 19:08:08 +01:00
|
|
|
color: var(--color-text-default);
|
2021-12-01 18:22:08 +01:00
|
|
|
font-family: sans-serif;
|
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params footer {
|
|
|
|
text-align: center;
|
2022-03-24 19:08:08 +01:00
|
|
|
color: var(--color-text-muted);
|
2021-12-01 18:22:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
.eth-tx-params footer a {
|
|
|
|
text-align: center;
|
2022-03-24 19:08:08 +01:00
|
|
|
color: var(--color-text-muted);
|
2021-12-01 18:22:08 +01:00
|
|
|
}
|
|
|
|
}
|
|
|
|
}
|
2022-11-10 11:28:34 +01:00
|
|
|
|
|
|
|
.tx-insight-component-address {
|
|
|
|
&__sender-icon {
|
|
|
|
padding-right: 8px;
|
|
|
|
}
|
|
|
|
}
|
2021-12-01 18:22:08 +01:00
|
|
|
}
|
|
|
|
|
|
|
|
|