@kashi-ui/css 2.24.0 → 2.25.0
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/dist/components/bill.css +13 -0
- package/dist/components/cropper.css +46 -0
- package/dist/components/gantt.css +100 -0
- package/dist/components/infinite.css +25 -0
- package/dist/components/invoice.css +69 -0
- package/dist/components/rating.css +2 -0
- package/dist/components/signature.css +51 -0
- package/dist/components/table.css +21 -0
- package/dist/components/tabs.css +2 -1
- package/dist/kashi.css +341 -1
- package/dist/kashi.nofont.css +341 -1
- package/dist/tokens.css +6 -0
- package/package.json +2 -2
package/dist/kashi.css
CHANGED
|
@@ -285,9 +285,13 @@
|
|
|
285
285
|
--k-checkbox-size-lg: 1.25rem;
|
|
286
286
|
--k-checkbox-radius-default: calc(0.3125rem * var(--k-radius-factor));
|
|
287
287
|
--k-clock-size-default: 16rem;
|
|
288
|
+
--k-cropper-height-default: 20rem;
|
|
288
289
|
--k-dialog-width-md: 30rem;
|
|
289
290
|
--k-dialog-width-lg: 40rem;
|
|
290
291
|
--k-drawer-width-default: 26rem;
|
|
292
|
+
--k-gantt-day-default: 2.5rem;
|
|
293
|
+
--k-gantt-row-default: 2.75rem;
|
|
294
|
+
--k-gantt-label-width-default: 11rem;
|
|
291
295
|
--k-heatmap-cell-default: 0.75rem;
|
|
292
296
|
--k-listbox-max-height-default: 18rem;
|
|
293
297
|
--k-menu-min-width-default: 12rem;
|
|
@@ -313,6 +317,7 @@
|
|
|
313
317
|
--k-rte-max-height-default: 28rem;
|
|
314
318
|
--k-sched-height-default: 36rem;
|
|
315
319
|
--k-sheet-height-default: 50dvh;
|
|
320
|
+
--k-signature-height-default: 11rem;
|
|
316
321
|
--k-sidenav-width-default: 17rem;
|
|
317
322
|
--k-sidenav-item-height-default: 2.5rem;
|
|
318
323
|
--k-step-size-default: 2rem;
|
|
@@ -331,6 +336,7 @@
|
|
|
331
336
|
--k-tooltip-max-width-default: 16rem;
|
|
332
337
|
--k-tree-indent-default: 1.25rem;
|
|
333
338
|
--k-tree-row-height-default: 2.25rem;
|
|
339
|
+
--k-vlist-height-default: 24rem;
|
|
334
340
|
}
|
|
335
341
|
|
|
336
342
|
:root, [data-theme="dark"] {
|
|
@@ -1206,6 +1212,20 @@
|
|
|
1206
1212
|
.k-banner__actions { display: flex; align-items: center; gap: var(--k-space-2); }
|
|
1207
1213
|
.k-banner__close { margin-inline-start: auto; }
|
|
1208
1214
|
|
|
1215
|
+
/* شناسهٔ قبض و پرداخت: نوع قبض و مبلغ کنار فیلد با نقطهٔ رنگی نوع خدمت */
|
|
1216
|
+
.k-bill__service { display: inline-flex; align-items: center; gap: var(--k-space-1_5); animation: k-bill-in var(--k-duration-normal) var(--k-ease-emphasized) both; }
|
|
1217
|
+
.k-bill__service::before { content: ""; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: var(--k-bill-color, var(--k-text-tertiary)); }
|
|
1218
|
+
.k-bill__service[data-service="water"] { --k-bill-color: var(--k-lajvard-500); }
|
|
1219
|
+
.k-bill__service[data-service="electricity"] { --k-bill-color: var(--k-zafaran-500); }
|
|
1220
|
+
.k-bill__service[data-service="gas"] { --k-bill-color: var(--k-anar-500); }
|
|
1221
|
+
.k-bill__service[data-service="landline"], .k-bill__service[data-service="mobile"] { --k-bill-color: var(--k-firoozeh-500); }
|
|
1222
|
+
.k-bill__service[data-service="municipality"], .k-bill__service[data-service="tax"] { --k-bill-color: var(--k-pesteh-500); }
|
|
1223
|
+
.k-bill__service[data-service="fine"] { --k-bill-color: var(--k-anar-600); }
|
|
1224
|
+
.k-bill__amount { color: var(--k-text-primary); font-weight: var(--k-weight-semibold); font-variant-numeric: tabular-nums; animation: k-bill-in var(--k-duration-normal) var(--k-ease-emphasized) both; }
|
|
1225
|
+
@keyframes k-bill-in { from { opacity: 0; translate: 0 3px; } }
|
|
1226
|
+
@media (prefers-reduced-motion: reduce) { .k-bill__service, .k-bill__amount { animation: none; } }
|
|
1227
|
+
@media (forced-colors: active) { .k-bill__service::before { background: CanvasText; } }
|
|
1228
|
+
|
|
1209
1229
|
/* مسیر صفحه (Breadcrumb)
|
|
1210
1230
|
* <nav class="k-breadcrumb" aria-label="مسیر"><ol>
|
|
1211
1231
|
* <li><a class="k-breadcrumb__link" href="/">خانه</a></li>
|
|
@@ -2604,6 +2624,53 @@ a.k-barlist__label:focus-visible { outline: 2px solid transparent; border-radius
|
|
|
2604
2624
|
.k-countdown__sep { align-self: center; color: var(--k-text-quaternary); }
|
|
2605
2625
|
.k-countdown[data-done] { color: var(--k-text-tertiary); }
|
|
2606
2626
|
|
|
2627
|
+
/* برش تصویر
|
|
2628
|
+
* <div class="k-cropper"><div class="k-cropper__stage"><img class="k-cropper__img"><div class="k-cropper__frame"></div></div><div class="k-cropper__controls">…</div></div>
|
|
2629
|
+
* متغیر: --k-cropper-height ارتفاع صحنه */
|
|
2630
|
+
.k-cropper { display: grid; gap: var(--k-space-3); }
|
|
2631
|
+
.k-cropper__stage {
|
|
2632
|
+
position: relative;
|
|
2633
|
+
block-size: var(--k-cropper-height, var(--k-cropper-height-default));
|
|
2634
|
+
overflow: hidden;
|
|
2635
|
+
border-radius: var(--k-radius-lg);
|
|
2636
|
+
background: repeating-conic-gradient(var(--k-bg-muted) 0 25%, var(--k-bg-secondary) 0 50%) 0 0 / 1rem 1rem;
|
|
2637
|
+
touch-action: none;
|
|
2638
|
+
user-select: none;
|
|
2639
|
+
cursor: grab;
|
|
2640
|
+
}
|
|
2641
|
+
.k-cropper__stage:active { cursor: grabbing; }
|
|
2642
|
+
.k-cropper__stage:focus-visible { outline: 2px solid var(--k-border-brand); outline-offset: 2px; }
|
|
2643
|
+
.k-cropper__img { position: absolute; inset-block-start: 0; inset-inline-start: 0; max-inline-size: none; pointer-events: none; transform-origin: 50% 50%; transition: opacity var(--k-duration-normal); }
|
|
2644
|
+
/* کادر وسط با تاریکی بیرونش (سایهٔ بزرگ) */
|
|
2645
|
+
.k-cropper__frame {
|
|
2646
|
+
position: absolute;
|
|
2647
|
+
inset-block-start: 50%;
|
|
2648
|
+
inset-inline-start: 50%;
|
|
2649
|
+
translate: -50% -50%;
|
|
2650
|
+
border: 2px solid rgb(255 255 255 / 0.95);
|
|
2651
|
+
border-radius: var(--k-radius-sm);
|
|
2652
|
+
box-shadow: 0 0 0 100vmax rgb(0 0 0 / 0.55);
|
|
2653
|
+
pointer-events: none;
|
|
2654
|
+
transition: border-radius var(--k-duration-normal) var(--k-ease-emphasized);
|
|
2655
|
+
}
|
|
2656
|
+
.k-cropper[data-shape="circle"] .k-cropper__frame { border-radius: 50%; }
|
|
2657
|
+
/* خطوط یکسوم، فقط هنگام کشیدن */
|
|
2658
|
+
.k-cropper__grid { position: absolute; inset: 0; border-radius: inherit; opacity: 0; background:
|
|
2659
|
+
linear-gradient(to right, transparent calc(33.33% - 0.5px), rgb(255 255 255 / 0.5) 0 calc(33.33% + 0.5px), transparent 0 calc(66.66% - 0.5px), rgb(255 255 255 / 0.5) 0 calc(66.66% + 0.5px), transparent 0),
|
|
2660
|
+
linear-gradient(to bottom, transparent calc(33.33% - 0.5px), rgb(255 255 255 / 0.5) 0 calc(33.33% + 0.5px), transparent 0 calc(66.66% - 0.5px), rgb(255 255 255 / 0.5) 0 calc(66.66% + 0.5px), transparent 0);
|
|
2661
|
+
transition: opacity var(--k-duration-normal); }
|
|
2662
|
+
.k-cropper__stage:active .k-cropper__grid, .k-cropper__stage:focus-visible .k-cropper__grid { opacity: 1; }
|
|
2663
|
+
.k-cropper__controls { display: flex; align-items: center; gap: var(--k-space-2); }
|
|
2664
|
+
.k-cropper__zoom { flex: 1; min-inline-size: 0; }
|
|
2665
|
+
.k-cropper__btn { display: grid; place-items: center; flex-shrink: 0; inline-size: 2.25rem; block-size: 2.25rem; border: 1px solid var(--k-border-secondary); border-radius: var(--k-radius-md); background: var(--k-bg-elevated); color: var(--k-text-secondary); cursor: pointer; transition: background-color var(--k-duration-fast), scale var(--k-duration-fast) var(--k-ease-spring); }
|
|
2666
|
+
.k-cropper__btn svg { inline-size: 1.125rem; block-size: 1.125rem; }
|
|
2667
|
+
.k-cropper__btn:hover:not(:disabled) { background: var(--k-bg-hover); color: var(--k-text-primary); }
|
|
2668
|
+
.k-cropper__btn:active:not(:disabled) { scale: 0.92; }
|
|
2669
|
+
.k-cropper__btn:disabled { opacity: 0.4; cursor: default; }
|
|
2670
|
+
.k-cropper__btn:focus-visible { outline: 2px solid transparent; box-shadow: var(--k-ring-brand); }
|
|
2671
|
+
@media (prefers-reduced-motion: reduce) { .k-cropper__frame, .k-cropper__grid, .k-cropper__btn, .k-cropper__img { transition: none; } }
|
|
2672
|
+
@media (forced-colors: active) { .k-cropper__frame { border-color: Highlight; } }
|
|
2673
|
+
|
|
2607
2674
|
/* پنجرهٔ گفتگو — روی <dialog> بومی: تلهٔ فوکوس، Esc و غیرفعال شدن پسزمینه رایگان
|
|
2608
2675
|
* اندازهها: k-dialog--sm | k-dialog--md (پیشفرض) | k-dialog--lg
|
|
2609
2676
|
*
|
|
@@ -2952,6 +3019,107 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
2952
3019
|
.k-file__remove { grid-row: span 2; }
|
|
2953
3020
|
.k-file .k-progress { grid-column: 2 / -1; }
|
|
2954
3021
|
|
|
3022
|
+
/* نمودار گانت با تقویم شمسی
|
|
3023
|
+
* <div class="k-gantt"><div class="k-gantt__scroll"><div class="k-gantt__grid">…<div class="k-gantt__row"><div class="k-gantt__name">…</div><div class="k-gantt__track"><button class="k-gantt__bar">…</button></div></div></div></div></div>
|
|
3024
|
+
* متغیرها: --k-gantt-day پهنای هر روز --k-gantt-row ارتفاع ردیف --k-gantt-label-width ستون نام کارها --k-gantt-color رنگ نوار --k-gantt-height ارتفاع بیشینه */
|
|
3025
|
+
.k-gantt {
|
|
3026
|
+
--_day: var(--k-gantt-day, var(--k-gantt-day-default));
|
|
3027
|
+
--_row: var(--k-gantt-row, var(--k-gantt-row-default));
|
|
3028
|
+
--_label: var(--k-gantt-label-width, var(--k-gantt-label-width-default));
|
|
3029
|
+
min-inline-size: 0;
|
|
3030
|
+
}
|
|
3031
|
+
.k-gantt__scroll { max-block-size: var(--k-gantt-height, none); overflow: auto; border: 1px solid var(--k-border-secondary); border-radius: var(--k-radius-surface); background: var(--k-bg-elevated); box-shadow: var(--k-shadow-xs), var(--k-highlight); overscroll-behavior-inline: contain; }
|
|
3032
|
+
.k-gantt__scroll:focus-visible { outline: 2px solid var(--k-border-brand); outline-offset: 2px; }
|
|
3033
|
+
.k-gantt__grid { position: relative; display: grid; grid-template-columns: var(--_label) calc(var(--_day) * var(--k-gantt-days)); inline-size: max-content; min-inline-size: 100%; }
|
|
3034
|
+
.k-gantt__head, .k-gantt__row { display: grid; grid-column: 1 / -1; grid-template-columns: subgrid; }
|
|
3035
|
+
.k-gantt__head { position: sticky; inset-block-start: 0; z-index: calc(var(--k-z-sticky) + 1); background: var(--k-bg-elevated); box-shadow: 0 1px 0 var(--k-border-secondary); }
|
|
3036
|
+
.k-gantt__corner, .k-gantt__name { position: sticky; inset-inline-start: 0; z-index: var(--k-z-sticky); background: var(--k-bg-elevated); border-inline-end: 1px solid var(--k-border-secondary); }
|
|
3037
|
+
.k-gantt__corner { display: flex; align-items: end; padding: var(--k-space-2) var(--k-space-4); color: var(--k-text-tertiary); font-size: var(--k-text-sm); font-weight: var(--k-weight-medium); }
|
|
3038
|
+
.k-gantt__months, .k-gantt__days { display: grid; grid-template-columns: repeat(var(--k-gantt-days), var(--_day)); }
|
|
3039
|
+
.k-gantt__month { overflow: hidden; padding: var(--k-space-2) var(--k-space-2) var(--k-space-1); border-inline-start: 1px solid var(--k-border-secondary); color: var(--k-text-primary); font-size: var(--k-text-sm); font-weight: var(--k-weight-semibold); white-space: nowrap; text-overflow: ellipsis; }
|
|
3040
|
+
.k-gantt__day { display: grid; place-items: center; block-size: 1.75rem; color: var(--k-text-tertiary); font-size: var(--k-text-xs); font-variant-numeric: tabular-nums; }
|
|
3041
|
+
.k-gantt__day[data-first] { box-shadow: inset 1px 0 0 var(--k-border-secondary); }
|
|
3042
|
+
.k-gantt__day[data-off] { color: var(--k-text-error); }
|
|
3043
|
+
.k-gantt__day[data-today] { margin: 2px; border-radius: var(--k-radius-full); background: var(--k-bg-brand); color: var(--k-text-on-brand); font-weight: var(--k-weight-semibold); }
|
|
3044
|
+
.k-gantt__row { transition: background-color var(--k-duration-fast); }
|
|
3045
|
+
.k-gantt__row:hover, .k-gantt__row:hover .k-gantt__name { background: var(--k-bg-hover); }
|
|
3046
|
+
.k-gantt__row:hover .k-gantt__name { background: color-mix(in srgb, var(--k-bg-elevated), var(--k-text-primary) 3%); }
|
|
3047
|
+
.k-gantt__name { display: flex; align-items: center; gap: var(--k-space-2); min-inline-size: 0; block-size: var(--_row); padding-inline: var(--k-space-4); border-block-start: 1px solid var(--k-border-secondary); }
|
|
3048
|
+
.k-gantt__dot { flex-shrink: 0; inline-size: 0.5rem; block-size: 0.5rem; border-radius: 50%; background: var(--k-bg-brand); }
|
|
3049
|
+
.k-gantt__label { flex: 1; min-inline-size: 0; overflow: hidden; color: var(--k-text-primary); font-size: var(--k-text-sm); font-weight: var(--k-weight-medium); white-space: nowrap; text-overflow: ellipsis; }
|
|
3050
|
+
.k-gantt__len { flex-shrink: 0; color: var(--k-text-tertiary); font-size: var(--k-text-xs); }
|
|
3051
|
+
.k-gantt__track {
|
|
3052
|
+
position: relative;
|
|
3053
|
+
display: grid;
|
|
3054
|
+
grid-template-columns: repeat(var(--k-gantt-days), var(--_day));
|
|
3055
|
+
block-size: var(--_row);
|
|
3056
|
+
border-block-start: 1px solid var(--k-border-secondary);
|
|
3057
|
+
background-image: linear-gradient(to right, color-mix(in srgb, var(--k-border-secondary) 60%, transparent) 1px, transparent 1px);
|
|
3058
|
+
background-size: var(--_day) 100%;
|
|
3059
|
+
}
|
|
3060
|
+
.k-gantt__off { grid-row: 1; background: repeating-linear-gradient(135deg, transparent 0 6px, color-mix(in srgb, var(--k-text-error) 6%, transparent) 6px 7px); }
|
|
3061
|
+
.k-gantt__bar {
|
|
3062
|
+
--_c: var(--k-gantt-color, var(--k-brand-500));
|
|
3063
|
+
position: absolute;
|
|
3064
|
+
inset-block: 0.5rem;
|
|
3065
|
+
inset-inline-start: calc(var(--start) * var(--_day) + 2px);
|
|
3066
|
+
z-index: var(--k-z-raised);
|
|
3067
|
+
display: flex;
|
|
3068
|
+
align-items: center;
|
|
3069
|
+
inline-size: calc(var(--len) * var(--_day) - 4px);
|
|
3070
|
+
min-inline-size: 0.75rem;
|
|
3071
|
+
overflow: hidden;
|
|
3072
|
+
padding: 0;
|
|
3073
|
+
border: 0;
|
|
3074
|
+
border-radius: var(--k-radius-sm);
|
|
3075
|
+
background: color-mix(in srgb, var(--_c) 22%, var(--k-bg-elevated));
|
|
3076
|
+
box-shadow: inset 0 0 0 1px color-mix(in srgb, var(--_c) 45%, transparent);
|
|
3077
|
+
color: var(--k-text-primary);
|
|
3078
|
+
font: inherit;
|
|
3079
|
+
text-align: start;
|
|
3080
|
+
cursor: pointer;
|
|
3081
|
+
transition: inset-inline-start var(--k-duration-normal) var(--k-ease-emphasized), inline-size var(--k-duration-normal) var(--k-ease-emphasized), translate var(--k-duration-fast), box-shadow var(--k-duration-fast);
|
|
3082
|
+
animation: k-gantt-grow var(--k-duration-slow) var(--k-ease-emphasized) both;
|
|
3083
|
+
transform-origin: 100% 50%;
|
|
3084
|
+
}
|
|
3085
|
+
.k-gantt__bar:dir(ltr) { transform-origin: 0 50%; }
|
|
3086
|
+
.k-gantt__bar:hover { translate: 0 -1px; box-shadow: inset 0 0 0 1px var(--_c), var(--k-shadow-sm); }
|
|
3087
|
+
.k-gantt__bar:focus-visible { outline: 2px solid transparent; box-shadow: inset 0 0 0 1px var(--_c), var(--k-ring-brand); }
|
|
3088
|
+
.k-gantt__bar[data-dragging] { z-index: calc(var(--k-z-raised) + 1); box-shadow: inset 0 0 0 1px var(--_c), var(--k-shadow-lg); cursor: grabbing; transition: none; }
|
|
3089
|
+
.k-gantt__fill { position: absolute; inset-block: 0; inset-inline-start: 0; inline-size: var(--progress); background: color-mix(in srgb, var(--_c) 50%, var(--k-bg-elevated)); transition: inline-size var(--k-duration-slow) var(--k-ease-emphasized); }
|
|
3090
|
+
.k-gantt__bar[data-done] .k-gantt__fill { inline-size: 100%; }
|
|
3091
|
+
.k-gantt__text { position: relative; overflow: hidden; padding-inline: var(--k-space-2); font-size: var(--k-text-xs); font-weight: var(--k-weight-semibold); white-space: nowrap; text-overflow: ellipsis; mix-blend-mode: normal; }
|
|
3092
|
+
.k-gantt__grip { position: absolute; inset-block: 0; inset-inline-end: 0; inline-size: 8px; cursor: ew-resize; }
|
|
3093
|
+
.k-gantt__grip::after { content: ""; position: absolute; inset-block: 30%; inset-inline-end: 3px; inline-size: 2px; border-radius: 1px; background: currentColor; opacity: 0; transition: opacity var(--k-duration-fast); }
|
|
3094
|
+
.k-gantt__bar:hover .k-gantt__grip::after { opacity: 0.45; }
|
|
3095
|
+
.k-gantt__bar[data-milestone] { inset-block: auto; inset-block-start: 50%; inline-size: calc(var(--_day) * 0.55); min-inline-size: 0; aspect-ratio: 1; translate: calc(var(--_day) * 0.2) -50%; rotate: 45deg; border-radius: 3px; background: var(--_c); animation: k-gantt-pop var(--k-duration-slow) var(--k-ease-spring) both; }
|
|
3096
|
+
.k-gantt__bar[data-milestone]:hover { translate: calc(var(--_day) * 0.2) calc(-50% - 1px); }
|
|
3097
|
+
.k-gantt__bar[data-milestone]:dir(rtl) { translate: calc(var(--_day) * -0.2) -50%; }
|
|
3098
|
+
/* وابستگی: از پایان کار قبلی تا شروع این کار */
|
|
3099
|
+
.k-gantt__dep {
|
|
3100
|
+
position: absolute;
|
|
3101
|
+
inset-inline-start: calc(var(--from) * var(--_day) - 2px);
|
|
3102
|
+
inline-size: max(0.5rem, calc((var(--to) - var(--from)) * var(--_day) - 0.25rem));
|
|
3103
|
+
inset-block-end: 50%;
|
|
3104
|
+
block-size: calc(var(--rows) * var(--_row));
|
|
3105
|
+
border-block-start: 1.5px solid var(--k-text-quaternary);
|
|
3106
|
+
border-inline-end: 1.5px solid var(--k-text-quaternary);
|
|
3107
|
+
border-start-end-radius: 6px;
|
|
3108
|
+
pointer-events: none;
|
|
3109
|
+
}
|
|
3110
|
+
.k-gantt__dep::after { content: ""; position: absolute; inset-block-end: -3px; inset-inline-end: -4.5px; inline-size: 6px; block-size: 6px; border-radius: 50%; background: var(--k-text-quaternary); }
|
|
3111
|
+
.k-gantt__dep[data-below] { inset-block-end: auto; inset-block-start: 50%; border-block-start: 0; border-block-end: 1.5px solid var(--k-text-quaternary); border-start-end-radius: 0; border-end-end-radius: 6px; }
|
|
3112
|
+
.k-gantt__dep[data-below]::after { inset-block-end: auto; inset-block-start: -3px; }
|
|
3113
|
+
.k-gantt__dep[data-backward] { display: none; }
|
|
3114
|
+
/* خط امروز */
|
|
3115
|
+
.k-gantt__now { position: absolute; inset-block: 0; inset-inline-start: calc(var(--_label) + (var(--today) + 0.5) * var(--_day) - 1px); z-index: var(--k-z-raised); inline-size: 2px; background: var(--k-bg-brand); pointer-events: none; }
|
|
3116
|
+
/* متن «امروز» فقط برای خواندن کد است؛ روز امروز در سرستون با دایرهٔ برند مشخص است */
|
|
3117
|
+
.k-gantt__now span { display: none; }
|
|
3118
|
+
@keyframes k-gantt-grow { from { scale: 0.2 1; opacity: 0; } }
|
|
3119
|
+
@keyframes k-gantt-pop { from { scale: 0; } }
|
|
3120
|
+
@media (prefers-reduced-motion: reduce) { .k-gantt__bar, .k-gantt__fill { animation: none; transition: none; } }
|
|
3121
|
+
@media (forced-colors: active) { .k-gantt__bar { border: 1px solid CanvasText; } .k-gantt__fill, .k-gantt__now, .k-gantt__bar[data-milestone] { background: Highlight; forced-color-adjust: none; } }
|
|
3122
|
+
|
|
2955
3123
|
/* نقشهٔ فعالیت سالانه با ماههای شمسی — طیف تکرنگ برند از کمرنگ به پررنگ */
|
|
2956
3124
|
.k-heatmap { --_cell: var(--k-heatmap-cell, var(--k-heatmap-cell-default)); position: relative; display: grid; gap: var(--k-space-2); font-size: var(--k-text-xs); }
|
|
2957
3125
|
.k-heatmap__scroll { overflow-x: auto; padding-block-end: var(--k-space-1); border-radius: var(--k-radius-sm); scrollbar-width: thin; }
|
|
@@ -3086,6 +3254,32 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
3086
3254
|
.k-hours__days { border-color: CanvasText; }
|
|
3087
3255
|
}
|
|
3088
3256
|
|
|
3257
|
+
/* بارگذاری پیوسته و فهرست مجازی
|
|
3258
|
+
* <div class="k-infinite"><div class="k-infinite__items">…</div><div class="k-infinite__loader">…</div><p class="k-infinite__end">…</p></div>
|
|
3259
|
+
* <div class="k-vlist" role="list"><div class="k-vlist__space"><div class="k-vlist__item" role="listitem">…</div></div></div>
|
|
3260
|
+
* متغیر: --k-vlist-height ارتفاع فهرست مجازی */
|
|
3261
|
+
.k-infinite { display: grid; gap: var(--k-space-3); min-inline-size: 0; }
|
|
3262
|
+
.k-infinite--scroll { overflow-y: auto; overscroll-behavior: contain; }
|
|
3263
|
+
.k-infinite--scroll:focus-visible { outline: 2px solid var(--k-border-brand); outline-offset: 2px; }
|
|
3264
|
+
.k-infinite__items { display: grid; gap: inherit; }
|
|
3265
|
+
.k-infinite__items > * { animation: k-infinite-in var(--k-duration-normal) var(--k-ease-emphasized) both; }
|
|
3266
|
+
.k-infinite__loader { display: grid; gap: var(--k-space-3); }
|
|
3267
|
+
.k-infinite__sk { display: block; block-size: 3.5rem; border-radius: var(--k-radius-lg); }
|
|
3268
|
+
.k-infinite__sk:nth-child(2) { opacity: 0.7; }
|
|
3269
|
+
.k-infinite__sk:nth-child(3) { opacity: 0.4; }
|
|
3270
|
+
.k-infinite__error { display: flex; flex-wrap: wrap; align-items: center; justify-content: center; gap: var(--k-space-3); padding: var(--k-space-4); border-radius: var(--k-radius-lg); background: var(--k-bg-error-subtle); color: var(--k-text-error); font-size: var(--k-text-sm); }
|
|
3271
|
+
.k-infinite__more { display: flex; justify-content: center; }
|
|
3272
|
+
.k-infinite__end { display: flex; align-items: center; gap: var(--k-space-3); margin: 0; padding-block: var(--k-space-2); color: var(--k-text-tertiary); font-size: var(--k-text-sm); text-align: center; }
|
|
3273
|
+
.k-infinite__end::before, .k-infinite__end::after { content: ""; flex: 1; border-block-start: 1px solid var(--k-border-secondary); }
|
|
3274
|
+
.k-infinite__sentinel { block-size: 1px; margin-block-start: -1px; }
|
|
3275
|
+
.k-vlist { position: relative; block-size: var(--k-vlist-height, var(--k-vlist-height-default)); overflow-y: auto; overscroll-behavior: contain; contain: strict; border: 1px solid var(--k-border-secondary); border-radius: var(--k-radius-lg); background: var(--k-bg-elevated); }
|
|
3276
|
+
.k-vlist:focus-visible { outline: 2px solid var(--k-border-brand); outline-offset: 2px; }
|
|
3277
|
+
.k-vlist__space { position: relative; inline-size: 100%; }
|
|
3278
|
+
.k-vlist__item { position: absolute; inset-block-start: 0; inset-inline: 0; }
|
|
3279
|
+
@keyframes k-infinite-in { from { opacity: 0; translate: 0 6px; } }
|
|
3280
|
+
@media (prefers-reduced-motion: reduce) { .k-infinite__items > * { animation: none; } }
|
|
3281
|
+
@media (forced-colors: active) { .k-vlist { border-color: CanvasText; } }
|
|
3282
|
+
|
|
3089
3283
|
/* ویرایش درجا: متن معمولی که با کلیک یا Enter به فیلد تبدیل میشود */
|
|
3090
3284
|
.k-inline-edit { display: inline-flex; align-items: center; gap: var(--k-space-1); max-inline-size: 100%; }
|
|
3091
3285
|
.k-inline-edit__view {
|
|
@@ -3286,6 +3480,76 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
3286
3480
|
/* ارتفاع خودکار textarea */
|
|
3287
3481
|
.k-input--autoresize .k-input__control { resize: none; overflow-y: auto; min-block-size: 3lh; field-sizing: content; }
|
|
3288
3482
|
|
|
3483
|
+
/* صورتحساب رسمی و پیشفاکتور؛ آمادهٔ چاپ و PDF
|
|
3484
|
+
* <article class="k-invoice" data-variant="official|proforma"><header class="k-invoice__head">…</header><div class="k-invoice__parties">…</div><table class="k-invoice__table">…</table>…</article> */
|
|
3485
|
+
.k-invoice {
|
|
3486
|
+
position: relative;
|
|
3487
|
+
display: grid;
|
|
3488
|
+
gap: var(--k-space-5);
|
|
3489
|
+
padding: var(--k-space-8);
|
|
3490
|
+
border: 1px solid var(--k-border-secondary);
|
|
3491
|
+
border-radius: var(--k-radius-surface);
|
|
3492
|
+
background: var(--k-bg-elevated);
|
|
3493
|
+
box-shadow: var(--k-shadow-xs), var(--k-highlight);
|
|
3494
|
+
color: var(--k-text-primary);
|
|
3495
|
+
font-size: var(--k-text-sm);
|
|
3496
|
+
}
|
|
3497
|
+
.k-invoice__head { display: flex; flex-wrap: wrap; align-items: start; gap: var(--k-space-4) var(--k-space-6); padding-block-end: var(--k-space-5); border-block-end: 2px solid var(--k-text-primary); }
|
|
3498
|
+
.k-invoice__logo { flex-shrink: 0; }
|
|
3499
|
+
.k-invoice__title { flex: 1; min-inline-size: 12rem; margin: 0; font-size: var(--k-type-title-size); font-weight: var(--k-weight-bold); line-height: var(--k-type-title-leading); }
|
|
3500
|
+
.k-invoice[data-variant="proforma"] .k-invoice__title::after { content: ""; display: inline-block; inline-size: 0.5rem; block-size: 0.5rem; margin-inline-start: var(--k-space-2); border-radius: 50%; background: var(--k-zafaran-500); vertical-align: middle; }
|
|
3501
|
+
.k-invoice__meta { display: grid; grid-template-columns: auto auto; gap: var(--k-space-1) var(--k-space-4); margin: 0; }
|
|
3502
|
+
.k-invoice__meta div, .k-invoice__totals div { display: contents; }
|
|
3503
|
+
.k-invoice__meta dt { color: var(--k-text-tertiary); }
|
|
3504
|
+
.k-invoice__meta dd { margin: 0; font-weight: var(--k-weight-semibold); font-variant-numeric: tabular-nums; }
|
|
3505
|
+
.k-invoice__mono { font-family: var(--k-font-mono); font-size: var(--k-text-xs); letter-spacing: 0.02em; }
|
|
3506
|
+
.k-invoice__parties { display: grid; grid-template-columns: repeat(auto-fit, minmax(16rem, 1fr)); gap: var(--k-space-4); }
|
|
3507
|
+
.k-invoice__party { padding: var(--k-space-4); border: 1px solid var(--k-border-secondary); border-radius: var(--k-radius-lg); background: var(--k-bg-secondary); }
|
|
3508
|
+
.k-invoice__party-title { margin: 0 0 var(--k-space-3); color: var(--k-text-secondary); font-size: var(--k-type-label-size); font-weight: var(--k-weight-semibold); line-height: var(--k-type-label-leading); }
|
|
3509
|
+
.k-invoice__dl { display: grid; grid-template-columns: repeat(2, minmax(0, 1fr)); gap: var(--k-space-2) var(--k-space-4); margin: 0; }
|
|
3510
|
+
.k-invoice__dl div { display: grid; gap: 2px; min-inline-size: 0; }
|
|
3511
|
+
.k-invoice__dl dt { color: var(--k-text-tertiary); font-size: var(--k-text-xs); }
|
|
3512
|
+
.k-invoice__dl dd { margin: 0; overflow-wrap: anywhere; font-weight: var(--k-weight-medium); }
|
|
3513
|
+
.k-invoice__dl .k-invoice__num { font-variant-numeric: tabular-nums; unicode-bidi: isolate; }
|
|
3514
|
+
.k-invoice__wide { grid-column: 1 / -1; }
|
|
3515
|
+
.k-invoice__table-wrap { overflow-x: auto; border: 1px solid var(--k-border-secondary); border-radius: var(--k-radius-lg); }
|
|
3516
|
+
.k-invoice__table-wrap:focus-visible { outline: 2px solid var(--k-border-brand); outline-offset: 2px; }
|
|
3517
|
+
.k-invoice__table { inline-size: 100%; border-collapse: collapse; }
|
|
3518
|
+
.k-invoice__table th, .k-invoice__table td { padding: var(--k-space-2_5) var(--k-space-3); border-block-end: 1px solid var(--k-border-secondary); text-align: start; vertical-align: top; }
|
|
3519
|
+
.k-invoice__table thead th { background: var(--k-bg-muted); color: var(--k-text-tertiary); font-size: var(--k-text-xs); font-weight: var(--k-weight-semibold); white-space: nowrap; }
|
|
3520
|
+
.k-invoice__table tbody tr:last-child td { border-block-end: 0; }
|
|
3521
|
+
.k-invoice__table tbody tr { transition: background-color var(--k-duration-fast); }
|
|
3522
|
+
.k-invoice__table tbody tr:hover { background: var(--k-bg-hover); }
|
|
3523
|
+
.k-invoice__table .k-invoice__n { text-align: end; font-variant-numeric: tabular-nums; white-space: nowrap; }
|
|
3524
|
+
.k-invoice__table .k-invoice__num-col { inline-size: 3rem; color: var(--k-text-tertiary); text-align: center; }
|
|
3525
|
+
.k-invoice__code { display: block; margin-block-start: 2px; color: var(--k-text-tertiary); font-size: var(--k-text-xs); text-align: start; }
|
|
3526
|
+
.k-invoice__unit { color: var(--k-text-tertiary); font-size: var(--k-text-xs); }
|
|
3527
|
+
.k-invoice__summary { display: grid; justify-items: end; gap: var(--k-space-3); }
|
|
3528
|
+
.k-invoice__totals { display: grid; grid-template-columns: auto minmax(9rem, auto); gap: var(--k-space-2) var(--k-space-6); margin: 0; }
|
|
3529
|
+
.k-invoice__totals dt { color: var(--k-text-tertiary); }
|
|
3530
|
+
.k-invoice__totals dd { margin: 0; text-align: end; font-weight: var(--k-weight-medium); font-variant-numeric: tabular-nums; }
|
|
3531
|
+
.k-invoice__payable dt, .k-invoice__payable dd { padding-block-start: var(--k-space-3); border-block-start: 1px solid var(--k-border-primary); color: var(--k-text-primary); font-size: var(--k-text-md); font-weight: var(--k-weight-bold); }
|
|
3532
|
+
.k-invoice__cur { color: var(--k-text-tertiary); font-size: var(--k-text-sm); font-weight: var(--k-weight-regular); }
|
|
3533
|
+
.k-invoice__words { max-inline-size: 36rem; margin: 0; padding: var(--k-space-2) var(--k-space-3); border-radius: var(--k-radius-md); background: var(--k-bg-brand-subtle); color: var(--k-text-brand); font-weight: var(--k-weight-medium); text-align: end; }
|
|
3534
|
+
.k-invoice__notes { color: var(--k-text-secondary); }
|
|
3535
|
+
.k-invoice__signs { display: grid; grid-template-columns: repeat(2, 1fr); gap: var(--k-space-6); padding-block-start: var(--k-space-6); }
|
|
3536
|
+
.k-invoice__sign { display: grid; align-items: end; min-block-size: 5.5rem; padding-block-start: var(--k-space-2); border-block-start: 1px dashed var(--k-border-primary); color: var(--k-text-tertiary); font-size: var(--k-text-xs); text-align: center; align-content: start; }
|
|
3537
|
+
.k-invoice__print { justify-self: end; gap: var(--k-space-1_5); }
|
|
3538
|
+
@media (max-width: 40rem) {
|
|
3539
|
+
.k-invoice { padding: var(--k-space-5); }
|
|
3540
|
+
.k-invoice__print { justify-self: stretch; }
|
|
3541
|
+
.k-invoice__dl { grid-template-columns: 1fr; }
|
|
3542
|
+
}
|
|
3543
|
+
@media print {
|
|
3544
|
+
.k-invoice { padding: 0; border: 0; box-shadow: none; background: #fff; color: #000; }
|
|
3545
|
+
.k-invoice__print { display: none; }
|
|
3546
|
+
.k-invoice__party, .k-invoice__table thead th { background: none; }
|
|
3547
|
+
.k-invoice__words { background: none; color: #000; border: 1px solid #999; }
|
|
3548
|
+
.k-invoice__table tr, .k-invoice__signs, .k-invoice__summary { break-inside: avoid; }
|
|
3549
|
+
.k-invoice__table tbody tr:hover { background: none; }
|
|
3550
|
+
}
|
|
3551
|
+
@media (forced-colors: active) { .k-invoice, .k-invoice__party, .k-invoice__table-wrap { border-color: CanvasText; } }
|
|
3552
|
+
|
|
3289
3553
|
/* نقشهٔ استانهای ایران — نقشهٔ رنگی با طیف برند و انتخاب استان */
|
|
3290
3554
|
.k-iran-map { position: relative; display: grid; gap: var(--k-space-3); margin: 0; inline-size: 100%; font-size: var(--k-text-xs); }
|
|
3291
3555
|
.k-iran-map__canvas { position: relative; block-size: 0; }
|
|
@@ -4506,6 +4770,8 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
4506
4770
|
.k-rating__star svg { inline-size: 100%; block-size: 100%; }
|
|
4507
4771
|
.k-rating__star[data-filled] { color: var(--k-rating-color, var(--k-zafaran-400)); }
|
|
4508
4772
|
.k-rating__star[data-half] svg .k-rating__half { fill: var(--k-rating-color, var(--k-zafaran-400)); }
|
|
4773
|
+
/* نیمستاره از سمت ستارههای پر پر میشود: در RTL نیمهٔ راست (ستاره متقارن است، پس کل svg آینه میشود) */
|
|
4774
|
+
.k-rating__star[data-half]:dir(rtl) svg { scale: -1 1; }
|
|
4509
4775
|
.k-rating__star:hover { scale: 1.12; }
|
|
4510
4776
|
.k-rating__star:has(:focus-visible) { box-shadow: var(--k-ring-brand); }
|
|
4511
4777
|
.k-rating[data-readonly] .k-rating__star { cursor: default; }
|
|
@@ -5017,6 +5283,58 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
5017
5283
|
.k-sidenav__item[aria-current="page"] svg { color: HighlightText; }
|
|
5018
5284
|
}
|
|
5019
5285
|
|
|
5286
|
+
/* کادر امضا
|
|
5287
|
+
* <div class="k-field k-signature"><div class="k-signature__pad"><canvas class="k-signature__canvas"></canvas><span class="k-signature__line">×</span><div class="k-signature__tools">…</div></div></div>
|
|
5288
|
+
* متغیرها: --k-signature-height ارتفاع کادر --k-signature-ink رنگ جوهر روی صفحه */
|
|
5289
|
+
.k-signature__modes { display: inline-flex; justify-self: start; gap: 2px; padding: 2px; border-radius: var(--k-radius-md); background: var(--k-bg-muted); }
|
|
5290
|
+
.k-signature__mode { padding: var(--k-space-1) var(--k-space-3); border: 0; border-radius: calc(var(--k-radius-md) - 2px); background: none; color: var(--k-text-tertiary); font: inherit; font-size: var(--k-text-sm); font-weight: var(--k-weight-medium); cursor: pointer; transition: background-color var(--k-duration-fast), color var(--k-duration-fast); }
|
|
5291
|
+
.k-signature__mode:hover { color: var(--k-text-primary); }
|
|
5292
|
+
.k-signature__mode[aria-checked="true"] { background: var(--k-bg-elevated); color: var(--k-text-primary); box-shadow: var(--k-shadow-xs); }
|
|
5293
|
+
.k-signature__mode:focus-visible { outline: 2px solid transparent; box-shadow: var(--k-ring-brand); }
|
|
5294
|
+
.k-signature__pad {
|
|
5295
|
+
position: relative;
|
|
5296
|
+
block-size: var(--k-signature-height, var(--k-signature-height-default));
|
|
5297
|
+
border: 1px dashed var(--k-border-primary);
|
|
5298
|
+
border-radius: var(--k-radius-lg);
|
|
5299
|
+
background: var(--k-bg-elevated);
|
|
5300
|
+
transition: border-color var(--k-duration-fast), box-shadow var(--k-duration-fast);
|
|
5301
|
+
}
|
|
5302
|
+
.k-signature__pad:hover { border-color: var(--k-text-quaternary); }
|
|
5303
|
+
.k-signature__pad:has(:focus-visible) { border-style: solid; border-color: var(--k-border-brand); box-shadow: var(--k-ring-brand); }
|
|
5304
|
+
.k-signature[data-invalid] .k-signature__pad { border-color: var(--k-border-error); }
|
|
5305
|
+
.k-signature[data-disabled] .k-signature__pad { opacity: 0.6; }
|
|
5306
|
+
.k-signature__canvas { display: block; inline-size: 100%; block-size: 100%; color: var(--k-signature-ink, var(--k-text-primary)); touch-action: none; cursor: crosshair; border-radius: inherit; }
|
|
5307
|
+
.k-signature__canvas:focus-visible { outline: none; }
|
|
5308
|
+
/* خط امضا با «×» در گوشه */
|
|
5309
|
+
.k-signature__line { position: absolute; inset-inline: var(--k-space-6); inset-block-end: 28%; padding-block-end: 2px; border-block-end: 1px solid var(--k-border-secondary); color: var(--k-text-quaternary); font-size: var(--k-text-sm); line-height: 1; pointer-events: none; transition: opacity var(--k-duration-normal) var(--k-ease-standard); }
|
|
5310
|
+
.k-signature:not([data-empty]) .k-signature__line { opacity: 0.45; }
|
|
5311
|
+
.k-signature__typed { position: absolute; inset: 0; display: grid; place-items: center; padding-inline: var(--k-space-6); }
|
|
5312
|
+
.k-signature__typed-input {
|
|
5313
|
+
inline-size: 100%;
|
|
5314
|
+
padding: 0;
|
|
5315
|
+
border: 0;
|
|
5316
|
+
background: none;
|
|
5317
|
+
color: var(--k-text-primary);
|
|
5318
|
+
font-family: var(--k-font-display);
|
|
5319
|
+
font-size: 2.25rem;
|
|
5320
|
+
font-weight: var(--k-weight-bold);
|
|
5321
|
+
text-align: center;
|
|
5322
|
+
outline: none;
|
|
5323
|
+
}
|
|
5324
|
+
.k-signature__typed-input::placeholder { color: var(--k-text-quaternary); font-family: var(--k-font-sans); font-size: var(--k-text-md); font-weight: var(--k-weight-regular); }
|
|
5325
|
+
.k-signature__tools { position: absolute; inset-block-start: var(--k-space-2); inset-inline-end: var(--k-space-2); display: flex; gap: var(--k-space-1); opacity: 0; transition: opacity var(--k-duration-fast); }
|
|
5326
|
+
.k-signature:not([data-empty]) .k-signature__tools, .k-signature__pad:hover .k-signature__tools, .k-signature__pad:focus-within .k-signature__tools { opacity: 1; }
|
|
5327
|
+
.k-signature__tool { display: inline-flex; align-items: center; justify-content: center; gap: var(--k-space-1); min-inline-size: 2rem; block-size: 2rem; padding-inline: var(--k-space-2); border: 1px solid var(--k-border-secondary); border-radius: var(--k-radius-md); background: var(--k-bg-elevated); color: var(--k-text-secondary); font: inherit; font-size: var(--k-text-sm); cursor: pointer; transition: background-color var(--k-duration-fast), scale var(--k-duration-fast) var(--k-ease-spring); }
|
|
5328
|
+
.k-signature__tool svg { inline-size: 1.125rem; block-size: 1.125rem; }
|
|
5329
|
+
.k-signature__tool:dir(rtl) svg { scale: -1 1; }
|
|
5330
|
+
.k-signature__tool:hover:not(:disabled) { background: var(--k-bg-hover); color: var(--k-text-primary); }
|
|
5331
|
+
.k-signature__tool:active:not(:disabled) { scale: 0.92; }
|
|
5332
|
+
.k-signature__tool:disabled { opacity: 0.4; cursor: default; }
|
|
5333
|
+
.k-signature__tool:focus-visible { outline: 2px solid transparent; box-shadow: var(--k-ring-brand); }
|
|
5334
|
+
@media (prefers-reduced-motion: reduce) { .k-signature__tools, .k-signature__line, .k-signature__tool { transition: none; } }
|
|
5335
|
+
@media (forced-colors: active) { .k-signature__pad { border-color: CanvasText; } .k-signature__canvas { color: CanvasText; } .k-signature__tools { opacity: 1; } }
|
|
5336
|
+
@media print { .k-signature__tools, .k-signature__modes { display: none; } .k-signature__pad { border-style: solid; } }
|
|
5337
|
+
|
|
5020
5338
|
/* اسکلت بارگذاری — تزئینی است؛ روی ظرف والد aria-busy="true" بگذارید */
|
|
5021
5339
|
.k-skeleton {
|
|
5022
5340
|
display: block;
|
|
@@ -5663,6 +5981,27 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
5663
5981
|
.k-table__spacer, .k-table__spacer:hover { background: none !important; }
|
|
5664
5982
|
.k-table__spacer td { border: 0; }
|
|
5665
5983
|
|
|
5984
|
+
/* ستون ثابت، ویرایش داخل خانه و خروجی اکسل */
|
|
5985
|
+
.k-table caption:has(.k-table__export) { display: table-caption; }
|
|
5986
|
+
.k-table__export { float: inline-end; gap: var(--k-space-1_5); margin-block-start: calc(var(--k-space-1) * -1); margin-inline-start: var(--k-space-3); }
|
|
5987
|
+
.k-table--pinned { border-collapse: separate; border-spacing: 0; }
|
|
5988
|
+
.k-table .k-table__pin { position: sticky; z-index: 1; background: var(--k-bg-elevated); }
|
|
5989
|
+
.k-table thead .k-table__pin { z-index: calc(var(--k-z-raised) + 1); background: var(--k-table-header-bg, var(--k-bg-muted)); }
|
|
5990
|
+
.k-table tbody tr:hover .k-table__pin { background: color-mix(in srgb, var(--k-bg-elevated), var(--k-text-primary) 4%); }
|
|
5991
|
+
.k-table tbody tr[aria-selected="true"] .k-table__pin { background: var(--k-bg-brand-subtle); }
|
|
5992
|
+
.k-table .k-table__pin--edge-start { box-shadow: inset -1px 0 0 var(--k-border-secondary); }
|
|
5993
|
+
.k-table .k-table__pin--edge-start:dir(rtl) { box-shadow: inset 1px 0 0 var(--k-border-secondary); }
|
|
5994
|
+
.k-table .k-table__pin--edge-end { box-shadow: inset 1px 0 0 var(--k-border-secondary); }
|
|
5995
|
+
.k-table .k-table__pin--edge-end:dir(rtl) { box-shadow: inset -1px 0 0 var(--k-border-secondary); }
|
|
5996
|
+
.k-table td.k-table__cell--editable { padding-block: var(--k-space-1); }
|
|
5997
|
+
.k-table__editable { margin-inline: calc(var(--k-space-2) * -1); padding: var(--k-space-2); border-radius: var(--k-radius-md); cursor: text; transition: background-color var(--k-duration-fast), box-shadow var(--k-duration-fast); }
|
|
5998
|
+
.k-table__editable:hover { background: var(--k-bg-hover); box-shadow: inset 0 0 0 1px var(--k-border-secondary); }
|
|
5999
|
+
.k-table__editable:focus-visible { outline: 2px solid transparent; box-shadow: var(--k-ring-brand); }
|
|
6000
|
+
.k-table__editor { block-size: 2.25rem; margin-inline: calc(var(--k-space-2) * -1); inline-size: calc(100% + var(--k-space-2) * 2); min-inline-size: 6rem; animation: k-table-edit var(--k-duration-fast) var(--k-ease-emphasized); }
|
|
6001
|
+
@keyframes k-table-edit { from { opacity: 0.4; scale: 0.98; } }
|
|
6002
|
+
@media (prefers-reduced-motion: reduce) { .k-table__editor { animation: none; } }
|
|
6003
|
+
@media print { .k-table__export { display: none; } }
|
|
6004
|
+
|
|
5666
6005
|
/* زبانهها (Tabs) — ساختار ARIA را کامپوننت React میسازد
|
|
5667
6006
|
* گونهها: k-tabs--line (پیشفرض) | k-tabs--pill | k-tabs--segmented — تمامعرض: k-tabs--block
|
|
5668
6007
|
* عمودی: k-tabs--vertical — فشرده: k-tabs--sm
|
|
@@ -5709,7 +6048,8 @@ html:has(.k-dialog[open]) { overflow: hidden; }
|
|
|
5709
6048
|
}
|
|
5710
6049
|
.k-tabs__tab:hover { color: var(--k-text-primary); }
|
|
5711
6050
|
.k-tabs__tab[aria-selected="true"] { color: var(--k-text-primary); }
|
|
5712
|
-
|
|
6051
|
+
/* حلقهٔ داخلی: فهرست تبها overflow-x: auto دارد و حلقهٔ بیرونی را از لبهها میبرید */
|
|
6052
|
+
.k-tabs__tab:focus-visible { outline: 2px solid transparent; box-shadow: inset var(--k-ring-brand); }
|
|
5713
6053
|
.k-tabs__tab:disabled { color: var(--k-text-quaternary); cursor: not-allowed; }
|
|
5714
6054
|
.k-tabs__tab .k-badge { font-size: var(--k-text-xs); padding-block: 0; }
|
|
5715
6055
|
|