1
0
mirror of https://github.com/kremalicious/metamask-extension.git synced 2024-12-02 06:07:06 +01:00
metamask-extension/ui/pages/first-time-flow/seed-phrase/confirm-seed-phrase/index.scss

103 lines
1.9 KiB
SCSS
Raw Normal View History

.confirm-seed-phrase {
&__back-button {
margin-bottom: 12px;
}
&__sorted-seed-words {
2022-08-04 16:03:02 +02:00
max-width: $screen-sm-max;
}
&__seed-word {
display: inline-flex;
flex-flow: row nowrap;
align-items: center;
justify-content: center;
padding: 8px 18px;
width: 128px;
height: 41px;
margin: 4px;
text-align: center;
border-radius: 4px;
cursor: move;
&--sorted {
cursor: pointer;
margin: 6px;
}
&--selected {
2022-03-19 01:43:33 +01:00
color: var(--color-overlay-inverse);
}
&--dragging {
margin: 0;
}
&--empty {
background-color: transparent;
border-color: transparent;
cursor: default;
&:hover,
&:active {
background-color: transparent;
border-color: transparent;
cursor: default;
box-shadow: none !important;
}
}
&--hidden {
display: none !important;
}
&--drop-hover {
background-color: transparent;
border-color: transparent;
color: transparent;
}
2022-08-04 16:03:02 +02:00
@include screen-sm-max {
2020-10-29 17:31:48 +01:00
@include H6;
padding: 6px 18px;
}
}
&__selected-seed-words {
/*rtl:ignore*/
direction: ltr;
display: flex;
flex-flow: row wrap;
min-height: 161px;
2022-08-04 16:03:02 +02:00
max-width: $screen-sm-max;
2022-03-19 01:43:33 +01:00
border: 1px solid var(--color-border-muted);
border-radius: 6px;
2022-03-19 01:43:33 +01:00
background-color: var(--color-background-default);
margin: 24px 0 36px;
padding: 12px;
&__pending-seed {
display: none;
}
&__selected-seed {
display: inline-flex;
&:hover {
box-shadow: var(--shadow-size-xs) var(--color-shadow-default);
}
}
&--dragging {
.confirm-seed-phrase__selected-seed-words__pending-seed {
display: inline-flex;
}
.confirm-seed-phrase__selected-seed-words__selected-seed {
display: none;
}
}
}
}