mirror of
https://github.com/status-im/MyCrypto.git
synced 2025-01-10 02:55:41 +00:00
910093b761
* Update account view routing * update styles * Fix WalletDecrypt types * Replace disabled textareas with code blocks * Fix broken animation * Update snapshot * Make contract interact dropdowns clearable & searchable * Update node-sass to v4.8.3 * Fix swap inputs incorrectly incorrectly displaying invalid * Refactor send tx & generate tx button * Update broadcast tx & add more transaction details in tx confirmation * Add signing prop to send button * Update lite send * Update codeblock styles * Update snapshot * Revert renaming Dropdown
33 lines
652 B
SCSS
33 lines
652 B
SCSS
@import 'common/sass/variables';
|
|
@import 'common/sass/mixins';
|
|
|
|
.CodeBlock {
|
|
font-weight: 400;
|
|
font-size: 1rem;
|
|
color: rgba(0, 0, 0, 0.87);
|
|
background-color: $gray-lightest;
|
|
border: 1px solid $border-disabled;
|
|
box-shadow: inset 0 1px 0 0 rgba(63, 63, 68, 0.05);
|
|
padding: 0.75rem 1rem;
|
|
margin: 0;
|
|
margin-bottom: 1rem;
|
|
font-size: 1rem;
|
|
border-radius: 2px;
|
|
overflow: auto;
|
|
& > code {
|
|
display: block;
|
|
text-align: left;
|
|
max-height: 320px;
|
|
border: none;
|
|
background-color: inherit;
|
|
font-size: 14px;
|
|
white-space: pre;
|
|
@include mono;
|
|
}
|
|
&.wrap {
|
|
& > code {
|
|
white-space: normal;
|
|
}
|
|
}
|
|
}
|