WebApp【公共组件库】@前端(For Git Submodule)
Tevin
2022-07-25 c6d0e88d664f4427fab388bef83af93784bda221
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
/**
 * date picker
 * @author Tevin
 */
 
@import "../../common/sassMixin";
 
.c-date-picker {
    &.read-only {
        pointer-events: none;
        background-color: #fafafa;
    }
    .at-input__input {
        .weui-input {
            pointer-events: none;
        }
    }
    .at-input__children {
        padding-right: 20px;
        &::after {
            display: none;
        }
        .at-icon-chevron-right {
            padding: 0;
            font-size: 48px;
            color: #ccc;
        }
        .at-icon-close {
            padding: 8px;
            margin: 4px;
            color: #fff;
            font-size: 24px;
            line-height: 24px;
            background-color: #ccc;
            border-radius: 50%;
            &::after {
                @include position(absolute, -24px n n 0);
                width: 90px;
                height: 90px;
                background-color: rgba(#000, 0);
                content: "";
            }
        }
    }
    .at-input__icon {
        display: none;
    }
    .at-input__container {
        input {
            pointer-events: none;
        }
    }
}