index.css
5.63 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
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
/* stylelint-disable at-rule-empty-line-before,at-rule-name-space-after,at-rule-no-unknown */
/* stylelint-disable no-duplicate-selectors */
/* stylelint-disable */
/* stylelint-disable declaration-bang-space-before,no-duplicate-selectors,string-no-newline */
.ant-picker-calendar {
-webkit-box-sizing: border-box;
box-sizing: border-box;
margin: 0;
padding: 0;
color: rgba(0, 0, 0, 0.85);
font-size: 14px;
font-variant: tabular-nums;
line-height: 1.5715;
list-style: none;
-webkit-font-feature-settings: 'tnum';
font-feature-settings: 'tnum';
background: #fff;
}
.ant-picker-calendar-header {
display: -webkit-box;
display: -ms-flexbox;
display: flex;
-webkit-box-pack: end;
-ms-flex-pack: end;
justify-content: flex-end;
padding: 12px 0;
}
.ant-picker-calendar-header .ant-picker-calendar-year-select {
min-width: 80px;
}
.ant-picker-calendar-header .ant-picker-calendar-month-select {
min-width: 70px;
margin-left: 8px;
}
.ant-picker-calendar-header .ant-picker-calendar-mode-switch {
margin-left: 8px;
}
.ant-picker-calendar .ant-picker-panel {
background: #fff;
border: 0;
border-top: 1px solid #f0f0f0;
border-radius: 0;
}
.ant-picker-calendar .ant-picker-panel .ant-picker-month-panel,
.ant-picker-calendar .ant-picker-panel .ant-picker-date-panel {
width: auto;
}
.ant-picker-calendar .ant-picker-panel .ant-picker-body {
padding: 8px 0;
}
.ant-picker-calendar .ant-picker-panel .ant-picker-content {
width: 100%;
}
.ant-picker-calendar-mini {
border-radius: 2px;
}
.ant-picker-calendar-mini .ant-picker-calendar-header {
padding-right: 8px;
padding-left: 8px;
}
.ant-picker-calendar-mini .ant-picker-panel {
border-radius: 0 0 2px 2px;
}
.ant-picker-calendar-mini .ant-picker-content {
height: 256px;
}
.ant-picker-calendar-mini .ant-picker-content th {
height: auto;
padding: 0;
line-height: 18px;
}
.ant-picker-calendar-full .ant-picker-panel {
display: block;
width: 100%;
text-align: right;
background: #fff;
border: 0;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-body td {
padding: 0;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th {
height: auto;
padding: 0 12px 5px 0;
line-height: 18px;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell::before {
display: none;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell:hover .ant-picker-calendar-date {
background: #f5f5f5;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell .ant-picker-calendar-date-today::before {
display: none;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today {
background: #e6f7ff;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date .ant-picker-calendar-date-value,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date .ant-picker-calendar-date-value,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected .ant-picker-calendar-date-today .ant-picker-calendar-date-value,
.ant-picker-calendar-full .ant-picker-panel .ant-picker-cell-selected:hover .ant-picker-calendar-date-today .ant-picker-calendar-date-value {
color: #1890ff;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date {
display: block;
width: auto;
height: auto;
margin: 0 4px;
padding: 4px 8px 0;
border: 0;
border-top: 2px solid #f0f0f0;
border-radius: 0;
-webkit-transition: background 0.3s;
transition: background 0.3s;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-value {
line-height: 24px;
-webkit-transition: color 0.3s;
transition: color 0.3s;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content {
position: static;
width: auto;
height: 86px;
overflow-y: auto;
color: rgba(0, 0, 0, 0.85);
line-height: 1.5715;
text-align: left;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today {
border-color: #1890ff;
}
.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-today .ant-picker-calendar-date-value {
color: rgba(0, 0, 0, 0.85);
}
@media only screen and (max-width: 480px) {
.ant-picker-calendar-header {
display: block;
}
.ant-picker-calendar-header .ant-picker-calendar-year-select {
width: 50%;
}
.ant-picker-calendar-header .ant-picker-calendar-month-select {
width: calc(50% - 8px);
}
.ant-picker-calendar-header .ant-picker-calendar-mode-switch {
width: 100%;
margin-top: 8px;
margin-left: 0;
}
.ant-picker-calendar-header .ant-picker-calendar-mode-switch > label {
width: 50%;
text-align: center;
}
}
.ant-picker-calendar-rtl {
direction: rtl;
}
.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-month-select {
margin-right: 8px;
margin-left: 0;
}
.ant-picker-calendar-rtl .ant-picker-calendar-header .ant-picker-calendar-mode-switch {
margin-right: 8px;
margin-left: 0;
}
.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel {
text-align: left;
}
.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-body th {
padding: 0 0 5px 12px;
}
.ant-picker-calendar-rtl.ant-picker-calendar-full .ant-picker-panel .ant-picker-calendar-date-content {
text-align: right;
}