1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00

Merge branch 'develop' into standardize-network-settings

This commit is contained in:
Erik Marks 2020-10-29 10:02:19 -07:00 committed by GitHub
commit ab8083284b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
116 changed files with 884 additions and 828 deletions

View File

@ -325,7 +325,8 @@ function createScriptTasks ({ browserPlatforms, livereload }) {
// inflating event volume.
const SEGMENT_PROD_WRITE_KEY = opts.testing ? undefined : process.env.SEGMENT_PROD_WRITE_KEY
const SEGMENT_DEV_WRITE_KEY = opts.testing ? undefined : conf.SEGMENT_WRITE_KEY
const SEGMENT_LEGACY_WRITE_KEY = opts.testing ? undefined : conf.SEGMENT_LEGACY_WRITE_KEY
const SEGMENT_PROD_LEGACY_WRITE_KEY = opts.testing ? undefined : process.env.SEGMENT_PROD_LEGACY_WRITE_KEY
const SEGMENT_DEV_LEGACY_WRITE_KEY = opts.testing ? undefined : conf.SEGMENT_LEGACY_WRITE_KEY
// Inject variables into bundle
bundler.transform(envify({
@ -345,7 +346,7 @@ function createScriptTasks ({ browserPlatforms, livereload }) {
: conf.INFURA_PROJECT_ID
),
SEGMENT_WRITE_KEY: environment === 'production' ? SEGMENT_PROD_WRITE_KEY : SEGMENT_DEV_WRITE_KEY,
SEGMENT_LEGACY_WRITE_KEY: environment === 'production' ? process.env.SEGMENT_LEGACY_WRITE_KEY : SEGMENT_LEGACY_WRITE_KEY,
SEGMENT_LEGACY_WRITE_KEY: environment === 'production' ? SEGMENT_PROD_LEGACY_WRITE_KEY : SEGMENT_DEV_LEGACY_WRITE_KEY,
}), {
global: true,
})

View File

@ -2,25 +2,51 @@ import assert from 'assert'
import sinon from 'sinon'
import proxyquire from 'proxyquire'
import { ROPSTEN, RINKEBY, KOVAN, GOERLI, MAINNET } from '../../../../app/scripts/controllers/network/enums'
import {
GOERLI,
KOVAN,
MAINNET,
RINKEBY,
ROPSTEN,
} from '../../../../app/scripts/controllers/network/enums'
const IncomingTransactionsController = proxyquire('../../../../app/scripts/controllers/incoming-transactions', {
'../lib/random-id': { default: () => 54321 },
}).default
describe('IncomingTransactionsController', function () {
const EMPTY_INIT_STATE = {
const FAKE_NETWORK = 'FAKE_NETWORK'
const MOCK_SELECTED_ADDRESS = '0x0101'
function getEmptyInitState () {
return {
incomingTransactions: {},
incomingTxLastFetchedBlocksByNetwork: {
[ROPSTEN]: null,
[RINKEBY]: null,
[KOVAN]: null,
[GOERLI]: null,
[KOVAN]: null,
[MAINNET]: null,
[RINKEBY]: null,
[ROPSTEN]: null,
},
}
}
const NON_EMPTY_INIT_STATE = {
function getNonEmptyInitState () {
return {
incomingTransactions: {
'0x123456': { id: 777 },
},
incomingTxLastFetchedBlocksByNetwork: {
[GOERLI]: 1,
[KOVAN]: 2,
[MAINNET]: 3,
[RINKEBY]: 5,
[ROPSTEN]: 4,
},
}
}
function getNonEmptyInitStateWithFakeNetworkState () {
return {
incomingTransactions: {
'0x123456': { id: 777 },
},
@ -30,63 +56,62 @@ describe('IncomingTransactionsController', function () {
[KOVAN]: 3,
[GOERLI]: 5,
[MAINNET]: 4,
[FAKE_NETWORK]: 1111,
},
}
}
const NON_EMPTY_INIT_STATE_WITH_FAKE_NETWORK_STATE = {
incomingTransactions: {
'0x123456': { id: 777 },
function getMockNetworkController (networkType = FAKE_NETWORK) {
return {
getProviderConfig: () => {
return { type: networkType }
},
incomingTxLastFetchedBlocksByNetwork: {
[ROPSTEN]: 1,
[RINKEBY]: 2,
[KOVAN]: 3,
[GOERLI]: 5,
[MAINNET]: 4,
FAKE_NETWORK: 1111,
},
}
const MOCK_BLOCKTRACKER = {
addListener: sinon.spy(),
removeListener: sinon.spy(),
testProperty: 'fakeBlockTracker',
getCurrentBlock: () => '0xa',
}
const MOCK_NETWORK_CONTROLLER = {
getProviderConfig: () => ({ type: 'FAKE_NETWORK' }),
on: sinon.spy(),
}
}
const MOCK_PREFERENCES_CONTROLLER = {
getSelectedAddress: sinon.stub().returns('0x0101'),
function getMockPreferencesController ({ showIncomingTransactions = true } = {}) {
return {
getSelectedAddress: sinon.stub().returns(MOCK_SELECTED_ADDRESS),
store: {
getState: sinon.stub().returns({
featureFlags: {
showIncomingTransactions: true,
showIncomingTransactions,
},
}),
subscribe: sinon.spy(),
},
}
}
function getMockBlockTracker () {
return {
addListener: sinon.stub().callsArgWithAsync(1, '0xa'),
removeListener: sinon.spy(),
testProperty: 'fakeBlockTracker',
getCurrentBlock: () => '0xa',
}
}
describe('IncomingTransactionsController', function () {
afterEach(function () {
sinon.restore()
})
describe('constructor', function () {
it('should set up correct store, listeners and properties in the constructor', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: {},
})
sinon.spy(incomingTransactionsController, '_update')
assert.deepEqual(incomingTransactionsController.blockTracker, MOCK_BLOCKTRACKER)
assert.deepEqual(incomingTransactionsController.networkController, MOCK_NETWORK_CONTROLLER)
assert.equal(incomingTransactionsController.preferencesController, MOCK_PREFERENCES_CONTROLLER)
assert.equal(incomingTransactionsController.getCurrentNetwork(), 'FAKE_NETWORK')
assert.deepEqual(incomingTransactionsController.store.getState(), EMPTY_INIT_STATE)
assert.deepEqual(incomingTransactionsController.store.getState(), getEmptyInitState())
assert(incomingTransactionsController.networkController.on.calledOnce)
assert.equal(incomingTransactionsController.networkController.on.getCall(0).args[0], 'networkDidChange')
@ -104,22 +129,22 @@ describe('IncomingTransactionsController', function () {
it('should set the store to a provided initial state', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
assert.deepEqual(incomingTransactionsController.store.getState(), NON_EMPTY_INIT_STATE)
assert.deepEqual(incomingTransactionsController.store.getState(), getNonEmptyInitState())
})
})
describe('#start', function () {
it('should set up a listener for the latest block', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: {},
})
sinon.spy(incomingTransactionsController, '_update')
@ -142,10 +167,10 @@ describe('IncomingTransactionsController', function () {
describe('_getDataForUpdate', function () {
it('should call fetchAll with the correct params when passed a new block number and the current network has no stored block', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
incomingTransactionsController._fetchAll = sinon.stub().returns({})
@ -160,10 +185,10 @@ describe('IncomingTransactionsController', function () {
it('should call fetchAll with the correct params when passed a new block number but the current network has a stored block', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE_WITH_FAKE_NETWORK_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitStateWithFakeNetworkState(),
})
incomingTransactionsController._fetchAll = sinon.stub().returns({})
@ -178,10 +203,10 @@ describe('IncomingTransactionsController', function () {
it('should call fetchAll with the correct params when passed a new network type but no block info exists', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE_WITH_FAKE_NETWORK_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitStateWithFakeNetworkState(),
})
incomingTransactionsController._fetchAll = sinon.stub().returns({})
@ -199,10 +224,10 @@ describe('IncomingTransactionsController', function () {
it('should return the expected data', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE_WITH_FAKE_NETWORK_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitStateWithFakeNetworkState(),
})
incomingTransactionsController._fetchAll = sinon.stub().returns({
latestIncomingTxBlockNumber: 444,
@ -259,10 +284,10 @@ describe('IncomingTransactionsController', function () {
it('should update state with correct blockhash and transactions when passed a truthy latestIncomingTxBlockNumber', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
sinon.spy(incomingTransactionsController.store, 'updateState')
@ -284,10 +309,10 @@ describe('IncomingTransactionsController', function () {
it('should update state with correct blockhash and transactions when passed a falsy latestIncomingTxBlockNumber', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
sinon.spy(incomingTransactionsController.store, 'updateState')
@ -325,10 +350,10 @@ describe('IncomingTransactionsController', function () {
it('should call fetch with the expected url when passed an address, block number and supported network', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
await incomingTransactionsController._fetchTxs('0xfakeaddress', '789', ROPSTEN)
@ -339,10 +364,10 @@ describe('IncomingTransactionsController', function () {
it('should call fetch with the expected url when passed an address, block number and MAINNET', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
await incomingTransactionsController._fetchTxs('0xfakeaddress', '789', MAINNET)
@ -353,10 +378,10 @@ describe('IncomingTransactionsController', function () {
it('should call fetch with the expected url when passed an address and supported network, but a falsy block number', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
await incomingTransactionsController._fetchTxs('0xfakeaddress', null, ROPSTEN)
@ -367,10 +392,10 @@ describe('IncomingTransactionsController', function () {
it('should not fetch and return an empty object when passed an unsported network', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
const result = await incomingTransactionsController._fetchTxs('0xfakeaddress', null, 'UNSUPPORTED_NETWORK')
@ -381,10 +406,10 @@ describe('IncomingTransactionsController', function () {
it('should return the results from the fetch call, plus the address and currentNetworkID, when passed an address, block number and supported network', async function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
const result = await incomingTransactionsController._fetchTxs('0xfakeaddress', '789', ROPSTEN)
@ -401,10 +426,10 @@ describe('IncomingTransactionsController', function () {
describe('_processTxFetchResponse', function () {
it('should return a null block number and empty tx array if status is 0', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
const result = incomingTransactionsController._processTxFetchResponse({
@ -421,10 +446,10 @@ describe('IncomingTransactionsController', function () {
it('should return a null block number and empty tx array if the passed result array is empty', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
const result = incomingTransactionsController._processTxFetchResponse({
@ -441,10 +466,10 @@ describe('IncomingTransactionsController', function () {
it('should return the expected block number and tx list when passed data from a successful fetch', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
incomingTransactionsController._normalizeTxFromEtherscan = (tx, currentNetworkID) => ({
@ -560,10 +585,10 @@ describe('IncomingTransactionsController', function () {
describe('_normalizeTxFromEtherscan', function () {
it('should return the expected data when the tx is in error', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
const result = incomingTransactionsController._normalizeTxFromEtherscan({
@ -600,10 +625,10 @@ describe('IncomingTransactionsController', function () {
it('should return the expected data when the tx is not in error', function () {
const incomingTransactionsController = new IncomingTransactionsController({
blockTracker: MOCK_BLOCKTRACKER,
networkController: MOCK_NETWORK_CONTROLLER,
preferencesController: MOCK_PREFERENCES_CONTROLLER,
initState: NON_EMPTY_INIT_STATE,
blockTracker: getMockBlockTracker(),
networkController: getMockNetworkController(),
preferencesController: getMockPreferencesController(),
initState: getNonEmptyInitState(),
})
const result = incomingTransactionsController._normalizeTxFromEtherscan({

View File

@ -7,7 +7,8 @@
}
&__account-name {
font-size: 16px;
@include Paragraph;
margin-left: 8px;
}

View File

@ -56,12 +56,12 @@
}
&__text {
font-size: 16px;
line-height: 21px;
@include Paragraph;
}
&__subtext {
font-size: 12px;
@include H7;
padding: 5px 0 0 30px;
}
}
@ -98,13 +98,13 @@
}
&__lock-button {
@include H7;
border: 1px solid $dusty-gray;
background-color: transparent;
color: $white;
border-radius: 4px;
font-size: 12px;
line-height: 23px;
padding: 0 24px;
padding: 3.5px 24px;
}
&__item-icon {
@ -138,9 +138,9 @@
}
.keyring-label {
@include H9;
z-index: 1;
font-size: 8px;
line-height: 8px;
border-radius: 10px;
padding: 4px;
text-align: center;
@ -151,11 +151,14 @@
color: $black;
font-weight: normal;
letter-spacing: 0.5px;
display: flex;
align-items: center;
}
}
&__no-accounts {
font-size: 0.8em;
@include H6;
padding: 16px 14px;
}
@ -215,8 +218,9 @@
}
&__name {
@include H4;
color: $white;
font-size: 18px;
text-overflow: ellipsis;
overflow: hidden;
white-space: nowrap;
@ -224,13 +228,14 @@
}
&__balance {
@include H6;
color: $dusty-gray;
font-size: 14px;
}
&__action {
font-size: 16px;
line-height: 18px;
@include Paragraph;
cursor: pointer;
}

View File

@ -26,9 +26,10 @@
}
&__error {
@include H6;
margin-bottom: 16px;
padding: 16px;
font-size: 14px;
border: 1px solid $accent-red;
background: #f8eae8;
border-radius: 3px;
@ -47,8 +48,9 @@
}
&__checkbox-label {
@include H7;
display: flex;
font-size: 12px;
margin-top: auto;
margin-bottom: auto;
color: $Grey-500;

View File

@ -15,8 +15,9 @@
}
.list-item__subheading {
@include H6;
margin-top: 6px;
font-size: 14px;
}
&__warning {
@ -25,10 +26,11 @@
}
& &__send-token-button {
@include H6;
display: none;
text-transform: uppercase;
width: fit-content;
font-size: 14px;
}
@media (min-width: 576px) {

View File

@ -6,7 +6,8 @@
align-items: center;
&__label {
font-size: 0.75rem;
@include H7;
font-weight: 500;
color: $scorpion;
text-transform: uppercase;
@ -19,7 +20,8 @@
}
&__primary {
font-size: 1.5rem;
@include H3;
justify-content: flex-end;
}
@ -29,7 +31,8 @@
}
&__header-text {
font-size: 0.75rem;
@include H7;
text-transform: uppercase;
margin-bottom: 6px;
color: $scorpion;
@ -40,7 +43,7 @@
}
&--total {
font-size: 0.625rem;
@include H8;
}
}
@ -50,8 +53,9 @@
.custom-nonce-input {
input {
@include Paragraph;
width: 90px;
font-size: 1rem;
}
}
}

View File

@ -10,9 +10,10 @@
}
&__action {
@include H7;
text-transform: uppercase;
color: $oslo-gray;
font-size: 0.75rem;
padding: 3px 8px;
border: 1px solid $oslo-gray;
border-radius: 4px;
@ -35,7 +36,8 @@
}
&__title-text {
font-size: 2.25rem;
@include H1;
white-space: nowrap;
overflow: hidden;
text-overflow: ellipsis;

View File

@ -12,7 +12,8 @@
}
&__warning {
font-size: 0.75rem;
@include H7;
color: #5f5922;
}
}

View File

@ -23,18 +23,20 @@
}
&__data-box {
@include H7;
background-color: #f9fafa;
padding: 12px;
font-size: 0.75rem;
margin-bottom: 16px;
word-wrap: break-word;
max-height: 200px;
overflow-y: auto;
&-label {
@include H7;
text-transform: uppercase;
padding: 8px 0 12px;
font-size: 12px;
}
}
@ -61,7 +63,8 @@
}
&__function-type {
font-size: 0.875rem;
@include H6;
font-weight: 500;
text-transform: capitalize;
color: $black;
@ -69,7 +72,8 @@
}
&__tab {
font-size: 0.75rem;
@include H7;
color: #8c8e94;
text-transform: uppercase;
margin: 0 8px;

View File

@ -23,10 +23,10 @@
}
&__back-button {
@include Paragraph;
color: #2f9ae0;
font-size: 1rem;
cursor: pointer;
font-weight: 400;
padding-left: 5px;
}
@ -38,7 +38,8 @@
}
&__address {
@include H6;
margin-left: 6px;
font-size: 14px;
}
}

View File

@ -36,13 +36,15 @@
}
&__navtext {
font-size: 9px;
@include H9;
font-weight: bold;
}
&__longtext {
@include H9;
color: $oslo-gray;
font-size: 8px;
}
&__imageflip {

View File

@ -8,15 +8,15 @@
}
&__account-name {
@include H6;
display: inline;
font-weight: bold;
font-size: 14px;
line-height: 20px;
}
%account-status-typography {
font-size: 12px;
line-height: 17px;
@include H7;
padding-top: 4px;
}
@ -67,9 +67,9 @@
.connected-accounts-options {
&__button {
font-size: $font-size-h4;
background: inherit;
color: $Grey-500;
font-size: 22px;
}
}

View File

@ -1,8 +1,8 @@
.connected-accounts-permissions {
@include H7;
display: flex;
flex-direction: column;
font-size: 12px;
line-height: 17px;
color: $Grey-500;
strong {
@ -14,18 +14,17 @@
}
&__header {
@include H6;
display: flex;
flex-direction: row;
justify-content: space-between;
align-items: center;
cursor: pointer;
font-size: 14px;
line-height: 20px;
color: #24292e;
button {
font-size: 16px;
line-height: 24px;
font-size: $font-size-paragraph;
background: none;
padding: 0;
margin-left: 8px;
@ -41,8 +40,8 @@
}
& &__checkbox {
font-size: $font-size-h4;
margin: 0 8px 0 0;
font-size: 18px;
}
&__list-container {

View File

@ -16,11 +16,12 @@
}
&__domain-info {
@include H7;
display: flex;
flex-direction: row;
align-items: center;
min-width: 0;
font-size: 12px;
}
&__domain-name {

View File

@ -51,7 +51,8 @@
}
&__text {
font-size: 10px;
@include H8;
color: $Grey-500;
margin-left: 6px;
white-space: nowrap;

View File

@ -11,14 +11,15 @@
width: 47.5%;
&__label {
@include H7;
color: #313b5e;
font-size: 12px;
display: flex;
justify-content: space-between;
align-items: center;
@media screen and (max-width: 576px) {
font-size: 10px;
@include H8;
}
.fa-info-circle {
@ -32,12 +33,14 @@
}
&__error-text {
font-size: 12px;
@include H7;
color: red;
}
&__warning-text {
font-size: 12px;
@include H7;
color: orange;
}
@ -47,11 +50,12 @@
&__input {
/*rtl:ignore*/
@include Paragraph;
direction: ltr;
border: 1px solid $dusty-gray;
border-radius: 4px;
color: $mid-gray;
font-size: 16px;
height: 24px;
width: 100%;
padding-left: 8px;
@ -68,6 +72,8 @@
}
&__input-arrows {
@include H6;
position: absolute;
top: 7px;
@ -80,7 +86,6 @@
display: flex;
flex-direction: column;
color: #9b9b9b;
font-size: 0.8em;
border-bottom-right-radius: 4px;
cursor: pointer;
@ -102,7 +107,7 @@
}
i {
font-size: 10px;
font-size: $font-size-h8;
}
}

View File

@ -18,42 +18,47 @@
&__titles,
&__container {
@include H7;
display: flex;
flex-flow: row;
justify-content: space-between;
font-size: 12px;
color: #888ea3;
}
&__container {
font-size: 16px;
@include Paragraph;
margin-top: 0;
}
&__fee {
font-size: 16px;
@include Paragraph;
color: #313a5e;
}
&__time-remaining {
@include Paragraph;
/*rtl:ignore*/
direction: ltr;
color: #313a5e;
font-size: 16px;
.minutes-num,
.seconds-num {
font-size: 16px;
@include Paragraph;
}
.seconds-num {
@include Paragraph;
margin-left: 7px;
font-size: 16px;
}
.minutes-label,
.seconds-label {
font-size: 16px;
@include Paragraph;
}
}
}
@ -67,12 +72,15 @@
position: relative;
&__title {
font-size: 12px;
@include H7;
color: #313a5e;
margin-left: 22px;
}
&__speed-buttons {
@include H8;
position: absolute;
bottom: 13px;
display: flex;
@ -80,7 +88,6 @@
padding-left: 20px;
padding-right: 19px;
width: 100%;
font-size: 10px;
color: #888ea3;
}

View File

@ -8,22 +8,25 @@
border-bottom: 1px solid #d2d8dd;
&__title {
@include Paragraph;
margin-top: 19px;
font-size: 16px;
color: $black;
}
&__blurb {
@include H7;
width: 95%;
font-size: 12px;
color: $black;
margin-top: 5px;
margin-bottom: 15px;
}
&__footer-blurb {
@include H7;
width: 95%;
font-size: 12px;
color: #979797;
margin-top: 15px;
}

View File

@ -31,7 +31,8 @@
}
&__header-close-text {
font-size: 14px;
@include H6;
color: #4eade7;
position: absolute;
top: 4px;
@ -42,10 +43,10 @@
}
&__title {
@include H5;
color: $black;
font-size: 16px;
font-weight: 500;
line-height: 16px;
display: flex;
justify-content: center;
align-items: flex-start;
@ -61,8 +62,9 @@
}
&__tab {
@include H6;
width: 100%;
font-size: 14px;
&:last-of-type {
margin-right: 0;
@ -88,13 +90,14 @@
&__info-row,
&__info-row--fade {
@include H7;
width: 100%;
background: $polar;
padding: 15px 21px;
display: flex;
flex-flow: column;
color: $scorpion;
font-size: 12px;
&__send-info,
&__transaction-info,
@ -111,19 +114,20 @@
&__total-info {
&__label {
font-size: 16px;
@include Paragraph;
@media screen and (max-width: $break-small) {
font-size: 14px;
@include H6;
}
}
&__value {
font-size: 16px;
@include Paragraph;
font-weight: bold;
@media screen and (max-width: $break-small) {
font-size: 14px;
@include H6;
}
}
}
@ -131,11 +135,11 @@
&__transaction-info,
&__send-info {
&__label {
font-size: 12px;
@include H7;
}
&__value {
font-size: 12px;
@include H6;
}
}
}

View File

@ -7,7 +7,8 @@
padding-right: 20px;
&__primary-currency {
font-size: 18px;
@include H4;
height: 20.5px;
margin-bottom: 7.5px;
}
@ -24,9 +25,10 @@
.button-group__button,
.button-group__button--active {
@include H7;
height: 130px;
max-width: 108px;
font-size: 12px;
flex-direction: column;
align-items: center;
display: flex;
@ -66,18 +68,18 @@
.gas-price-button-group--small {
display: flex;
justify-content: stretch;
height: 54px;
min-height: 54px;
@media screen and (max-width: $break-small) {
max-width: 260px;
}
&__button-fiat-price {
font-size: 13px;
@include H6;
}
&__button-label {
font-size: 16px;
@include Paragraph;
}
&__label {
@ -87,22 +89,22 @@
}
&__primary-currency {
font-size: 12px;
line-height: 12px;
@include H7;
padding-bottom: 2px;
@media screen and (max-width: 575px) {
font-size: 10px;
@include H8;
}
}
&__secondary-currency {
font-size: 12px;
line-height: 12px;
@include H7;
padding-bottom: 2px;
@media screen and (max-width: 575px) {
font-size: 10px;
@include H8;
}
}
@ -114,7 +116,7 @@
.button-group__button--active {
background: white;
color: $scorpion;
padding: 0 4px;
padding: 4px;
div {
display: flex;
@ -150,26 +152,28 @@
width: 95%;
&__button-fiat-price {
font-size: 13px;
@include H6;
}
&__button-label {
font-size: 16px;
@include Paragraph;
}
&__label {
@include H8;
font-weight: 500;
font-size: 10px;
text-transform: capitalize;
}
&__primary-currency {
font-size: 11px;
@include H7;
margin-top: 3px;
}
&__secondary-currency {
font-size: 11px;
@include H7;
}
&__loading-container {
@ -177,7 +181,8 @@
}
&__time-estimate {
font-size: 12px;
@include H7;
font-weight: 500;
margin-top: 4px;
color: $black;
@ -238,9 +243,10 @@
}
i {
@include H7;
display: flex;
color: $primary-blue;
font-size: 12px;
}
}
}

View File

@ -17,10 +17,10 @@
.tick text,
.c3-axis-x-label,
.c3-axis-y-label {
font-style: normal;
font-weight: bold;
@include H9;
line-height: normal;
font-size: 8px;
font-weight: bold;
text-align: center;
fill: #9a9ca6 !important;
}
@ -52,10 +52,9 @@
}
.custom-tooltip th {
font-style: normal;
@include H8;
font-weight: 500;
line-height: normal;
font-size: 10px;
text-align: center;
padding: 3px;
color: #fff;

View File

@ -45,9 +45,10 @@
}
&__labels {
@include H7;
display: flex;
justify-content: space-between;
font-size: 12px;
margin-top: -6px;
color: $mid-gray;
}

View File

@ -39,9 +39,8 @@
}
&__text {
font-style: normal;
font-weight: normal;
font-size: 12px;
@include H7;
color: $white;
margin-left: 10px;
margin-right: 8px;
@ -115,9 +114,8 @@
}
&__content {
font-style: normal;
font-weight: normal;
font-size: 12px;
@include H7;
color: $white;
text-align: left;
display: inline-block;

View File

@ -19,6 +19,6 @@
}
&__description {
font-size: 0.75rem;
@include H7;
}
}

View File

@ -29,7 +29,8 @@
}
&__explorer-origin {
@include H7;
color: $Grey-500;
font-size: 12px;
}
}

View File

@ -6,14 +6,16 @@
padding: 16px 0;
&__title {
font-size: 1.5rem;
@include H3;
font-weight: 500;
padding: 16px 0;
text-align: center;
}
&__description {
@include H6;
text-align: center;
font-size: 0.875rem;
}
}

View File

@ -1,7 +1,8 @@
.account-details-modal {
&__name {
@include H4;
margin-top: 9px;
font-size: 20px;
}
& &__button {
@ -18,8 +19,9 @@
}
& .qr-header {
@include H4;
margin-top: 9px;
font-size: 20px;
}
& .qr-wrapper {

View File

@ -22,13 +22,14 @@
}
&__back-text {
font-size: 14px;
line-height: 18px;
@include H6;
padding-left: 3px;
}
&__close {
font-size: 40px;
@include H1;
background-color: transparent;
color: $dusty-gray;
position: absolute;

View File

@ -22,12 +22,13 @@
}
&__input {
@include H4;
background: $white;
border: 1px solid $Grey-100;
box-sizing: border-box;
border-radius: 8px;
padding: 0.625rem 0.75rem;
font-size: 1.25rem;
margin-top: 0.75rem;
&::placeholder {

View File

@ -7,11 +7,12 @@
padding: 12px;
&__eth {
font-size: 1.5rem;
@include H3;
font-weight: 500;
}
&__fiat {
font-size: 0.75rem;
@include H7;
}
}

View File

@ -8,8 +8,9 @@
}
&__description {
@include H6;
text-align: center;
font-size: 0.875rem;
}
&__cancel-transaction-gas-fee-container {

View File

@ -1,7 +1,8 @@
.confirm-remove-account {
&__description {
@include H6;
text-align: center;
font-size: 0.875rem;
}
&__account {
@ -19,8 +20,9 @@
&__name,
&__address {
@include H6;
margin-right: 10px;
font-size: 14px;
}
&__name {
@ -31,7 +33,8 @@
}
&__label {
font-size: 11px;
@include H8;
display: block;
color: #9b9b9b;
}

View File

@ -15,15 +15,15 @@
align-items: flex-start;
&__title {
@include H3;
color: $white;
font-size: 24px;
line-height: 32px;
}
&__description {
@include Paragraph;
color: $white;
font-size: 16px;
line-height: 22px;
margin-top: 10px;
}
@ -114,13 +114,12 @@
}
&__title {
font-size: 20px;
line-height: 30px;
@include H4;
}
&__text {
font-size: 14px;
line-height: 22px;
@include H6;
margin-top: 7px;
}
}
@ -142,21 +141,4 @@
&__deposit-button {
width: 257px !important;
}
.simple-dropdown {
color: #5b5d67;
font-size: 16px;
line-height: 21px;
border: 1px solid #d8d8d8;
background-color: #fff;
text-align: center;
width: 100%;
height: 45px;
line-height: 44px;
font-weight: 300;
}
.simple-dropdown__selected {
text-align: center;
}
}

View File

@ -24,9 +24,9 @@
}
&__title {
@include H4;
font-weight: bold;
font-size: 18px;
line-height: 25px;
}
&__account-info {
@ -35,8 +35,9 @@
&__account,
&__balance {
@include H6;
font-weight: normal;
font-size: 14px;
color: #24292e;
}
@ -60,16 +61,16 @@
padding: 24px;
&__title {
@include H6;
font-weight: bold;
font-size: 14px;
line-height: 20px;
color: #24292e;
}
&__description {
@include H7;
font-weight: normal;
font-size: 12px;
line-height: 17px;
color: #6a737d;
margin-top: 8px;
}
@ -91,9 +92,9 @@
&__option-label,
&__option-label--selected {
@include H6;
font-weight: normal;
font-size: 14px;
line-height: 20px;
color: #474b4d;
}
@ -102,18 +103,16 @@
}
&__option-description {
font-weight: normal;
font-size: 12px;
line-height: 17px;
@include H7;
color: #6a737d;
margin-top: 8px;
margin-bottom: 6px;
}
&__option-value {
font-weight: normal;
font-size: 18px;
line-height: 25px;
@include H4;
color: #24292e;
}

View File

@ -1,8 +1,9 @@
.export-private-key-modal {
&__body-title {
@include H4;
margin-top: 16px;
margin-bottom: 16px;
font-size: 18px;
}
&__divider {
@ -13,8 +14,9 @@
}
&__account-name {
@include H4;
margin-top: 9px;
font-size: 20px;
}
&__password {
@ -24,9 +26,9 @@
&__password-label,
&__password--error {
@include H6;
color: $scorpion;
font-size: 14px;
line-height: 18px;
margin-bottom: 10px;
}
@ -36,9 +38,9 @@
}
&__password-input {
@include Paragraph;
padding: 10px 0 13px 17px;
font-size: 16px;
line-height: 21px;
width: 291px;
height: 44px;
}
@ -48,11 +50,11 @@
}
&__password--warning {
@include H7;
border-radius: 8px;
background-color: #fff6f6;
font-size: 12px;
font-weight: 500;
line-height: 15px;
color: $crimson;
width: 292px;
padding: 9px 15px;
@ -67,9 +69,9 @@
}
&__password-display-textarea {
@include Paragraph;
color: $crimson;
font-size: 16px;
line-height: 21px;
border: none;
height: 75px;
width: 100%;

View File

@ -16,29 +16,29 @@
}
&__symbol {
@include Paragraph;
color: $tundora;
font-size: 16px;
line-height: 24px;
text-align: center;
margin-bottom: 7.5px;
}
&__title {
@include H3;
height: 30px;
width: 271.28px;
color: $tundora;
font-size: 22px;
line-height: 30px;
text-align: center;
margin-bottom: 10.5px;
}
&__copy {
height: 41px;
@include Paragraph;
min-height: 41px;
width: 318px;
color: $scorpion;
font-size: 14px;
line-height: 18px;
text-align: center;
}

View File

@ -12,7 +12,7 @@
.metametrics-opt-in__title {
font-size: 38px;
@include H1;
}
.metametrics-opt-in__content {

View File

@ -21,9 +21,10 @@
}
&__header-close {
@include H4;
color: #24292e;
background: none;
font-size: 1.1rem;
}
}
@ -33,12 +34,13 @@
}
&__input {
@include H4;
background: $white;
border: 1px solid $Grey-100;
box-sizing: border-box;
border-radius: 8px;
padding: 0.625rem 0.75rem;
font-size: 1.25rem;
margin-top: 0.75rem;
&::placeholder {

View File

@ -7,7 +7,8 @@
border-radius: 8px;
&__title {
font-size: 1.5rem;
@include H3;
font-weight: 500;
padding: 16px 0;
text-align: center;
@ -34,21 +35,24 @@
}
&__status {
@include H6;
text-align: center;
font-size: 14px;
padding: 15px;
}
&__image {
font-size: 1.5rem;
@include H3;
font-weight: 500;
padding: 16px 0 0;
text-align: center;
}
&__error {
@include Paragraph;
text-align: center;
font-size: 16px;
padding: 15px;
}

View File

@ -1,6 +1,7 @@
.reject-transactions {
&__description {
@include Paragraph;
text-align: center;
font-size: 0.875rem;
}
}

View File

@ -1,14 +1,16 @@
.transaction-confirmed {
&__title {
font-size: 1.5rem;
@include H3;
font-weight: 500;
padding: 16px 0;
text-align: center;
}
&__description {
@include H6;
text-align: center;
font-size: 0.875rem;
}
&__content {

View File

@ -27,8 +27,9 @@
visibility: visible;
&:hover {
@include H4;
color: #b0d7f2;
font-size: 1.1rem;
}
}
}

View File

@ -33,7 +33,8 @@
}
&__name {
font-size: 0.75rem;
@include H7;
padding-left: 5px;
}

View File

@ -35,7 +35,6 @@
&__title {
@include H4;
line-height: 25px;
text-align: center;
margin-top: 32px;
width: 100%;
@ -67,7 +66,8 @@
align-items: center;
label {
font-size: 14px;
@include H6;
margin-left: 16px;
color: $Black-100;
}
@ -88,7 +88,6 @@
&__permissions-header {
@include H6;
line-height: 20px;
color: #6a737d;
}

View File

@ -7,7 +7,6 @@
&__text {
@include H7;
line-height: 17px;
color: #6a737d;
display: flex;
margin-top: 10px;

View File

@ -30,7 +30,7 @@
text-align: center;
color: $Black-100;
margin-top: 14px;
margin-top: 16px;
}
&__text,
@ -45,6 +45,7 @@
width: 100%;
text-overflow: ellipsis;
overflow: hidden;
margin-top: 8px;
/*rtl:ignore*/
direction: rtl;

View File

@ -10,10 +10,10 @@
}
&__name {
@include H5;
width: 100%;
font-size: 1rem;
font-weight: 500;
line-height: 19px;
color: $black;
text-overflow: ellipsis;
overflow: hidden;
@ -23,8 +23,8 @@
}
&__address {
font-size: 0.75rem;
line-height: 0.75rem;
@include H7;
color: #989a9b;
}

View File

@ -57,7 +57,7 @@
max-width: 318px;
&__time-estimate {
font-size: 12px;
@include H7;
}
}
}

View File

@ -61,9 +61,9 @@
}
&__header__text {
@include H3;
color: #5b5d67;
font-size: 22px;
line-height: 29px;
z-index: 3;
}
@ -96,14 +96,14 @@
}
&__account-text {
font-size: 14px;
@include H6;
}
&__account-item {
@include H7;
height: 22px;
background-color: $white;
line-height: 16px;
font-size: 12px;
width: 124px;
.account-list-item {
@ -129,8 +129,9 @@
}
&__balance-text {
@include H6;
text-align: right;
font-size: 14px;
}
&__balance-value {
@ -157,19 +158,19 @@
}
&__headline {
@include H4;
height: 48px;
width: 240px;
color: $tundora;
font-size: 18px;
line-height: 24px;
text-align: center;
margin-top: 20px;
}
&__notice,
&__warning {
font-size: 14px;
line-height: 19px;
@include H6;
text-align: center;
margin-top: 41px;
margin-bottom: 11px;
@ -200,19 +201,19 @@
}
&__row-title {
@include H5;
width: 80px;
color: $dusty-gray;
font-size: 16px;
line-height: 22px;
margin-top: 12px;
margin-left: 18px;
width: 100%;
}
&__row-value {
@include H6;
color: $scorpion;
font-size: 14px;
line-height: 19px;
width: 100%;
overflow-wrap: break-word;
border-bottom: 1px solid #d2d8dd;
@ -227,11 +228,12 @@
}
&__footer {
@include H3;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
position: relative;
flex: 0 0 auto;
border-top: 1px solid $geyser;

View File

@ -22,7 +22,8 @@
}
.network-display__name {
font-size: 12px;
@include H7;
white-space: nowrap;
font-weight: 500;
}
@ -38,9 +39,9 @@
min-height: min-content;
&__title {
font-style: normal;
@include H5;
font-weight: 500;
font-size: 18px;
}
&__identicon-container {
@ -73,17 +74,19 @@
}
&__info {
font-size: 12px;
@include H7;
}
&__info--bolded {
font-size: 16px;
@include Paragraph;
font-weight: 500;
}
p {
@include H6;
color: #999;
font-size: 0.8rem;
}
.identicon {}

View File

@ -1,9 +1,10 @@
.signature-request-header {
@include H7;
display: flex;
padding: 1rem;
border-bottom: 1px solid $geyser;
justify-content: space-between;
font-size: 0.75rem;
&--account,
&--network {
@ -21,7 +22,8 @@
}
&__account-name {
font-size: 12px;
@include H7;
font-weight: 500;
}

View File

@ -4,16 +4,18 @@
flex-direction: column;
&__title {
@include H6;
font-weight: 500;
font-size: 14px;
color: #636778;
margin-left: 12px;
}
h2 {
@include H6;
flex: 1 1 0;
text-align: left;
font-size: 0.8rem;
border-bottom: 1px solid #d2d8dd;
padding: 0.5rem;
margin: 0;
@ -35,9 +37,8 @@
}
&__type-title {
font-style: normal;
font-weight: normal;
font-size: 14px;
@include H6;
margin-left: 12px;
margin-top: 6px;
margin-bottom: 10px;

View File

@ -5,13 +5,14 @@
&__tab {
@include Paragraph;
display: flex;
flex-flow: row nowrap;
align-items: flex-start;
min-width: 0;
flex: 0 0 auto;
box-sizing: border-box;
font-size: 16px;
padding: 16px 24px;
opacity: 0.5;
transition: opacity 200ms ease-in-out;
@ -27,7 +28,8 @@
}
@media screen and (max-width: 575px) {
font-size: 18px;
@include H4;
padding: 24px;
border-bottom: 1px solid $alto;
opacity: 1;
@ -41,8 +43,9 @@
display: none;
@media screen and (max-width: 575px) {
@include H6;
display: block;
font-size: 14px;
font-weight: 300;
margin-top: 8px;
min-height: 14px;

View File

@ -54,8 +54,9 @@
}
&__activity-text {
@include H7;
color: $dusty-gray;
font-size: 0.75rem;
cursor: pointer;
&:hover {
@ -73,7 +74,8 @@
}
&__action-link {
font-size: 0.75rem;
@include H7;
cursor: pointer;
color: $primary-blue;
}

View File

@ -1,5 +1,6 @@
.transaction-breakdown-row {
font-size: 0.75rem;
@include H7;
color: $scorpion;
display: flex;
justify-content: space-between;

View File

@ -17,7 +17,7 @@
}
& &__header-button {
font-size: 0.625rem;
@include H8;
&-tooltip-container {
display: flex !important;

View File

@ -6,7 +6,8 @@
}
&__secondary-currency {
font-size: 12px;
@include H7;
margin-top: 4px;
color: $Grey-500;
}
@ -24,11 +25,11 @@
display: flex;
.button {
font-size: 0.625rem;
@include H8;
padding: 8px;
width: 75px;
white-space: nowrap;
line-height: 1rem;
}
& > .button:first-child {

View File

@ -10,9 +10,9 @@
}
&__header {
@include H6;
flex: 0 0 auto;
font-size: 14px;
line-height: 20px;
color: $Grey-400;
border-bottom: 1px solid $Grey-100;
padding: 8px 0 8px 20px;

View File

@ -34,7 +34,7 @@
}
text-transform: uppercase;
font-weight: bold;
font-weight: 500;
}
.eth-overview {
@ -54,9 +54,9 @@
}
&__primary-balance {
@include H2;
color: $black;
font-size: 32px;
line-height: 45px;
width: 100%;
justify-content: center;
}
@ -71,15 +71,14 @@
}
&__cached-secondary-balance {
@include Paragraph;
color: rgba(220, 153, 18, 0.6901960784313725);
font-size: 16px;
line-height: 23px;
}
&__secondary-balance {
font-size: 16px;
line-height: 23px;
font-weight: 400;
@include Paragraph;
color: $Grey-400;
}
@ -116,17 +115,16 @@
}
&__primary-balance {
@include H2;
color: $black;
font-size: 32px;
line-height: 45px;
width: 100%;
justify-content: center;
}
&__secondary-balance {
font-size: 16px;
line-height: 23px;
font-weight: 400;
@include H5;
color: $Grey-400;
}

View File

@ -4,10 +4,11 @@
background-color: #33a4e7;
.msg {
@include H7;
width: 100%;
display: block;
color: white;
font-size: 12px;
text-align: center;
}
}

View File

@ -4,7 +4,7 @@
align-items: center;
&__button {
font-size: 1rem;
font-size: $font-size-h5;
color: $tundora;
border-style: solid;
border-color: $alto;

View File

@ -14,7 +14,6 @@ $warning-light-orange: #f8b588;
@include H6;
font-weight: 500;
line-height: 1.25rem;
padding: 0.75rem 1rem;
display: flex;
justify-content: center;
@ -170,7 +169,6 @@ $warning-light-orange: #f8b588;
@include H4;
color: $Blue-500;
line-height: 1.25rem;
cursor: pointer;
background-color: transparent;
@ -211,11 +209,12 @@ $warning-light-orange: #f8b588;
}
.btn--first-time {
@include H4;
height: 54px;
width: 198px;
box-shadow: 0 2px 4px 0 rgba(0, 0, 0, 0.14);
color: $white;
font-size: 1.25rem;
font-weight: 500;
transition: 200ms ease-in-out;
background-color: rgba(247, 134, 28, 0.9);
@ -228,15 +227,6 @@ input[type="submit"][disabled] {
opacity: 0.5;
}
button.primary {
padding: 8px 12px;
background: #f7861c;
box-shadow: 0 3px 6px rgba(247, 134, 28, 0.36);
color: $white;
font-size: 1.1em;
text-transform: uppercase;
}
.btn--rounded {
border-radius: 100px;
will-change: box-shadow;

View File

@ -1,7 +1,7 @@
.currency-input {
&__conversion-component {
font-size: 12px;
line-height: 12px;
@include H7;
padding-left: 1px;
}

View File

@ -1,6 +1,6 @@
.dialog {
font-size: 0.75rem;
line-height: 1rem;
@include H7;
padding: 1rem;
border: 1px solid $black;
box-sizing: border-box;

View File

@ -1,4 +1,6 @@
.dropdown {
@include H6;
appearance: none;
// TODO: remove these after getting autoprefixer working in Storybook
@ -11,7 +13,6 @@
background-position: right 18px top 50%;
background-color: white;
padding: 8px 32px 8px 16px;
font-size: 14px;
[dir='rtl'] & {
background-position: left 18px top 50%;

View File

@ -12,8 +12,9 @@
}
&__input {
@include H6;
width: 250px;
font-size: 14px;
text-align: center;
border: 1px solid $alto;

View File

@ -1,10 +1,11 @@
.error-message {
@include H7;
min-height: 32px;
border: 1px solid $monzo;
color: $monzo;
background: lighten($monzo, 56%);
border-radius: 4px;
font-size: 0.75rem;
display: flex;
justify-content: flex-start;
align-items: center;

View File

@ -17,10 +17,11 @@
}
&__text {
@include H4;
resize: none;
border: none;
background: $alabaster;
font-size: 20px;
text-align: center;
}
@ -32,12 +33,13 @@
}
&__button {
@include H7;
padding: 10px;
flex: 1;
display: flex;
justify-content: center;
align-items: center;
font-size: 12px;
cursor: pointer;
color: $primary-blue;

View File

@ -3,7 +3,8 @@
align-items: center;
&__label {
font-size: 10px;
@include H8;
margin-left: 4px;
color: $Grey-500;
}

View File

@ -37,9 +37,9 @@
}
&__heading {
@include H5;
grid-area: head;
font-size: 16px;
line-height: 160%;
position: relative;
display: flex;
align-items: center;
@ -57,9 +57,9 @@
}
&__subheading {
@include H7;
grid-area: sub;
font-size: 12px;
line-height: 14px;
color: $Grey-500;
margin-top: 4px;
// all direct descendants should be truncated with ellipses
@ -76,8 +76,9 @@
}
&__mid-content {
@include H7;
grid-area: mid;
font-size: 12px;
color: $Grey-500;
}

View File

@ -26,13 +26,6 @@
align-items: center;
}
&__message {
margin-top: 32px;
font-weight: 400;
font-size: 20px;
color: $manatee;
}
&__error-screen {
display: flex;
flex-direction: column;

View File

@ -1,5 +1,7 @@
.menu {
&__container {
@include H6;
background: $white;
box-shadow: 0 2px 10px rgba(0, 0, 0, 0.214);
border-radius: 8px;
@ -9,9 +11,6 @@
flex-direction: column;
align-items: center;
padding: 0 16px;
font-size: 14px;
font-weight: normal;
line-height: 20px;
z-index: 1050;
}

View File

@ -73,9 +73,10 @@
a,
a:hover {
@include H7;
text-decoration: none;
cursor: pointer;
font-size: 0.75rem;
text-transform: uppercase;
color: #2f9ae0;
}
@ -91,24 +92,24 @@
}
&__back-button {
@include Paragraph;
color: #2f9ae0;
font-size: 1rem;
cursor: pointer;
font-weight: 400;
}
&__title {
@include H2;
color: $black;
font-size: 2rem;
font-weight: 500;
line-height: 2rem;
margin-right: 1.5rem;
}
&__subtitle {
@include H6;
padding-top: 0.5rem;
line-height: initial;
font-size: 0.9rem;
color: $gray;
}
@ -118,9 +119,10 @@
}
&__tab {
@include Paragraph;
min-width: 5rem;
color: $dusty-gray;
font-size: 1rem;
border-bottom: none;
margin-right: 16px;

View File

@ -36,7 +36,7 @@
@include H4;
font-weight: bold;
line-height: 25px;
padding-bottom: 8px;
h2 {
white-space: nowrap;
@ -51,9 +51,6 @@
&__subtitle {
@include H6;
padding-top: 8px;
line-height: 20px;
}
&__button {

View File

@ -5,13 +5,15 @@
align-items: center;
&__message-container > div:first-child {
@include Paragraph;
margin-top: 18px;
font-size: 15px;
color: #4d4d4d;
}
&__message {
font-size: 12px;
@include H7;
color: #f7861c;
}

View File

@ -69,11 +69,12 @@
}
&__name {
@include H6;
padding-left: 14px;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.875rem;
[dir='rtl'] & {
/*rtl:ignore*/
@ -117,10 +118,11 @@
}
&__name {
@include H9;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.5rem;
[dir='rtl'] & {
/*rtl:ignore*/
@ -171,10 +173,11 @@
}
&__name {
@include H8;
overflow: hidden;
text-overflow: ellipsis;
white-space: nowrap;
font-size: 0.6875rem;
[dir='rtl'] & {
/*rtl:ignore*/

View File

@ -1,6 +1,7 @@
.snackbar {
@include H7;
padding: 0.75rem 1rem;
font-size: 0.75rem;
color: $Blue-600;
min-width: 360px;
width: fit-content;

View File

@ -3,10 +3,8 @@
$self: &;
&__status {
font-style: normal;
font-weight: normal;
font-size: 16px;
line-height: 23px;
@include Paragraph;
display: flex;
align-items: center;
text-transform: uppercase;

View File

@ -1,4 +1,6 @@
.unit-input {
@include Paragraph;
display: flex;
flex-flow: row nowrap;
align-items: center;
@ -7,7 +9,6 @@
border-radius: 4px;
background-color: #fff;
color: #4d4d4d;
font-size: 16px;
padding: 8px 10px;
position: relative;
@ -34,12 +35,12 @@
}
&__input {
@include Paragraph;
color: #4d4d4d;
font-size: 1rem;
border: none;
max-width: 22ch;
height: 16px;
line-height: 18px;
&__disabled {
background-color: rgb(222, 222, 222);
@ -48,14 +49,14 @@
&__input-container {
display: flex;
align-items: flex-start;
padding-bottom: 4px;
align-items: center;
padding-bottom: 2px;
}
&__suffix {
@include Paragraph;
margin-left: 3px;
font-size: 1rem;
line-height: 1rem;
}
&--error {

View File

@ -42,9 +42,10 @@
}
.network-indicator {
@include H8;
display: flex;
align-items: center;
font-size: 0.6em;
&__down-arrow {
height: 8px;
@ -58,16 +59,16 @@
}
.fa-question-circle {
font-size: $font-size-paragraph;
margin: 0 4px 0 6px;
font-size: 1rem;
flex: 0 0 auto;
}
}
.network-name {
@include H7;
padding: 0 4px;
font-size: 12px;
line-height: 14px;
flex: 1 1 auto;
color: $tundora;
font-weight: 500;
@ -163,20 +164,20 @@
}
.network-dropdown-title {
@include H4;
height: 25px;
width: 120px;
color: $white;
font-size: 18px;
line-height: 25px;
text-align: center;
}
.network-dropdown-content {
@include H6;
min-height: 36px;
width: 265px;
color: $dusty-gray;
font-size: 14px;
line-height: 18px;
}
.network-caret {

View File

@ -39,8 +39,9 @@
}
.send-screen input {
@include H7;
width: 100%;
font-size: 12px;
}
.send-eth-icon {
@ -70,11 +71,11 @@
}
.large-input {
@include Paragraph;
border: 1px solid $dusty-gray;
border-radius: 4px;
margin: 4px 0 20px;
font-size: 16px;
line-height: 22.4px;
}
.send-screen-gas-input {
@ -92,22 +93,22 @@
}
.send-screen-input-wrapper__error-message {
@include H7;
display: block;
position: absolute;
bottom: 4px;
font-size: 12px;
line-height: 12px;
left: 8px;
color: $red;
}
}
.send-screen-input-wrapper__error-message {
@include H7;
display: block;
position: absolute;
bottom: 4px;
font-size: 12px;
line-height: 12px;
left: 8px;
color: $red;
}
@ -118,6 +119,8 @@
}
.send-screen-gas-input {
@include Paragraph;
width: 100%;
height: 41px;
border-radius: 3px;
@ -129,7 +132,6 @@
align-items: center;
padding-left: 10px;
padding-right: 12px;
font-size: 16px;
color: $scorpion;
}
@ -158,8 +160,9 @@
}
.send-screen-gas-input-customize {
@include H7;
color: $primary-blue;
font-size: 12px;
cursor: pointer;
}
@ -173,6 +176,8 @@
}
.customize-gas-tooltip-container {
@include Paragraph;
position: absolute;
bottom: 50px;
width: 237px;
@ -182,7 +187,6 @@
box-shadow: $alto 0 0 5px;
z-index: 1050;
padding: 13px 19px;
font-size: 16px;
border-radius: 4px;
font-weight: 500;
}
@ -219,7 +223,8 @@
}
.gas-tooltip-label {
font-size: 16px;
@include Paragraph;
color: $tundora;
}
@ -237,10 +242,11 @@
}
.customize-gas-input {
@include Paragraph;
width: 178px;
height: 28px;
border: 1px solid $alto;
font-size: 16px;
color: $nile-blue;
padding-left: 8px;
}
@ -250,14 +256,17 @@
}
.gas-tooltip-input-detail {
@include H7;
position: absolute;
top: 4px;
right: 26px;
font-size: 12px;
color: $silver-chalice;
}
.gas-tooltip-input-arrows {
@include H6;
position: absolute;
top: 0;
right: 4px;
@ -268,7 +277,6 @@
display: flex;
flex-direction: column;
color: #9b9b9b;
font-size: 0.8em;
padding: 1px 4px;
cursor: pointer;
}
@ -286,15 +294,15 @@
.send-screen {
&__title {
@include H4;
color: $scorpion;
font-size: 18px;
line-height: 29px;
}
&__subtitle {
@include H6;
margin: 10px 0 20px;
font-size: 14px;
line-height: 24px;
}
&__send-button,
@ -347,23 +355,23 @@
}
&__title {
@include H4;
color: $scorpion;
font-size: 18px;
line-height: 29px;
}
&__description,
&__balance-text,
&__token-symbol {
@include H6;
margin-top: 10px;
font-size: 14px;
line-height: 24px;
text-align: center;
}
&__token-balance {
font-size: 40px;
line-height: 40px;
@include H1;
margin-top: 13px;
.token-balance__amount {
@ -433,12 +441,13 @@
}
&__send-arrow-icon {
@include H4;
color: #f28930;
transform: rotate(-45deg);
position: absolute;
top: -2px;
left: 0;
font-size: 1.12em;
}
&__arrow-background {
@ -489,25 +498,25 @@
}
&__title {
@include H3;
color: $scorpion;
font-size: 22px;
line-height: 29px;
text-align: center;
margin-top: 25px;
}
&__copy {
@include H6;
color: $gray;
font-size: 14px;
line-height: 19px;
text-align: center;
margin-top: 10px;
width: 287px;
}
&__error {
font-size: 12px;
line-height: 12px;
@include H7;
left: 8px;
color: $red;
}
@ -517,8 +526,8 @@
}
&__warning {
font-size: 12px;
line-height: 12px;
@include H7;
left: 8px;
color: $orange;
}
@ -549,6 +558,7 @@
flex-flow: row;
flex: 1 0 auto;
justify-content: space-between;
align-items: center;
}
&__form-field-container {
@ -582,22 +592,21 @@
}
&__form-label {
@include Paragraph;
color: $scorpion;
font-size: 16px;
line-height: 22px;
width: 95px;
font-weight: 400;
flex: 0 0 auto;
}
&__from-dropdown,
&__asset-dropdown {
@include H7;
width: 100%;
border: 1px solid $alto;
border-radius: 4px;
background-color: $white;
line-height: 16px;
font-size: 12px;
color: $tundora;
position: relative;
@ -670,14 +679,16 @@
}
&__symbol {
font-size: 16px;
@include Paragraph;
margin-bottom: 2px;
}
&__name {
@include H7;
display: flex;
flex-flow: row nowrap;
font-size: 12px;
&__label {
margin-right: 0.25rem;
@ -729,6 +740,8 @@
}
&__input {
@include Paragraph;
z-index: 1025;
position: relative;
height: 54px;
@ -738,14 +751,14 @@
background-color: $white;
color: $tundora;
padding: 10px;
font-size: 16px;
line-height: 21px;
}
}
&__memo-text-area,
&__hex-data {
&__input {
@include Paragraph;
z-index: 1025;
position: relative;
height: 54px;
@ -755,13 +768,12 @@
background-color: $white;
color: $tundora;
padding: 10px;
font-size: 16px;
line-height: 21px;
}
}
&__amount-max {
font-size: 12px;
@include H7;
position: relative;
display: inline-block;
width: 56px;
@ -815,6 +827,8 @@
}
&__sliders-icon-container {
@include Paragraph;
display: flex;
align-items: center;
justify-content: center;
@ -827,7 +841,6 @@
right: 15px;
top: 14px;
cursor: pointer;
font-size: 1em;
}
&__sliders-icon {
@ -872,12 +885,13 @@
}
&__header {
@include H3;
height: 52px;
border-bottom: 1px solid $alto;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 22px;
@media screen and (max-width: $break-small) {
flex: 0 0 auto;
@ -913,12 +927,13 @@
}
&__footer {
@include H3;
height: 75px;
border-top: 1px solid $alto;
display: flex;
align-items: center;
justify-content: space-between;
font-size: 22px;
position: relative;
@media screen and (max-width: $break-small) {
@ -944,8 +959,9 @@
}
&__revert {
@include Paragraph;
color: $silver-chalice;
font-size: 16px;
margin-left: 21.25px;
}
@ -962,12 +978,12 @@
}
&__error-message {
@include H7;
display: block;
position: absolute;
top: -18px;
right: 0;
font-size: 12px;
line-height: 12px;
color: $red;
width: 100%;
text-align: center;
@ -986,19 +1002,19 @@
padding-left: 20px;
&__title {
@include H4;
height: 26px;
color: $tundora;
font-size: 20px;
line-height: 26px;
margin-top: 17px;
}
&__copy {
@include Paragraph;
height: 38px;
width: 314px;
color: $tundora;
font-size: 14px;
line-height: 19px;
margin-top: 17px;
}
@ -1015,10 +1031,11 @@
}
.gas-tooltip-input-arrows {
@include H4;
width: 32px;
height: 54px;
border-left: 1px solid #dadada;
font-size: 18px;
color: $tundora;
right: 0;
padding: 0;
@ -1049,15 +1066,18 @@
}
.advanced-gas-options-btn {
@include H6;
display: flex;
justify-content: flex-end;
font-size: 14px;
color: #2f9ae0;
cursor: pointer;
margin-top: 5px;
}
.sliders-icon-container {
@include Paragraph;
display: flex;
align-items: center;
justify-content: center;
@ -1070,10 +1090,11 @@
right: 15px;
top: 14px;
cursor: pointer;
font-size: 1em;
}
.gas-fee-reset {
@include H6;
display: flex;
align-items: center;
justify-content: center;
@ -1084,8 +1105,6 @@
right: 12px;
top: 14px;
cursor: pointer;
font-size: 1em;
font-size: 14px;
color: #2f9ae0;
}

View File

@ -1,4 +1,6 @@
.simple-dropdown {
@include Paragraph;
height: 56px;
display: flex;
justify-content: flex-start;
@ -6,7 +8,6 @@
border: 1px solid $alto;
border-radius: 4px;
background-color: $white;
font-size: 16px;
color: #4d4d4d;
cursor: pointer;
position: relative;

View File

@ -2,7 +2,7 @@
.token-list {
&__title {
font-size: 0.75rem;
@include H7;
}
&__tokens-container {

View File

@ -17,13 +17,14 @@
}
.asset-breadcrumb {
font-size: 14px;
@include H6;
color: $Black-100;
background-color: inherit;
&__chevron {
font-size: $font-size-paragraph;
padding: 0 10px 0 2px;
font-size: 16px;
}
&__asset {
@ -33,13 +34,13 @@
.token-options {
&__button {
font-size: 20px;
font-size: $font-size-paragraph;
color: $Black-100;
background-color: inherit;
padding: 2px 8px;
}
&__icon {
font-size: 16px;
@include Paragraph;
}
}

View File

@ -2,7 +2,8 @@
padding: 16px;
&__header {
font-size: 0.75rem;
@include H7;
display: flex;
}
@ -26,17 +27,16 @@
align-items: flex-start;
&__amount {
@include H1;
color: $scorpion;
font-size: 43px;
line-height: 43px;
margin-right: 8px;
}
&__symbol {
@include H5;
color: $scorpion;
font-size: 16px;
font-weight: 400;
line-height: 24px;
}
}
}

View File

@ -28,9 +28,8 @@
}
&__title {
font-weight: normal;
font-size: 24px;
line-height: 34px;
@include H3;
width: 100%;
display: flex;
justify-content: center;
@ -41,9 +40,8 @@
}
&__description {
font-weight: normal;
font-size: 14px;
line-height: 20px;
@include H6;
margin-top: 16px;
margin-bottom: 16px;
color: #6a737d;
@ -62,15 +60,14 @@
padding-right: 24px;
&__bold-text {
@include H6;
font-weight: bold;
font-size: 14px;
line-height: 20px;
}
&__thin-text {
font-weight: normal;
font-size: 12px;
line-height: 17px;
@include H7;
color: #6a737d;
}
}
@ -96,9 +93,9 @@
&__title,
&__title-value {
@include H6;
font-weight: bold;
font-size: 14px;
line-height: 20px;
}
&__title {
@ -177,16 +174,16 @@
}
&__primary-fee {
@include H4;
font-weight: bold;
font-size: 18px;
line-height: 25px;
color: #000;
}
&__secondary-fee {
@include H6;
font-weight: normal;
font-size: 14px;
line-height: 20px;
color: #8c8e94;
}
}
@ -223,23 +220,22 @@
}
&__large-text {
font-size: 18px;
line-height: 25px;
@include H4;
color: #24292e;
}
&__medium-link-text {
font-size: 14px;
line-height: 20px;
@include H6;
font-weight: 500;
color: $primary-blue;
}
&__medium-text,
&__label {
font-weight: normal;
font-size: 14px;
line-height: 20px;
@include H6;
color: #24292e;
}
@ -251,9 +247,8 @@
&__small-text,
&__small-blue-text,
&__info-row {
font-weight: normal;
font-size: 12px;
line-height: 17px;
@include H7;
color: #6a737d;
}

View File

@ -61,9 +61,9 @@
}
&__header__text {
@include H3;
color: #5b5d67;
font-size: 22px;
line-height: 29px;
z-index: 3;
text-align: center;
}
@ -97,14 +97,14 @@
}
&__account-text {
font-size: 14px;
@include H6;
}
&__account-item {
@include H7;
height: 22px;
background-color: $white;
line-height: 16px;
font-size: 12px;
width: 124px;
.account-list-item {
@ -130,8 +130,9 @@
}
&__balance-text {
@include H6;
text-align: right;
font-size: 14px;
}
&__balance-value {
@ -153,8 +154,8 @@
}
&__notice {
font-size: 14px;
line-height: 19px;
@include H6;
text-align: center;
margin-top: 15px;
margin-bottom: 11px;
@ -171,7 +172,8 @@
position: relative;
&-text {
font-size: 0.7em;
@include H7;
height: 115px;
}
@ -206,20 +208,21 @@
}
&-lock-text {
@include H7;
width: 200px;
font-size: 0.75em;
position: absolute;
top: calc(50% + 5px);
text-align: center;
left: calc(50% - 100px);
background-color: white;
line-height: 1em;
border-radius: 3px;
}
&-copy {
@include H7;
justify-content: space-evenly;
font-size: 0.75em;
margin-left: 20px;
margin-right: 20px;
display: flex;
@ -237,11 +240,12 @@
}
&__footer {
@include H4;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
position: relative;
flex: 0 0 auto;
border-top: 1px solid $geyser;

View File

@ -61,9 +61,9 @@
}
&__header__text {
@include H3;
color: #5b5d67;
font-size: 22px;
line-height: 29px;
z-index: 3;
text-align: center;
}
@ -97,14 +97,14 @@
}
&__account-text {
font-size: 14px;
@include H6;
}
&__account-item {
@include H7;
height: 22px;
background-color: $white;
line-height: 16px;
font-size: 12px;
width: 124px;
.account-list-item {
@ -130,8 +130,9 @@
}
&__balance-text {
@include H6;
text-align: right;
font-size: 14px;
}
&__balance-value {
@ -153,8 +154,8 @@
}
&__notice {
font-size: 14px;
line-height: 19px;
@include H6;
text-align: center;
margin-top: 41px;
margin-bottom: 11px;
@ -165,11 +166,12 @@
}
&__footer {
@include H3;
width: 100%;
display: flex;
align-items: center;
justify-content: center;
font-size: 22px;
position: relative;
flex: 0 0 auto;
border-top: 1px solid $geyser;

View File

@ -2,9 +2,10 @@
&__footer {
a,
a:hover {
@include H6;
color: $primary-blue;
cursor: pointer;
font-size: 14px;
}
}
}

View File

@ -26,8 +26,8 @@
a,
a:hover {
font-size: 14px;
line-height: 20px;
@include H6;
color: $primary-blue;
cursor: pointer;
}

View File

@ -12,13 +12,15 @@
&__header {
&__title {
@include H3;
margin-top: 5px;
margin-bottom: 15px;
font-size: 22px;
}
&__msg {
font-size: 14px;
@include H6;
color: #9b9b9b;
margin-top: 10px;
margin-bottom: 20px;
@ -73,11 +75,12 @@
}
&__hdPath {
@include H6;
display: flex;
flex-direction: row;
margin-top: 15px;
margin-bottom: 30px;
font-size: 14px;
&__title {
display: flex;
@ -92,10 +95,10 @@
}
&__learn-more {
@include H6;
margin-top: 15px;
font-size: 14px;
color: #5b5d67;
line-height: 19px;
text-align: center;
cursor: pointer;
@ -109,20 +112,23 @@
}
&__title {
@include H4;
padding-top: 10px;
font-weight: 400;
font-size: 18px;
}
&__unlock-title {
@include H3;
padding-top: 10px;
font-weight: 400;
font-size: 22px;
margin-bottom: 15px;
}
&__msg {
font-size: 14px;
@include H6;
color: #9b9b9b;
margin-top: 10px;
margin-bottom: 15px;
@ -141,15 +147,17 @@
&__footer {
&__title {
@include H4;
padding-top: 15px;
padding-bottom: 12px;
font-weight: 400;
font-size: 18px;
text-align: center;
}
&__msg {
font-size: 14px;
@include H6;
color: #9b9b9b;
margin-top: 12px;
margin-bottom: 27px;
@ -170,12 +178,14 @@
padding-top: 10px;
&__msg {
font-size: 14px;
@include H6;
color: #9b9b9b;
}
&__link {
font-size: 14px;
@include H4;
text-align: center;
color: #2f9ae0;
cursor: pointer;
@ -201,28 +211,28 @@
}
&__title {
@include H5;
margin-bottom: 23px;
align-self: flex-start;
color: $scorpion;
font-size: 16px;
line-height: 21px;
font-weight: bold;
display: flex;
flex: 1;
}
&__device {
@include Paragraph;
margin-bottom: 23px;
align-self: flex-end;
color: $scorpion;
font-size: 16px;
line-height: 21px;
font-weight: normal;
display: flex;
}
&__item {
font-size: 15px;
@include Paragraph;
flex-direction: row;
display: flex;
padding-left: 10px;
@ -287,12 +297,12 @@
margin-top: 10px;
&__button {
@include H6;
background: #fff;
height: 19px;
display: flex;
color: #33a4e7;
font-size: 14px;
line-height: 19px;
border: none;
min-width: 46px;
margin-right: 0;
@ -343,8 +353,9 @@
padding: 22px;
a {
@include H6;
color: #2f9ae0;
font-size: 14px;
cursor: pointer;
}
}

View File

@ -1,11 +1,11 @@
.new-account-import-disclaimer {
@include H7;
width: 120%;
background-color: #f4f9fc;
display: inline-block;
align-items: center;
padding: 20px 30px 20px;
font-size: 12px;
line-height: 1.5;
}
.new-account-import-form {
@ -23,9 +23,9 @@
}
&__select-label {
@include Paragraph;
color: $scorpion;
font-size: 16px;
line-height: 21px;
}
&__select {
@ -58,9 +58,9 @@
}
&__instruction {
@include Paragraph;
color: $scorpion;
font-size: 16px;
line-height: 21px;
align-self: flex-start;
}
@ -72,6 +72,8 @@
}
&__input-password {
@include Paragraph;
height: 54px;
width: 315px;
border: 1px solid $geyser;
@ -79,7 +81,6 @@
background-color: $white;
margin-top: 16px;
color: $scorpion;
font-size: 16px;
padding: 0 20px;
}

View File

@ -25,10 +25,10 @@
}
&__title {
@include H2;
color: $tundora;
font-size: 32px;
font-weight: 500;
line-height: 43px;
margin-top: 22px;
margin-left: 29px;
}
@ -39,11 +39,11 @@
margin-top: 10px;
&__tab {
@include H4;
height: 54px;
padding: 15px 10px;
color: $dusty-gray;
font-size: 18px;
line-height: 24px;
text-align: center;
cursor: pointer;
}
@ -70,21 +70,21 @@
padding: 30px;
&__input-label {
@include Paragraph;
color: $scorpion;
font-size: 16px;
line-height: 21px;
align-self: flex-start;
}
&__input {
@include Paragraph;
height: 54px;
width: 315.84px;
border: 1px solid $geyser;
border-radius: 4px;
background-color: $white;
color: $scorpion;
font-size: 16px;
line-height: 21px;
margin-top: 15px;
padding: 0 20px;
}

View File

@ -8,15 +8,17 @@
height: 100%;
&__header {
@include H1;
display: flex;
justify-content: center;
font-size: 42px;
padding: 10px 0;
text-align: center;
}
&__subheader {
font-size: 19px;
@include H4;
padding: 10px 0;
width: 100%;
max-width: 720px;
@ -24,7 +26,8 @@
}
&__details {
font-size: 18px;
@include H4;
overflow-y: auto;
width: 100%;
max-width: 720px;

View File

@ -13,14 +13,16 @@
&__text-1,
&__text-3 {
@include Paragraph;
font-weight: normal;
font-size: 16px;
margin-top: 18px;
}
&__text-2 {
@include Paragraph;
font-weight: bold;
font-size: 16px;
margin-top: 26px;
}
@ -29,8 +31,9 @@
margin-bottom: 2px;
@media screen and (max-width: $break-small) {
@include H6;
margin-bottom: 16px;
font-size: 0.875rem;
}
}

View File

@ -39,7 +39,8 @@
}
&__header {
font-size: 2.5rem;
@include H1;
margin-bottom: 24px;
color: black;
}
@ -63,15 +64,17 @@
}
&__textarea-label {
@include H4;
margin-bottom: 9px;
color: #1b344d;
font-size: 18px;
}
&__textarea {
@include Paragraph;
/*rtl:ignore*/
direction: ltr;
font-size: 1rem;
border: 1px solid #cdcdcd;
border-radius: 6px;
background-color: #fff;
@ -91,28 +94,14 @@
margin-bottom: 20px;
}
&__markdown {
border: 1px solid #979797;
border-radius: 8px;
background-color: $white;
height: 200px;
overflow-y: auto;
color: #757575;
font-size: 0.75rem;
line-height: 15px;
text-align: justify;
margin: 0;
padding: 16px 20px;
height: 30vh;
}
&__text-block {
margin-bottom: 24px;
color: black;
@media screen and (max-width: $break-small) {
@include H6;
margin-bottom: 16px;
font-size: 0.875rem;
}
}
@ -148,10 +137,8 @@
}
&__checkbox-label {
font-style: normal;
font-weight: normal;
line-height: normal;
font-size: 18px;
@include H4;
color: #939090;
margin-left: 18px;
}

View File

@ -25,12 +25,10 @@
}
&__title {
@include H1;
position: relative;
margin-top: 20px;
font-style: normal;
font-weight: normal;
line-height: normal;
font-size: 42px;
}
&__body-graphic {
@ -42,10 +40,8 @@
}
&__description {
font-style: normal;
font-weight: normal;
line-height: 21px;
font-size: 16px;
@include Paragraph;
margin-top: 12px;
}

View File

@ -58,7 +58,8 @@
}
@media screen and (max-width: 575px) {
font-size: 0.875rem;
@include H6;
padding: 6px 18px;
}
}

View File

@ -20,8 +20,9 @@
}
&__secret-words {
@include H4;
width: 310px;
font-size: 1.25rem;
text-align: center;
&--hidden {
@ -45,8 +46,9 @@
}
&__reveal-button {
@include H7;
color: $white;
font-size: 0.75rem;
font-weight: 500;
text-transform: uppercase;
margin-top: 8px;

Some files were not shown because too many files have changed in this diff Show More