WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2021-03-31 3cafdf134729197e22a53f79dd25c45db2062fa3
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
/**
 * form
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-form {
    width: 100%;
    .c-form-item {
        .at-input__title--required {
            position: relative;
            &::before {
                @include position(absolute, 50% -23px n n);
                transform: translateY(-50%);
            }
        }
    }
    .c-form-agreement {
        padding: 24px 32px;
        .title {
            display: inline;
            .icon {
                @include flexbox(inline, center center);
                margin-top: 4px;
                margin-right: 14px;
                width: 40px;
                min-width: 40px;
                height: 40px;
                color: transparent;
                font-size: 24px;
                line-height: 1;
                border: 2px 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: 30px;
        }
    }
    .c-form-submit {
        margin-top: 37px;
        padding: 0 20px 30px;
        [type=primary] {
            height: 80px;
            font-size: 33px;
            line-height: 78px;
            border: 1PX solid #2093df;
            background: #2093df;
            &:not([disabled]):active {
                opacity: .6;
                border: 1PX solid #2093df;
                background: #2093df;
            }
            &::after {
                display: none;
            }
        }
    }
}