1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-12 12:47:14 +01:00
metamask-extension/ui/pages/onboarding-flow/recovery-phrase/index.scss

197 lines
3.6 KiB
SCSS
Raw Normal View History

.recovery-phrase {
display: flex;
flex-direction: column;
align-items: center;
&__header {
max-width: 420px;
}
&__tips {
flex-direction: column;
max-width: 420px;
margin: 0 auto;
ul {
list-style: disc;
margin-left: 20px;
margin-bottom: 24px;
}
}
&__chips {
display: grid;
justify-items: center;
align-items: center;
row-gap: 16px;
@media screen and (max-width: 460px) {
grid-template-columns: 198px;
}
@media screen and (min-width: 460px) and (max-width: $break-small) {
grid-template-columns: 181px 181px;
}
@media screen and (min-width: $break-large) {
grid-template-columns: 166px 166px 166px;
}
&--hidden {
filter: blur(5px);
}
}
&__secret {
position: relative;
width: 100%;
}
&__secret-blocker {
position: absolute;
top: 0;
bottom: 0;
height: 100%;
width: 100%;
2022-03-19 01:43:33 +01:00
background-color: var(--color-overlay-alternative);
display: flex;
flex-flow: column nowrap;
align-items: center;
justify-content: center;
padding: 8px 0 18px;
border-radius: 4px;
2022-03-19 01:43:33 +01:00
color: var(--color-overlay-inverse);
&--text {
margin-top: 32px;
}
}
&__chip-item {
display: flex;
flex-direction: row;
align-items: center;
text-align: center;
&__number {
font-size: $font-size-h5;
}
}
&__footer {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
@media screen and (max-width: $break-small) {
margin-inline-start: 40px;
margin-inline-end: 40px;
margin-bottom: 40px;
}
&__confirm {
display: flex;
flex-direction: column;
justify-content: center;
align-items: center;
width: 100%;
@media screen and (min-width: $break-small) {
margin-top: 20px;
}
&--button {
align-self: center;
width: 100%;
max-width: 300px;
}
}
&--button {
align-self: center;
@media screen and (min-width: $break-large) {
max-width: 300px;
}
}
&__copy-and-hide {
width: 100%;
display: flex;
flex-direction: column;
&__area {
display: flex;
flex-direction: row;
justify-content: space-between;
@media screen and (min-width: $break-large) {
justify-content: space-around;
}
}
&__button {
@include H6;
background-color: transparent;
border: none;
width: 32%;
2022-03-19 01:43:33 +01:00
color: var(--color-primary-default);
cursor: pointer;
margin-bottom: 24px;
padding-left: 0;
padding-right: 0;
&__hide-seed {
justify-content: flex-start;
}
&__copy-to-clipboard {
justify-content: flex-end;
}
@media screen and (max-width: $break-small) {
justify-content: center;
width: 100%;
}
svg {
width: 15px;
}
&:active {
2022-03-19 01:43:33 +01:00
color: var(--color-text-default);
background-color: transparent;
border: none;
transform: scale(0.97);
}
}
}
}
&__chip {
justify-content: center;
border-radius: 13px;
height: 32px;
width: 120px;
&--with-input {
width: 120px;
2022-03-19 01:43:33 +01:00
box-shadow: 0 3px 4px -3px rgba(0, 0, 0, 0.15);
border-width: 2px;
border-radius: 13px;
height: 32px;
}
}
&__confirm {
@media screen and (min-width: $break-large) {
display: flex;
flex-direction: column;
align-items: center;
}
}
}