* 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
105 lines
1.7 KiB
CSS
105 lines
1.7 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. */
|
|
|
|
.staking--App {
|
|
padding: 1em 2rem;
|
|
|
|
.rx--updated {
|
|
background: transparent !important;
|
|
}
|
|
}
|
|
|
|
.staking--App-navigation.ui--Button-Group {
|
|
margin-bottom: 2em;
|
|
text-align: center;
|
|
}
|
|
|
|
.staking--Account {
|
|
display: inline-block;
|
|
position: relative;
|
|
}
|
|
|
|
.staking--Account .ui--Button-Group {
|
|
margin-bottom: 1em;
|
|
}
|
|
|
|
.staking--Account .ui--AddressMini {
|
|
display: block;
|
|
}
|
|
|
|
.ui--Nominators {
|
|
overflow-y: overlay;
|
|
max-height: 196px;
|
|
padding-right: 18px;
|
|
}
|
|
|
|
.staking--Account .ui--AddressSummary {
|
|
padding: 0;
|
|
}
|
|
|
|
.staking--Account-expand {
|
|
min-width: 14rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.staking--Account-details {
|
|
display: inline-block;
|
|
text-align: left;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.staking--Account-nominate {
|
|
padding: 0 0 3em 3em;
|
|
}
|
|
|
|
.staking--Account-nominating {
|
|
margin-top: 1rem;
|
|
}
|
|
|
|
.staking--Account-nominating * {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.staking--Account-nominating .ui--IdentityIcon {
|
|
margin-right: 0.25rem;
|
|
}
|
|
|
|
.staking--Account-info {
|
|
display: inline-block;
|
|
}
|
|
|
|
.staking--Account-address {
|
|
font-family: monospace;
|
|
font-size: 1.5rem;
|
|
}
|
|
|
|
.staking--Account-icon {
|
|
margin-right: 1rem;
|
|
}
|
|
|
|
.staking--Account-validating {
|
|
opacity: 0.25 !important;
|
|
position: absolute;
|
|
top: 1em;
|
|
left: 1em;
|
|
}
|
|
|
|
.staking--Account-validating.isValidator {
|
|
color: #d75ea1;
|
|
opacity: 1 !important;
|
|
}
|
|
|
|
.staking--Account-balance,
|
|
.staking--Account-nonce {
|
|
opacity: 0.45;
|
|
text-align: right;
|
|
}
|
|
|
|
.staking--Summary-text {
|
|
text-align: right;
|
|
font-size: 1rem;
|
|
font-weight: normal;
|
|
line-height: 1.2rem;
|
|
}
|