aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/qr-scanner/index.scss
blob: 6fa81d51f66e872701a56282d5c8eff50e4f8bb7 (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
.qr-scanner {
  width: 100%;
  height: 100%;
  background-color: #fff;
  display: flex;
  flex-flow: column;
  border-radius: 8px;

  &__title {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 16px 0;
    text-align: center;
  }

  &__content {
    padding-left: 20px;
    padding-right: 20px;

    &__video-wrapper {
      overflow: hidden;
      width: 100%;
      height: 275px;
      display: flex;
      align-items: center;
      justify-content: center;

      video {
        transform: scaleX(-1);
        width: auto;
        height: 275px;
      }
    }
  }

  &__status {
    text-align: center;
    font-size: 14px;
    padding: 15px;
  }

  &__image {
    font-size: 1.5rem;
    font-weight: 500;
    padding: 16px 0 0;
    text-align: center;
  }

  &__error {
    text-align: center;
    font-size: 16px;
    padding: 15px;
  }

  &__footer {
    padding: 20px;
    flex-direction: row;
    display: flex;

    button {
      margin-right: 15px;
    }

    button:last-of-type {
      margin-right: 0;
      background-color: #009eec;
      border: none;
      color: #fff;
    }
  }

  &__close::after {
    content: '\00D7';
    font-size: 35px;
    color: #9b9b9b;
    position: absolute;
    top: 4px;
    right: 20px;
    cursor: pointer;
    font-weight: 300;
  }
}