WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2020-12-01 c4c9a03d3ba029b613d64a6514c132d28636d1c5
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
/**
 * form
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-form {
    width: 100%;
    .c-form-item {
        .at-input__title--required {
            position: relative;
            &::before {
                @include position(absolute, 50% -0.5rem n n);
                transform: translateY(-50%);
            }
        }
    }
    .c-form-agreement {
        padding: 0.512rem 0.68267rem;
        .title {
            display: inline;
            .icon {
                @include flexbox(inline, center center);
                margin-top: 0.08533rem;
                margin-right: 0.3rem;
                width: 0.85333rem;
                min-width: 0.85333rem;
                height: 0.85333rem;
                color: transparent;
                font-size: 0.512rem;
                line-height: 1;
                border: 0.04267rem solid rgba(97, 144, 232, .2);
                border-radius: 50%;
                background-color: #fff;
                box-sizing: border-box;
                transition: all .2s;
                &.checked {
                    color: #fff;
                    border: none;
                    background-color: #6190e8;
                }
            }
            .tips {
                color: rgb(117, 117, 117);
                ;
            }
        }
        .protocol {
            display: inline;
            color: #2b69de;
            font-size: 0.65rem;
        }
    }
    .c-form-submit {
        margin-top: 0.8rem;
        padding: 0 0.42667rem;
        [type=primary] {
            font-size: 0.7rem;
            line-height: 2.2;
            border: 1PX solid #1e8ad2;
            background: #1e8ad2;
            &:not([disabled]):active {
                opacity: .6;
                border: 1PX solid #1e8ad2;
                background: #1e8ad2;
            }
        }
    }
}