* 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
134 lines
2.2 KiB
CSS
134 lines
2.2 KiB
CSS
/* Copyright 2017-2019 @polkadot/ui-app authors & contributors
|
|
/* This software may be modified and distributed under the terms
|
|
/* of the Apache-2.0 license. See the LICENSE file for details. */
|
|
|
|
@import 'partials/_variables.css';
|
|
|
|
.ui.hidden.divider {
|
|
margin: 0.5rem 0;
|
|
}
|
|
|
|
.ui.dropdown {
|
|
/* from .ui.fluid.dropdown */
|
|
display: block;
|
|
min-width: 0;
|
|
width: 100%;
|
|
}
|
|
|
|
.ui.dropdown,
|
|
.ui.input {
|
|
/* bottom margin for all inputs */
|
|
margin-bottom: 0.5rem;
|
|
}
|
|
|
|
.ui.dropdown > .text {
|
|
min-height: 1em;
|
|
}
|
|
|
|
.ui.dropdown .menu > .item.header.disabled {
|
|
margin: 1em 0 0 0;
|
|
opacity: 1;
|
|
}
|
|
|
|
.ui.dropdown .menu > .item.header.disabled:hover,
|
|
.ui.dropdown .menu > .item.header.disabled.selected {
|
|
background: white;
|
|
}
|
|
|
|
.ui.input {
|
|
/* from .ui.fluid.input */
|
|
display: flex;
|
|
}
|
|
|
|
.ui.input > input {
|
|
/* from .ui.fluid.input > input */
|
|
width: 0;
|
|
}
|
|
|
|
.ui.inverted.dimmer {
|
|
background-color: rgba(255, 255, 255, 0.75);
|
|
}
|
|
|
|
.ui.label {
|
|
background: transparent;
|
|
font-weight: normal;
|
|
position: relative;
|
|
z-index: 1;
|
|
}
|
|
|
|
.ui.modal {
|
|
background: #fdfdfd;
|
|
|
|
> .actions,
|
|
> .content,
|
|
> .header {
|
|
background: transparent;
|
|
}
|
|
|
|
> .actions {
|
|
border-top: none;
|
|
text-align: right;
|
|
}
|
|
|
|
> .content {
|
|
text-align: center;
|
|
}
|
|
|
|
> .header {
|
|
border-bottom: none;
|
|
padding-bottom: 0;
|
|
}
|
|
|
|
.description {
|
|
margin: 1.5em 0;
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.ui.page.modals.transition.visible {
|
|
display: flex !important;
|
|
}
|
|
|
|
.ui.progress .bar {
|
|
min-width: 0 !important;
|
|
}
|
|
|
|
.ui.secondary.vertical.menu > .item {
|
|
margin: 0;
|
|
}
|
|
|
|
.ui[class*="left icon"].input.left.icon > input {
|
|
padding-left: 4rem !important;
|
|
}
|
|
|
|
.ui[class*="left icon"].input.left.icon > i.icon.big {
|
|
left: -7px;
|
|
opacity: 1;
|
|
}
|
|
|
|
.ui.button:disabled,
|
|
.ui.buttons .disabled.button,
|
|
.ui.disabled.active.button,
|
|
.ui.disabled.button,
|
|
.ui.disabled.button:hover {
|
|
opacity: 0.1 !important;
|
|
}
|
|
|
|
/* modals aligned to top, not center */
|
|
.ui.dimmer {
|
|
justify-content: flex-start;
|
|
}
|
|
|
|
.ui.menu.tabular {
|
|
background: #f2f2f2;
|
|
/* border-color: white; */
|
|
/* break out of the wrapping main padding */
|
|
margin: -1em -2em 0;
|
|
padding: 1em 2em 0;
|
|
|
|
.item.active {
|
|
background: #fafafa;
|
|
/* border-color: white; */
|
|
}
|
|
}
|