@innoways/drip-form-theme-antd 8.0.18 → 8.0.19
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CHANGELOG.md +9 -0
- package/dist/down-arrow.svg +1 -0
- package/dist/index.css +144 -0
- package/dist/index.js +448 -173
- package/package.json +3 -3
package/CHANGELOG.md
CHANGED
|
@@ -0,0 +1 @@
|
|
|
1
|
+
<svg xmlns="http://www.w3.org/2000/svg" width="24" height="24" viewBox="0 0 24 24" fill="none" stroke="currentColor" stroke-width="2" stroke-linecap="round" stroke-linejoin="round" class="feather feather-chevron-down"><polyline points="6 9 12 15 18 9"></polyline></svg>
|
package/dist/index.css
CHANGED
|
@@ -95,6 +95,150 @@
|
|
|
95
95
|
color: #fff !important;
|
|
96
96
|
}
|
|
97
97
|
|
|
98
|
+
.year-1 {
|
|
99
|
+
display: block !important;
|
|
100
|
+
position: absolute;
|
|
101
|
+
top: 34px;
|
|
102
|
+
right: 78px;
|
|
103
|
+
background-color: #fff;
|
|
104
|
+
box-shadow: rgba(100, 100, 111, 0.2) 0px 7px 29px 0px;
|
|
105
|
+
border: 0.8px solid #ddd;
|
|
106
|
+
border-radius: 5px;
|
|
107
|
+
z-index: 9999;
|
|
108
|
+
}
|
|
109
|
+
|
|
110
|
+
.year-picker-list {
|
|
111
|
+
height: 258px;
|
|
112
|
+
padding: 0 6px;
|
|
113
|
+
overflow: auto;
|
|
114
|
+
margin-bottom: 5px;
|
|
115
|
+
margin-top: 5px;
|
|
116
|
+
list-style-type: none;
|
|
117
|
+
scrollbar-width: thin;
|
|
118
|
+
}
|
|
119
|
+
|
|
120
|
+
.year-picker-list li.selected {
|
|
121
|
+
background-color: var(
|
|
122
|
+
--ant-primary-color
|
|
123
|
+
); /* Change the background color of the selected year here */
|
|
124
|
+
color: #fff;
|
|
125
|
+
width: 100%;
|
|
126
|
+
padding: 0 5px;
|
|
127
|
+
border-radius: 20px;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.year-picker-list li {
|
|
131
|
+
cursor: pointer;
|
|
132
|
+
padding: 1px;
|
|
133
|
+
}
|
|
134
|
+
|
|
135
|
+
.select_year {
|
|
136
|
+
border: none;
|
|
137
|
+
outline: none;
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.numInputWrapper .icon-box {
|
|
141
|
+
background: url(./down-arrow.svg);
|
|
142
|
+
background-size: 16px 16px !important;
|
|
143
|
+
background-repeat: no-repeat !important;
|
|
144
|
+
cursor: pointer !important;
|
|
145
|
+
position: absolute;
|
|
146
|
+
width: 16px;
|
|
147
|
+
height: 16px;
|
|
148
|
+
top: 4px;
|
|
149
|
+
right: 0px;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
.numInputWrapper .icon-box.active {
|
|
153
|
+
background: url(./down-arrow.svg);
|
|
154
|
+
background-size: 16px 16px !important;
|
|
155
|
+
background-repeat: no-repeat !important;
|
|
156
|
+
cursor: pointer !important;
|
|
157
|
+
position: absolute;
|
|
158
|
+
width: 16px;
|
|
159
|
+
height: 16px;
|
|
160
|
+
top: 4px;
|
|
161
|
+
right: -17px;
|
|
162
|
+
transform: scaleX(1) scaleY(1);
|
|
163
|
+
}
|
|
164
|
+
|
|
165
|
+
.flatpickr-calendar.animate.active {
|
|
166
|
+
top: 1616.09px !important;
|
|
167
|
+
}
|
|
168
|
+
|
|
169
|
+
/* .icon-box::before {
|
|
170
|
+
content: '';
|
|
171
|
+
} */
|
|
172
|
+
|
|
173
|
+
.numInputWrapper span {
|
|
174
|
+
opacity: 1 !important;
|
|
175
|
+
border: none !important;
|
|
176
|
+
}
|
|
177
|
+
.numInputWrapper span:hover {
|
|
178
|
+
background-color: none;
|
|
179
|
+
background: url(./down-arrow.svg);
|
|
180
|
+
background-size: 16px 16px !important;
|
|
181
|
+
background-repeat: no-repeat !important;
|
|
182
|
+
cursor: pointer !important;
|
|
183
|
+
position: absolute;
|
|
184
|
+
width: 16px;
|
|
185
|
+
height: 16px;
|
|
186
|
+
top: 4px;
|
|
187
|
+
right: 0px;
|
|
188
|
+
}
|
|
189
|
+
|
|
190
|
+
@media (max-width: 768px) {
|
|
191
|
+
/* .flatpickr-calendar.animate.active {
|
|
192
|
+
top: 2100.09px !important
|
|
193
|
+
} */
|
|
194
|
+
|
|
195
|
+
.flatpickr-current-month .flatpickr-monthDropdown-months span,
|
|
196
|
+
.flatpickr-current-month .numInputWrapper span {
|
|
197
|
+
display: block;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
/* date picker */
|
|
202
|
+
.custom-year-picker {
|
|
203
|
+
position: absolute;
|
|
204
|
+
top: -57px;
|
|
205
|
+
left: 0;
|
|
206
|
+
padding: 10px;
|
|
207
|
+
background-color: #fff;
|
|
208
|
+
border: 1px solid #ccc;
|
|
209
|
+
z-index: 9999;
|
|
210
|
+
display: block;
|
|
211
|
+
}
|
|
212
|
+
|
|
213
|
+
.custom-year-picker .year-option {
|
|
214
|
+
display: inline-block;
|
|
215
|
+
margin: 5px;
|
|
216
|
+
cursor: pointer;
|
|
217
|
+
}
|
|
218
|
+
|
|
219
|
+
.custom-year-display {
|
|
220
|
+
display: flex;
|
|
221
|
+
align-items: center;
|
|
222
|
+
}
|
|
223
|
+
|
|
224
|
+
.year-option:hover {
|
|
225
|
+
background: #ddd;
|
|
226
|
+
cursor: pointer;
|
|
227
|
+
}
|
|
228
|
+
|
|
229
|
+
.year-arrow {
|
|
230
|
+
cursor: pointer;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
.custom-year-display .year-arrow {
|
|
234
|
+
cursor: pointer;
|
|
235
|
+
}
|
|
236
|
+
|
|
237
|
+
.flatpickr-current-month {
|
|
238
|
+
display: flex !important;
|
|
239
|
+
justify-content: center !important;
|
|
240
|
+
}
|
|
241
|
+
|
|
98
242
|
.drip-form--colorpicker {
|
|
99
243
|
display: flex;
|
|
100
244
|
}
|