* Staking condensed * Move app-rpc into app-toolbox * Adjust children rendering (summary) * Polkadot highlights * Display most-recent as expanded (explorer)
323 lines
5.3 KiB
CSS
323 lines
5.3 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--output {
|
|
background: #f9f9f9;
|
|
border-radius: 4px;
|
|
border: 1px solid #f5f5f5;
|
|
box-sizing: border-box;
|
|
line-height: 1em;
|
|
margin-bottom: 0.5em;
|
|
padding: 0.75em 1em;
|
|
position: relative;
|
|
word-wrap: break-word;
|
|
}
|
|
|
|
.ui--output .ui--output-button {
|
|
position: absolute;
|
|
top: 0.25rem;
|
|
right: 0.25rem;
|
|
}
|
|
|
|
.ui--output.error {
|
|
background: #fff6f6;
|
|
border-color: #e0b4b4;
|
|
}
|
|
|
|
.ui--Button-Group .button {
|
|
border-radius: $small-corner !important;
|
|
}
|
|
|
|
header .ui--Button-Group {
|
|
text-align: center;
|
|
}
|
|
|
|
.ui.input .ui--Button-Group {
|
|
margin: 0;
|
|
}
|
|
|
|
.ui--AddressMini {
|
|
display: inline-block;
|
|
padding: 0 0.25rem 0 0;
|
|
}
|
|
|
|
.ui--AddressMini.padded {
|
|
display: inline-block;
|
|
padding: 0.25rem 0 0 0;
|
|
}
|
|
|
|
.ui--AddressMini-info div {
|
|
display: inline-block;
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ui--AddressMini-address {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.ui--AddressMini .ui--IdentityIcon {
|
|
margin-left: 1rem;
|
|
margin-right: 0.5rem;
|
|
}
|
|
|
|
.ui--AddressMini .ui--Balance {
|
|
font-size: 0.75rem;
|
|
margin-top: -0.5rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.ui--AddressRow {
|
|
display: flex;
|
|
width: 100%;
|
|
}
|
|
|
|
.ui--AddressRow-base {
|
|
display: flex;
|
|
}
|
|
|
|
.ui--AddressRow-icon {
|
|
margin-right: 1em;
|
|
}
|
|
|
|
.ui--AddressSummary {
|
|
padding: 0 1em;
|
|
/* text-align: left; */
|
|
white-space: nowrap
|
|
}
|
|
|
|
.ui--AddressSummary-base {
|
|
padding: 0 1em;
|
|
text-align: center;
|
|
}
|
|
|
|
.ui--AddressSummary-base,
|
|
.ui--AddressSummary-children {
|
|
display: inline-block;
|
|
vertical-align: top;
|
|
}
|
|
|
|
.ui--AddressSummary-children {
|
|
padding-top: 0.5rem;
|
|
}
|
|
|
|
.ui--AddressRow .ui--AddressSummary-children {
|
|
display: block;
|
|
}
|
|
|
|
.ui--hoverable {
|
|
.ui--AddressSummary-children.ui--hover {
|
|
padding-top: 0;
|
|
}
|
|
|
|
&:hover {
|
|
.ui--AddressSummary-children.ui--hover {
|
|
padding-top: 0.5rem;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui--AddressSummary .rx--updated {
|
|
background: transparent !important;
|
|
}
|
|
|
|
.ui--AddressSummary.invalid {
|
|
filter: grayscale(100);
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.ui--AddressSummary-icon {
|
|
display: block
|
|
}
|
|
|
|
.ui--Balance,
|
|
.ui--AddressSummary-balance,
|
|
.ui--AddressSummary-nonce {
|
|
opacity: 0.45;
|
|
}
|
|
|
|
.ui--AddressSummary-balance {
|
|
padding-top: 0.5em;
|
|
}
|
|
|
|
.ui--AddressSummary-balance.rx--updated,
|
|
.ui--AddressSummary-nonce.rx--updated {
|
|
opacity: 1;
|
|
}
|
|
|
|
.ui--AddressSummary-data {
|
|
padding: 0;
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ui--AddressSummary-data * {
|
|
/* margin: 0 0.25rem !important; */
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ui--AddressSummary-accountId,
|
|
.ui--AddressSummary-accountIndex {
|
|
display: inline-block;
|
|
font-family: monospace;
|
|
font-size: 1.5em;
|
|
padding: 0;
|
|
}
|
|
|
|
.ui--AddressSummary-accountIndex {
|
|
font-size: 1.25em;
|
|
font-style: italic;
|
|
}
|
|
|
|
.ui--CardSummary .ui.label {
|
|
padding-left: 0;
|
|
padding-right: 0;
|
|
padding-top: 0;
|
|
}
|
|
|
|
.ui--Chart {
|
|
position: relative;
|
|
display: inline-block;
|
|
padding: 1em 1em 0;
|
|
height: 15vw;
|
|
width: 15vw;
|
|
}
|
|
|
|
.ui--CardSummary-large {
|
|
font-size: 2.25rem;
|
|
font-weight: 100;
|
|
line-height: 2.25rem;
|
|
text-align: right;
|
|
}
|
|
|
|
.ui--CardSummary-progress {
|
|
margin: 0.25rem 0 -0.5rem !important;
|
|
}
|
|
|
|
.ui--CopyButton {
|
|
cursor: copy !important;
|
|
margin-left: 0.25rem !important;
|
|
}
|
|
|
|
.ui--Input {
|
|
&.disabled {
|
|
overflow: hidden;
|
|
|
|
input {
|
|
overflow: hidden;
|
|
text-overflow: ellipsis;
|
|
white-space: nowrap;
|
|
}
|
|
}
|
|
}
|
|
|
|
.ui--InputFile {
|
|
align-items: center;
|
|
background: #fff;
|
|
border: 1px dashed rgba(34, 36, 38, 0.15);
|
|
border-radius: $small-corner;
|
|
display: flex;
|
|
font-size: 1.2em;
|
|
height: 5em;
|
|
justify-content: center;
|
|
margin-bottom: 0.5rem;
|
|
width: 100% !important;
|
|
|
|
&.error {
|
|
background: #fff6f6;
|
|
border-color: #e0b4b4;
|
|
}
|
|
|
|
&:hover {
|
|
background: #fefefe;
|
|
border-style: solid;
|
|
cursor: pointer;
|
|
}
|
|
|
|
.label {
|
|
color: rgba(0, 0, 0, .6);
|
|
}
|
|
}
|
|
|
|
.ui--Labelled {
|
|
text-align: left;
|
|
}
|
|
|
|
.ui--Static {
|
|
overflow: hidden;
|
|
word-break: break-all;
|
|
}
|
|
|
|
.ui--Status {
|
|
display: inline-block;
|
|
position: fixed;
|
|
right: 0.25rem;
|
|
top: 0.25rem;
|
|
z-index: 1001;
|
|
|
|
.ui--IdentityIcon {
|
|
margin-left: 0 !important;
|
|
}
|
|
|
|
.item {
|
|
display: block;
|
|
text-align: right;
|
|
|
|
> .wrapper {
|
|
display: inline-block;
|
|
|
|
> .container {
|
|
align-items: center;
|
|
background: #00688b;
|
|
border-radius: $small-corner;
|
|
color: white;
|
|
display: flex;
|
|
margin-bottom: 0.25rem;
|
|
padding: 0 0.5rem;
|
|
text-align: center;
|
|
opacity: 0.95;
|
|
vertical-align: middle;
|
|
|
|
.desc {
|
|
padding: 0.5rem 1rem;
|
|
|
|
.status {
|
|
font-weight: 700;
|
|
}
|
|
}
|
|
|
|
.short {
|
|
font-size: 2.5rem;
|
|
padding: 0.5rem;
|
|
|
|
i.icon {
|
|
line-height: 1;
|
|
}
|
|
}
|
|
}
|
|
}
|
|
|
|
&.cancelled > .wrapper > .container {
|
|
background: #cd9b1d
|
|
}
|
|
|
|
&.event > .wrapper > .container {
|
|
background: teal;
|
|
}
|
|
|
|
&.completed > .wrapper > .container,
|
|
&.finalised > .wrapper > .container,
|
|
&.sent > .wrapper > .container,
|
|
&.success > .wrapper > .container {
|
|
background: green;
|
|
}
|
|
|
|
&.dropped > .wrapper > .container ,
|
|
&.error > .wrapper > .container ,
|
|
&.usurped > .wrapper > .container {
|
|
background: red;
|
|
}
|
|
}
|
|
}
|