WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2023-01-09 0abe6710787db01e55ad78f8d82682de7acd2fa2
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
/**
 * CCheckBox
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-check-box {
    .at-input {
        padding-bottom: 0;
    }
    .at-input__container {
        @include flexbox(flex, flex-start center, row wrap);
        .at-input__title {
            width: auto;
        }
        .at-input__input,
        .weui-input,
        input {
            display: none;
        }
        .at-checkbox {
            width: 96%;
            padding-left: 4%;
            &::before,
            &::after {
                display: none;
            }
            &.c-check-box-checkbox {
                .at-checkbox__icon-cnt {
                    width: 48px;
                    height: 48px;
                    font-size: 32px;
                    border-radius: 0;
                    border-color: #c9c9c9;
                }
            }
            &.c-check-box-radio {
                .at-checkbox__icon-cnt {
                    width: 48px;
                    height: 48px;
                    font-size: 32px;
                    border-color: #c9c9c9;
                }
            }
            .at-checkbox__title {
                max-width: calc(100% - 80px);
            }
        }
    }
    .at-input__icon {
        display: none;
    }
}