aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/pages/first-time-flow/seed-phrase/confirm-seed-phrase/index.scss
blob: f025a503f991402c850b8428e850c1649e7e02fe (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
.confirm-seed-phrase {
  &__back-button {
    margin-bottom: 12px;
  }

  &__shuffled-seed-words {
    max-width: 575px;
  }

  &__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;

    &--shuffled {
      cursor: pointer;
      margin: 6px;
    }

    &--selected {
      color: $white;
    }

    &--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;
    }

    @media screen and (max-width: 575px) {
      font-size: .875rem;
      padding: 6px 18px;
    }
  }

  &__selected-seed-words {
    display: flex;
    flex-flow: row wrap;
    min-height: 161px;
    max-width: 575px;
    border: 1px solid #CDCDCD;
    border-radius: 6px;
    background-color: $white;
    margin: 24px 0 36px;
    padding: 12px;

    &__pending-seed {
      display: none;
    }

    &__selected-seed {
      display: inline-flex;

      &:hover {
        box-shadow: 0 2px 4px rgba(0, 0, 0, 0.25);
      }
    }

    &--dragging {
      .confirm-seed-phrase__selected-seed-words__pending-seed {
        display: inline-flex;
      }

      .confirm-seed-phrase__selected-seed-words__selected-seed {
        display: none;
      }
    }
  }
}