* fix: Part fix #264. Trim address. Add CopyButton. Align CopyButton with monospace * fix: Remove CopyButton * fix: Add empty div so double clicking to copy address only selects the address itself * fix: Add key prop to div to avoid error * fix: Add PostCSS Mixins. Reuse font family for hashes. Add missing license header. * Add PostCSS Mixins dependency to allow reuse to make CSS DRYer * Create generic mixin for common font family used by different hashes displayed in UI (i.e. block, data, address) * Create extension of the generic mixin for the block hash * Add missing license header * fix: Rename mixin to hash font traits * fix: Remove hash-block-font-family since we are only using it once * fix: Revert Mixins and variable
65 lines
1.1 KiB
CSS
65 lines
1.1 KiB
CSS
/* Copyright 2017-2018 @polkadot/ui-app authors & contributors
|
|
/* This software may be modified and distributed under the terms
|
|
/* of the ISC license. See the LICENSE file for details. */
|
|
|
|
.ui--Param-Address {
|
|
font-family: monospace;
|
|
}
|
|
|
|
.ui--Params-Content {
|
|
box-sizing: border-box;
|
|
padding-left: 2em;
|
|
}
|
|
|
|
.ui--Param-File {
|
|
align-items: center;
|
|
border: 1px dashed rgba(34, 36, 38, 0.15);
|
|
border-radius: 0.28571429rem;
|
|
display: flex;
|
|
justify-content: center;
|
|
font-size: 1.2em;
|
|
height: 5em;
|
|
margin-bottom: 0.5rem;
|
|
width: 100% !important;
|
|
}
|
|
|
|
.ui--Param-File.true {
|
|
border-style: solid;
|
|
}
|
|
|
|
.ui--Params-File:hover {
|
|
background: rgba(200, 200, 200, 0.8);
|
|
cursor: pointer;
|
|
}
|
|
|
|
.ui--Param-File .label {
|
|
color: rgba(0, 0, 0, .6);
|
|
}
|
|
|
|
.ui--Param-text {
|
|
display: inline-block;
|
|
font-size: 1rem;
|
|
line-height: 1.714rem;
|
|
}
|
|
|
|
.ui--Param-text .icon {
|
|
margin-right: 0.5rem !important;
|
|
}
|
|
|
|
.ui--Param-text * {
|
|
vertical-align: middle;
|
|
}
|
|
|
|
.ui--Param-text.nowrap {
|
|
white-space: nowrap;
|
|
}
|
|
|
|
.ui--Param-text.name {
|
|
color: rgba(0, 0, 0, .6);
|
|
font-style: italic;
|
|
}
|
|
|
|
.ui--Param-text + .ui--Param-text {
|
|
margin-left: 0.5rem;
|
|
}
|