WebApp【公共组件库】@前端(For Git Submodule)
YFeng
2024-02-27 456b21846e549dcfed9524d1c8325c44ec6afafe
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
/**
 * cUserSignature
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-signature-layer {
    &.at-float-layout {
        .at-float-layout__container {
            height: 94%;
            max-height: 100%;
        }
        .layout-body {
            padding: 0;
        }
        .layout-body__content {
            height: 100%;
        }
    }
    .c-signature-layer-btns {
        @include position(absolute, n 0 0 n);
        width: 100%;
        height: 92px;
        font-size: 0;
        .at-button {
            width: 50%;
            border-radius: 0;
        }
    }
    .c-signature-layer-draw {
        position: relative;
        height: calc(100% - 92px);
        .size-box-top {
            @include position(absolute, 3% 3% n n);
            width: 94%;
            height: 36px;
            pointer-events: none;
            &::before {
                @include position(absolute, 0 0 n n);
                width: 36px;
                height: 36px;
                border-top: #ccc 1PX solid;
                border-left: #ccc 1PX solid;
                border-top-left-radius: 8px;
                content: " ";
            }
            &::after {
                @include position(absolute, 0 n n 0);
                width: 36px;
                height: 36px;
                border-top: #ccc 1PX solid;
                border-right: #ccc 1PX solid;
                border-top-right-radius: 8px;
                content: " ";
            }
        }
        .size-box-bottom {
            @include position(absolute, n 3% 3% n);
            width: 94%;
            height: 36px;
            pointer-events: none;
            &::before {
                @include position(absolute, n 0 0 n);
                width: 36px;
                height: 36px;
                border-bottom: #ccc 1PX solid;
                border-left: #ccc 1PX solid;
                border-bottom-left-radius: 8px;
                content: " ";
            }
            &::after {
                @include position(absolute, n n 0 0);
                width: 36px;
                height: 36px;
                border-bottom: #ccc 1PX solid;
                border-right: #ccc 1PX solid;
                border-bottom-right-radius: 8px;
                content: " ";
            }
        }
        .drawing {
            width: 100%;
            height: 100%;
        }
    }
}