* Expose ApiPromise, cleanup API props * WIP * First component via ApiPromise * More items via ApiPromise * More robust availability handling * Disable routes based on API endpoint checks * Handle promises * Low-hanging fruit for call conversion * Remove extra params * Adjust rx components with children props * Start pulling in derived values * Additional derived * Bump * More derived values * Add derive.balances.fees * Additional account lookups * derive lookup for Id -> Index mappings * Cleanups, accountIdToIndex * Rework for new API * Update deps, all-ok after API bumps * Add voting and validating balances * Cleanup callback * Democracy wrap-up * 2019 * withApiPromise -> withApiCall * Calculate referendum number * Fix balances, withObservableBase -> withObservable * Cleanup with actual interfaces * withApiCall -> withCall * Bumps * api-observable types replaced * Half-effort to adjust extrinsic creation * No api-observable refs anymore * Cleanup storage query app * Cleanup call * Voting works... * Add Vote component * Update API
84 lines
1.4 KiB
CSS
84 lines
1.4 KiB
CSS
/* Copyright 2017-2019 @polkadot/app-staking authors & contributors
|
|
/* This software may be modified and distributed under the terms
|
|
/* of the Apache-2.0 license. See the LICENSE file for details. */
|
|
|
|
.validator--Account-info-address {
|
|
flex: 3;
|
|
margin: 0px 5px 0px 5px;
|
|
}
|
|
|
|
.validator--Account-info-details {
|
|
flex: 1;
|
|
margin: 0px 5px 0px 5px;
|
|
}
|
|
|
|
.validator--row {
|
|
display: flex;
|
|
flex-direction: row;
|
|
padding-bottom: 1.5em;
|
|
}
|
|
|
|
.validator--Account-address {
|
|
font-family: monospace;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.validator--Account-icon {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.validator--Account-validating {
|
|
opacity: 0.25 !important;
|
|
padding-top: 0.5em;
|
|
vertical-align: top !important;
|
|
}
|
|
|
|
.validator--Account-validating.isValidator {
|
|
color: red;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.validator--Account-details,.column{
|
|
flex: 1;
|
|
border: 1px, solid blue;
|
|
}
|
|
|
|
.validator--Account-balance,
|
|
.validator--Account-nonce {
|
|
opacity: 0.45;
|
|
text-align: right;
|
|
}
|
|
|
|
.validator--IntensionsList,
|
|
.validator--ValidatorsList {
|
|
display: flex;
|
|
}
|
|
|
|
.validator--current,
|
|
.validator--next {
|
|
margin: 1em;
|
|
flex: 1;
|
|
|
|
.ui--AddressRow + .ui--AddressRow {
|
|
margin-top: 1em;
|
|
}
|
|
}
|
|
|
|
.validator--Account-address.isMine {
|
|
color: #47b547;
|
|
font-weight: 500;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.validator-icon {
|
|
color: #2284d0;
|
|
position: absolute;
|
|
font-size: 1.5em !important;
|
|
}
|
|
|
|
.nominator-icon {
|
|
color: #aaa;
|
|
position: absolute;
|
|
font-size: 1.5em !important;
|
|
}
|