WebApp【公共组件库】@前端(For Git Submodule)
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
/**
 * 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-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;
            }
        }
    }
}