kritzel-stencil 0.4.30 → 0.4.31
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/LICENSE +21 -21
- package/LICENSE.md +49 -49
- package/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kritzel-active-users_46.cjs.entry.js +112 -112
- package/dist/cjs/kritzel-brush-style.cjs.entry.js +1 -1
- package/dist/cjs/{schema.constants-CcvqL5nJ.js → schema.constants-0ySX0cg3.js} +6 -6
- package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.css +115 -115
- package/dist/collection/components/core/kritzel-awareness-cursors/kritzel-awareness-cursors.js +1 -1
- package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.css +10 -10
- package/dist/collection/components/core/kritzel-cursor-trail/kritzel-cursor-trail.js +1 -1
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.css +160 -160
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.js +18 -18
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.css +80 -80
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.js +21 -21
- package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.css +29 -29
- package/dist/collection/components/core/kritzel-watermark/kritzel-watermark.js +2 -2
- package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.css +58 -58
- package/dist/collection/components/shared/kritzel-avatar/kritzel-avatar.js +3 -3
- package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.css +42 -42
- package/dist/collection/components/shared/kritzel-brush-style/kritzel-brush-style.js +3 -3
- package/dist/collection/components/shared/kritzel-button/kritzel-button.css +73 -73
- package/dist/collection/components/shared/kritzel-button/kritzel-button.js +2 -2
- package/dist/collection/components/shared/kritzel-color/kritzel-color.css +24 -24
- package/dist/collection/components/shared/kritzel-color/kritzel-color.js +2 -2
- package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.css +46 -46
- package/dist/collection/components/shared/kritzel-color-palette/kritzel-color-palette.js +1 -1
- package/dist/collection/components/shared/kritzel-dialog/kritzel-dialog.css +209 -209
- package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.css +190 -190
- package/dist/collection/components/shared/kritzel-dropdown/kritzel-dropdown.js +2 -2
- package/dist/collection/components/shared/kritzel-font/kritzel-font.css +10 -10
- package/dist/collection/components/shared/kritzel-font/kritzel-font.js +1 -1
- package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.css +48 -48
- package/dist/collection/components/shared/kritzel-font-family/kritzel-font-family.js +2 -2
- package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.css +30 -30
- package/dist/collection/components/shared/kritzel-font-size/kritzel-font-size.js +1 -1
- package/dist/collection/components/shared/kritzel-icon/kritzel-icon.css +18 -18
- package/dist/collection/components/shared/kritzel-input/kritzel-input.css +69 -69
- package/dist/collection/components/shared/kritzel-input/kritzel-input.js +1 -1
- package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.css +60 -60
- package/dist/collection/components/shared/kritzel-line-endings/kritzel-line-endings.js +3 -3
- package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.css +190 -190
- package/dist/collection/components/shared/kritzel-master-detail/kritzel-master-detail.js +3 -3
- package/dist/collection/components/shared/kritzel-menu/kritzel-menu.css +34 -34
- package/dist/collection/components/shared/kritzel-menu/kritzel-menu.js +1 -1
- package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.css +166 -166
- package/dist/collection/components/shared/kritzel-menu-item/kritzel-menu-item.js +2 -2
- package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.css +102 -102
- package/dist/collection/components/shared/kritzel-numeric-input/kritzel-numeric-input.js +1 -1
- package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.css +85 -85
- package/dist/collection/components/shared/kritzel-opacity-slider/kritzel-opacity-slider.js +1 -1
- package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.css +68 -68
- package/dist/collection/components/shared/kritzel-pill-tabs/kritzel-pill-tabs.js +2 -2
- package/dist/collection/components/shared/kritzel-portal/kritzel-portal.js +1 -1
- package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.css +47 -47
- package/dist/collection/components/shared/kritzel-shape-fill/kritzel-shape-fill.js +4 -4
- package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.css +48 -48
- package/dist/collection/components/shared/kritzel-slide-toggle/kritzel-slide-toggle.js +1 -1
- package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.css +78 -78
- package/dist/collection/components/shared/kritzel-split-button/kritzel-split-button.js +1 -1
- package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.css +37 -37
- package/dist/collection/components/shared/kritzel-stroke-size/kritzel-stroke-size.js +1 -1
- package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.css +18 -18
- package/dist/collection/components/shared/kritzel-tooltip/kritzel-tooltip.js +2 -2
- package/dist/collection/components/ui/kritzel-active-users/kritzel-active-users.css +65 -65
- package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.css +42 -42
- package/dist/collection/components/ui/kritzel-back-to-content/kritzel-back-to-content.js +1 -1
- package/dist/collection/components/ui/kritzel-context-menu/kritzel-context-menu.css +112 -112
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.css +331 -331
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.js +6 -6
- package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.css +11 -11
- package/dist/collection/components/ui/kritzel-current-user/kritzel-current-user.js +1 -1
- package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.css +39 -39
- package/dist/collection/components/ui/kritzel-current-user-dialog/kritzel-current-user-dialog.js +1 -1
- package/dist/collection/components/ui/kritzel-export/kritzel-export.css +89 -89
- package/dist/collection/components/ui/kritzel-export/kritzel-export.js +1 -1
- package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.css +54 -54
- package/dist/collection/components/ui/kritzel-loading-overlay/kritzel-loading-overlay.js +1 -1
- package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.css +98 -98
- package/dist/collection/components/ui/kritzel-login-dialog/kritzel-login-dialog.js +1 -1
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.css +58 -58
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.js +2 -2
- package/dist/collection/components/ui/kritzel-notification-card/kritzel-notification-card.css +101 -101
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.css +137 -137
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.js +1 -1
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.css +150 -150
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.js +2 -2
- package/dist/collection/components/ui/kritzel-tool-config/kritzel-tool-config.css +38 -38
- package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.css +45 -45
- package/dist/collection/components/ui/kritzel-utility-panel/kritzel-utility-panel.js +1 -1
- package/dist/collection/components/ui/kritzel-workspace-manager/kritzel-workspace-manager.css +16 -16
- package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.css +72 -72
- package/dist/collection/components/ui/kritzel-zoom-panel/kritzel-zoom-panel.js +1 -1
- package/dist/collection/constants/version.js +1 -1
- package/dist/collection/helpers/cursor.helper.js +6 -6
- package/dist/collection/helpers/svg-export.helper.js +41 -41
- package/dist/components/index.js +2 -2
- package/dist/components/kritzel-active-users.js +1 -1
- package/dist/components/kritzel-avatar.js +1 -1
- package/dist/components/kritzel-awareness-cursors.js +1 -1
- package/dist/components/kritzel-back-to-content.js +1 -1
- package/dist/components/kritzel-brush-style.js +2 -2
- package/dist/components/kritzel-button.js +1 -1
- package/dist/components/kritzel-color-palette.js +1 -1
- package/dist/components/kritzel-color.js +1 -1
- package/dist/components/kritzel-controls.js +1 -1
- package/dist/components/kritzel-current-user-dialog.js +1 -1
- package/dist/components/kritzel-current-user.js +1 -1
- package/dist/components/kritzel-cursor-trail.js +1 -1
- package/dist/components/kritzel-dialog.js +1 -1
- package/dist/components/kritzel-dropdown.js +1 -1
- package/dist/components/kritzel-editor.js +51 -51
- package/dist/components/kritzel-engine.js +1 -1
- package/dist/components/kritzel-export.js +1 -1
- package/dist/components/kritzel-font-family.js +1 -1
- package/dist/components/kritzel-font-size.js +1 -1
- package/dist/components/kritzel-font.js +1 -1
- package/dist/components/kritzel-input.js +1 -1
- package/dist/components/kritzel-line-endings.js +1 -1
- package/dist/components/kritzel-loading-overlay.js +1 -1
- package/dist/components/kritzel-login-dialog.js +1 -1
- package/dist/components/kritzel-master-detail.js +1 -1
- package/dist/components/kritzel-menu-item.js +1 -1
- package/dist/components/kritzel-menu.js +1 -1
- package/dist/components/kritzel-more-menu.js +1 -1
- package/dist/components/kritzel-numeric-input.js +1 -1
- package/dist/components/kritzel-opacity-slider.js +1 -1
- package/dist/components/kritzel-pill-tabs.js +1 -1
- package/dist/components/kritzel-portal.js +1 -1
- package/dist/components/kritzel-settings.js +1 -1
- package/dist/components/kritzel-shape-fill.js +1 -1
- package/dist/components/kritzel-share-dialog.js +1 -1
- package/dist/components/kritzel-slide-toggle.js +1 -1
- package/dist/components/kritzel-split-button.js +1 -1
- package/dist/components/kritzel-stroke-size.js +1 -1
- package/dist/components/kritzel-tool-config.js +1 -1
- package/dist/components/kritzel-tooltip.js +1 -1
- package/dist/components/kritzel-utility-panel.js +1 -1
- package/dist/components/kritzel-watermark.js +1 -1
- package/dist/components/kritzel-workspace-manager.js +1 -1
- package/dist/components/kritzel-zoom-panel.js +1 -1
- package/dist/components/{p-DTB3ykgO.js → p-B65Z2K81.js} +1 -1
- package/dist/components/{p-4uoSa0Xl.js → p-B6cwfdo3.js} +2 -2
- package/dist/components/{p-ChPs27Fd.js → p-BBA9F6Bi.js} +4 -4
- package/dist/components/{p-Dvn6ad4a.js → p-BCrNNQKI.js} +1 -1
- package/dist/components/{p-CoXN583u.js → p-BGJ-1pXX.js} +3 -3
- package/dist/components/{p-CBrn5AIB.js → p-BTRiw0VC.js} +1 -1
- package/dist/components/{p-DoxFuOy1.js → p-Bu6TjCs0.js} +2 -2
- package/dist/components/{p-Ce1j1-Hg.js → p-BvpI1eL4.js} +3 -3
- package/dist/components/{p-CAXR5-S9.js → p-BwC3bHai.js} +4 -4
- package/dist/components/{p-DX2nriaq.js → p-C2NV0SgA.js} +1 -1
- package/dist/components/{p-BPzdPKWE.js → p-CAGey5Xt.js} +3 -3
- package/dist/components/{p-C0FEC_gS.js → p-C_4J10HD.js} +2 -2
- package/dist/components/{p-NOWtUeeQ.js → p-C_fBqaep.js} +1 -1
- package/dist/components/{p-Ba0c-tu2.js → p-CzibK3BJ.js} +2 -2
- package/dist/components/{p-Cm33td2O.js → p-D0SKmg_J.js} +1 -1
- package/dist/components/{p-OUl5CA4Y.js → p-D497dAd-.js} +1 -1
- package/dist/components/{p-BmBebQMI.js → p-DC7noKZD.js} +7 -7
- package/dist/components/{p-CXpv9Rxe.js → p-DGcug5rp.js} +2 -2
- package/dist/components/{p-DkHYY72B.js → p-DIE74Wkf.js} +2 -2
- package/dist/components/{p-DOTdJ3JQ.js → p-DKkQMbfN.js} +3 -3
- package/dist/components/{p-DnmVD1Mz.js → p-DKuxmP3T.js} +2 -2
- package/dist/components/{p-bAacqNHq.js → p-DQX5iqJB.js} +2 -2
- package/dist/components/{p-DUmLsjKb.js → p-DTzNzE9j.js} +1 -1
- package/dist/components/{p-Df3BwVGy.js → p-D_XWdMC3.js} +2 -2
- package/dist/components/{p-B38_9BJg.js → p-Da56LiC2.js} +1 -1
- package/dist/components/{p-CeffYwAK.js → p-DaE8xcJ8.js} +19 -19
- package/dist/components/{p-CYwoBiqy.js → p-DcG-UAoL.js} +50 -50
- package/dist/components/{p-BeSKOETx.js → p-Dm6TZsys.js} +2 -2
- package/dist/components/{p-DhabvHJM.js → p-DuyNKEne.js} +3 -3
- package/dist/components/{p-DFMZEarE.js → p-DyWg1f0y.js} +1 -1
- package/dist/components/{p-DN9p3G9K.js → p-FDwfHj3U.js} +3 -3
- package/dist/components/{p-DK0anxtL.js → p-P70dtHet.js} +1 -1
- package/dist/components/{p-CucCT7Qn.js → p-R6NeY_RA.js} +2 -2
- package/dist/components/{p-BFYtCsZu.js → p-XOXeNvvd.js} +2 -2
- package/dist/components/{p-jIKskj3S.js → p-ZwkkxMNZ.js} +1 -1
- package/dist/components/{p-BprEDRpA.js → p-auUCvUOc.js} +2 -2
- package/dist/components/{p-D0Ed8epW.js → p-b5XSApfh.js} +4 -4
- package/dist/components/{p-djJSnjAX.js → p-fp1y_eAN.js} +2 -2
- package/dist/components/{p-Dpm75DfV.js → p-mCRS0Vii.js} +5 -5
- package/dist/components/{p-DOl-95VY.js → p-ml3LLPFB.js} +10 -10
- package/dist/components/{p-D_cyY7Nd.js → p-xFCFDper.js} +1 -1
- package/dist/esm/index.js +2 -2
- package/dist/esm/kritzel-active-users_46.entry.js +112 -112
- package/dist/esm/kritzel-brush-style.entry.js +1 -1
- package/dist/esm/{schema.constants-De_S50eB.js → schema.constants-D3OqvrMh.js} +6 -6
- package/dist/stencil/index.esm.js +2 -2
- package/dist/stencil/{p-1a398b42.entry.js → p-307b09bd.entry.js} +112 -112
- package/dist/stencil/{p-fb32cd8f.entry.js → p-905f7ab4.entry.js} +1 -1
- package/dist/stencil/{p-De_S50eB.js → p-D3OqvrMh.js} +6 -6
- package/dist/stencil/stencil.esm.js +1 -1
- package/dist/types/constants/version.d.ts +1 -1
- package/package.json +2 -1
- package/readme.md +10 -10
|
@@ -1,69 +1,69 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
}
|
|
4
|
-
|
|
5
|
-
.input-container {
|
|
6
|
-
display: flex;
|
|
7
|
-
flex-direction: column;
|
|
8
|
-
gap: 6px;
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
.input-label {
|
|
12
|
-
font-size: 14px;
|
|
13
|
-
font-weight: 500;
|
|
14
|
-
color: var(--kritzel-text-input-label-color, #333333);
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.input-wrapper {
|
|
18
|
-
display: flex;
|
|
19
|
-
align-items: center;
|
|
20
|
-
border: 1px solid var(--kritzel-text-input-border-color, #ebebeb);
|
|
21
|
-
border-radius: var(--kritzel-text-input-border-radius, 6px);
|
|
22
|
-
overflow: hidden;
|
|
23
|
-
background: var(--kritzel-text-input-background, #ffffff);
|
|
24
|
-
transition: border-color 150ms ease;
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.input-wrapper:hover:not(:focus-within) {
|
|
28
|
-
border-color: var(--kritzel-text-input-hover-border-color, #cccccc);
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
.input-wrapper:focus-within {
|
|
32
|
-
border-color: var(--kritzel-text-input-focus-border-color, #007AFF);
|
|
33
|
-
border-width: 2px;
|
|
34
|
-
}
|
|
35
|
-
|
|
36
|
-
.text-input {
|
|
37
|
-
flex: 1;
|
|
38
|
-
padding: 10px 12px;
|
|
39
|
-
border: none;
|
|
40
|
-
outline: none;
|
|
41
|
-
font-size: 14px;
|
|
42
|
-
font-family: inherit;
|
|
43
|
-
background: transparent;
|
|
44
|
-
color: var(--kritzel-text-input-text-color, #333333);
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.text-input::placeholder {
|
|
49
|
-
color: var(--kritzel-text-input-placeholder-color, #999999);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.text-input::selection {
|
|
53
|
-
background-color: var(--kritzel-text-input-selection-background, #007AFF);
|
|
54
|
-
color: var(--kritzel-text-input-selection-color, #ffffff);
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.text-input:disabled {
|
|
58
|
-
cursor: not-allowed;
|
|
59
|
-
opacity: 0.6;
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.input-suffix {
|
|
63
|
-
padding: 10px 12px;
|
|
64
|
-
background: var(--kritzel-text-input-suffix-background, #f5f5f5);
|
|
65
|
-
color: var(--kritzel-text-input-suffix-color, #666666);
|
|
66
|
-
font-size: 14px;
|
|
67
|
-
border-left: 1px solid var(--kritzel-text-input-border-color, #ebebeb);
|
|
68
|
-
flex-shrink: 0;
|
|
69
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
}
|
|
4
|
+
|
|
5
|
+
.input-container {
|
|
6
|
+
display: flex;
|
|
7
|
+
flex-direction: column;
|
|
8
|
+
gap: 6px;
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.input-label {
|
|
12
|
+
font-size: 14px;
|
|
13
|
+
font-weight: 500;
|
|
14
|
+
color: var(--kritzel-text-input-label-color, #333333);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.input-wrapper {
|
|
18
|
+
display: flex;
|
|
19
|
+
align-items: center;
|
|
20
|
+
border: 1px solid var(--kritzel-text-input-border-color, #ebebeb);
|
|
21
|
+
border-radius: var(--kritzel-text-input-border-radius, 6px);
|
|
22
|
+
overflow: hidden;
|
|
23
|
+
background: var(--kritzel-text-input-background, #ffffff);
|
|
24
|
+
transition: border-color 150ms ease;
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.input-wrapper:hover:not(:focus-within) {
|
|
28
|
+
border-color: var(--kritzel-text-input-hover-border-color, #cccccc);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.input-wrapper:focus-within {
|
|
32
|
+
border-color: var(--kritzel-text-input-focus-border-color, #007AFF);
|
|
33
|
+
border-width: 2px;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.text-input {
|
|
37
|
+
flex: 1;
|
|
38
|
+
padding: 10px 12px;
|
|
39
|
+
border: none;
|
|
40
|
+
outline: none;
|
|
41
|
+
font-size: 14px;
|
|
42
|
+
font-family: inherit;
|
|
43
|
+
background: transparent;
|
|
44
|
+
color: var(--kritzel-text-input-text-color, #333333);
|
|
45
|
+
box-sizing: border-box;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.text-input::placeholder {
|
|
49
|
+
color: var(--kritzel-text-input-placeholder-color, #999999);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.text-input::selection {
|
|
53
|
+
background-color: var(--kritzel-text-input-selection-background, #007AFF);
|
|
54
|
+
color: var(--kritzel-text-input-selection-color, #ffffff);
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.text-input:disabled {
|
|
58
|
+
cursor: not-allowed;
|
|
59
|
+
opacity: 0.6;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.input-suffix {
|
|
63
|
+
padding: 10px 12px;
|
|
64
|
+
background: var(--kritzel-text-input-suffix-background, #f5f5f5);
|
|
65
|
+
color: var(--kritzel-text-input-suffix-color, #666666);
|
|
66
|
+
font-size: 14px;
|
|
67
|
+
border-left: 1px solid var(--kritzel-text-input-border-color, #ebebeb);
|
|
68
|
+
flex-shrink: 0;
|
|
69
|
+
}
|
|
@@ -28,7 +28,7 @@ export class KritzelInput {
|
|
|
28
28
|
this.valueChange.emit(input.value);
|
|
29
29
|
};
|
|
30
30
|
render() {
|
|
31
|
-
return (h(Host, { key: '
|
|
31
|
+
return (h(Host, { key: '9fede62dc5fb2a98e6d01b90ba8badaeb7ce8179' }, h("div", { key: '117a70a874294cfeac95c1d8e5174f6fe5baaca0', class: "input-container" }, this.label && h("label", { key: 'afc0938751e56eb3684c41b28f6fb9fedf7c9849', class: "input-label" }, this.label), h("div", { key: 'fa51b324fa55b20bc3249437edbfffb9b9e86256', class: { 'input-wrapper': true, 'has-suffix': !!this.suffix } }, h("input", { key: 'ff716c017ce3f57f9a494cac2c5c3a4fa39577b5', type: this.type, class: "text-input", value: this.inputValue, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput }), this.suffix && h("span", { key: '5e3aed8888b1581a31f240c7b8c00b741931a5c5', class: "input-suffix" }, this.suffix)))));
|
|
32
32
|
}
|
|
33
33
|
static get is() { return "kritzel-input"; }
|
|
34
34
|
static get encapsulation() { return "shadow"; }
|
|
@@ -1,60 +1,60 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: flex;
|
|
3
|
-
flex-direction: column;
|
|
4
|
-
gap: 12px;
|
|
5
|
-
padding: 0;
|
|
6
|
-
box-sizing: border-box;
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
.endings-section {
|
|
10
|
-
display: flex;
|
|
11
|
-
flex-direction: column;
|
|
12
|
-
gap: 6px;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
.section-label {
|
|
16
|
-
font-size: 12px;
|
|
17
|
-
font-weight: 500;
|
|
18
|
-
color: var(--kritzel-line-endings-label-color, #666666);
|
|
19
|
-
padding-left: 4px;
|
|
20
|
-
}
|
|
21
|
-
|
|
22
|
-
.endings-row {
|
|
23
|
-
display: flex;
|
|
24
|
-
align-items: center;
|
|
25
|
-
gap: 4px;
|
|
26
|
-
}
|
|
27
|
-
|
|
28
|
-
.ending-option {
|
|
29
|
-
display: flex;
|
|
30
|
-
justify-content: center;
|
|
31
|
-
align-items: center;
|
|
32
|
-
width: 48px;
|
|
33
|
-
height: 32px;
|
|
34
|
-
border-radius: 6px;
|
|
35
|
-
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
36
|
-
border: 2px solid transparent;
|
|
37
|
-
box-sizing: border-box;
|
|
38
|
-
background: var(--kritzel-line-endings-option-background, #ffffff);
|
|
39
|
-
padding: 4px;
|
|
40
|
-
transition: background-color 0.15s ease, border-color 0.15s ease;
|
|
41
|
-
}
|
|
42
|
-
|
|
43
|
-
.ending-option:hover {
|
|
44
|
-
background-color: var(--kritzel-line-endings-hover-background-color, #ebebeb);
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
.ending-option.selected {
|
|
48
|
-
border-color: var(--kritzel-selection-border-color, #007AFF);
|
|
49
|
-
background-color: var(--kritzel-line-endings-selected-background-color, #ebebeb);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.ending-option:focus {
|
|
53
|
-
outline: none;
|
|
54
|
-
box-shadow: 0 0 0 2px var(--kritzel-global-focus-ring-color, rgba(0, 122, 255, 0.3));
|
|
55
|
-
}
|
|
56
|
-
|
|
57
|
-
.ending-icon {
|
|
58
|
-
width: 100%;
|
|
59
|
-
height: 100%;
|
|
60
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
display: flex;
|
|
3
|
+
flex-direction: column;
|
|
4
|
+
gap: 12px;
|
|
5
|
+
padding: 0;
|
|
6
|
+
box-sizing: border-box;
|
|
7
|
+
}
|
|
8
|
+
|
|
9
|
+
.endings-section {
|
|
10
|
+
display: flex;
|
|
11
|
+
flex-direction: column;
|
|
12
|
+
gap: 6px;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.section-label {
|
|
16
|
+
font-size: 12px;
|
|
17
|
+
font-weight: 500;
|
|
18
|
+
color: var(--kritzel-line-endings-label-color, #666666);
|
|
19
|
+
padding-left: 4px;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.endings-row {
|
|
23
|
+
display: flex;
|
|
24
|
+
align-items: center;
|
|
25
|
+
gap: 4px;
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
.ending-option {
|
|
29
|
+
display: flex;
|
|
30
|
+
justify-content: center;
|
|
31
|
+
align-items: center;
|
|
32
|
+
width: 48px;
|
|
33
|
+
height: 32px;
|
|
34
|
+
border-radius: 6px;
|
|
35
|
+
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
36
|
+
border: 2px solid transparent;
|
|
37
|
+
box-sizing: border-box;
|
|
38
|
+
background: var(--kritzel-line-endings-option-background, #ffffff);
|
|
39
|
+
padding: 4px;
|
|
40
|
+
transition: background-color 0.15s ease, border-color 0.15s ease;
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.ending-option:hover {
|
|
44
|
+
background-color: var(--kritzel-line-endings-hover-background-color, #ebebeb);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.ending-option.selected {
|
|
48
|
+
border-color: var(--kritzel-selection-border-color, #007AFF);
|
|
49
|
+
background-color: var(--kritzel-line-endings-selected-background-color, #ebebeb);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.ending-option:focus {
|
|
53
|
+
outline: none;
|
|
54
|
+
box-shadow: 0 0 0 2px var(--kritzel-global-focus-ring-color, rgba(0, 122, 255, 0.3));
|
|
55
|
+
}
|
|
56
|
+
|
|
57
|
+
.ending-icon {
|
|
58
|
+
width: 100%;
|
|
59
|
+
height: 100%;
|
|
60
|
+
}
|
|
@@ -65,10 +65,10 @@ export class KritzelLineEndings {
|
|
|
65
65
|
render() {
|
|
66
66
|
const startEnding = this.getStartEnding();
|
|
67
67
|
const endEnding = this.getEndEnding();
|
|
68
|
-
return (h(Host, { key: '
|
|
68
|
+
return (h(Host, { key: '81e3262408d26a06acb2677698832b89651292a1' }, h("div", { key: '85c67f948075b2d58abfbd9d168a84c89554e81f', class: "endings-section" }, h("div", { key: 'd10a0b1c58fd06926a83cd78e213417aca28d01c', class: "endings-row" }, this.styles.map(type => (h("button", { class: {
|
|
69
69
|
'ending-option': true,
|
|
70
70
|
'selected': startEnding === type,
|
|
71
|
-
}, onClick: () => this.handleStartChange(type), title: type === 'none' ? 'No start arrow' : `${type} start arrow` }, this.renderEndingIcon(type, true)))))), h("div", { key: '
|
|
71
|
+
}, onClick: () => this.handleStartChange(type), title: type === 'none' ? 'No start arrow' : `${type} start arrow` }, this.renderEndingIcon(type, true)))))), h("div", { key: 'fd99875f3cefa8c4e36e106e836088fa61c75432', class: "endings-section" }, h("div", { key: 'dbcd0a32f278cc0d0317913827034f912a14d2b4', class: "endings-row" }, this.styles.map(type => (h("button", { class: {
|
|
72
72
|
'ending-option': true,
|
|
73
73
|
'selected': endEnding === type,
|
|
74
74
|
}, onClick: () => this.handleEndChange(type), title: type === 'none' ? 'No end arrow' : `${type} end arrow` }, this.renderEndingIcon(type, false))))))));
|
|
@@ -96,7 +96,7 @@ export class KritzelLineEndings {
|
|
|
96
96
|
"references": {
|
|
97
97
|
"LineEndingType": {
|
|
98
98
|
"location": "local",
|
|
99
|
-
"path": "/
|
|
99
|
+
"path": "C:/Projects/kritzel-private/libs/kritzel-stencil/src/components/shared/kritzel-line-endings/kritzel-line-endings.tsx",
|
|
100
100
|
"id": "src/components/shared/kritzel-line-endings/kritzel-line-endings.tsx::LineEndingType"
|
|
101
101
|
}
|
|
102
102
|
}
|
|
@@ -1,190 +1,190 @@
|
|
|
1
|
-
:host {
|
|
2
|
-
display: block;
|
|
3
|
-
width: 100%;
|
|
4
|
-
height: 100%;
|
|
5
|
-
}
|
|
6
|
-
|
|
7
|
-
.master-detail-container {
|
|
8
|
-
display: flex;
|
|
9
|
-
width: 100%;
|
|
10
|
-
height: 100%;
|
|
11
|
-
min-height: var(--kritzel-master-detail-min-height, 300px);
|
|
12
|
-
gap: var(--kritzel-master-detail-gap, 0);
|
|
13
|
-
background-color: var(--kritzel-master-detail-background-color, transparent);
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
/* Master Menu (Left Panel) */
|
|
17
|
-
.master-menu {
|
|
18
|
-
display: flex;
|
|
19
|
-
flex-direction: column;
|
|
20
|
-
width: var(--kritzel-master-detail-menu-width, 200px);
|
|
21
|
-
min-width: var(--kritzel-master-detail-menu-min-width, 160px);
|
|
22
|
-
padding: var(--kritzel-master-detail-menu-padding, 8px);
|
|
23
|
-
background-color: var(--kritzel-master-detail-menu-background-color, #ffffff);
|
|
24
|
-
border-right: var(--kritzel-master-detail-menu-border-right, 1px solid #ebebeb);
|
|
25
|
-
gap: var(--kritzel-master-detail-menu-gap, 4px);
|
|
26
|
-
overflow-y: auto;
|
|
27
|
-
}
|
|
28
|
-
|
|
29
|
-
/* Menu Item */
|
|
30
|
-
.menu-item {
|
|
31
|
-
display: flex;
|
|
32
|
-
align-items: center;
|
|
33
|
-
gap: var(--kritzel-master-detail-menu-item-gap, 10px);
|
|
34
|
-
padding: var(--kritzel-master-detail-menu-item-padding, 10px 12px);
|
|
35
|
-
border: none;
|
|
36
|
-
border-radius: var(--kritzel-master-detail-menu-item-border-radius, 6px);
|
|
37
|
-
background-color: var(--kritzel-master-detail-menu-item-background-color, transparent);
|
|
38
|
-
color: var(--kritzel-master-detail-menu-item-color, #333333);
|
|
39
|
-
font-family: inherit;
|
|
40
|
-
font-size: var(--kritzel-master-detail-menu-item-font-size, 14px);
|
|
41
|
-
font-weight: var(--kritzel-master-detail-menu-item-font-weight, 400);
|
|
42
|
-
text-align: left;
|
|
43
|
-
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
44
|
-
transition: background-color 150ms ease, color 150ms ease;
|
|
45
|
-
-webkit-tap-highlight-color: transparent;
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
.menu-item:hover:not(.is-disabled) {
|
|
49
|
-
background-color: var(--kritzel-master-detail-menu-item-hover-background-color, #ebebeb);
|
|
50
|
-
}
|
|
51
|
-
|
|
52
|
-
.menu-item:active:not(.is-disabled) {
|
|
53
|
-
background-color: var(--kritzel-master-detail-menu-item-active-background-color, #e0e0e0);
|
|
54
|
-
}
|
|
55
|
-
|
|
56
|
-
.menu-item.is-selected {
|
|
57
|
-
background-color: var(--kritzel-master-detail-menu-item-selected-background-color, #0066cc);
|
|
58
|
-
color: var(--kritzel-master-detail-menu-item-selected-color, #ffffff);
|
|
59
|
-
font-weight: var(--kritzel-master-detail-menu-item-selected-font-weight, 500);
|
|
60
|
-
}
|
|
61
|
-
|
|
62
|
-
.menu-item.is-selected:hover {
|
|
63
|
-
background-color: var(--kritzel-master-detail-menu-item-selected-hover-background-color, #0052a3);
|
|
64
|
-
}
|
|
65
|
-
|
|
66
|
-
.menu-item.is-disabled {
|
|
67
|
-
color: var(--kritzel-master-detail-menu-item-disabled-color, #999999);
|
|
68
|
-
cursor: not-allowed;
|
|
69
|
-
opacity: 0.6;
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
.menu-item:focus-visible {
|
|
73
|
-
outline: var(--kritzel-master-detail-menu-item-focus-outline, revert);
|
|
74
|
-
outline-offset: var(--kritzel-master-detail-menu-item-focus-outline-offset, revert);
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
/* Menu Item Icon */
|
|
78
|
-
.menu-item-icon {
|
|
79
|
-
flex-shrink: 0;
|
|
80
|
-
display: flex;
|
|
81
|
-
align-items: center;
|
|
82
|
-
justify-content: center;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
/* Menu Item Label */
|
|
86
|
-
.menu-item-label {
|
|
87
|
-
flex: 1;
|
|
88
|
-
white-space: nowrap;
|
|
89
|
-
overflow: hidden;
|
|
90
|
-
text-overflow: ellipsis;
|
|
91
|
-
}
|
|
92
|
-
|
|
93
|
-
/* Detail Panel (Right Panel) */
|
|
94
|
-
.detail-panel {
|
|
95
|
-
flex: 1;
|
|
96
|
-
min-height: 0;
|
|
97
|
-
padding: var(--kritzel-master-detail-detail-padding, 16px);
|
|
98
|
-
background-color: var(--kritzel-master-detail-detail-background-color, #ffffff);
|
|
99
|
-
overflow-y: auto;
|
|
100
|
-
-webkit-overflow-scrolling: touch;
|
|
101
|
-
scrollbar-color: var(--kritzel-global-scrollbar-thumb-color, #ebebeb) transparent;
|
|
102
|
-
scrollbar-width: thin;
|
|
103
|
-
}
|
|
104
|
-
|
|
105
|
-
.detail-panel:focus {
|
|
106
|
-
outline: none;
|
|
107
|
-
}
|
|
108
|
-
|
|
109
|
-
.detail-panel:focus-visible {
|
|
110
|
-
outline: var(--kritzel-master-detail-detail-focus-outline, revert);
|
|
111
|
-
outline-offset: var(--kritzel-master-detail-detail-focus-outline-offset, revert);
|
|
112
|
-
}
|
|
113
|
-
|
|
114
|
-
/* Mobile Back Button */
|
|
115
|
-
.mobile-back-button {
|
|
116
|
-
display: none;
|
|
117
|
-
align-items: center;
|
|
118
|
-
gap: 8px;
|
|
119
|
-
background: none;
|
|
120
|
-
border: none;
|
|
121
|
-
padding: 0 0 16px 0;
|
|
122
|
-
cursor: pointer;
|
|
123
|
-
-webkit-tap-highlight-color: transparent;
|
|
124
|
-
color: var(--kritzel-master-detail-back-button-color, #333333);
|
|
125
|
-
font-weight: 500;
|
|
126
|
-
font-size: 14px;
|
|
127
|
-
font-family: inherit;
|
|
128
|
-
}
|
|
129
|
-
|
|
130
|
-
.mobile-back-icon {
|
|
131
|
-
display: flex;
|
|
132
|
-
align-items: center;
|
|
133
|
-
flex-shrink: 0;
|
|
134
|
-
}
|
|
135
|
-
|
|
136
|
-
/* Mobile Chevron */
|
|
137
|
-
.menu-item-chevron {
|
|
138
|
-
display: none;
|
|
139
|
-
flex-shrink: 0;
|
|
140
|
-
margin-left: auto;
|
|
141
|
-
color: var(--kritzel-master-detail-menu-item-chevron-color, #999999);
|
|
142
|
-
}
|
|
143
|
-
|
|
144
|
-
.menu-item-chevron svg {
|
|
145
|
-
width: 16px;
|
|
146
|
-
height: 16px;
|
|
147
|
-
stroke: currentColor;
|
|
148
|
-
}
|
|
149
|
-
|
|
150
|
-
/* Mobile specific styles */
|
|
151
|
-
@media (max-width: 768px) {
|
|
152
|
-
.master-menu {
|
|
153
|
-
width: 100%;
|
|
154
|
-
border-right: none;
|
|
155
|
-
}
|
|
156
|
-
|
|
157
|
-
.detail-panel {
|
|
158
|
-
display: none;
|
|
159
|
-
width: 100%;
|
|
160
|
-
}
|
|
161
|
-
|
|
162
|
-
/* When detail is active on mobile */
|
|
163
|
-
.master-detail-container.is-mobile-detail-visible .master-menu {
|
|
164
|
-
display: none;
|
|
165
|
-
}
|
|
166
|
-
|
|
167
|
-
.master-detail-container.is-mobile-detail-visible .detail-panel {
|
|
168
|
-
display: block;
|
|
169
|
-
}
|
|
170
|
-
|
|
171
|
-
.mobile-back-button {
|
|
172
|
-
display: flex;
|
|
173
|
-
}
|
|
174
|
-
|
|
175
|
-
/* Override selected styles for mobile */
|
|
176
|
-
.menu-item.is-selected {
|
|
177
|
-
background-color: transparent;
|
|
178
|
-
color: var(--kritzel-master-detail-menu-item-color, #333333);
|
|
179
|
-
font-weight: var(--kritzel-master-detail-menu-item-font-weight, 400);
|
|
180
|
-
}
|
|
181
|
-
|
|
182
|
-
.menu-item.is-selected:hover {
|
|
183
|
-
background-color: var(--kritzel-master-detail-menu-item-hover-background-color, #ebebeb);
|
|
184
|
-
}
|
|
185
|
-
|
|
186
|
-
.menu-item-chevron {
|
|
187
|
-
display: flex;
|
|
188
|
-
align-items: center;
|
|
189
|
-
}
|
|
190
|
-
}
|
|
1
|
+
:host {
|
|
2
|
+
display: block;
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.master-detail-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
width: 100%;
|
|
10
|
+
height: 100%;
|
|
11
|
+
min-height: var(--kritzel-master-detail-min-height, 300px);
|
|
12
|
+
gap: var(--kritzel-master-detail-gap, 0);
|
|
13
|
+
background-color: var(--kritzel-master-detail-background-color, transparent);
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
/* Master Menu (Left Panel) */
|
|
17
|
+
.master-menu {
|
|
18
|
+
display: flex;
|
|
19
|
+
flex-direction: column;
|
|
20
|
+
width: var(--kritzel-master-detail-menu-width, 200px);
|
|
21
|
+
min-width: var(--kritzel-master-detail-menu-min-width, 160px);
|
|
22
|
+
padding: var(--kritzel-master-detail-menu-padding, 8px);
|
|
23
|
+
background-color: var(--kritzel-master-detail-menu-background-color, #ffffff);
|
|
24
|
+
border-right: var(--kritzel-master-detail-menu-border-right, 1px solid #ebebeb);
|
|
25
|
+
gap: var(--kritzel-master-detail-menu-gap, 4px);
|
|
26
|
+
overflow-y: auto;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
/* Menu Item */
|
|
30
|
+
.menu-item {
|
|
31
|
+
display: flex;
|
|
32
|
+
align-items: center;
|
|
33
|
+
gap: var(--kritzel-master-detail-menu-item-gap, 10px);
|
|
34
|
+
padding: var(--kritzel-master-detail-menu-item-padding, 10px 12px);
|
|
35
|
+
border: none;
|
|
36
|
+
border-radius: var(--kritzel-master-detail-menu-item-border-radius, 6px);
|
|
37
|
+
background-color: var(--kritzel-master-detail-menu-item-background-color, transparent);
|
|
38
|
+
color: var(--kritzel-master-detail-menu-item-color, #333333);
|
|
39
|
+
font-family: inherit;
|
|
40
|
+
font-size: var(--kritzel-master-detail-menu-item-font-size, 14px);
|
|
41
|
+
font-weight: var(--kritzel-master-detail-menu-item-font-weight, 400);
|
|
42
|
+
text-align: left;
|
|
43
|
+
cursor: var(--kritzel-global-pointer-cursor, pointer);
|
|
44
|
+
transition: background-color 150ms ease, color 150ms ease;
|
|
45
|
+
-webkit-tap-highlight-color: transparent;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.menu-item:hover:not(.is-disabled) {
|
|
49
|
+
background-color: var(--kritzel-master-detail-menu-item-hover-background-color, #ebebeb);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.menu-item:active:not(.is-disabled) {
|
|
53
|
+
background-color: var(--kritzel-master-detail-menu-item-active-background-color, #e0e0e0);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
.menu-item.is-selected {
|
|
57
|
+
background-color: var(--kritzel-master-detail-menu-item-selected-background-color, #0066cc);
|
|
58
|
+
color: var(--kritzel-master-detail-menu-item-selected-color, #ffffff);
|
|
59
|
+
font-weight: var(--kritzel-master-detail-menu-item-selected-font-weight, 500);
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
.menu-item.is-selected:hover {
|
|
63
|
+
background-color: var(--kritzel-master-detail-menu-item-selected-hover-background-color, #0052a3);
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.menu-item.is-disabled {
|
|
67
|
+
color: var(--kritzel-master-detail-menu-item-disabled-color, #999999);
|
|
68
|
+
cursor: not-allowed;
|
|
69
|
+
opacity: 0.6;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.menu-item:focus-visible {
|
|
73
|
+
outline: var(--kritzel-master-detail-menu-item-focus-outline, revert);
|
|
74
|
+
outline-offset: var(--kritzel-master-detail-menu-item-focus-outline-offset, revert);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
/* Menu Item Icon */
|
|
78
|
+
.menu-item-icon {
|
|
79
|
+
flex-shrink: 0;
|
|
80
|
+
display: flex;
|
|
81
|
+
align-items: center;
|
|
82
|
+
justify-content: center;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
/* Menu Item Label */
|
|
86
|
+
.menu-item-label {
|
|
87
|
+
flex: 1;
|
|
88
|
+
white-space: nowrap;
|
|
89
|
+
overflow: hidden;
|
|
90
|
+
text-overflow: ellipsis;
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
/* Detail Panel (Right Panel) */
|
|
94
|
+
.detail-panel {
|
|
95
|
+
flex: 1;
|
|
96
|
+
min-height: 0;
|
|
97
|
+
padding: var(--kritzel-master-detail-detail-padding, 16px);
|
|
98
|
+
background-color: var(--kritzel-master-detail-detail-background-color, #ffffff);
|
|
99
|
+
overflow-y: auto;
|
|
100
|
+
-webkit-overflow-scrolling: touch;
|
|
101
|
+
scrollbar-color: var(--kritzel-global-scrollbar-thumb-color, #ebebeb) transparent;
|
|
102
|
+
scrollbar-width: thin;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.detail-panel:focus {
|
|
106
|
+
outline: none;
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.detail-panel:focus-visible {
|
|
110
|
+
outline: var(--kritzel-master-detail-detail-focus-outline, revert);
|
|
111
|
+
outline-offset: var(--kritzel-master-detail-detail-focus-outline-offset, revert);
|
|
112
|
+
}
|
|
113
|
+
|
|
114
|
+
/* Mobile Back Button */
|
|
115
|
+
.mobile-back-button {
|
|
116
|
+
display: none;
|
|
117
|
+
align-items: center;
|
|
118
|
+
gap: 8px;
|
|
119
|
+
background: none;
|
|
120
|
+
border: none;
|
|
121
|
+
padding: 0 0 16px 0;
|
|
122
|
+
cursor: pointer;
|
|
123
|
+
-webkit-tap-highlight-color: transparent;
|
|
124
|
+
color: var(--kritzel-master-detail-back-button-color, #333333);
|
|
125
|
+
font-weight: 500;
|
|
126
|
+
font-size: 14px;
|
|
127
|
+
font-family: inherit;
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.mobile-back-icon {
|
|
131
|
+
display: flex;
|
|
132
|
+
align-items: center;
|
|
133
|
+
flex-shrink: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
/* Mobile Chevron */
|
|
137
|
+
.menu-item-chevron {
|
|
138
|
+
display: none;
|
|
139
|
+
flex-shrink: 0;
|
|
140
|
+
margin-left: auto;
|
|
141
|
+
color: var(--kritzel-master-detail-menu-item-chevron-color, #999999);
|
|
142
|
+
}
|
|
143
|
+
|
|
144
|
+
.menu-item-chevron svg {
|
|
145
|
+
width: 16px;
|
|
146
|
+
height: 16px;
|
|
147
|
+
stroke: currentColor;
|
|
148
|
+
}
|
|
149
|
+
|
|
150
|
+
/* Mobile specific styles */
|
|
151
|
+
@media (max-width: 768px) {
|
|
152
|
+
.master-menu {
|
|
153
|
+
width: 100%;
|
|
154
|
+
border-right: none;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
.detail-panel {
|
|
158
|
+
display: none;
|
|
159
|
+
width: 100%;
|
|
160
|
+
}
|
|
161
|
+
|
|
162
|
+
/* When detail is active on mobile */
|
|
163
|
+
.master-detail-container.is-mobile-detail-visible .master-menu {
|
|
164
|
+
display: none;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.master-detail-container.is-mobile-detail-visible .detail-panel {
|
|
168
|
+
display: block;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.mobile-back-button {
|
|
172
|
+
display: flex;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
/* Override selected styles for mobile */
|
|
176
|
+
.menu-item.is-selected {
|
|
177
|
+
background-color: transparent;
|
|
178
|
+
color: var(--kritzel-master-detail-menu-item-color, #333333);
|
|
179
|
+
font-weight: var(--kritzel-master-detail-menu-item-font-weight, 400);
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.menu-item.is-selected:hover {
|
|
183
|
+
background-color: var(--kritzel-master-detail-menu-item-hover-background-color, #ebebeb);
|
|
184
|
+
}
|
|
185
|
+
|
|
186
|
+
.menu-item-chevron {
|
|
187
|
+
display: flex;
|
|
188
|
+
align-items: center;
|
|
189
|
+
}
|
|
190
|
+
}
|