@blueking/date-picker 0.0.11 → 0.0.13

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.
@@ -1 +1,877 @@
1
- .scroll-bar-style::-webkit-scrollbar{width:4px;height:4px}.scroll-bar-style::-webkit-scrollbar-thumb{background:#ddd;border-radius:20px;box-shadow:inset 0 0 6px #cccccc4d}html,body{padding:0;margin:0}*{box-sizing:border-box}article,aside,details,figcaption,figure,footer,header,hgroup,main,menu,nav,section,summary{display:block}audio,canvas,progress,video{display:inline-block;vertical-align:baseline}audio:not([controls]){display:none;height:0}[hidden],template{display:none}a{background-color:transparent}a:active,a:hover{outline:0}abbr[title]{border-bottom:1px dotted}img{border:0}svg:not(:root){overflow:hidden}figure{margin:1em 40px}hr{height:0;box-sizing:content-box}button,input,optgroup,select,textarea{margin:0;font:inherit;color:inherit}button{overflow:visible}button,select{text-transform:none}button,html input[type=button],input[type=reset],input[type=submit]{cursor:pointer;-webkit-appearance:button;-moz-appearance:button;appearance:button}button[disabled],html input[disabled]{cursor:default}button::-moz-focus-inner,input::-moz-focus-inner{padding:0;border:0}input{line-height:normal}input[type=checkbox],input[type=radio]{padding:0;box-sizing:border-box}input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-spin-button{height:auto}::-ms-clear,::-ms-reveal{display:none}input[type=text]::-ms-clear{display:none}input[type=text]::-ms-reveal{display:none}input[type=search]{box-sizing:content-box;-webkit-appearance:textfield;-moz-appearance:textfield;appearance:textfield}input[type=search]::-webkit-search-cancel-button,input[type=search]::-webkit-search-decoration{-webkit-appearance:none;-moz-appearance:none;appearance:none}fieldset{padding:.35em .625em .75em;margin:0 2px;border:1px solid #c0c0c0}legend{padding:0;border:0}textarea{overflow:auto}optgroup{font-weight:700}.bk-scroll-y{overflow-y:auto}.bk-scroll-y::-webkit-scrollbar{width:4px;height:4px}.bk-scroll-y::-webkit-scrollbar-thumb{background:#ddd;border-radius:20px;box-shadow:inset 0 0 6px #cccccc4d}.bk-scroll-x{overflow-x:auto}.bk-scroll-x::-webkit-scrollbar{width:4px;height:4px}.bk-scroll-x::-webkit-scrollbar-thumb{background:#ddd;border-radius:20px;box-shadow:inset 0 0 6px #cccccc4d}.common-panel-tab .scoped-tab-header,.common-panel-tab .bk-tab-header{line-height:20px!important;border-bottom:0!important}.common-panel-tab .scoped-tab-header .scoped-tab-header-item,.common-panel-tab .scoped-tab-header .bk-tab-header-item,.common-panel-tab .bk-tab-header .scoped-tab-header-item,.common-panel-tab .bk-tab-header .bk-tab-header-item{padding:0 0 4px;margin-right:28px}.common-panel-tab .scoped-tab-header--active,.common-panel-tab .bk-tab-header--active{font-weight:700;color:#63656e}.common-panel-tab .scoped-tab-content,.common-panel-tab .bk-tab-content{display:none;width:0;height:0}.common-submit{flex:0 0 64px;width:64px;margin-left:8px}.common-favorite{display:flex;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;margin-left:8px;cursor:pointer;background:#f5f7fa;border-radius:2px}.common-favorite:hover svg path{fill:#3a84ff}.date-panel{display:flex;flex-direction:column;width:220px;-webkit-user-select:none;user-select:none;background:#fff;border:1px solid #dcdee5;box-shadow:0 2px 6px #0000001a}.date-panel-title{display:flex;flex:0 0 40px;align-items:center;height:40px;padding:0 12px;color:#63656e;border-bottom:1px solid #dcdee5}.date-panel-title .title-check{margin-left:auto}.date-panel-main{display:flex;flex:1;flex-direction:column;padding:8px 0 12px}.date-panel-main .date-header{display:flex;align-items:center;width:100%;height:24px}.date-panel-main .date-header-center{display:flex;flex:1;align-items:center;justify-content:center;height:100%;font-size:14px;font-weight:700}.date-panel-main .date-header-center .date-split{width:5px;height:2px;margin:0 10px;background-color:#63656e}.date-panel-main .date-header-right,.date-panel-main .date-header-left{display:flex;align-items:center;height:100%;padding:0 6px;font-size:16px}.date-panel-main .date-header-right .hand-icon,.date-panel-main .date-header-left .hand-icon{display:flex;align-items:center;justify-content:center;font-size:16px;font-weight:700;color:#979ba5}.date-panel-main .date-header-right .hand-icon svg,.date-panel-main .date-header-left .hand-icon svg{width:20px!important;height:20px!important;font-weight:700}.date-panel-main .date-header-right .hand-icon:hover,.date-panel-main .date-header-left .hand-icon:hover{color:#3a84ff;cursor:pointer}.date-panel-main .date-header-right .hand-icon:hover svg,.date-panel-main .date-header-left .hand-icon:hover svg{fill:#3a84ff}.date-panel-main .date-header-right{margin-left:auto}.date-panel-main .date-content{display:flex;flex-direction:column}.date-panel-main .date-content .date-grid{display:flex;align-items:center;width:100%;padding:0 12px;margin:0}.date-panel-main .date-content .date-grid-item{display:flex;flex:0 0 14.285%;align-items:center;justify-content:center;width:14.285%;min-width:28px;height:24px}.date-panel-main .date-content .date-grid-item:not(.not-click):hover{cursor:pointer;background-color:#f0f1f5}.date-panel-main .date-content .date-grid-item.is-today{color:#3a84ff;border:1px solid #a3c5fd;border-radius:2px}.date-panel-main .date-content .date-grid-item.is-last-month{color:#c4c6cc;background-color:#f0f1f5}.date-panel-main .date-content .date-grid-item.is-next-month{color:#c4c6cc}.date-panel-main .date-content .date-grid-item.is-disabled{color:#c4c6cc!important;cursor:not-allowed!important;background-color:#f0f1f5!important}.date-panel-main .date-content .date-grid-item.is-selected{color:#fff!important;background-color:#3a84ff!important;border-radius:2px}.date-wrapper{display:flex;flex-direction:column}.date-wrapper .date-input{display:flex;align-items:center;width:100%;min-height:56px}.date-wrapper .date-input .date-picker{display:flex;align-items:center;width:100%;min-width:360px;height:32px;background:#fff;border:1px solid #c4c6cc;border-radius:2px}.date-wrapper .date-input .date-picker-icon{display:flex;align-items:center;justify-content:center;margin-right:6px;margin-left:8px}.date-wrapper .date-input .date-picker-start,.date-wrapper .date-input .date-picker-end{width:160px;height:24px;padding:0 4px;font-size:12px;color:#63656e;border:none;border-radius:2px}.date-wrapper .date-input .date-picker-start:focus,.date-wrapper .date-input .date-picker-end:focus{background:#e1ecff;border:none;outline:none;box-shadow:none}.date-wrapper .date-input .date-picker-split{display:flex;align-items:center;justify-content:center;padding:0 8px;color:#979ba5}.date-wrapper .date-input .date-picker-clear{display:none!important;flex:0 0 32px;align-items:center;justify-content:center;width:32px;height:32px;font-size:14px;color:#c4c6cc}.date-wrapper .date-input .date-picker-clear:hover{color:#63656e;cursor:pointer}.date-wrapper .date-input .date-picker:hover .date-picker-clear{display:flex!important}.date-wrapper .show-format{display:flex;align-items:center;width:100%;min-width:100%;margin-top:-8px;margin-bottom:12px;color:#979ba5}.date-wrapper .show-format .format-button{margin-left:8px}.date-format-wrapper{display:flex;flex-direction:column;width:520px;padding:12px 15px;margin:-7px -14px}.date-format-wrapper .content-title{margin-bottom:12px;font-weight:700;line-height:20px}.date-format-wrapper .content-table{display:flex;flex-direction:column;width:100%;border-collapse:collapse;background-color:#fff;border:1px solid #eaeefb;border-top:0;border-left:0}.date-format-wrapper .content-table th,.date-format-wrapper .content-table td{height:42px;padding:8px 16px;color:#63656e;text-align:left;border:1px solid #eaeefb;border-right:0;border-bottom:0}.date-format-wrapper .content-table thead,.date-format-wrapper .content-table tr{display:flex;align-items:center;width:100%}.date-format-wrapper .content-table thead th,.date-format-wrapper .content-table tr th{flex:1;background-color:#fafbfd}.date-format-wrapper .content-table tbody{display:block;width:100%;max-height:300px;overflow:auto}.date-format-wrapper .content-table tbody td{display:flex;flex:1;align-items:center}.natural-picker{display:flex;align-items:center;min-height:56px}.natural-picker .natural-unit{width:118px;margin-left:8px}.recent-picker{display:flex;align-items:center;min-height:56px}.recent-picker .recent-unit{width:164px}.recent-picker .recent-unit .scoped-input,.recent-picker .recent-unit .bk-input{height:30px;border:none;border-left:1px solid #c4c6cc;border-radius:0}.recent-picker .recent-unit .scoped-input--text,.recent-picker .recent-unit .bk-input--text{border-radius:0}.timezone-picker{width:100%}.timezone-picker-option{display:flex;align-items:center;width:100%;color:#63656e}.timezone-picker-option .option-name{flex:1}.timezone-picker-option .option-country{display:flex;width:100%;margin-left:6px;color:#999}.timezone-picker-option .option-utc{display:inline-flex;align-items:center;justify-content:center;height:20px;padding:0 8px;background:#f0f1f5;border-radius:2px}.timezone-picker-option.is-selected{color:#3a84ff}.timezone-picker-option.is-selected .option-country{color:#699df4}.timezone-picker-option.is-selected .option-utc{color:#fff;background-color:#699df4}.panel-wrapper{width:510px;padding:12px 16px 0;background:#fff;border:1px solid #dcdee5;border-radius:2px;box-shadow:0 2px 6px #0000001a}.panel-wrapper .common-date-list{height:136px;max-height:136px;padding:0 0 4px;margin:12px -10px 0 0;overflow:auto}.panel-wrapper .common-date-list .list-item{display:inline-flex;align-items:center;min-width:calc(33.33% - 8px);height:28px;padding:0 8px;margin-right:8px;margin-bottom:8px;color:#313238;cursor:pointer;background:#f5f7fa;border-radius:2px}.panel-wrapper .common-date-list .list-item.is-recent-item{min-width:inherit;height:24px;padding:0 6px;color:#63656e}.panel-wrapper .common-date-list .list-item:hover{color:#3a84ff;background:#e1ecff}.panel-wrapper .date-pick-tab{padding-top:12px;border-top:1px solid #eaebf0}.panel-wrapper .date-pick-tab .scoped-tab-header-item,.panel-wrapper .date-pick-tab .bk-tab-header-item{margin-right:20px!important}.panel-wrapper .time-zone-panel{display:flex;align-items:center;height:45px;padding:0 16px;margin:0 -16px;color:#313238;background:#fafbfd;border-top:1px solid #dcdee5}.panel-wrapper .time-zone-panel .time-zone{display:flex;align-items:center;margin:0 8px}.panel-wrapper .time-zone-panel .time-zone-area{display:flex;align-items:center;margin-left:8px;color:#979ba5}.panel-wrapper .time-zone-panel .time-zone-tag{display:flex;align-items:center;justify-content:center;width:79px;height:20px;margin-right:8px;margin-left:auto;color:#63656e;background:#f0f1f5;border-radius:2px}.panel-wrapper .time-zone-picker{margin:8px 0}.panel-wrapper .common-wrapper{display:flex;flex-direction:column;height:139px;max-height:139px;overflow:auto}.panel-wrapper .common-wrapper .empty-content{height:100px;max-height:100px}.panel-wrapper .common-wrapper .empty-tips{display:flex;align-items:center;justify-content:center}.__bk_date_picker__{box-sizing:border-box;display:inline-flex;align-items:center;min-width:140px;height:32px;padding:0 4px;font-size:12px;color:#63656e;border:1px solid #c4c6cc;border-radius:2px}.__bk_date_picker__ .date-icon{display:flex;align-items:center;justify-content:center;width:24px;height:24px;font-size:20px;font-weight:700;color:#989ca7;background:#f5f7fa;border-radius:2px}.__bk_date_picker__ .date-icon-left,.__bk_date_picker__ .date-icon-right{display:inline-flex}.__bk_date_picker__ .date-icon-left svg,.__bk_date_picker__ .date-icon-right svg{width:20px!important;height:20px!important}.__bk_date_picker__ .date-icon:hover{cursor:pointer;background-color:#f0f1f5}.__bk_date_picker__ .date-content{display:flex;align-items:center;height:24px;padding:0 6px;margin:0 4px;-webkit-user-select:none;user-select:none;border-radius:2px}.__bk_date_picker__ .date-content-icon{margin-right:4px}.__bk_date_picker__ .date-content-utc{display:flex;align-items:center;margin-left:4px;font-weight:700;color:#ff9c01}.__bk_date_picker__ .date-content:hover{cursor:pointer;background:#f5f7fa}.__bk_date_picker__.is-simplicity{border-color:transparent}.__bk_date_picker__.is-simplicity .date-icon{background-color:transparent}.__bk_date_picker__.is-disabled{color:#c4c6cc;cursor:not-allowed}.__bk_date_picker__.is-disabled .date-icon{color:#c4c6cc;pointer-events:none}.__bk_date_picker__.is-disabled .date-content{pointer-events:none;cursor:not-allowed}.__bk-date-picker-popover__{padding:0!important;margin:0!important;color:#63656e!important}.__bk-date-picker-popover__ ul{padding:0;margin:0}.__bk-date-picker-popover__ ul li{list-style:none}.__date-tooltips__{display:flex;flex-direction:column;align-items:center;justify-content:center;max-width:156px;line-height:20px}.__date-tooltips__ .date-tooltips-timezone{display:flex;align-items:center;margin-top:4px;color:#ff9c01}
1
+ .scroll-bar-style::-webkit-scrollbar {
2
+ width: 4px;
3
+ height: 4px;
4
+ }
5
+ .scroll-bar-style::-webkit-scrollbar-thumb {
6
+ background: #ddd;
7
+ border-radius: 20px;
8
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
9
+ }
10
+ html,
11
+ body {
12
+ padding: 0;
13
+ margin: 0;
14
+ }
15
+ * {
16
+ box-sizing: border-box;
17
+ }
18
+ /**
19
+ * HTML5 display definitions
20
+ * ==========================================================================
21
+ *
22
+ * Correct `block` display not defined for any HTML5 element in IE 8/9.
23
+ * Correct `block` display not defined for `details` or `summary` in IE 10/11 and Firefox.
24
+ * Correct `block` display not defined for `main` in IE 11.
25
+ */
26
+ article,
27
+ aside,
28
+ details,
29
+ figcaption,
30
+ figure,
31
+ footer,
32
+ header,
33
+ hgroup,
34
+ main,
35
+ menu,
36
+ nav,
37
+ section,
38
+ summary {
39
+ display: block;
40
+ }
41
+ /**
42
+ * 1. Correct `inline-block` display not defined in IE 8/9.
43
+ * 2. Normalize vertical alignment of `progress` in Chrome, Firefox, and Opera.
44
+ */
45
+ audio,
46
+ canvas,
47
+ progress,
48
+ video {
49
+ /* 1 */
50
+ display: inline-block;
51
+ /* 2 */
52
+ vertical-align: baseline;
53
+ }
54
+ /**
55
+ * Prevent modern browsers from displaying `audio` without controls.
56
+ * Remove excess height in iOS 5 devices.
57
+ */
58
+ audio:not([controls]) {
59
+ display: none;
60
+ height: 0;
61
+ }
62
+ /**
63
+ * Address `[hidden]` styling not present in IE 8/9/10.
64
+ * Hide the `template` element in IE 8/9/10/11, Safari, and Firefox < 22.
65
+ */
66
+ [hidden],
67
+ template {
68
+ display: none;
69
+ }
70
+ /**
71
+ * Links
72
+ * ==========================================================================
73
+ *
74
+ * Remove the gray background color from active links in IE 10.
75
+ */
76
+ a {
77
+ background-color: transparent;
78
+ }
79
+ /**
80
+ * Improve readability of focused elements when they are also in an
81
+ * active/hover state.
82
+ */
83
+ a:active,
84
+ a:hover {
85
+ outline: 0;
86
+ }
87
+ /**
88
+ * Text-level semantics
89
+ * ==========================================================================
90
+ *
91
+ * Address styling not present in IE 8/9/10/11, Safari, and Chrome.
92
+ */
93
+ abbr[title] {
94
+ border-bottom: 1px dotted;
95
+ }
96
+ /**
97
+ * Embedded content
98
+ * ==========================================================================
99
+ *
100
+ * Remove border when inside `a` element in IE 8/9/10.
101
+ */
102
+ img {
103
+ border: 0;
104
+ }
105
+ /**
106
+ * Correct overflow not hidden in IE 9/10/11.
107
+ */
108
+ svg:not(:root) {
109
+ overflow: hidden;
110
+ }
111
+ /**
112
+ * Grouping content
113
+ * ==========================================================================
114
+ *
115
+ * Address margin not present in IE 8/9 and Safari.
116
+ */
117
+ figure {
118
+ margin: 1em 40px;
119
+ }
120
+ /**
121
+ * Address differences between Firefox and other browsers.
122
+ */
123
+ hr {
124
+ height: 0;
125
+ box-sizing: content-box;
126
+ }
127
+ /**
128
+ * Address odd `em`-unit font size rendering in all browsers.
129
+ *
130
+ * Forms
131
+ * ==========================================================================
132
+ *
133
+ * Known limitation: by default, Chrome and Safari on OS X allow very limited
134
+ * styling of `select`, unless a `border` property is set.
135
+ *
136
+ * 1. Correct color not being inherited.
137
+ * Known issue: affects color of disabled elements.
138
+ * 2. Correct font properties not being inherited.
139
+ * 3. Address margins set differently in Firefox 4+, Safari, and Chrome.
140
+ */
141
+ button,
142
+ input,
143
+ optgroup,
144
+ select,
145
+ textarea {
146
+ /* 3 */
147
+ margin: 0;
148
+ /* 2 */
149
+ font: inherit;
150
+ /* 1 */
151
+ color: inherit;
152
+ }
153
+ /**
154
+ * Address `overflow` set to `hidden` in IE 8/9/10/11.
155
+ */
156
+ button {
157
+ overflow: visible;
158
+ }
159
+ /**
160
+ * Address inconsistent `text-transform` inheritance for `button` and `select`.
161
+ * All other form control elements do not inherit `text-transform` values.
162
+ * Correct `button` style inheritance in Firefox, IE 8/9/10/11, and Opera.
163
+ * Correct `select` style inheritance in Firefox.
164
+ */
165
+ button,
166
+ select {
167
+ text-transform: none;
168
+ }
169
+ /**
170
+ * 1. Avoid the WebKit bug in Android 4.0.* where (2) destroys native `audio` and `video` controls.
171
+ * 2. Correct inability to style clickable `input` types in iOS.
172
+ * 3. Improve usability and consistency of cursor style between image-type `input` and others.
173
+ */
174
+ button,
175
+ html input[type='button'],
176
+ input[type='reset'],
177
+ input[type='submit'] {
178
+ /* 3 */
179
+ cursor: pointer;
180
+ /* 2 */
181
+ appearance: button;
182
+ }
183
+ /* Re-set default cursor for disabled elements. */
184
+ button[disabled],
185
+ html input[disabled] {
186
+ cursor: default;
187
+ }
188
+ /* Remove inner padding and border in Firefox 4+. */
189
+ button::-moz-focus-inner,
190
+ input::-moz-focus-inner {
191
+ padding: 0;
192
+ border: 0;
193
+ }
194
+ /**
195
+ * Address Firefox 4+ setting `line-height` on `input` using `!important` in the UA stylesheet.
196
+ */
197
+ input {
198
+ line-height: normal;
199
+ }
200
+ /**
201
+ * It's recommended that you don't attempt to style these elements.
202
+ * Firefox's implementation doesn't respect box-sizing, padding, or width.
203
+ *
204
+ * 1. Address box sizing set to `content-box` in IE 8/9/10.
205
+ * 2. Remove excess padding in IE 8/9/10.
206
+ */
207
+ input[type='checkbox'],
208
+ input[type='radio'] {
209
+ /* 2 */
210
+ padding: 0;
211
+ /* 1 */
212
+ box-sizing: border-box;
213
+ }
214
+ /**
215
+ * Fix the cursor style for Chrome's increment/decrement buttons. For certain
216
+ * `font-size` values of the `input`, it causes the cursor style of the
217
+ * decrement button to change from `default` to `text`.
218
+ */
219
+ input[type='number']::-webkit-inner-spin-button,
220
+ input[type='number']::-webkit-outer-spin-button {
221
+ height: auto;
222
+ }
223
+ ::-ms-clear,
224
+ ::-ms-reveal {
225
+ display: none;
226
+ }
227
+ input[type='text']::-ms-clear {
228
+ display: none;
229
+ }
230
+ input[type='text']::-ms-reveal {
231
+ display: none;
232
+ }
233
+ /**
234
+ * 1. Address `appearance` set to `searchfield` in Safari and Chrome.
235
+ * 2. Address `box-sizing` set to `border-box` in Safari and Chrome.
236
+ */
237
+ input[type='search'] {
238
+ /* 2 */
239
+ box-sizing: content-box;
240
+ /* 1 */
241
+ appearance: textfield;
242
+ }
243
+ /**
244
+ * Remove inner padding and search cancel button in Safari and Chrome on OS X.
245
+ * Safari (but not Chrome) clips the cancel button when the search input has
246
+ * padding (and `textfield` appearance).
247
+ */
248
+ input[type='search']::-webkit-search-cancel-button,
249
+ input[type='search']::-webkit-search-decoration {
250
+ appearance: none;
251
+ }
252
+ /**
253
+ * Define consistent border, margin, and padding.
254
+ */
255
+ fieldset {
256
+ padding: 0.35em 0.625em 0.75em;
257
+ margin: 0 2px;
258
+ border: 1px solid #c0c0c0;
259
+ }
260
+ /**
261
+ * 1. Correct `color` not being inherited in IE 8/9/10/11.
262
+ * 2. Remove padding so people aren't caught out if they zero out fieldsets.
263
+ */
264
+ legend {
265
+ /* 2 */
266
+ padding: 0;
267
+ /* 1 */
268
+ border: 0;
269
+ }
270
+ /**
271
+ * Remove default vertical scrollbar in IE 8/9/10/11.
272
+ */
273
+ textarea {
274
+ overflow: auto;
275
+ }
276
+ /**
277
+ * Don't inherit the `font-weight` (applied by a rule above).
278
+ * NOTE: the default cannot safely be changed in Chrome and Safari on OS X.
279
+ */
280
+ optgroup {
281
+ font-weight: bold;
282
+ }
283
+ /**
284
+ * BK-Scroll-Style
285
+ */
286
+ .bk-scroll-y {
287
+ overflow-y: auto;
288
+ }
289
+ .bk-scroll-y::-webkit-scrollbar {
290
+ width: 4px;
291
+ height: 4px;
292
+ }
293
+ .bk-scroll-y::-webkit-scrollbar-thumb {
294
+ background: #ddd;
295
+ border-radius: 20px;
296
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
297
+ }
298
+ .bk-scroll-x {
299
+ overflow-x: auto;
300
+ }
301
+ .bk-scroll-x::-webkit-scrollbar {
302
+ width: 4px;
303
+ height: 4px;
304
+ }
305
+ .bk-scroll-x::-webkit-scrollbar-thumb {
306
+ background: #ddd;
307
+ border-radius: 20px;
308
+ box-shadow: inset 0 0 6px rgba(204, 204, 204, 0.3);
309
+ }
310
+ .common-panel-tab .scoped-tab-header,
311
+ .common-panel-tab .bk-tab-header {
312
+ /* stylelint-disable-next-line declaration-no-important */
313
+ line-height: 20px !important;
314
+ /* stylelint-disable-next-line declaration-no-important */
315
+ border-bottom: 0 !important;
316
+ }
317
+ .common-panel-tab .scoped-tab-header .scoped-tab-header-item,
318
+ .common-panel-tab .scoped-tab-header .bk-tab-header-item,
319
+ .common-panel-tab .bk-tab-header .scoped-tab-header-item,
320
+ .common-panel-tab .bk-tab-header .bk-tab-header-item {
321
+ padding: 0;
322
+ padding-bottom: 4px;
323
+ margin-right: 28px;
324
+ }
325
+ .common-panel-tab .scoped-tab-header--active,
326
+ .common-panel-tab .bk-tab-header--active {
327
+ font-weight: 700;
328
+ color: #63656e;
329
+ }
330
+ .common-panel-tab .scoped-tab-content,
331
+ .common-panel-tab .bk-tab-content {
332
+ display: none;
333
+ width: 0;
334
+ height: 0;
335
+ }.common-submit {
336
+ flex: 0 0 64px;
337
+ width: 64px;
338
+ margin-left: 8px;
339
+ }
340
+ .common-favorite {
341
+ display: flex;
342
+ flex: 0 0 32px;
343
+ align-items: center;
344
+ justify-content: center;
345
+ width: 32px;
346
+ height: 32px;
347
+ margin-left: 8px;
348
+ cursor: pointer;
349
+ background: #f5f7fa;
350
+ border-radius: 2px;
351
+ }
352
+ .common-favorite:hover svg path {
353
+ fill: #3a84ff;
354
+ }/* stylelint-disable declaration-no-important */
355
+ .date-panel {
356
+ display: flex;
357
+ flex-direction: column;
358
+ width: 220px;
359
+ user-select: none;
360
+ background: #fff;
361
+ border: 1px solid #dcdee5;
362
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1019607843);
363
+ }
364
+ .date-panel-title {
365
+ display: flex;
366
+ flex: 0 0 40px;
367
+ align-items: center;
368
+ height: 40px;
369
+ padding: 0 12px;
370
+ color: #63656e;
371
+ border-bottom: 1px solid #dcdee5;
372
+ }
373
+ .date-panel-title .title-check {
374
+ margin-left: auto;
375
+ }
376
+ .date-panel-main {
377
+ display: flex;
378
+ flex: 1;
379
+ flex-direction: column;
380
+ padding: 8px 0 12px 0;
381
+ }
382
+ .date-panel-main .date-header {
383
+ display: flex;
384
+ align-items: center;
385
+ width: 100%;
386
+ height: 24px;
387
+ }
388
+ .date-panel-main .date-header-center {
389
+ display: flex;
390
+ flex: 1;
391
+ align-items: center;
392
+ justify-content: center;
393
+ height: 100%;
394
+ font-size: 14px;
395
+ font-weight: 700;
396
+ }
397
+ .date-panel-main .date-header-center .date-split {
398
+ width: 5px;
399
+ height: 2px;
400
+ margin: 0 10px;
401
+ background-color: #63656e;
402
+ }
403
+ .date-panel-main .date-header-right, .date-panel-main .date-header-left {
404
+ display: flex;
405
+ align-items: center;
406
+ height: 100%;
407
+ padding: 0 6px;
408
+ font-size: 16px;
409
+ }
410
+ .date-panel-main .date-header-right .hand-icon, .date-panel-main .date-header-left .hand-icon {
411
+ display: flex;
412
+ align-items: center;
413
+ justify-content: center;
414
+ font-size: 16px;
415
+ font-weight: bold;
416
+ color: #979ba5;
417
+ }
418
+ .date-panel-main .date-header-right .hand-icon svg, .date-panel-main .date-header-left .hand-icon svg {
419
+ width: 20px !important;
420
+ height: 20px !important;
421
+ font-weight: bold;
422
+ }
423
+ .date-panel-main .date-header-right .hand-icon:hover, .date-panel-main .date-header-left .hand-icon:hover {
424
+ color: #3a84ff;
425
+ cursor: pointer;
426
+ }
427
+ .date-panel-main .date-header-right .hand-icon:hover svg, .date-panel-main .date-header-left .hand-icon:hover svg {
428
+ fill: #3a84ff;
429
+ }
430
+ .date-panel-main .date-header-right {
431
+ margin-left: auto;
432
+ }
433
+ .date-panel-main .date-content {
434
+ display: flex;
435
+ flex-direction: column;
436
+ }
437
+ .date-panel-main .date-content .date-grid {
438
+ display: flex;
439
+ align-items: center;
440
+ width: 100%;
441
+ padding: 0 12px;
442
+ margin: 0;
443
+ }
444
+ .date-panel-main .date-content .date-grid-item {
445
+ display: flex;
446
+ flex: 0 0 14.285%;
447
+ align-items: center;
448
+ justify-content: center;
449
+ width: 14.285%;
450
+ min-width: 28px;
451
+ height: 24px;
452
+ }
453
+ .date-panel-main .date-content .date-grid-item:not(.not-click):hover {
454
+ cursor: pointer;
455
+ background-color: #f0f1f5;
456
+ }
457
+ .date-panel-main .date-content .date-grid-item.is-today {
458
+ color: #3a84ff;
459
+ border: 1px solid #a3c5fd;
460
+ border-radius: 2px;
461
+ }
462
+ .date-panel-main .date-content .date-grid-item.is-last-month {
463
+ color: #c4c6cc;
464
+ background-color: #f0f1f5;
465
+ }
466
+ .date-panel-main .date-content .date-grid-item.is-next-month {
467
+ color: #c4c6cc;
468
+ }
469
+ .date-panel-main .date-content .date-grid-item.is-disabled {
470
+ color: #c4c6cc !important;
471
+ cursor: not-allowed !important;
472
+ background-color: #f0f1f5 !important;
473
+ }
474
+ .date-panel-main .date-content .date-grid-item.is-selected {
475
+ color: #fff !important;
476
+ background-color: #3a84ff !important;
477
+ border-radius: 2px;
478
+ }/* stylelint-disable declaration-no-important */
479
+ .date-wrapper {
480
+ display: flex;
481
+ flex-direction: column;
482
+ }
483
+ .date-wrapper .date-input {
484
+ display: flex;
485
+ align-items: center;
486
+ width: 100%;
487
+ min-height: 56px;
488
+ }
489
+ .date-wrapper .date-input .date-picker {
490
+ display: flex;
491
+ align-items: center;
492
+ width: 100%;
493
+ min-width: 360px;
494
+ height: 32px;
495
+ background: #fff;
496
+ border: 1px solid #c4c6cc;
497
+ border-radius: 2px;
498
+ }
499
+ .date-wrapper .date-input .date-picker-icon {
500
+ display: flex;
501
+ align-items: center;
502
+ justify-content: center;
503
+ margin-right: 6px;
504
+ margin-left: 8px;
505
+ }
506
+ .date-wrapper .date-input .date-picker-start, .date-wrapper .date-input .date-picker-end {
507
+ width: 160px;
508
+ height: 24px;
509
+ padding: 0 4px;
510
+ font-size: 12px;
511
+ color: #63656e;
512
+ border: none;
513
+ border-radius: 2px;
514
+ }
515
+ .date-wrapper .date-input .date-picker-start:focus, .date-wrapper .date-input .date-picker-end:focus {
516
+ background: #e1ecff;
517
+ border: none;
518
+ outline: none;
519
+ box-shadow: none;
520
+ }
521
+ .date-wrapper .date-input .date-picker-split {
522
+ display: flex;
523
+ align-items: center;
524
+ justify-content: center;
525
+ padding: 0 8px;
526
+ color: #979ba5;
527
+ }
528
+ .date-wrapper .date-input .date-picker-clear {
529
+ display: none !important;
530
+ flex: 0 0 32px;
531
+ align-items: center;
532
+ justify-content: center;
533
+ width: 32px;
534
+ height: 32px;
535
+ font-size: 14px;
536
+ color: #c4c6cc;
537
+ }
538
+ .date-wrapper .date-input .date-picker-clear:hover {
539
+ color: #63656e;
540
+ cursor: pointer;
541
+ }
542
+ .date-wrapper .date-input .date-picker:hover .date-picker-clear {
543
+ display: flex !important;
544
+ }
545
+ .date-wrapper .show-format {
546
+ display: flex;
547
+ align-items: center;
548
+ width: 100%;
549
+ min-width: 100%;
550
+ margin-top: -8px;
551
+ margin-bottom: 12px;
552
+ color: #979ba5;
553
+ }
554
+ .date-wrapper .show-format .format-button {
555
+ margin-left: 8px;
556
+ }
557
+ .date-format-wrapper {
558
+ display: flex;
559
+ flex-direction: column;
560
+ width: 520px;
561
+ padding: 12px 15px;
562
+ margin: -7px -14px;
563
+ }
564
+ .date-format-wrapper .content-title {
565
+ margin-bottom: 12px;
566
+ font-weight: bold;
567
+ line-height: 20px;
568
+ }
569
+ .date-format-wrapper .content-table {
570
+ display: flex;
571
+ flex-direction: column;
572
+ width: 100%;
573
+ border-collapse: collapse;
574
+ background-color: #fff;
575
+ border: 1px solid #eaeefb;
576
+ border-top: 0;
577
+ border-left: 0;
578
+ }
579
+ .date-format-wrapper .content-table th,
580
+ .date-format-wrapper .content-table td {
581
+ height: 42px;
582
+ padding: 8px 16px;
583
+ color: #63656e;
584
+ text-align: left;
585
+ border: 1px solid #eaeefb;
586
+ border-right: 0;
587
+ border-bottom: 0;
588
+ }
589
+ .date-format-wrapper .content-table thead,
590
+ .date-format-wrapper .content-table tr {
591
+ display: flex;
592
+ align-items: center;
593
+ width: 100%;
594
+ }
595
+ .date-format-wrapper .content-table thead th,
596
+ .date-format-wrapper .content-table tr th {
597
+ flex: 1;
598
+ background-color: #fafbfd;
599
+ }
600
+ .date-format-wrapper .content-table tbody {
601
+ display: block;
602
+ width: 100%;
603
+ max-height: 300px;
604
+ overflow: auto;
605
+ }
606
+ .date-format-wrapper .content-table tbody td {
607
+ display: flex;
608
+ flex: 1;
609
+ align-items: center;
610
+ }.natural-picker {
611
+ display: flex;
612
+ align-items: center;
613
+ min-height: 56px;
614
+ }
615
+ .natural-picker .natural-unit {
616
+ width: 118px;
617
+ margin-left: 8px;
618
+ }.recent-picker {
619
+ display: flex;
620
+ align-items: center;
621
+ min-height: 56px;
622
+ }
623
+ .recent-picker .recent-unit {
624
+ width: 164px;
625
+ }
626
+ .recent-picker .recent-unit .scoped-input,
627
+ .recent-picker .recent-unit .bk-input {
628
+ height: 30px;
629
+ border: none;
630
+ border-left: 1px solid #c4c6cc;
631
+ border-radius: 0;
632
+ }
633
+ .recent-picker .recent-unit .scoped-input--text,
634
+ .recent-picker .recent-unit .bk-input--text {
635
+ border-radius: 0;
636
+ }.timezone-picker {
637
+ width: 100%;
638
+ }
639
+ .timezone-picker-option {
640
+ display: flex;
641
+ align-items: center;
642
+ width: 100%;
643
+ color: #63656e;
644
+ }
645
+ .timezone-picker-option .option-name {
646
+ flex: 1;
647
+ }
648
+ .timezone-picker-option .option-country {
649
+ display: flex;
650
+ width: 100%;
651
+ margin-left: 6px;
652
+ color: #999;
653
+ }
654
+ .timezone-picker-option .option-utc {
655
+ display: inline-flex;
656
+ align-items: center;
657
+ justify-content: center;
658
+ height: 20px;
659
+ padding: 0 8px;
660
+ background: #f0f1f5;
661
+ border-radius: 2px;
662
+ }
663
+ .timezone-picker-option.is-selected {
664
+ color: #3a84ff;
665
+ }
666
+ .timezone-picker-option.is-selected .option-country {
667
+ color: #699df4;
668
+ }
669
+ .timezone-picker-option.is-selected .option-utc {
670
+ color: white;
671
+ background-color: #699df4;
672
+ }.panel-wrapper {
673
+ width: 510px;
674
+ padding: 12px 16px 0 16px;
675
+ background: #fff;
676
+ border: 1px solid #dcdee5;
677
+ border-radius: 2px;
678
+ box-shadow: 0 2px 6px 0 rgba(0, 0, 0, 0.1019607843);
679
+ }
680
+ .panel-wrapper .common-date-list {
681
+ height: 136px;
682
+ max-height: 136px;
683
+ padding: 0;
684
+ padding-bottom: 4px;
685
+ margin: 12px -10px 0 0;
686
+ overflow: auto;
687
+ }
688
+ .panel-wrapper .common-date-list .list-item {
689
+ display: inline-flex;
690
+ align-items: center;
691
+ min-width: calc(33.33% - 8px);
692
+ height: 28px;
693
+ padding: 0 8px;
694
+ margin-right: 8px;
695
+ margin-bottom: 8px;
696
+ color: #313238;
697
+ cursor: pointer;
698
+ background: #f5f7fa;
699
+ border-radius: 2px;
700
+ }
701
+ .panel-wrapper .common-date-list .list-item.is-recent-item {
702
+ min-width: inherit;
703
+ height: 24px;
704
+ padding: 0 6px;
705
+ color: #63656e;
706
+ }
707
+ .panel-wrapper .common-date-list .list-item:hover {
708
+ color: #3a84ff;
709
+ background: #e1ecff;
710
+ }
711
+ .panel-wrapper .date-pick-tab {
712
+ padding-top: 12px;
713
+ border-top: 1px solid #eaebf0;
714
+ }
715
+ .panel-wrapper .date-pick-tab .scoped-tab-header-item,
716
+ .panel-wrapper .date-pick-tab .bk-tab-header-item {
717
+ /* stylelint-disable-next-line declaration-no-important */
718
+ margin-right: 20px !important;
719
+ }
720
+ .panel-wrapper .time-zone-panel {
721
+ display: flex;
722
+ align-items: center;
723
+ height: 45px;
724
+ padding: 0 16px;
725
+ margin: 0 -16px;
726
+ color: #313238;
727
+ background: #fafbfd;
728
+ border-top: 1px solid #dcdee5;
729
+ }
730
+ .panel-wrapper .time-zone-panel .time-zone {
731
+ display: flex;
732
+ align-items: center;
733
+ margin: 0 8px;
734
+ }
735
+ .panel-wrapper .time-zone-panel .time-zone-area {
736
+ display: flex;
737
+ align-items: center;
738
+ margin-left: 8px;
739
+ color: #979ba5;
740
+ }
741
+ .panel-wrapper .time-zone-panel .time-zone-tag {
742
+ display: flex;
743
+ align-items: center;
744
+ justify-content: center;
745
+ width: 79px;
746
+ height: 20px;
747
+ margin-right: 8px;
748
+ margin-left: auto;
749
+ color: #63656e;
750
+ background: #f0f1f5;
751
+ border-radius: 2px;
752
+ }
753
+ .panel-wrapper .time-zone-picker {
754
+ margin: 8px 0;
755
+ }
756
+ .panel-wrapper .common-wrapper {
757
+ display: flex;
758
+ flex-direction: column;
759
+ height: 139px;
760
+ max-height: 139px;
761
+ overflow: auto;
762
+ }
763
+ .panel-wrapper .common-wrapper .empty-content {
764
+ height: 100px;
765
+ max-height: 100px;
766
+ }
767
+ .panel-wrapper .common-wrapper .empty-tips {
768
+ display: flex;
769
+ align-items: center;
770
+ justify-content: center;
771
+ }.__bk_date_picker__ {
772
+ box-sizing: border-box;
773
+ display: inline-flex;
774
+ align-items: center;
775
+ min-width: 140px;
776
+ height: 32px;
777
+ padding: 0 4px;
778
+ font-size: 12px;
779
+ color: #63656e;
780
+ border: 1px solid #c4c6cc;
781
+ border-radius: 2px;
782
+ }
783
+ .__bk_date_picker__ .date-icon {
784
+ display: flex;
785
+ align-items: center;
786
+ justify-content: center;
787
+ width: 24px;
788
+ height: 24px;
789
+ font-size: 20px;
790
+ font-weight: bold;
791
+ color: #989ca7;
792
+ background: #f5f7fa;
793
+ border-radius: 2px;
794
+ }
795
+ .__bk_date_picker__ .date-icon-left, .__bk_date_picker__ .date-icon-right {
796
+ display: inline-flex;
797
+ }
798
+ .__bk_date_picker__ .date-icon-left svg, .__bk_date_picker__ .date-icon-right svg {
799
+ /* stylelint-disable-next-line declaration-no-important */
800
+ width: 20px !important;
801
+ /* stylelint-disable-next-line declaration-no-important */
802
+ height: 20px !important;
803
+ }
804
+ .__bk_date_picker__ .date-icon:hover {
805
+ cursor: pointer;
806
+ background-color: #f0f1f5;
807
+ }
808
+ .__bk_date_picker__ .date-content {
809
+ display: flex;
810
+ align-items: center;
811
+ height: 24px;
812
+ padding: 0 6px;
813
+ margin: 0 4px;
814
+ user-select: none;
815
+ border-radius: 2px;
816
+ }
817
+ .__bk_date_picker__ .date-content-icon {
818
+ margin-right: 4px;
819
+ }
820
+ .__bk_date_picker__ .date-content-utc {
821
+ display: flex;
822
+ align-items: center;
823
+ margin-left: 4px;
824
+ font-weight: 700;
825
+ color: #ff9c01;
826
+ }
827
+ .__bk_date_picker__ .date-content:hover {
828
+ cursor: pointer;
829
+ background: #f5f7fa;
830
+ }
831
+ .__bk_date_picker__.is-simplicity {
832
+ border-color: transparent;
833
+ }
834
+ .__bk_date_picker__.is-simplicity .date-icon {
835
+ background-color: transparent;
836
+ }
837
+ .__bk_date_picker__.is-disabled {
838
+ color: #c4c6cc;
839
+ cursor: not-allowed;
840
+ }
841
+ .__bk_date_picker__.is-disabled .date-icon {
842
+ color: #c4c6cc;
843
+ pointer-events: none;
844
+ }
845
+ .__bk_date_picker__.is-disabled .date-content {
846
+ pointer-events: none;
847
+ cursor: not-allowed;
848
+ }
849
+ .__bk-date-picker-popover__ {
850
+ /* stylelint-disable-next-line declaration-no-important */
851
+ padding: 0 !important;
852
+ /* stylelint-disable-next-line declaration-no-important */
853
+ margin: 0 !important;
854
+ /* stylelint-disable-next-line declaration-no-important */
855
+ color: #63656e !important;
856
+ }
857
+ .__bk-date-picker-popover__ ul {
858
+ padding: 0;
859
+ margin: 0;
860
+ }
861
+ .__bk-date-picker-popover__ ul li {
862
+ list-style: none;
863
+ }
864
+ .__date-tooltips__ {
865
+ display: flex;
866
+ flex-direction: column;
867
+ align-items: center;
868
+ justify-content: center;
869
+ max-width: 156px;
870
+ line-height: 20px;
871
+ }
872
+ .__date-tooltips__ .date-tooltips-timezone {
873
+ display: flex;
874
+ align-items: center;
875
+ margin-top: 4px;
876
+ color: #ff9c01;
877
+ }