kritzel-stencil 0.1.83 → 0.1.86
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/dist/cjs/index.cjs.js +1 -1
- package/dist/cjs/kritzel-active-users_42.cjs.entry.js +94 -94
- package/dist/cjs/kritzel-brush-style.cjs.entry.js +1 -1
- package/dist/cjs/{workspace.migrations-K5oVASsb.js → workspace.migrations-Dj-FiYEO.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 +71 -71
- package/dist/collection/components/core/kritzel-editor/kritzel-editor.js +12 -12
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.css +99 -99
- package/dist/collection/components/core/kritzel-engine/kritzel-engine.js +14 -14
- 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 +72 -72
- 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 +179 -179
- 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 +3 -3
- 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 +160 -160
- 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 +58 -58
- 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 +105 -105
- package/dist/collection/components/ui/kritzel-context-menu/kritzel-context-menu.js +1 -1
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.css +330 -330
- package/dist/collection/components/ui/kritzel-controls/kritzel-controls.js +5 -5
- 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 +29 -29
- 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-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 +45 -45
- package/dist/collection/components/ui/kritzel-more-menu/kritzel-more-menu.js +2 -2
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.css +129 -129
- package/dist/collection/components/ui/kritzel-settings/kritzel-settings.js +1 -1
- package/dist/collection/components/ui/kritzel-share-dialog/kritzel-share-dialog.css +133 -133
- 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 +5 -5
- 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 +31 -31
- package/dist/components/index.js +1 -1
- 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 +1 -1
- 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-context-menu.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 +1 -1
- 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-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-workspace-manager.js +1 -1
- package/dist/components/{p-B5WII1Lk.js → p-0cs6zQLB.js} +1 -1
- package/dist/components/p-7yTPTHbQ.js +1 -0
- package/dist/components/{p-DwemlMvt.js → p-B3UJucEe.js} +1 -1
- package/dist/components/{p-DUQmBcTy.js → p-B5a3arJg.js} +1 -1
- package/dist/components/{p-DCH4Rlqx.js → p-BIdZCZ_l.js} +1 -1
- package/dist/components/{p-CNMpVlot.js → p-BMPgR5Bt.js} +1 -1
- package/dist/components/{p-CKfjz1gj.js → p-BOcGfEkz.js} +1 -1
- package/dist/components/{p-DUnKjQN7.js → p-BVEYAGm1.js} +1 -1
- package/dist/components/{p-CMGHx71q.js → p-BYX50YSd.js} +1 -1
- package/dist/components/{p-BjPmEs5A.js → p-BfJav4Zz.js} +1 -1
- package/dist/components/{p-CLo-TjD_.js → p-BgopgrfE.js} +1 -1
- package/dist/components/{p-CJzg_ejc.js → p-BsQ4E7I8.js} +1 -1
- package/dist/components/{p-V3VW2JKl.js → p-C-ZoFpSf.js} +1 -1
- package/dist/components/p-C0U3Mg5I.js +1 -0
- package/dist/components/{p-Brwz_Dpb.js → p-C3Dwuqka.js} +1 -1
- package/dist/components/{p-CS7r-zhx.js → p-C4vg_-vg.js} +1 -1
- package/dist/components/{p-DrsORMoT.js → p-C4zfI-dj.js} +1 -1
- package/dist/components/{p-cjeDomsc.js → p-CBTqCoUx.js} +1 -1
- package/dist/components/{p-BaaFG0p-.js → p-CBq-KE9C.js} +1 -1
- package/dist/components/{p-CfEGaTaV.js → p-CTj2UdbS.js} +1 -1
- package/dist/components/{p-Bat829Bg.js → p-C_OSXZqJ.js} +1 -1
- package/dist/components/{p-B4F19Aqj.js → p-CaKSDRid.js} +1 -1
- package/dist/components/{p-BZ8bK8qT.js → p-CekG3_ce.js} +1 -1
- package/dist/components/{p-Dw0Obsn5.js → p-Cz2gQKbL.js} +1 -1
- package/dist/components/{p-VxgCvVox.js → p-CzIuqMQA.js} +1 -1
- package/dist/components/{p-1ppb4M65.js → p-D6KNaj_Y.js} +1 -1
- package/dist/components/{p-rNu5JVNH.js → p-D8fQwcNC.js} +1 -1
- package/dist/components/{p-CYl_JKvH.js → p-DBZRCL1u.js} +1 -1
- package/dist/components/{p-DkT0KZCm.js → p-DDBaFNFi.js} +1 -1
- package/dist/components/{p-CM7rYf9A.js → p-DEd2L0e3.js} +1 -1
- package/dist/components/{p-DYcsC2zO.js → p-DMvIGnOt.js} +1 -1
- package/dist/components/{p-C9zsWWH2.js → p-DPmAV68B.js} +1 -1
- package/dist/components/{p-7yR-sKH8.js → p-DRbR0Li3.js} +1 -1
- package/dist/components/{p-C-MtTi6x.js → p-DXO_ppUK.js} +1 -1
- package/dist/components/p-DemKKw9U.js +1 -0
- package/dist/components/{p-D5BXoK9m.js → p-Dxb22STM.js} +1 -1
- package/dist/components/p-Nq8UyPCc.js +1 -0
- package/dist/components/{p-DEOUiiyI.js → p-R9M5PnAz.js} +1 -1
- package/dist/components/{p-D7pwbRUy.js → p-qBqQhAmh.js} +1 -1
- package/dist/esm/index.js +1 -1
- package/dist/esm/kritzel-active-users_42.entry.js +94 -94
- package/dist/esm/kritzel-brush-style.entry.js +1 -1
- package/dist/esm/{workspace.migrations-D5iSPf3E.js → workspace.migrations-ByWmiPl8.js} +6 -6
- package/dist/stencil/index.esm.js +1 -1
- package/dist/stencil/{p-b0be4da1.entry.js → p-10c2b77c.entry.js} +1 -1
- package/dist/stencil/p-b38650d2.entry.js +9 -0
- package/dist/stencil/stencil.esm.js +1 -1
- package/dist/types/constants/version.d.ts +1 -1
- package/package.json +2 -2
- package/readme.md +114 -114
- package/dist/components/p-B4h_tGG1.js +0 -1
- package/dist/components/p-CJKsuQun.js +0 -1
- package/dist/components/p-DKeBfe_l.js +0 -1
- package/dist/components/p-HK-6khHo.js +0 -1
- package/dist/stencil/p-c28b30ab.entry.js +0 -9
- /package/dist/stencil/{p-D5iSPf3E.js → p-ByWmiPl8.js} +0 -0
|
@@ -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: 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: 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: 'e482edcbaf7cee8c35effbce0428c2b4dea84bd4' }, h("div", { key: 'a71f5e3eeba5e34470227ea3be4dd6731a94a52e', class: "input-container" }, this.label && h("label", { key: '757a32997f09558412952fe948fa234d1baecb3f', class: "input-label" }, this.label), h("div", { key: 'cfb13fe0041efdd9fe4a7bf2a098ff321b545b79', class: { 'input-wrapper': true, 'has-suffix': !!this.suffix } }, h("input", { key: 'b8bf209f14f15f4ad8eb0cf1be1afb1bfc958f79', type: this.type, class: "text-input", value: this.inputValue, placeholder: this.placeholder, disabled: this.disabled, onInput: this.handleInput }), this.suffix && h("span", { key: 'b5d4444609ad93c10d86978a488252b673979c94', 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: '38bcd0b0e56c0d0fc7fd57346b718054faa0ba06' }, h("div", { key: '5ae52039756334299a86d7301b15f6874d5689ff', class: "endings-section" }, h("div", { key: '8a0dd7792498248203f2db8c346828fe7f57534d', 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: '001c6cc50af45e1461ef15e2c43df4efdd83b48f', class: "endings-section" }, h("div", { key: '96cc57da4bed38aa42207d40a6a21cd39fa18cad', 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": "/home/runner/work/kritzel/kritzel/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
|
+
}
|