@gravionlabs/helix-ui 22.2.4 → 22.2.6
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/README.md +3 -0
- package/fesm2022/gravionlabs-helix-ui.mjs +3825 -358
- package/fesm2022/gravionlabs-helix-ui.mjs.map +1 -1
- package/package.json +1 -1
- package/styles.css +487 -0
- package/types/gravionlabs-helix-ui.d.ts +843 -24
package/package.json
CHANGED
package/styles.css
CHANGED
|
@@ -2268,6 +2268,246 @@
|
|
|
2268
2268
|
outline: var(--h-datepicker-date-focus-ring-width) var(--h-datepicker-date-focus-ring-style) var(--h-datepicker-date-focus-ring-color);
|
|
2269
2269
|
}
|
|
2270
2270
|
|
|
2271
|
+
/* date-time-picker */
|
|
2272
|
+
/*
|
|
2273
|
+
* DateTimePicker: `<hx-date-time-picker>`. The field, button and popup of the date picker with the calendar and a
|
|
2274
|
+
* time row inside; styled by `date-picker.scss` (`hx-date-picker-*`) and `time-row.scss`. Every colour and size comes from the
|
|
2275
|
+
* `--h-datepicker-*` and `--h-inputtext-*` tokens.
|
|
2276
|
+
*/
|
|
2277
|
+
.hx-date-time-picker {
|
|
2278
|
+
display: inline-block;
|
|
2279
|
+
}
|
|
2280
|
+
|
|
2281
|
+
.hx-date-time-picker:not(.hx-date-time-picker-inline) {
|
|
2282
|
+
position: relative;
|
|
2283
|
+
display: inline-flex;
|
|
2284
|
+
}
|
|
2285
|
+
|
|
2286
|
+
.hx-date-time-picker-field {
|
|
2287
|
+
display: flex;
|
|
2288
|
+
flex: 1 1 auto;
|
|
2289
|
+
min-width: 0;
|
|
2290
|
+
}
|
|
2291
|
+
|
|
2292
|
+
.hx-date-time-picker-panel {
|
|
2293
|
+
box-sizing: border-box;
|
|
2294
|
+
min-width: 17rem;
|
|
2295
|
+
padding: var(--h-datepicker-panel-padding);
|
|
2296
|
+
border: 1px solid var(--h-datepicker-panel-border-color);
|
|
2297
|
+
border-radius: var(--h-datepicker-panel-border-radius);
|
|
2298
|
+
background: var(--h-datepicker-panel-background);
|
|
2299
|
+
color: var(--h-datepicker-panel-color);
|
|
2300
|
+
}
|
|
2301
|
+
|
|
2302
|
+
.hx-date-time-picker-popup .hx-date-time-picker-panel {
|
|
2303
|
+
border-radius: var(--h-datepicker-panel-border-radius) var(--h-datepicker-panel-border-radius) 0 0;
|
|
2304
|
+
}
|
|
2305
|
+
|
|
2306
|
+
.hx-date-time-picker-popup .hx-date-time-picker-panel:last-child {
|
|
2307
|
+
border-radius: var(--h-datepicker-panel-border-radius);
|
|
2308
|
+
}
|
|
2309
|
+
|
|
2310
|
+
.hx-date-time-picker-input {
|
|
2311
|
+
box-sizing: border-box;
|
|
2312
|
+
flex: 1 1 auto;
|
|
2313
|
+
min-width: 0;
|
|
2314
|
+
padding: var(--h-inputtext-padding-y) var(--h-inputtext-padding-x);
|
|
2315
|
+
border: 1px solid var(--h-inputtext-border-color);
|
|
2316
|
+
border-radius: var(--h-inputtext-border-radius);
|
|
2317
|
+
background: var(--h-inputtext-background);
|
|
2318
|
+
color: var(--h-inputtext-color);
|
|
2319
|
+
box-shadow: var(--h-inputtext-shadow);
|
|
2320
|
+
font: inherit;
|
|
2321
|
+
font-size: 1rem;
|
|
2322
|
+
outline: 0 none;
|
|
2323
|
+
transition: border-color var(--h-datepicker-transition-duration), box-shadow var(--h-datepicker-transition-duration);
|
|
2324
|
+
}
|
|
2325
|
+
|
|
2326
|
+
.hx-date-time-picker-input::placeholder {
|
|
2327
|
+
color: var(--h-inputtext-placeholder-color);
|
|
2328
|
+
}
|
|
2329
|
+
|
|
2330
|
+
.hx-date-time-picker-input:enabled:hover {
|
|
2331
|
+
border-color: var(--h-inputtext-hover-border-color);
|
|
2332
|
+
}
|
|
2333
|
+
|
|
2334
|
+
.hx-date-time-picker-input:enabled:focus,
|
|
2335
|
+
.hx-date-time-picker-open .hx-date-time-picker-input {
|
|
2336
|
+
border-color: var(--h-inputtext-focus-border-color);
|
|
2337
|
+
outline: var(--h-inputtext-focus-ring-width) var(--h-inputtext-focus-ring-style) var(--h-inputtext-focus-ring-color);
|
|
2338
|
+
outline-offset: var(--h-inputtext-focus-ring-offset);
|
|
2339
|
+
box-shadow: var(--h-inputtext-focus-ring-shadow);
|
|
2340
|
+
}
|
|
2341
|
+
|
|
2342
|
+
.hx-date-time-picker-input:disabled {
|
|
2343
|
+
background: var(--h-inputtext-disabled-background);
|
|
2344
|
+
color: var(--h-inputtext-disabled-color);
|
|
2345
|
+
}
|
|
2346
|
+
|
|
2347
|
+
.hx-date-time-picker-invalid .hx-date-time-picker-input,
|
|
2348
|
+
.hx-date-time-picker.ng-invalid.ng-touched .hx-date-time-picker-input,
|
|
2349
|
+
.hx-date-time-picker-input[aria-invalid=true] {
|
|
2350
|
+
border-color: var(--h-inputtext-invalid-border-color);
|
|
2351
|
+
}
|
|
2352
|
+
|
|
2353
|
+
.hx-date-time-picker-invalid .hx-date-time-picker-panel,
|
|
2354
|
+
.hx-date-time-picker.ng-invalid.ng-touched .hx-date-time-picker-panel {
|
|
2355
|
+
border-color: var(--h-form-field-invalid-border-color);
|
|
2356
|
+
}
|
|
2357
|
+
|
|
2358
|
+
.hx-date-time-picker-has-icon .hx-date-time-picker-input {
|
|
2359
|
+
border-start-end-radius: 0;
|
|
2360
|
+
border-end-end-radius: 0;
|
|
2361
|
+
}
|
|
2362
|
+
|
|
2363
|
+
.hx-date-time-picker-disabled {
|
|
2364
|
+
opacity: 0.6;
|
|
2365
|
+
}
|
|
2366
|
+
|
|
2367
|
+
.hx-date-time-picker-trigger {
|
|
2368
|
+
display: inline-flex;
|
|
2369
|
+
flex: none;
|
|
2370
|
+
align-items: center;
|
|
2371
|
+
justify-content: center;
|
|
2372
|
+
width: var(--h-datepicker-dropdown-width);
|
|
2373
|
+
border: 1px solid var(--h-datepicker-dropdown-border-color);
|
|
2374
|
+
border-inline-start: 0;
|
|
2375
|
+
border-start-end-radius: var(--h-datepicker-dropdown-border-radius);
|
|
2376
|
+
border-end-end-radius: var(--h-datepicker-dropdown-border-radius);
|
|
2377
|
+
background: var(--h-datepicker-dropdown-background);
|
|
2378
|
+
color: var(--h-datepicker-dropdown-color);
|
|
2379
|
+
cursor: pointer;
|
|
2380
|
+
outline: 0 none;
|
|
2381
|
+
}
|
|
2382
|
+
|
|
2383
|
+
.hx-date-time-picker-trigger:not(:disabled):hover {
|
|
2384
|
+
border-color: var(--h-datepicker-dropdown-hover-border-color);
|
|
2385
|
+
background: var(--h-datepicker-dropdown-hover-background);
|
|
2386
|
+
color: var(--h-datepicker-dropdown-hover-color);
|
|
2387
|
+
}
|
|
2388
|
+
|
|
2389
|
+
.hx-date-time-picker-trigger:focus-visible {
|
|
2390
|
+
outline: var(--h-datepicker-dropdown-focus-ring-width) var(--h-datepicker-dropdown-focus-ring-style) var(--h-datepicker-dropdown-focus-ring-color);
|
|
2391
|
+
outline-offset: var(--h-datepicker-dropdown-focus-ring-offset);
|
|
2392
|
+
box-shadow: var(--h-datepicker-dropdown-focus-ring-shadow);
|
|
2393
|
+
}
|
|
2394
|
+
|
|
2395
|
+
.hx-date-time-picker-trigger-icon {
|
|
2396
|
+
display: inline-block;
|
|
2397
|
+
flex: none;
|
|
2398
|
+
width: 1rem;
|
|
2399
|
+
height: 1rem;
|
|
2400
|
+
background: currentcolor;
|
|
2401
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1ZM4 10.5h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
2402
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M5 6h14a1 1 0 0 1 1 1v12a1 1 0 0 1-1 1H5a1 1 0 0 1-1-1V7a1 1 0 0 1 1-1ZM4 10.5h16M8.5 3.5v4M15.5 3.5v4'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
2403
|
+
}
|
|
2404
|
+
|
|
2405
|
+
.hx-date-time-picker-popup {
|
|
2406
|
+
box-shadow: var(--h-datepicker-panel-shadow);
|
|
2407
|
+
border-radius: var(--h-datepicker-panel-border-radius);
|
|
2408
|
+
background: var(--h-datepicker-panel-background);
|
|
2409
|
+
color: var(--h-datepicker-panel-color);
|
|
2410
|
+
font-size: 1rem;
|
|
2411
|
+
}
|
|
2412
|
+
|
|
2413
|
+
.hx-date-time-picker-buttonbar {
|
|
2414
|
+
display: flex;
|
|
2415
|
+
justify-content: space-between;
|
|
2416
|
+
padding: var(--h-datepicker-buttonbar-padding);
|
|
2417
|
+
border: 1px solid var(--h-datepicker-buttonbar-border-color);
|
|
2418
|
+
border-top: 0;
|
|
2419
|
+
border-radius: 0 0 var(--h-datepicker-panel-border-radius) var(--h-datepicker-panel-border-radius);
|
|
2420
|
+
}
|
|
2421
|
+
|
|
2422
|
+
.hx-date-time-picker-button {
|
|
2423
|
+
padding: var(--h-datepicker-select-month-padding);
|
|
2424
|
+
border: 0;
|
|
2425
|
+
border-radius: var(--h-datepicker-select-month-border-radius);
|
|
2426
|
+
background: transparent;
|
|
2427
|
+
color: var(--h-datepicker-select-month-color);
|
|
2428
|
+
font: inherit;
|
|
2429
|
+
cursor: pointer;
|
|
2430
|
+
}
|
|
2431
|
+
|
|
2432
|
+
.hx-date-time-picker-button:hover {
|
|
2433
|
+
background: var(--h-datepicker-select-month-hover-background);
|
|
2434
|
+
}
|
|
2435
|
+
|
|
2436
|
+
/* date-time-range-picker */
|
|
2437
|
+
/*
|
|
2438
|
+
* DateTimeRangePicker: `<hx-date-time-range-picker>`. One read-only field with a button (styled by `date-picker.scss`)
|
|
2439
|
+
* and a popup with one calendar for the range and an inline `hx-time-picker` for each end; every colour and size comes from the
|
|
2440
|
+
* date picker and input tokens.
|
|
2441
|
+
*/
|
|
2442
|
+
.hx-date-time-range-picker {
|
|
2443
|
+
display: block;
|
|
2444
|
+
position: relative;
|
|
2445
|
+
}
|
|
2446
|
+
|
|
2447
|
+
.hx-date-time-range-picker .hx-date-time-range-picker-control {
|
|
2448
|
+
display: flex;
|
|
2449
|
+
width: 100%;
|
|
2450
|
+
}
|
|
2451
|
+
|
|
2452
|
+
.hx-date-time-range-picker-popup {
|
|
2453
|
+
max-width: calc(100vw - 2rem);
|
|
2454
|
+
overflow: auto;
|
|
2455
|
+
}
|
|
2456
|
+
|
|
2457
|
+
.hx-date-time-range-picker-body {
|
|
2458
|
+
display: flex;
|
|
2459
|
+
flex-direction: column;
|
|
2460
|
+
gap: var(--h-datepicker-title-gap);
|
|
2461
|
+
padding: var(--h-datepicker-panel-padding);
|
|
2462
|
+
}
|
|
2463
|
+
|
|
2464
|
+
.hx-date-time-range-picker-times {
|
|
2465
|
+
display: flex;
|
|
2466
|
+
flex-wrap: wrap;
|
|
2467
|
+
justify-content: space-around;
|
|
2468
|
+
gap: var(--h-datepicker-title-gap);
|
|
2469
|
+
}
|
|
2470
|
+
|
|
2471
|
+
/* from and to side by side: the name above the time, the arrows beside the value */
|
|
2472
|
+
.hx-date-time-range-picker-time {
|
|
2473
|
+
display: flex;
|
|
2474
|
+
flex-direction: column;
|
|
2475
|
+
align-items: center;
|
|
2476
|
+
gap: var(--h-datepicker-title-gap);
|
|
2477
|
+
}
|
|
2478
|
+
|
|
2479
|
+
.hx-date-time-range-picker-caption {
|
|
2480
|
+
font-weight: var(--h-datepicker-title-font-weight);
|
|
2481
|
+
}
|
|
2482
|
+
|
|
2483
|
+
.hx-date-time-range-picker-popup .hx-date-picker-time {
|
|
2484
|
+
padding: 0;
|
|
2485
|
+
}
|
|
2486
|
+
|
|
2487
|
+
.hx-date-time-range-picker-popup .hx-date-picker-time-column {
|
|
2488
|
+
flex-direction: row-reverse;
|
|
2489
|
+
}
|
|
2490
|
+
|
|
2491
|
+
.hx-date-time-range-picker-popup .hx-date-picker-time-up-icon {
|
|
2492
|
+
transform: rotate(90deg);
|
|
2493
|
+
}
|
|
2494
|
+
|
|
2495
|
+
.hx-date-time-range-picker-popup .hx-date-picker-time-down-icon {
|
|
2496
|
+
transform: rotate(90deg);
|
|
2497
|
+
}
|
|
2498
|
+
|
|
2499
|
+
.hx-date-time-range-picker-spacer {
|
|
2500
|
+
flex: 1 1 auto;
|
|
2501
|
+
}
|
|
2502
|
+
|
|
2503
|
+
.hx-date-time-range-picker-footer {
|
|
2504
|
+
gap: var(--h-datepicker-title-gap);
|
|
2505
|
+
}
|
|
2506
|
+
|
|
2507
|
+
.hx-date-time-range-picker-submit {
|
|
2508
|
+
font-weight: var(--h-datepicker-title-font-weight);
|
|
2509
|
+
}
|
|
2510
|
+
|
|
2271
2511
|
/* dialog */
|
|
2272
2512
|
/*
|
|
2273
2513
|
* Dialog: `<hx-dialog>` and the dialogs of `HxDialogService`. The box (`.hx-dialog`) is a grid of the title, the
|
|
@@ -6904,6 +7144,253 @@
|
|
|
6904
7144
|
font-size: var(--h-tag-icon-size);
|
|
6905
7145
|
}
|
|
6906
7146
|
|
|
7147
|
+
/* time-picker */
|
|
7148
|
+
/*
|
|
7149
|
+
* TimePicker: `<hx-time-picker>`. The field, button and popup of the date picker with a time row inside; the
|
|
7150
|
+
* columns are styled by `time-row.scss` (`hx-date-picker-time-*`). Every colour and size comes from the
|
|
7151
|
+
* `--h-datepicker-*` and `--h-inputtext-*` tokens.
|
|
7152
|
+
*/
|
|
7153
|
+
.hx-time-picker {
|
|
7154
|
+
display: inline-block;
|
|
7155
|
+
}
|
|
7156
|
+
|
|
7157
|
+
.hx-time-picker:not(.hx-time-picker-inline) {
|
|
7158
|
+
position: relative;
|
|
7159
|
+
display: inline-flex;
|
|
7160
|
+
}
|
|
7161
|
+
|
|
7162
|
+
.hx-time-picker-field {
|
|
7163
|
+
display: flex;
|
|
7164
|
+
flex: 1 1 auto;
|
|
7165
|
+
min-width: 0;
|
|
7166
|
+
}
|
|
7167
|
+
|
|
7168
|
+
.hx-time-picker-panel {
|
|
7169
|
+
box-sizing: border-box;
|
|
7170
|
+
padding: var(--h-datepicker-panel-padding);
|
|
7171
|
+
border: 1px solid var(--h-datepicker-panel-border-color);
|
|
7172
|
+
border-radius: var(--h-datepicker-panel-border-radius);
|
|
7173
|
+
background: var(--h-datepicker-panel-background);
|
|
7174
|
+
color: var(--h-datepicker-panel-color);
|
|
7175
|
+
}
|
|
7176
|
+
|
|
7177
|
+
.hx-time-picker-popup .hx-time-picker-panel {
|
|
7178
|
+
border-radius: var(--h-datepicker-panel-border-radius) var(--h-datepicker-panel-border-radius) 0 0;
|
|
7179
|
+
}
|
|
7180
|
+
|
|
7181
|
+
.hx-time-picker-popup .hx-time-picker-panel:last-child {
|
|
7182
|
+
border-radius: var(--h-datepicker-panel-border-radius);
|
|
7183
|
+
}
|
|
7184
|
+
|
|
7185
|
+
.hx-time-picker-input {
|
|
7186
|
+
box-sizing: border-box;
|
|
7187
|
+
flex: 1 1 auto;
|
|
7188
|
+
min-width: 0;
|
|
7189
|
+
padding: var(--h-inputtext-padding-y) var(--h-inputtext-padding-x);
|
|
7190
|
+
border: 1px solid var(--h-inputtext-border-color);
|
|
7191
|
+
border-radius: var(--h-inputtext-border-radius);
|
|
7192
|
+
background: var(--h-inputtext-background);
|
|
7193
|
+
color: var(--h-inputtext-color);
|
|
7194
|
+
box-shadow: var(--h-inputtext-shadow);
|
|
7195
|
+
font: inherit;
|
|
7196
|
+
font-size: 1rem;
|
|
7197
|
+
outline: 0 none;
|
|
7198
|
+
transition: border-color var(--h-datepicker-transition-duration), box-shadow var(--h-datepicker-transition-duration);
|
|
7199
|
+
}
|
|
7200
|
+
|
|
7201
|
+
.hx-time-picker-input::placeholder {
|
|
7202
|
+
color: var(--h-inputtext-placeholder-color);
|
|
7203
|
+
}
|
|
7204
|
+
|
|
7205
|
+
.hx-time-picker-input:enabled:hover {
|
|
7206
|
+
border-color: var(--h-inputtext-hover-border-color);
|
|
7207
|
+
}
|
|
7208
|
+
|
|
7209
|
+
.hx-time-picker-input:enabled:focus,
|
|
7210
|
+
.hx-time-picker-open .hx-time-picker-input {
|
|
7211
|
+
border-color: var(--h-inputtext-focus-border-color);
|
|
7212
|
+
outline: var(--h-inputtext-focus-ring-width) var(--h-inputtext-focus-ring-style) var(--h-inputtext-focus-ring-color);
|
|
7213
|
+
outline-offset: var(--h-inputtext-focus-ring-offset);
|
|
7214
|
+
box-shadow: var(--h-inputtext-focus-ring-shadow);
|
|
7215
|
+
}
|
|
7216
|
+
|
|
7217
|
+
.hx-time-picker-input:disabled {
|
|
7218
|
+
background: var(--h-inputtext-disabled-background);
|
|
7219
|
+
color: var(--h-inputtext-disabled-color);
|
|
7220
|
+
}
|
|
7221
|
+
|
|
7222
|
+
.hx-time-picker-invalid .hx-time-picker-input,
|
|
7223
|
+
.hx-time-picker.ng-invalid.ng-touched .hx-time-picker-input,
|
|
7224
|
+
.hx-time-picker-input[aria-invalid=true] {
|
|
7225
|
+
border-color: var(--h-inputtext-invalid-border-color);
|
|
7226
|
+
}
|
|
7227
|
+
|
|
7228
|
+
.hx-time-picker-invalid .hx-time-picker-panel,
|
|
7229
|
+
.hx-time-picker.ng-invalid.ng-touched .hx-time-picker-panel {
|
|
7230
|
+
border-color: var(--h-form-field-invalid-border-color);
|
|
7231
|
+
}
|
|
7232
|
+
|
|
7233
|
+
.hx-time-picker-has-icon .hx-time-picker-input {
|
|
7234
|
+
border-start-end-radius: 0;
|
|
7235
|
+
border-end-end-radius: 0;
|
|
7236
|
+
}
|
|
7237
|
+
|
|
7238
|
+
.hx-time-picker-disabled {
|
|
7239
|
+
opacity: 0.6;
|
|
7240
|
+
}
|
|
7241
|
+
|
|
7242
|
+
.hx-time-picker-disabled .hx-date-picker-time-button {
|
|
7243
|
+
cursor: default;
|
|
7244
|
+
}
|
|
7245
|
+
|
|
7246
|
+
.hx-time-picker-trigger {
|
|
7247
|
+
display: inline-flex;
|
|
7248
|
+
flex: none;
|
|
7249
|
+
align-items: center;
|
|
7250
|
+
justify-content: center;
|
|
7251
|
+
width: var(--h-datepicker-dropdown-width);
|
|
7252
|
+
border: 1px solid var(--h-datepicker-dropdown-border-color);
|
|
7253
|
+
border-inline-start: 0;
|
|
7254
|
+
border-start-end-radius: var(--h-datepicker-dropdown-border-radius);
|
|
7255
|
+
border-end-end-radius: var(--h-datepicker-dropdown-border-radius);
|
|
7256
|
+
background: var(--h-datepicker-dropdown-background);
|
|
7257
|
+
color: var(--h-datepicker-dropdown-color);
|
|
7258
|
+
cursor: pointer;
|
|
7259
|
+
outline: 0 none;
|
|
7260
|
+
}
|
|
7261
|
+
|
|
7262
|
+
.hx-time-picker-trigger:not(:disabled):hover {
|
|
7263
|
+
border-color: var(--h-datepicker-dropdown-hover-border-color);
|
|
7264
|
+
background: var(--h-datepicker-dropdown-hover-background);
|
|
7265
|
+
color: var(--h-datepicker-dropdown-hover-color);
|
|
7266
|
+
}
|
|
7267
|
+
|
|
7268
|
+
.hx-time-picker-trigger:focus-visible {
|
|
7269
|
+
outline: var(--h-datepicker-dropdown-focus-ring-width) var(--h-datepicker-dropdown-focus-ring-style) var(--h-datepicker-dropdown-focus-ring-color);
|
|
7270
|
+
outline-offset: var(--h-datepicker-dropdown-focus-ring-offset);
|
|
7271
|
+
box-shadow: var(--h-datepicker-dropdown-focus-ring-shadow);
|
|
7272
|
+
}
|
|
7273
|
+
|
|
7274
|
+
.hx-time-picker-trigger-icon {
|
|
7275
|
+
display: inline-block;
|
|
7276
|
+
flex: none;
|
|
7277
|
+
width: 1rem;
|
|
7278
|
+
height: 1rem;
|
|
7279
|
+
background: currentcolor;
|
|
7280
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7.5V12l3 2'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
7281
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='M12 3.5a8.5 8.5 0 1 0 0 17 8.5 8.5 0 0 0 0-17ZM12 7.5V12l3 2'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
7282
|
+
}
|
|
7283
|
+
|
|
7284
|
+
.hx-time-picker-popup {
|
|
7285
|
+
box-shadow: var(--h-datepicker-panel-shadow);
|
|
7286
|
+
border-radius: var(--h-datepicker-panel-border-radius);
|
|
7287
|
+
background: var(--h-datepicker-panel-background);
|
|
7288
|
+
color: var(--h-datepicker-panel-color);
|
|
7289
|
+
font-size: 1rem;
|
|
7290
|
+
}
|
|
7291
|
+
|
|
7292
|
+
.hx-time-picker-buttonbar {
|
|
7293
|
+
display: flex;
|
|
7294
|
+
justify-content: space-between;
|
|
7295
|
+
padding: var(--h-datepicker-buttonbar-padding);
|
|
7296
|
+
border: 1px solid var(--h-datepicker-buttonbar-border-color);
|
|
7297
|
+
border-top: 0;
|
|
7298
|
+
border-radius: 0 0 var(--h-datepicker-panel-border-radius) var(--h-datepicker-panel-border-radius);
|
|
7299
|
+
}
|
|
7300
|
+
|
|
7301
|
+
.hx-time-picker-button {
|
|
7302
|
+
padding: var(--h-datepicker-select-month-padding);
|
|
7303
|
+
border: 0;
|
|
7304
|
+
border-radius: var(--h-datepicker-select-month-border-radius);
|
|
7305
|
+
background: transparent;
|
|
7306
|
+
color: var(--h-datepicker-select-month-color);
|
|
7307
|
+
font: inherit;
|
|
7308
|
+
cursor: pointer;
|
|
7309
|
+
}
|
|
7310
|
+
|
|
7311
|
+
.hx-time-picker-button:hover {
|
|
7312
|
+
background: var(--h-datepicker-select-month-hover-background);
|
|
7313
|
+
}
|
|
7314
|
+
|
|
7315
|
+
/* time-row */
|
|
7316
|
+
/*
|
|
7317
|
+
* Time row: the columns of `<hx-time-row>` (hour, minute, second, AM/PM) inside the time picker, the date-time
|
|
7318
|
+
* picker and the date-time range picker. Every colour and size comes from the `--h-datepicker-*` tokens.
|
|
7319
|
+
*/
|
|
7320
|
+
.hx-date-picker-time {
|
|
7321
|
+
display: flex;
|
|
7322
|
+
align-items: center;
|
|
7323
|
+
justify-content: center;
|
|
7324
|
+
gap: var(--h-datepicker-title-gap);
|
|
7325
|
+
padding: var(--h-datepicker-header-padding);
|
|
7326
|
+
}
|
|
7327
|
+
|
|
7328
|
+
.hx-date-picker-time-column {
|
|
7329
|
+
display: flex;
|
|
7330
|
+
flex-direction: column;
|
|
7331
|
+
align-items: center;
|
|
7332
|
+
}
|
|
7333
|
+
|
|
7334
|
+
.hx-date-picker-time-button,
|
|
7335
|
+
.hx-date-picker-time-spin {
|
|
7336
|
+
display: inline-flex;
|
|
7337
|
+
align-items: center;
|
|
7338
|
+
justify-content: center;
|
|
7339
|
+
min-width: var(--h-datepicker-date-width);
|
|
7340
|
+
height: var(--h-datepicker-date-height);
|
|
7341
|
+
border: 0;
|
|
7342
|
+
border-radius: var(--h-datepicker-date-border-radius);
|
|
7343
|
+
background: transparent;
|
|
7344
|
+
color: inherit;
|
|
7345
|
+
font: inherit;
|
|
7346
|
+
outline: 0 none;
|
|
7347
|
+
}
|
|
7348
|
+
|
|
7349
|
+
.hx-date-picker-time-button {
|
|
7350
|
+
cursor: pointer;
|
|
7351
|
+
}
|
|
7352
|
+
|
|
7353
|
+
.hx-date-picker-time-spin {
|
|
7354
|
+
font-variant-numeric: tabular-nums;
|
|
7355
|
+
}
|
|
7356
|
+
|
|
7357
|
+
.hx-date-picker-time-button:not(:disabled):hover {
|
|
7358
|
+
background: var(--h-datepicker-date-hover-background);
|
|
7359
|
+
color: var(--h-datepicker-date-hover-color);
|
|
7360
|
+
}
|
|
7361
|
+
|
|
7362
|
+
.hx-date-picker-time-button:focus-visible,
|
|
7363
|
+
.hx-date-picker-time-spin:focus-visible {
|
|
7364
|
+
outline: var(--h-datepicker-date-focus-ring-width) var(--h-datepicker-date-focus-ring-style) var(--h-datepicker-date-focus-ring-color);
|
|
7365
|
+
outline-offset: var(--h-datepicker-date-focus-ring-offset);
|
|
7366
|
+
box-shadow: var(--h-datepicker-date-focus-ring-shadow);
|
|
7367
|
+
}
|
|
7368
|
+
|
|
7369
|
+
.hx-date-picker-time-up-icon {
|
|
7370
|
+
display: inline-block;
|
|
7371
|
+
flex: none;
|
|
7372
|
+
width: 1rem;
|
|
7373
|
+
height: 1rem;
|
|
7374
|
+
background: currentcolor;
|
|
7375
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
7376
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 15 6-6 6 6'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
7377
|
+
}
|
|
7378
|
+
|
|
7379
|
+
.hx-date-picker-time-down-icon {
|
|
7380
|
+
display: inline-block;
|
|
7381
|
+
flex: none;
|
|
7382
|
+
width: 1rem;
|
|
7383
|
+
height: 1rem;
|
|
7384
|
+
background: currentcolor;
|
|
7385
|
+
mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
7386
|
+
-webkit-mask: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 24 24' fill='none' stroke='black' stroke-width='2.4' stroke-linecap='round' stroke-linejoin='round'%3E%3Cpath d='m6 9 6 6 6-6'/%3E%3C/svg%3E") center/contain no-repeat;
|
|
7387
|
+
}
|
|
7388
|
+
|
|
7389
|
+
.hx-date-picker-disabled .hx-date-picker-time-button,
|
|
7390
|
+
.hx-date-time-picker-disabled .hx-date-picker-time-button {
|
|
7391
|
+
cursor: default;
|
|
7392
|
+
}
|
|
7393
|
+
|
|
6907
7394
|
/* timeline */
|
|
6908
7395
|
/*
|
|
6909
7396
|
* Timeline: `<hx-timeline>`. Events in an ordered list, each a row (vertical) or column (horizontal) of the opposite
|