mirror of
https://github.com/embarklabs/embark.git
synced 2025-01-11 06:16:01 +00:00
style improvments to functions, explorer and icon
This commit is contained in:
parent
22f94563fe
commit
79cb60f164
@ -95,8 +95,8 @@ class ContractFunction extends Component {
|
|||||||
render() {
|
render() {
|
||||||
return (
|
return (
|
||||||
<Card className="contract-function-container">
|
<Card className="contract-function-container">
|
||||||
<CardHeader>
|
<CardHeader className="collapsable" onClick={() => this.toggleFunction()}>
|
||||||
<CardTitle className="collapsable" onClick={() => this.toggleFunction()}>
|
<CardTitle>
|
||||||
{ContractFunction.isPureCall(this.props.method) &&
|
{ContractFunction.isPureCall(this.props.method) &&
|
||||||
<button className="btn btn-warning btn-sm float-right" onClick={(e) => this.handleCall(e)}>call</button>
|
<button className="btn btn-warning btn-sm float-right" onClick={(e) => this.handleCall(e)}>call</button>
|
||||||
}
|
}
|
||||||
|
@ -1,23 +1,23 @@
|
|||||||
.explorer-row {
|
#root .explorer-row {
|
||||||
border-top-width: 0 !important; /*Bootstrap uses important, so we need to override it*/
|
border-top-width: 0 !important; /*Bootstrap uses important, so we need to override it*/
|
||||||
}
|
}
|
||||||
|
|
||||||
.explorer-overview .card-body {
|
#root .explorer-overview .card-body {
|
||||||
overflow: hidden;
|
overflow: hidden;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explorer-row + .explorer-row {
|
#root .explorer-row + .explorer-row {
|
||||||
margin-top: 5px;
|
margin-top: 5px;
|
||||||
padding-top: 20px;
|
padding-top: 20px;
|
||||||
border-top-width: 1px !important;
|
border-top-width: 1px !important;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explorer-row .text-truncate {
|
#root .explorer-row .text-truncate {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
|
||||||
.explorer-row .text-truncate {
|
#root .explorer-row .text-truncate {
|
||||||
width: 90%;
|
width: 90%;
|
||||||
display: inline-block;
|
display: inline-block;
|
||||||
}
|
}
|
||||||
|
@ -40,7 +40,7 @@ const SIDEBAR_NAV_ITEMS = {
|
|||||||
{url: "/embark/explorer/accounts", icon: "fa fa-users", name: "Accounts"},
|
{url: "/embark/explorer/accounts", icon: "fa fa-users", name: "Accounts"},
|
||||||
{url: "/embark/explorer/blocks", icon: "fa fa-stop", name: "Blocks"},
|
{url: "/embark/explorer/blocks", icon: "fa fa-stop", name: "Blocks"},
|
||||||
{url: "/embark/explorer/contracts", icon: "fa fa-file-code-o", name: "Contracts"},
|
{url: "/embark/explorer/contracts", icon: "fa fa-file-code-o", name: "Contracts"},
|
||||||
{url: "/embark/explorer/transactions", icon: "fa fa-tree", name: "Transactions"}
|
{url: "/embark/explorer/transactions", icon: "fa fa-exchange", name: "Transactions"}
|
||||||
]},
|
]},
|
||||||
"/embark/utilities/": {items: [
|
"/embark/utilities/": {items: [
|
||||||
{url: "/embark/utilities/converter", icon: "fa fa-plug", name: "Converter"},
|
{url: "/embark/utilities/converter", icon: "fa fa-plug", name: "Converter"},
|
||||||
|
Loading…
x
Reference in New Issue
Block a user