aboutsummaryrefslogtreecommitdiffstats
path: root/ui/app/components/modals/qr-scanner/index.scss
blob: df65cfbbb967dec56a8d766301afba1610688533 (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
.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;
  }

  &__status.error {
    padding: 60px 45px 80px;
    font-size: 16px;
  }
}