|
|
|
@ -14,6 +14,8 @@ $tile-type-progress-bar-color: $primary !default; |
|
|
|
|
$tile-status-error-reason: #ff7986 !default; |
|
|
|
|
$tile-status-awaiting-internal-transactions: $warning !default; |
|
|
|
|
$tile-padding: 1rem; |
|
|
|
|
$tile-title-color: #333 !default; |
|
|
|
|
$tile-body-a-color: #5959d8 !default; |
|
|
|
|
|
|
|
|
|
@mixin generate-tile-block($prefix, $color, $label-color: false) { |
|
|
|
|
&#{ $prefix } { |
|
|
|
@ -23,8 +25,7 @@ $tile-padding: 1rem; |
|
|
|
|
a { |
|
|
|
|
@if ($label-color) { |
|
|
|
|
color: $label-color; |
|
|
|
|
} |
|
|
|
|
@else { |
|
|
|
|
} @else { |
|
|
|
|
color: $color; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
@ -33,19 +34,13 @@ $tile-padding: 1rem; |
|
|
|
|
.tile-label { |
|
|
|
|
@if ($label-color) { |
|
|
|
|
color: $label-color; |
|
|
|
|
} |
|
|
|
|
@else { |
|
|
|
|
} @else { |
|
|
|
|
color: $color; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-status-label { |
|
|
|
|
@if ($label-color) { |
|
|
|
|
color: $label-color; |
|
|
|
|
} |
|
|
|
|
@else { |
|
|
|
|
color: $color; |
|
|
|
|
} |
|
|
|
|
color: inherit; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-transaction-type-block { |
|
|
|
@ -60,20 +55,6 @@ $tile-padding: 1rem; |
|
|
|
|
|
|
|
|
|
/*********************************************************************/ |
|
|
|
|
|
|
|
|
|
.tile-title { |
|
|
|
|
color: #333; |
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
|
|
&-hash { |
|
|
|
|
font-weight: 300; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&-lg { |
|
|
|
|
color: $body-color; |
|
|
|
|
font-size: 16px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-label { |
|
|
|
|
font-size: 12px; |
|
|
|
|
font-weight: 700; |
|
|
|
@ -154,7 +135,6 @@ $tile-padding: 1rem; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-function-response { |
|
|
|
|
|
|
|
|
|
span.function-response-item { |
|
|
|
|
display: block; |
|
|
|
|
margin-left: 1rem; |
|
|
|
@ -167,7 +147,6 @@ $tile-padding: 1rem; |
|
|
|
|
p { |
|
|
|
|
margin: 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-image { |
|
|
|
@ -176,6 +155,29 @@ $tile-padding: 1rem; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile { |
|
|
|
|
span[data-address-hash] { |
|
|
|
|
color: $tile-body-a-color; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-body { |
|
|
|
|
a { |
|
|
|
|
color: $tile-body-a-color; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tile-title { |
|
|
|
|
color: $tile-title-color; |
|
|
|
|
font-size: 12px; |
|
|
|
|
|
|
|
|
|
&-hash { |
|
|
|
|
font-weight: 300; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
&-lg { |
|
|
|
|
color: $body-color; |
|
|
|
|
font-size: 16px; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
border-radius: 4px; |
|
|
|
|
border: 1px solid $border-color; |
|
|
|
|
color: $text-muted; |
|
|
|
@ -184,20 +186,57 @@ $tile-padding: 1rem; |
|
|
|
|
line-height: 1.4rem; |
|
|
|
|
padding: $tile-padding; |
|
|
|
|
|
|
|
|
|
@include generate-tile-block('.tile-type-block', $tile-type-block-color, darken($tile-type-block-color, 20%)); |
|
|
|
|
@include generate-tile-block('.tile-type-uncle', $tile-type-uncle-color); |
|
|
|
|
@include generate-tile-block('.tile-type-reorg', $tile-type-reorg-color); |
|
|
|
|
@include generate-tile-block('.tile-type-emission-reward', $tile-type-emission-reward-color); |
|
|
|
|
@include generate-tile-block('.tile-type-transaction', $tile-type-transaction-color); |
|
|
|
|
@include generate-tile-block('.tile-type-contract-call', $tile-type-contract-call-color); |
|
|
|
|
@include generate-tile-block('.tile-type-contract-creation', $tile-type-contract-creation-color); |
|
|
|
|
@include generate-tile-block('.tile-type-token-transfer', $tile-type-token-transfer-color); |
|
|
|
|
@include generate-tile-block('.tile-type-unique-token', $tile-type-unique-token-color); |
|
|
|
|
@include generate-tile-block('.tile-type-unique-token-image', $tile-type-unique-token-image-color); |
|
|
|
|
@include generate-tile-block('.tile-type-internal-transaction', $tile-type-internal-transaction-color); |
|
|
|
|
@include generate-tile-block('.tile-type-api-documentation', $tile-type-api-documentation-color); |
|
|
|
|
@include generate-tile-block('[class*="status--error"]', $tile-status-error-reason); |
|
|
|
|
@include generate-tile-block('.tile-status--awaiting-internal-transactions', $tile-status-awaiting-internal-transactions); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-block", |
|
|
|
|
$tile-type-block-color, |
|
|
|
|
darken($tile-type-block-color, 20%) |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block(".tile-type-uncle", $tile-type-uncle-color); |
|
|
|
|
@include generate-tile-block(".tile-type-reorg", $tile-type-reorg-color); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-emission-reward", |
|
|
|
|
$tile-type-emission-reward-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-transaction", |
|
|
|
|
$tile-type-transaction-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-contract-call", |
|
|
|
|
$tile-type-contract-call-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-contract-creation", |
|
|
|
|
$tile-type-contract-creation-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-token-transfer", |
|
|
|
|
$tile-type-token-transfer-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-unique-token", |
|
|
|
|
$tile-type-unique-token-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-unique-token-image", |
|
|
|
|
$tile-type-unique-token-image-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-internal-transaction", |
|
|
|
|
$tile-type-internal-transaction-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-type-api-documentation", |
|
|
|
|
$tile-type-api-documentation-color |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
'[class*="status--error"]', |
|
|
|
|
$tile-status-error-reason |
|
|
|
|
); |
|
|
|
|
@include generate-tile-block( |
|
|
|
|
".tile-status--awaiting-internal-transactions", |
|
|
|
|
$tile-status-awaiting-internal-transactions |
|
|
|
|
); |
|
|
|
|
|
|
|
|
|
&.n-p { |
|
|
|
|
padding: 0; |
|
|
|
|