plugin-barcodeScanner.css 1.53 KB
Newer Older
Chok's avatar
Chok committed
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
.barcode-scanner-wrap {
    margin: 0;
    padding: 0;
    outline: 0;
    font-size: 100%;
    vertical-align: baseline;
    background: 0 0 black;
    position: fixed;
    top: 0;
    left: 0;
    width: 100%;
    height: 100%;
    z-index: 9999999;
    -ms-user-select: none;
}

.barcode-scanner-preview {
    width: auto;
    height: calc(100% - 70px);
    position: absolute;
    top: calc(50% - 35px);
    left: 50%;
    transform: translateX(-50%) translateY(-50%);
}

.barcode-scanner-mark {
    position: absolute;
    left: 0;
    top: 50%;
    width: 100%;
    height: 3px;
    background: red;
    z-index: 9999999;
}

.barcode-scanner-app-bar {
    height: 70px;
    width: 100%;
    padding-top: 10px;
    z-index: 9999999;
    text-align: center;
    user-select: none;
    position: absolute;
    bottom: 0px;
}

.app-bar-action {
    width: 40px;
    height: 40px;
    margin: 0 auto;
    font-family: "Segoe UI Symbol";
    color: white;
    font-size: 12px;
    text-transform: lowercase;
    text-align: center;
    cursor: default;
}

@media all and (orientation: landscape) {
    .app-bar-action {
        float: right;
        margin-right: 20px;
    }
}

.app-bar-action::before {
    font-size: 28px;
    display: block;
    height: 36px;
}

.action-close::before {
    content: "\E0C7";
    /* close icon is larger so we re-size it to fit other icons */
    font-size: 20px;
    line-height: 40px;
}

.action-close:hover::before {
    content: "\E0CA";
}

.no-zoom {
    -ms-content-zooming: none;
}

.no-scroll {
    overflow: hidden;
}