1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-23 09:52:26 +01:00
metamask-extension/ui/components/ui/qr-code/index.scss
George Marshall 656fd276c0
Dark mode: Updating error color and adding story (#14116)
* Updating error color and adding story

* Fixing class

* Updates

* removing console log
2022-03-23 09:29:22 -07:00

66 lines
1.1 KiB
SCSS

.qr-code {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
&__message-container > div:first-child {
@include Paragraph;
margin-top: 18px;
color: var(--color-text-muted);
}
&__message {
@include H7;
color: var(--color-warning-default);
}
&__error {
display: flex;
justify-content: center;
align-items: center;
color: var(--color-error-default);
margin-bottom: 9px;
}
&__address-container {
display: flex;
justify-content: center;
&__tooltip-wrapper {
width: 100%;
}
&:hover {
cursor: pointer;
.qr-code__copy-icon__svg {
fill: var(--color-primary-default);
}
}
}
&__address {
@include H7;
background-color: var(--color-background-alternative);
width: 76%;
padding: 8px 12px;
word-break: break-all;
text-align: center;
}
&__copy-icon {
height: 13px;
padding: 17px 0;
position: absolute;
right: 24px;
&__svg {
fill: var(--color-icon-default);
}
}
}