@colijnit/inphoto 300.1.9 → 301.1.1
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/assets/01-bohemian.jpg +0 -0
- package/assets/02-mid-century-modern.jpg +0 -0
- package/assets/03-rustic-farmhouse.jpg +0 -0
- package/assets/04-coastal-nautical.jpg +0 -0
- package/assets/05-art-deco.jpg +0 -0
- package/assets/06-eclectic.jpg +0 -0
- package/assets/07-japanese-zen.jpg +0 -0
- package/assets/08-modern.jpg +0 -0
- package/assets/09-contemporary.jpg +0 -0
- package/assets/10-minimalist.jpg +0 -0
- package/assets/11-scandinavian.jpg +0 -0
- package/assets/12-industrial.jpg +0 -0
- package/assets/13-traditional.jpg +0 -0
- package/assets/14-transitional.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-01.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-02.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-03.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-04.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-01.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-02.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-03.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-04.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-05.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-06.jpg +0 -0
- package/assets/room-01-living-room.jpg +0 -0
- package/assets/room-02-kitchen.jpg +0 -0
- package/assets/room-03-dining-room.jpg +0 -0
- package/assets/room-04-bathroom.jpg +0 -0
- package/assets/room-05-bedroom.jpg +0 -0
- package/assets/room-06-kids-room.jpg +0 -0
- package/assets/room-07-home-office.jpg +0 -0
- package/assets/room-08-home-bar.jpg +0 -0
- package/fesm2022/colijnit-inphoto.mjs +7170 -6277
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/angle_right_sharp_solid.svg +1 -0
- package/icons/camera_solid_regular.svg +1 -0
- package/icons/expand_regular_full.svg +1 -0
- package/index.d.ts +518 -342
- package/lib/component/ai-prompt/style/_layout.scss +87 -76
- package/lib/component/ai-prompt/style/_material-definition.scss +36 -38
- package/lib/component/ai-prompt/style/_theme.scss +73 -78
- package/lib/component/canvas-tool-bar/style/_layout.scss +115 -71
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +42 -40
- package/lib/component/canvas-tool-bar/style/_theme.scss +117 -138
- package/lib/component/catalog/style/_material-definition.scss +26 -22
- package/lib/component/catalog/style/_theme.scss +43 -43
- package/lib/component/edit-canvas/style/_layout.scss +75 -74
- package/lib/component/edit-canvas/style/_material-definition.scss +19 -21
- package/lib/component/edit-canvas/style/_theme.scss +25 -26
- package/lib/component/header/style/_material-definition.scss +10 -8
- package/lib/component/header/style/_theme.scss +4 -1
- package/lib/component/image-2d-placement/style/_layout.scss +13 -0
- package/lib/component/image-2d-placement/style/_material-definition.scss +7 -0
- package/lib/component/image-2d-placement/style/_theme.scss +8 -0
- package/lib/component/image-enhancer/style/_layout.scss +43 -37
- package/lib/component/image-enhancer/style/_material-definition.scss +16 -13
- package/lib/component/image-enhancer/style/_theme.scss +42 -45
- package/lib/component/image-enhancer-style/style/_layout.scss +148 -65
- package/lib/component/image-enhancer-style/style/_material-definition.scss +42 -16
- package/lib/component/image-enhancer-style/style/_theme.scss +182 -120
- package/lib/component/image-enhancer-upload/style/_layout.scss +53 -48
- package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
- package/lib/component/image-enhancer-upload/style/_theme.scss +64 -66
- package/lib/component/image-history/style/_layout.scss +55 -57
- package/lib/component/image-history/style/_material-definition.scss +18 -20
- package/lib/component/image-history/style/_theme.scss +20 -25
- package/lib/component/image-history-tile/style/_layout.scss +53 -53
- package/lib/component/image-history-tile/style/_material-definition.scss +17 -15
- package/lib/component/image-output-settings/style/_layout.scss +38 -0
- package/lib/component/image-output-settings/style/_material-definition.scss +8 -0
- package/lib/component/image-output-settings/style/_theme.scss +15 -0
- package/lib/component/image-overlay/style/_layout.scss +85 -84
- package/lib/component/image-overlay/style/_material-definition.scss +24 -21
- package/lib/component/image-overlay/style/_theme.scss +40 -40
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +4 -0
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +1 -0
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +4 -0
- package/lib/component/image-tile/style/_layout.scss +102 -102
- package/lib/component/image-tile/style/_material-definition.scss +19 -18
- package/lib/component/image-tile/style/_theme.scss +58 -58
- package/lib/component/image-upload/style/_layout.scss +97 -93
- package/lib/component/image-upload/style/_theme.scss +99 -103
- package/lib/component/marker/style/_layout.scss +29 -30
- package/lib/component/marker/style/_theme.scss +31 -30
- package/lib/component/photo-editor/style/_layout.scss +69 -38
- package/lib/component/photo-editor/style/_material-definition.scss +14 -8
- package/lib/component/photo-editor/style/_theme.scss +15 -0
- package/lib/component/prepare-starting-image/style/_layout.scss +93 -34
- package/lib/component/prepare-starting-image/style/_material-definition.scss +17 -11
- package/lib/component/prepare-starting-image/style/_theme.scss +9 -1
- package/lib/component/process-loader/style/_layout.scss +74 -74
- package/lib/component/process-loader/style/_material-definition.scss +42 -24
- package/lib/component/process-loader/style/_theme.scss +128 -128
- package/lib/component/scale-dialog/style/_layout.scss +25 -0
- package/lib/component/scale-dialog/style/_material-definition.scss +8 -0
- package/lib/component/scale-dialog/style/_theme.scss +26 -0
- package/lib/component/scale-dialog/style/material.scss +3 -0
- package/lib/component/scene-context-menu/style/_layout.scss +69 -59
- package/lib/component/scene-context-menu/style/_material-definition.scss +32 -27
- package/lib/component/scene-context-menu/style/_theme.scss +62 -57
- package/lib/component/segment-inpaint/style/_layout.scss +73 -51
- package/lib/component/segment-inpaint/style/_material-definition.scss +19 -11
- package/lib/component/segment-inpaint/style/_theme.scss +72 -29
- package/lib/component/side-bar-menu/style/_layout.scss +30 -26
- package/lib/component/side-bar-menu/style/_material-definition.scss +13 -12
- package/lib/component/side-panel/style/_layout.scss +48 -45
- package/lib/component/side-panel/style/_material-definition.scss +17 -16
- package/lib/component/side-panel/style/_theme.scss +36 -39
- package/lib/component/step-tile/style/_layout.scss +66 -50
- package/lib/component/step-tile/style/_material-definition.scss +20 -20
- package/lib/component/step-tile/style/_theme.scss +68 -78
- package/lib/component/threedscene/style/_layout.scss +67 -57
- package/lib/component/threedscene/style/_material-definition.scss +16 -12
- package/lib/component/threedscene/style/_theme.scss +55 -17
- package/lib/style/_mixin.scss +2 -7
- package/lib/style/_variables.scss +7 -13
- package/package.json +15 -6
- package/lib/component/configuration-side-bar-menu/style/_layout.scss +0 -33
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +0 -10
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +0 -58
- package/lib/component/image-process-complete/style/_layout.scss +0 -42
- package/lib/component/image-process-complete/style/_material-definition.scss +0 -13
- package/lib/component/image-process-complete/style/_theme.scss +0 -24
- /package/lib/component/{configuration-side-bar-menu → image-2d-placement}/style/material.scss +0 -0
- /package/lib/component/{image-process-complete → image-output-settings}/style/material.scss +0 -0
|
@@ -1,76 +1,87 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-ai-prompt-layout') {
|
|
4
|
-
.co-ai-prompt {
|
|
5
|
-
.custom-prompt-container {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-ai-prompt-layout') {
|
|
4
|
+
.co-ai-prompt {
|
|
5
|
+
.custom-prompt-container {
|
|
6
|
+
margin: var(--co-inphoto-ai-prompt-container-margin);
|
|
7
|
+
|
|
8
|
+
.prompt-text {
|
|
9
|
+
margin-bottom: var(--co-inphoto-ai-prompt-text-margin-bottom);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.custom-height {
|
|
13
|
+
|
|
14
|
+
overflow: hidden;
|
|
15
|
+
.input-textarea-wrapper {
|
|
16
|
+
label {
|
|
17
|
+
top: var(--co-inphoto-ai-prompt-textarea-label-top-empty);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.hasvalue {
|
|
23
|
+
.input-textarea-wrapper {
|
|
24
|
+
label {
|
|
25
|
+
top: var(--co-inphoto-ai-prompt-textarea-label-top-filled);
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.prompt-mode {
|
|
31
|
+
margin: var(--co-inphoto-ai-prompt-mode-margin);
|
|
32
|
+
display: flex;
|
|
33
|
+
align-items: center;
|
|
34
|
+
|
|
35
|
+
.prompt-mode-text {
|
|
36
|
+
.spacer {
|
|
37
|
+
margin: var(--co-inphoto-ai-prompt-spacer-margin);
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
.prompt-mode-switch {
|
|
42
|
+
margin-right: var(--co-inphoto-ai-prompt-mode-switch-margin-right);
|
|
43
|
+
|
|
44
|
+
.switch {
|
|
45
|
+
position: var(--co-inphoto-ai-prompt-switch-position);
|
|
46
|
+
display: inline-block;
|
|
47
|
+
width: var(--co-inphoto-ai-prompt-switch-width);
|
|
48
|
+
height: var(--co-inphoto-ai-prompt-switch-height);
|
|
49
|
+
|
|
50
|
+
input {
|
|
51
|
+
opacity: var(--co-inphoto-ai-prompt-switch-input-opacity);
|
|
52
|
+
width: var(--co-inphoto-ai-prompt-switch-input-size);
|
|
53
|
+
height: var(--co-inphoto-ai-prompt-switch-input-size);
|
|
54
|
+
|
|
55
|
+
&:checked + .slider {
|
|
56
|
+
|
|
57
|
+
&:before {
|
|
58
|
+
-webkit-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
|
|
59
|
+
-ms-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
|
|
60
|
+
transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
.slider {
|
|
67
|
+
position: var(--co-inphoto-ai-prompt-switch-slider-position);
|
|
68
|
+
cursor: pointer;
|
|
69
|
+
top: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
70
|
+
left: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
71
|
+
right: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
72
|
+
bottom: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
73
|
+
|
|
74
|
+
&:before {
|
|
75
|
+
position: var(--co-inphoto-ai-prompt-switch-slider-position);
|
|
76
|
+
content: "";
|
|
77
|
+
height: var(--co-inphoto-ai-prompt-switch-thumb-size);
|
|
78
|
+
width: var(--co-inphoto-ai-prompt-switch-thumb-size);
|
|
79
|
+
left: var(--co-inphoto-ai-prompt-switch-thumb-inset);
|
|
80
|
+
bottom: var(--co-inphoto-ai-prompt-switch-thumb-inset);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
}
|
|
86
|
+
}
|
|
87
|
+
}
|
|
@@ -1,38 +1,36 @@
|
|
|
1
|
-
.co-ai-prompt {
|
|
2
|
-
--co-inphoto-ai-prompt-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
-
--co-inphoto-ai-prompt-font-family: var(--co-inphoto-font-family);
|
|
4
|
-
--co-inphoto-ai-prompt-spacer-color:
|
|
5
|
-
--co-inphoto-ai-prompt-required-error-color: #dc3545;
|
|
6
|
-
--co-inphoto-ai-prompt-required-error-background: rgba(220, 53, 69, 0.25);
|
|
7
|
-
--co-inphoto-ai-prompt-container-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
--co-inphoto-ai-prompt-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
--co-inphoto-ai-prompt-textarea-
|
|
14
|
-
|
|
15
|
-
--co-inphoto-ai-prompt-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
--co-inphoto-ai-prompt-
|
|
19
|
-
|
|
20
|
-
--co-inphoto-ai-prompt-switch-
|
|
21
|
-
--co-inphoto-ai-prompt-switch-
|
|
22
|
-
--co-inphoto-ai-prompt-switch-
|
|
23
|
-
--co-inphoto-ai-prompt-switch-
|
|
24
|
-
--co-inphoto-ai-prompt-switch-
|
|
25
|
-
|
|
26
|
-
--co-inphoto-ai-prompt-switch-
|
|
27
|
-
|
|
28
|
-
--co-inphoto-ai-prompt-switch-
|
|
29
|
-
|
|
30
|
-
--co-inphoto-ai-prompt-switch-
|
|
31
|
-
|
|
32
|
-
--co-inphoto-ai-prompt-switch-thumb-
|
|
33
|
-
--co-inphoto-ai-prompt-switch-thumb-
|
|
34
|
-
--co-inphoto-ai-prompt-
|
|
35
|
-
--co-inphoto-ai-prompt-
|
|
36
|
-
|
|
37
|
-
--co-inphoto-ai-prompt-required-border: 1px solid var(--co-inphoto-ai-prompt-required-error-color);
|
|
38
|
-
}
|
|
1
|
+
.co-ai-prompt {
|
|
2
|
+
--co-inphoto-ai-prompt-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-ai-prompt-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-ai-prompt-spacer-color: var(--co-inphoto-border-color);
|
|
5
|
+
--co-inphoto-ai-prompt-required-error-color: #dc3545;
|
|
6
|
+
--co-inphoto-ai-prompt-required-error-background: rgba(220, 53, 69, 0.25);
|
|
7
|
+
--co-inphoto-ai-prompt-container-margin: 20px auto;
|
|
8
|
+
|
|
9
|
+
--co-inphoto-ai-prompt-text-margin-bottom: 10px;
|
|
10
|
+
--co-inphoto-ai-prompt-spacer-margin: 0 4px;
|
|
11
|
+
|
|
12
|
+
--co-inphoto-ai-prompt-textarea-label-top-empty: 20%;
|
|
13
|
+
--co-inphoto-ai-prompt-textarea-label-top-filled: 5%;
|
|
14
|
+
|
|
15
|
+
--co-inphoto-ai-prompt-mode-margin: 10px auto;
|
|
16
|
+
--co-inphoto-ai-prompt-mode-switch-margin-right: 15px;
|
|
17
|
+
|
|
18
|
+
--co-inphoto-ai-prompt-switch-width: 44px;
|
|
19
|
+
--co-inphoto-ai-prompt-switch-height: 24px;
|
|
20
|
+
--co-inphoto-ai-prompt-switch-radius: 34px;
|
|
21
|
+
--co-inphoto-ai-prompt-switch-transition-duration: 0.4s;
|
|
22
|
+
--co-inphoto-ai-prompt-switch-focus-shadow-spread: 0 0 1px;
|
|
23
|
+
--co-inphoto-ai-prompt-switch-position: relative;
|
|
24
|
+
--co-inphoto-ai-prompt-switch-slider-position: absolute;
|
|
25
|
+
|
|
26
|
+
--co-inphoto-ai-prompt-switch-input-opacity: 0;
|
|
27
|
+
--co-inphoto-ai-prompt-switch-input-size: 0;
|
|
28
|
+
--co-inphoto-ai-prompt-switch-slider-inset: 0;
|
|
29
|
+
|
|
30
|
+
--co-inphoto-ai-prompt-switch-thumb-size: 16px;
|
|
31
|
+
--co-inphoto-ai-prompt-switch-thumb-inset: 4px;
|
|
32
|
+
--co-inphoto-ai-prompt-switch-thumb-travel: 20px;
|
|
33
|
+
--co-inphoto-ai-prompt-switch-thumb-radius: 50%;
|
|
34
|
+
--co-inphoto-ai-prompt-mode-active-font-weight: bold;
|
|
35
|
+
--co-inphoto-ai-prompt-required-border: 1px solid var(--co-inphoto-ai-prompt-required-error-color);
|
|
36
|
+
}
|
|
@@ -1,78 +1,73 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-ai-prompt-theme') {
|
|
4
|
-
.co-ai-prompt {
|
|
5
|
-
font-family: var(--co-inphoto-ai-prompt-font-family);
|
|
6
|
-
font-size: var(--co-inphoto-ai-prompt-font-size-text);
|
|
7
|
-
|
|
8
|
-
.custom-prompt-container {
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
.
|
|
28
|
-
|
|
29
|
-
}
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
}
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
background-color: var(--co-inphoto-ai-prompt-required-error-background);
|
|
75
|
-
}
|
|
76
|
-
}
|
|
77
|
-
}
|
|
78
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-ai-prompt-theme') {
|
|
4
|
+
.co-ai-prompt {
|
|
5
|
+
font-family: var(--co-inphoto-ai-prompt-font-family);
|
|
6
|
+
font-size: var(--co-inphoto-ai-prompt-font-size-text);
|
|
7
|
+
|
|
8
|
+
.custom-prompt-container {
|
|
9
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
10
|
+
|
|
11
|
+
.prompt-head {
|
|
12
|
+
@include cfg.sub-header-text();
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.prompt-text {
|
|
16
|
+
@include cfg.text();
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.prompt-mode {
|
|
20
|
+
.prompt-mode-text {
|
|
21
|
+
font-size: var(--co-inphoto-ai-prompt-font-size-text);
|
|
22
|
+
|
|
23
|
+
.active {
|
|
24
|
+
font-weight: var(--co-inphoto-ai-prompt-mode-active-font-weight);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.spacer {
|
|
28
|
+
color: var(--co-inphoto-ai-prompt-spacer-color);
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
.prompt-mode-switch {
|
|
33
|
+
|
|
34
|
+
.switch {
|
|
35
|
+
|
|
36
|
+
input {
|
|
37
|
+
&:checked + .slider {
|
|
38
|
+
background-color: var(--co-inphoto-accent-color);
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
&:focus + .slider {
|
|
42
|
+
box-shadow: var(--co-inphoto-ai-prompt-switch-focus-shadow-spread) var(--co-inphoto-accent-color);
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.slider {
|
|
48
|
+
background-color: var(--co-inphoto-ai-prompt-spacer-color);
|
|
49
|
+
transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
|
|
50
|
+
|
|
51
|
+
&:before {
|
|
52
|
+
background-color: var(--co-inphoto-background-white);
|
|
53
|
+
transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
|
|
54
|
+
}
|
|
55
|
+
|
|
56
|
+
&.round {
|
|
57
|
+
border-radius: var(--co-inphoto-ai-prompt-switch-radius);
|
|
58
|
+
|
|
59
|
+
&:before {
|
|
60
|
+
border-radius: var(--co-inphoto-ai-prompt-switch-thumb-radius);
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.required-input-empty {
|
|
68
|
+
border: var(--co-inphoto-ai-prompt-required-border);
|
|
69
|
+
background-color: var(--co-inphoto-ai-prompt-required-error-background);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
@@ -1,71 +1,115 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-canvas-tool-bar-layout') {
|
|
4
|
-
.co-canvas-tool-bar {
|
|
5
|
-
.canvas-toolbar {
|
|
6
|
-
display: flex;
|
|
7
|
-
align-items: center;
|
|
8
|
-
position: absolute;
|
|
9
|
-
top: var(--co-inphoto-canvas-tool-bar-position-top);
|
|
10
|
-
left: var(--co-inphoto-canvas-tool-bar-position-left);
|
|
11
|
-
z-index: var(--co-inphoto-canvas-tool-bar-z-index);
|
|
12
|
-
justify-content: space-around;
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
}
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-canvas-tool-bar-layout') {
|
|
4
|
+
.co-canvas-tool-bar {
|
|
5
|
+
.canvas-toolbar {
|
|
6
|
+
display: flex;
|
|
7
|
+
align-items: center;
|
|
8
|
+
position: var(--co-inphoto-canvas-tool-bar-position-absolute);
|
|
9
|
+
top: var(--co-inphoto-canvas-tool-bar-position-top);
|
|
10
|
+
left: var(--co-inphoto-canvas-tool-bar-position-left);
|
|
11
|
+
z-index: var(--co-inphoto-canvas-tool-bar-z-index);
|
|
12
|
+
justify-content: space-around;
|
|
13
|
+
padding: var(--co-inphoto-canvas-tool-bar-padding);
|
|
14
|
+
|
|
15
|
+
.drag-indicator-icon {
|
|
16
|
+
padding: var(--co-inphoto-canvas-tool-bar-drag-icon-padding);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.modus-indicator, .tool-selection, .actions {
|
|
20
|
+
display: flex;
|
|
21
|
+
align-items: center;
|
|
22
|
+
margin: var(--co-inphoto-canvas-tool-bar-section-margin);
|
|
23
|
+
position: var(--co-inphoto-canvas-tool-bar-position-relative);
|
|
24
|
+
|
|
25
|
+
.spacer {
|
|
26
|
+
margin: var(--co-inphoto-canvas-tool-bar-section-margin);
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.brush-button, .eraser-button, .drag-button {
|
|
30
|
+
padding: var(--co-inphoto-canvas-tool-bar-tool-button-padding);
|
|
31
|
+
margin: var(--co-inphoto-canvas-tool-bar-tool-button-margin);
|
|
32
|
+
height: var(--co-inphoto-canvas-tool-bar-button-size);
|
|
33
|
+
width: var(--co-inphoto-canvas-tool-bar-button-size);
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.brush-size-container {
|
|
37
|
+
position: var(--co-inphoto-canvas-tool-bar-position-absolute);
|
|
38
|
+
top: var(--co-inphoto-canvas-tool-bar-brush-size-container-top);
|
|
39
|
+
padding: var(--co-inphoto-canvas-tool-bar-padding);
|
|
40
|
+
|
|
41
|
+
.brush-preview {
|
|
42
|
+
display: flex;
|
|
43
|
+
align-items: center;
|
|
44
|
+
height: var(--co-inphoto-canvas-tool-bar-brush-preview-height);
|
|
45
|
+
overflow: hidden;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
.brush-preview-line {
|
|
49
|
+
width: var(--co-inphoto-canvas-tool-bar-brush-preview-line-width);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.brush-size {
|
|
53
|
+
display: flex;
|
|
54
|
+
justify-content: space-between;
|
|
55
|
+
|
|
56
|
+
.brush-size-value {
|
|
57
|
+
width: var(--co-inphoto-canvas-tool-bar-brush-size-value-width);
|
|
58
|
+
}
|
|
59
|
+
|
|
60
|
+
.brush-size-slider {
|
|
61
|
+
width: var(--co-inphoto-canvas-tool-bar-brush-size-slider-width);
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
|
|
67
|
+
.actions {
|
|
68
|
+
gap: var(--co-inphoto-canvas-tool-bar-actions-gap);
|
|
69
|
+
|
|
70
|
+
.cancel-button, .action-button {
|
|
71
|
+
height: var(--co-inphoto-canvas-tool-bar-button-size);
|
|
72
|
+
display: flex;
|
|
73
|
+
align-content: center;
|
|
74
|
+
align-items: center;
|
|
75
|
+
cursor: pointer;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.cancel-button {
|
|
79
|
+
padding: var(--co-inphoto-button-padding);
|
|
80
|
+
|
|
81
|
+
.label {
|
|
82
|
+
margin-right: var(--co-inphoto-canvas-tool-bar-label-spacing);
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.action-button {
|
|
87
|
+
.label {
|
|
88
|
+
margin-left: var(--co-inphoto-canvas-tool-bar-label-spacing);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
}
|
|
92
|
+
|
|
93
|
+
.canvas-zoom-control {
|
|
94
|
+
display: flex;
|
|
95
|
+
align-items: center;
|
|
96
|
+
justify-content: space-around;
|
|
97
|
+
margin: var(--co-inphoto-canvas-tool-bar-section-margin);
|
|
98
|
+
position: var(--co-inphoto-canvas-tool-bar-position-relative);
|
|
99
|
+
|
|
100
|
+
.zoom-input-wrapper {
|
|
101
|
+
.co-input-text:not(.no-style) {
|
|
102
|
+
input {
|
|
103
|
+
align-self: center;
|
|
104
|
+
padding: var(--co-inphoto-canvas-tool-bar-zoom-zero);
|
|
105
|
+
}
|
|
106
|
+
}
|
|
107
|
+
}
|
|
108
|
+
|
|
109
|
+
.co-button {
|
|
110
|
+
height: var(--co-inphoto-canvas-tool-bar-zoom-button-height);
|
|
111
|
+
}
|
|
112
|
+
}
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|