Changeset View
Changeset View
Standalone View
Standalone View
web/cashtab/src/components/Common/QRCode.js
Show First 20 Lines • Show All 56 Lines • ▼ Show 20 Lines | const PrefixLabel = styled.span` | ||||
font-size: 14px; | font-size: 14px; | ||||
font-weight: bold; | font-weight: bold; | ||||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||||
font-size: 12px; | font-size: 12px; | ||||
} | } | ||||
@media (max-width: 400px) { | @media (max-width: 400px) { | ||||
font-size: 10px; | font-size: 10px; | ||||
} | } | ||||
-webkit-touch-callout: none; | |||||
-webkit-user-select: none; | |||||
-khtml-user-select: none; | |||||
-moz-user-select: none; | |||||
-ms-user-select: none; | |||||
user-select: none; | |||||
`; | `; | ||||
const AddressHighlightTrim = styled.span` | const AddressHighlightTrim = styled.span` | ||||
font-weight: bold; | font-weight: bold; | ||||
font-size: 14px; | font-size: 14px; | ||||
@media (max-width: 768px) { | @media (max-width: 768px) { | ||||
font-size: 12px; | font-size: 12px; | ||||
} | } | ||||
@media (max-width: 400px) { | @media (max-width: 400px) { | ||||
font-size: 10px; | font-size: 10px; | ||||
} | } | ||||
-webkit-touch-callout: none; | |||||
-webkit-user-select: none; | |||||
-khtml-user-select: none; | |||||
-moz-user-select: none; | |||||
-ms-user-select: none; | |||||
user-select: none; | |||||
`; | `; | ||||
const CustomInput = styled.div` | const CustomInput = styled.div` | ||||
font-size: 12px; | font-size: 12px; | ||||
color: ${({ xec = 0, ...props }) => | color: ${({ xec = 0, ...props }) => | ||||
xec === 1 | xec === 1 | ||||
? props.theme.wallet.text.secondary | ? props.theme.wallet.text.secondary | ||||
: props.theme.brandSecondary}; | : props.theme.brandSecondary}; | ||||
text-align: center; | text-align: center; | ||||
cursor: pointer; | cursor: pointer; | ||||
margin-bottom: 0px; | margin-bottom: 0px; | ||||
padding: 6px 0; | padding: 6px 0; | ||||
font-family: 'Roboto Mono', monospace; | font-family: 'Roboto Mono', monospace; | ||||
border-radius: 5px; | border-radius: 5px; | ||||
-webkit-touch-callout: none; | |||||
-webkit-user-select: none; | |||||
-khtml-user-select: none; | |||||
-moz-user-select: none; | |||||
-ms-user-select: none; | |||||
user-select: none; | |||||
input { | input { | ||||
border: none; | border: none; | ||||
width: 100%; | width: 100%; | ||||
text-align: center; | text-align: center; | ||||
-webkit-user-select: none; | -webkit-user-select: none; | ||||
-moz-user-select: none; | -moz-user-select: none; | ||||
-ms-user-select: none; | -ms-user-select: none; | ||||
▲ Show 20 Lines • Show All 147 Lines • Show Last 20 Lines |