date-picker.scss
1.52 KB
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
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
@import '@/styles/_support';
// 日历容器
.date-wrap {
font-family: Arial;
font-size: 14px;
// 日历
.calendar-wrap {
position: relative;
@extend .bb;
width: 450px;
height: 320px;
border-radius: $borderRadius;
background-color: wheat;
border: solid 1px #dcdddd;
padding: 28px 36px 18px 36px;
background-color: #ffffff;
// 年月标题
.nav-wrap {
@extend .flc;
align-items: center;
color: $cOrange;
.date-wrap {
@extend .flb;
align-items: center;
.date {
// margin: 0 40px;
width: 154px;
text-align: center;
}
}
.nav-btn2 {
color: #959595;
}
}
.con {
margin: 12px auto 0;
// 表头
.th {
@extend .flb;
// 单元格
.td {
color: $cOrange;
}
}
// 表体
.tr {
@extend .flb;
justify-content: flex-start;
flex-wrap: wrap;
// margin-top: 0px;
.td {
text-align: center;
width: calc(100%/7);
height: 34px;
@extend .flb;
justify-content: center;
align-items: center;
}
}
.point {
width: 28px;
height: 28px;
line-height: 28px;
text-align: center;
border-radius: 100%;
}
.sel {
color: #ffffff;
background-color: $cOrange;
}
}
}
}
.disable {
color: #dcdddd !important;
cursor: default !important;
}