@colijnit/inphoto 300.1.7 → 300.1.8
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/inphoto-add-products-tile.jpg +0 -0
- package/assets/inphoto-change-floorl.jpg +0 -0
- package/assets/inphoto-change-wall.jpg +0 -0
- package/fesm2022/colijnit-inphoto.mjs +1344 -492
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/layer_group_sharp_solid.svg +1 -0
- package/icons/paint_roller_sharp_solid.svg +1 -0
- package/index.d.ts +198 -49
- package/lib/component/ai-prompt/style/_layout.scss +76 -86
- package/lib/component/ai-prompt/style/_material-definition.scss +38 -6
- package/lib/component/ai-prompt/style/_theme.scss +78 -67
- package/lib/component/canvas-tool-bar/style/_layout.scss +63 -65
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +37 -11
- package/lib/component/canvas-tool-bar/style/_theme.scss +108 -106
- package/lib/component/catalog/style/_layout.scss +68 -55
- package/lib/component/catalog/style/_material-definition.scss +22 -4
- package/lib/component/catalog/style/_theme.scss +43 -59
- package/lib/component/configuration-side-bar-menu/style/_layout.scss +33 -33
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +10 -6
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +4 -1
- package/lib/component/edit-canvas/style/_layout.scss +85 -75
- package/lib/component/edit-canvas/style/_material-definition.scss +25 -3
- package/lib/component/edit-canvas/style/_theme.scss +61 -46
- package/lib/component/error-dialog/style/_layout.scss +36 -39
- package/lib/component/error-dialog/style/_material-definition.scss +12 -3
- package/lib/component/error-dialog/style/_theme.scss +17 -10
- package/lib/component/header/style/_layout.scss +20 -21
- package/lib/component/header/style/_material-definition.scss +8 -6
- package/lib/component/header/style/_theme.scss +7 -0
- package/lib/component/image-enhancer/style/_layout.scss +37 -38
- package/lib/component/image-enhancer/style/_material-definition.scss +13 -6
- package/lib/component/image-enhancer/style/_theme.scss +45 -43
- package/lib/component/image-enhancer-style/style/_layout.scss +65 -107
- package/lib/component/image-enhancer-style/style/_material-definition.scss +16 -3
- package/lib/component/image-enhancer-style/style/_theme.scss +120 -72
- package/lib/component/image-enhancer-upload/style/_layout.scss +48 -11
- package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -3
- package/lib/component/image-enhancer-upload/style/_theme.scss +66 -87
- package/lib/component/image-history/style/_layout.scss +57 -127
- package/lib/component/image-history/style/_material-definition.scss +20 -5
- package/lib/component/image-history/style/_theme.scss +25 -46
- package/lib/component/image-history-tile/style/_layout.scss +53 -56
- package/lib/component/image-history-tile/style/_material-definition.scss +15 -3
- package/lib/component/image-history-tile/style/_theme.scss +32 -28
- package/lib/component/image-overlay/style/_layout.scss +84 -0
- package/lib/component/image-overlay/style/_material-definition.scss +21 -0
- package/lib/component/image-overlay/style/_theme.scss +40 -0
- package/lib/component/image-overlay/style/material.scss +3 -0
- package/lib/component/image-process-complete/style/_layout.scss +42 -33
- package/lib/component/image-process-complete/style/_material-definition.scss +13 -5
- package/lib/component/image-process-complete/style/_theme.scss +24 -18
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +15 -17
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +9 -3
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +15 -12
- package/lib/component/image-tile/style/_layout.scss +102 -101
- package/lib/component/image-tile/style/_material-definition.scss +18 -3
- package/lib/component/image-tile/style/_theme.scss +58 -53
- package/lib/component/image-upload/style/_layout.scss +93 -103
- package/lib/component/image-upload/style/_material-definition.scss +35 -9
- package/lib/component/image-upload/style/_theme.scss +103 -80
- package/lib/component/inphoto/style/_layout.scss +11 -0
- package/lib/component/inphoto/style/_material-definition.scss +3 -1
- package/lib/component/inphoto/style/_theme.scss +2 -1
- package/lib/component/marker/style/_layout.scss +30 -0
- package/lib/component/marker/style/_material-definition.scss +12 -0
- package/lib/component/marker/style/_theme.scss +30 -0
- package/lib/component/marker/style/material.scss +3 -0
- package/lib/component/photo-editor/style/_layout.scss +38 -29
- package/lib/component/photo-editor/style/_material-definition.scss +8 -3
- package/lib/component/photo-editor/style/_theme.scss +2 -1
- package/lib/component/prepare-starting-image/style/_layout.scss +34 -26
- package/lib/component/prepare-starting-image/style/_material-definition.scss +11 -4
- package/lib/component/prepare-starting-image/style/_theme.scss +7 -0
- package/lib/component/process-loader/style/_layout.scss +74 -92
- package/lib/component/process-loader/style/_material-definition.scss +24 -6
- package/lib/component/process-loader/style/_theme.scss +128 -103
- package/lib/component/scene-context-menu/style/_layout.scss +59 -66
- package/lib/component/scene-context-menu/style/_material-definition.scss +27 -4
- package/lib/component/scene-context-menu/style/_theme.scss +57 -44
- package/lib/component/segment-inpaint/style/_layout.scss +51 -32
- package/lib/component/segment-inpaint/style/_material-definition.scss +11 -3
- package/lib/component/segment-inpaint/style/_theme.scss +29 -19
- package/lib/component/side-bar-menu/style/_layout.scss +26 -45
- package/lib/component/side-bar-menu/style/_material-definition.scss +12 -3
- package/lib/component/side-bar-menu/style/_theme.scss +32 -6
- package/lib/component/side-panel/style/_layout.scss +45 -40
- package/lib/component/side-panel/style/_material-definition.scss +16 -6
- package/lib/component/side-panel/style/_theme.scss +39 -44
- package/lib/component/step-tile/style/_layout.scss +50 -53
- package/lib/component/step-tile/style/_material-definition.scss +20 -6
- package/lib/component/step-tile/style/_theme.scss +78 -72
- package/lib/component/threedscene/style/_layout.scss +57 -35
- package/lib/component/threedscene/style/_material-definition.scss +12 -3
- package/lib/component/threedscene/style/_theme.scss +17 -8
- package/lib/component/upload-starting-image/style/_layout.scss +58 -51
- package/lib/component/upload-starting-image/style/_material-definition.scss +18 -3
- package/lib/component/upload-starting-image/style/_theme.scss +39 -46
- package/lib/style/_index.scss +0 -1
- package/lib/style/_variables.scss +5 -2
- package/package.json +1 -1
|
@@ -1,86 +1,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
|
-
.custom-height {
|
|
7
|
-
height:
|
|
8
|
-
overflow: hidden;
|
|
9
|
-
.input-textarea-wrapper {
|
|
10
|
-
label {
|
|
11
|
-
top:
|
|
12
|
-
}
|
|
13
|
-
}
|
|
14
|
-
}
|
|
15
|
-
|
|
16
|
-
.hasvalue {
|
|
17
|
-
.input-textarea-wrapper {
|
|
18
|
-
label {
|
|
19
|
-
top:
|
|
20
|
-
}
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
.prompt-mode {
|
|
25
|
-
margin:
|
|
26
|
-
display: flex;
|
|
27
|
-
align-items: center;
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
.prompt-mode-switch {
|
|
31
|
-
margin-right:
|
|
32
|
-
|
|
33
|
-
.switch {
|
|
34
|
-
position:
|
|
35
|
-
display: inline-block;
|
|
36
|
-
width:
|
|
37
|
-
height:
|
|
38
|
-
|
|
39
|
-
input {
|
|
40
|
-
opacity:
|
|
41
|
-
width:
|
|
42
|
-
height:
|
|
43
|
-
|
|
44
|
-
&:checked + .slider {
|
|
45
|
-
|
|
46
|
-
&:before {
|
|
47
|
-
-webkit-transform: translateX(
|
|
48
|
-
-ms-transform: translateX(
|
|
49
|
-
transform: translateX(
|
|
50
|
-
}
|
|
51
|
-
}
|
|
52
|
-
}
|
|
53
|
-
}
|
|
54
|
-
|
|
55
|
-
.slider {
|
|
56
|
-
position:
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
top:
|
|
59
|
-
left:
|
|
60
|
-
right:
|
|
61
|
-
bottom:
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
&:before {
|
|
78
|
-
border-radius: 50%;
|
|
79
|
-
}
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-ai-prompt-layout') {
|
|
4
|
+
.co-ai-prompt {
|
|
5
|
+
.custom-prompt-container {
|
|
6
|
+
.custom-height {
|
|
7
|
+
height: var(--co-inphoto-ai-prompt-textarea-height);
|
|
8
|
+
overflow: hidden;
|
|
9
|
+
.input-textarea-wrapper {
|
|
10
|
+
label {
|
|
11
|
+
top: var(--co-inphoto-ai-prompt-textarea-label-top-empty);
|
|
12
|
+
}
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
|
|
16
|
+
.hasvalue {
|
|
17
|
+
.input-textarea-wrapper {
|
|
18
|
+
label {
|
|
19
|
+
top: var(--co-inphoto-ai-prompt-textarea-label-top-filled);
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.prompt-mode {
|
|
25
|
+
margin: var(--co-inphoto-ai-prompt-mode-margin);
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: center;
|
|
28
|
+
|
|
29
|
+
|
|
30
|
+
.prompt-mode-switch {
|
|
31
|
+
margin-right: var(--co-inphoto-ai-prompt-mode-switch-margin-right);
|
|
32
|
+
|
|
33
|
+
.switch {
|
|
34
|
+
position: var(--co-inphoto-ai-prompt-switch-position);
|
|
35
|
+
display: inline-block;
|
|
36
|
+
width: var(--co-inphoto-ai-prompt-switch-width);
|
|
37
|
+
height: var(--co-inphoto-ai-prompt-switch-height);
|
|
38
|
+
|
|
39
|
+
input {
|
|
40
|
+
opacity: var(--co-inphoto-ai-prompt-switch-input-opacity);
|
|
41
|
+
width: var(--co-inphoto-ai-prompt-switch-input-size);
|
|
42
|
+
height: var(--co-inphoto-ai-prompt-switch-input-size);
|
|
43
|
+
|
|
44
|
+
&:checked + .slider {
|
|
45
|
+
|
|
46
|
+
&:before {
|
|
47
|
+
-webkit-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
|
|
48
|
+
-ms-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
|
|
49
|
+
transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.slider {
|
|
56
|
+
position: var(--co-inphoto-ai-prompt-switch-slider-position);
|
|
57
|
+
cursor: pointer;
|
|
58
|
+
top: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
59
|
+
left: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
60
|
+
right: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
61
|
+
bottom: var(--co-inphoto-ai-prompt-switch-slider-inset);
|
|
62
|
+
|
|
63
|
+
&:before {
|
|
64
|
+
position: var(--co-inphoto-ai-prompt-switch-slider-position);
|
|
65
|
+
content: "";
|
|
66
|
+
height: var(--co-inphoto-ai-prompt-switch-thumb-size);
|
|
67
|
+
width: var(--co-inphoto-ai-prompt-switch-thumb-size);
|
|
68
|
+
left: var(--co-inphoto-ai-prompt-switch-thumb-inset);
|
|
69
|
+
bottom: var(--co-inphoto-ai-prompt-switch-thumb-inset);
|
|
70
|
+
}
|
|
71
|
+
}
|
|
72
|
+
}
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
}
|
|
76
|
+
}
|
|
@@ -1,6 +1,38 @@
|
|
|
1
|
-
|
|
2
|
-
--co-inphoto-prompt-
|
|
3
|
-
--co-inphoto-
|
|
4
|
-
--co-inphoto-
|
|
5
|
-
--co-inphoto-prompt-
|
|
6
|
-
|
|
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: #D9D9DF;
|
|
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-padding: 15px;
|
|
8
|
+
--co-inphoto-ai-prompt-container-margin: 20px auto;
|
|
9
|
+
|
|
10
|
+
--co-inphoto-ai-prompt-text-margin-bottom: 10px;
|
|
11
|
+
--co-inphoto-ai-prompt-spacer-margin: 0 4px;
|
|
12
|
+
|
|
13
|
+
--co-inphoto-ai-prompt-textarea-height: 100px;
|
|
14
|
+
--co-inphoto-ai-prompt-textarea-label-top-empty: 20%;
|
|
15
|
+
--co-inphoto-ai-prompt-textarea-label-top-filled: 5%;
|
|
16
|
+
|
|
17
|
+
--co-inphoto-ai-prompt-mode-margin: 10px auto;
|
|
18
|
+
--co-inphoto-ai-prompt-mode-switch-margin-right: 15px;
|
|
19
|
+
|
|
20
|
+
--co-inphoto-ai-prompt-switch-width: 44px;
|
|
21
|
+
--co-inphoto-ai-prompt-switch-height: 24px;
|
|
22
|
+
--co-inphoto-ai-prompt-switch-radius: 34px;
|
|
23
|
+
--co-inphoto-ai-prompt-switch-transition-duration: 0.4s;
|
|
24
|
+
--co-inphoto-ai-prompt-switch-focus-shadow-spread: 0 0 1px;
|
|
25
|
+
--co-inphoto-ai-prompt-switch-position: relative;
|
|
26
|
+
--co-inphoto-ai-prompt-switch-slider-position: absolute;
|
|
27
|
+
|
|
28
|
+
--co-inphoto-ai-prompt-switch-input-opacity: 0;
|
|
29
|
+
--co-inphoto-ai-prompt-switch-input-size: 0;
|
|
30
|
+
--co-inphoto-ai-prompt-switch-slider-inset: 0;
|
|
31
|
+
|
|
32
|
+
--co-inphoto-ai-prompt-switch-thumb-size: 16px;
|
|
33
|
+
--co-inphoto-ai-prompt-switch-thumb-inset: 4px;
|
|
34
|
+
--co-inphoto-ai-prompt-switch-thumb-travel: 20px;
|
|
35
|
+
--co-inphoto-ai-prompt-switch-thumb-radius: 50%;
|
|
36
|
+
--co-inphoto-ai-prompt-mode-active-font-weight: bold;
|
|
37
|
+
--co-inphoto-ai-prompt-required-border: 1px solid var(--co-inphoto-ai-prompt-required-error-color);
|
|
38
|
+
}
|
|
@@ -1,67 +1,78 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-ai-prompt-theme') {
|
|
4
|
-
.co-ai-prompt {
|
|
5
|
-
|
|
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
|
-
|
|
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
|
+
margin: var(--co-inphoto-ai-prompt-container-margin);
|
|
10
|
+
background: var(--co-inphoto-background-white);
|
|
11
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
12
|
+
padding: var(--co-inphoto-ai-prompt-container-padding);
|
|
13
|
+
|
|
14
|
+
.prompt-head {
|
|
15
|
+
@include cfg.sub-header-text();
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
.prompt-text {
|
|
19
|
+
@include cfg.text();
|
|
20
|
+
margin-bottom: var(--co-inphoto-ai-prompt-text-margin-bottom);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.prompt-mode {
|
|
24
|
+
.prompt-mode-text {
|
|
25
|
+
font-size: var(--co-inphoto-font-size-label);
|
|
26
|
+
|
|
27
|
+
.active {
|
|
28
|
+
font-weight: var(--co-inphoto-ai-prompt-mode-active-font-weight);
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.spacer {
|
|
32
|
+
margin: var(--co-inphoto-ai-prompt-spacer-margin);
|
|
33
|
+
color: var(--co-inphoto-ai-prompt-spacer-color);
|
|
34
|
+
}
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.prompt-mode-switch {
|
|
38
|
+
|
|
39
|
+
.switch {
|
|
40
|
+
|
|
41
|
+
input {
|
|
42
|
+
&:checked + .slider {
|
|
43
|
+
background-color: var(--co-inphoto-accent-color);
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:focus + .slider {
|
|
47
|
+
box-shadow: var(--co-inphoto-ai-prompt-switch-focus-shadow-spread) var(--co-inphoto-accent-color);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
.slider {
|
|
53
|
+
background-color: var(--co-inphoto-ai-prompt-spacer-color);
|
|
54
|
+
transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
|
|
55
|
+
|
|
56
|
+
&:before {
|
|
57
|
+
background-color: var(--co-inphoto-background-white);
|
|
58
|
+
transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
|
|
59
|
+
}
|
|
60
|
+
|
|
61
|
+
&.round {
|
|
62
|
+
border-radius: var(--co-inphoto-ai-prompt-switch-radius);
|
|
63
|
+
|
|
64
|
+
&:before {
|
|
65
|
+
border-radius: var(--co-inphoto-ai-prompt-switch-thumb-radius);
|
|
66
|
+
}
|
|
67
|
+
}
|
|
68
|
+
}
|
|
69
|
+
}
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.required-input-empty {
|
|
73
|
+
border: var(--co-inphoto-ai-prompt-required-border);
|
|
74
|
+
background-color: var(--co-inphoto-ai-prompt-required-error-background);
|
|
75
|
+
}
|
|
76
|
+
}
|
|
77
|
+
}
|
|
78
|
+
}
|
|
@@ -1,65 +1,63 @@
|
|
|
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-
|
|
10
|
-
left: var(--co-inphoto-
|
|
11
|
-
z-index: var(--co-inphoto-
|
|
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
|
-
}
|
|
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
|
+
.modus-indicator, .tool-selection, .actions {
|
|
15
|
+
display: flex;
|
|
16
|
+
align-items: center;
|
|
17
|
+
margin: var(--co-inphoto-canvas-tool-bar-section-margin);
|
|
18
|
+
position: relative;
|
|
19
|
+
|
|
20
|
+
.brush-size-container {
|
|
21
|
+
position: absolute;
|
|
22
|
+
top: var(--co-inphoto-canvas-tool-bar-brush-size-container-top);
|
|
23
|
+
|
|
24
|
+
.brush-preview {
|
|
25
|
+
display: flex;
|
|
26
|
+
align-items: center;
|
|
27
|
+
height: var(--co-inphoto-canvas-tool-bar-brush-preview-height);
|
|
28
|
+
overflow: hidden;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
.brush-preview-line {
|
|
32
|
+
width: var(--co-inphoto-canvas-tool-bar-brush-preview-line-width);
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.brush-size {
|
|
36
|
+
display: flex;
|
|
37
|
+
justify-content: space-between;
|
|
38
|
+
|
|
39
|
+
.brush-size-value {
|
|
40
|
+
width: var(--co-inphoto-canvas-tool-bar-brush-size-value-width);
|
|
41
|
+
}
|
|
42
|
+
|
|
43
|
+
.brush-size-slider {
|
|
44
|
+
width: var(--co-inphoto-canvas-tool-bar-brush-size-slider-width);
|
|
45
|
+
}
|
|
46
|
+
}
|
|
47
|
+
}
|
|
48
|
+
}
|
|
49
|
+
|
|
50
|
+
.actions {
|
|
51
|
+
gap: var(--co-inphoto-canvas-tool-bar-actions-gap);
|
|
52
|
+
|
|
53
|
+
.cancel-button, .action-button {
|
|
54
|
+
height: var(--co-inphoto-canvas-tool-bar-button-size);
|
|
55
|
+
display: flex;
|
|
56
|
+
align-content: center;
|
|
57
|
+
align-items: center;
|
|
58
|
+
cursor: pointer;
|
|
59
|
+
}
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
@@ -1,11 +1,37 @@
|
|
|
1
|
-
|
|
2
|
-
--co-inphoto-
|
|
3
|
-
--co-inphoto-
|
|
4
|
-
|
|
5
|
-
|
|
6
|
-
--co-inphoto-
|
|
7
|
-
--co-inphoto-
|
|
8
|
-
--co-inphoto-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
1
|
+
.co-canvas-tool-bar {
|
|
2
|
+
--co-inphoto-canvas-tool-bar-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-canvas-tool-bar-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-canvas-tool-bar-spacer-color: #D9D9DF;
|
|
5
|
+
|
|
6
|
+
--co-inphoto-canvas-tool-bar-position-top: 50px;
|
|
7
|
+
--co-inphoto-canvas-tool-bar-position-left: 25%;
|
|
8
|
+
--co-inphoto-canvas-tool-bar-z-index: 25;
|
|
9
|
+
--co-inphoto-canvas-tool-bar-padding: 10px;
|
|
10
|
+
|
|
11
|
+
--co-inphoto-canvas-tool-bar-brush-size-preview-color: #FF0000;
|
|
12
|
+
|
|
13
|
+
--co-inphoto-canvas-tool-bar-section-margin: 0 5px;
|
|
14
|
+
--co-inphoto-canvas-tool-bar-actions-gap: 20px;
|
|
15
|
+
--co-inphoto-canvas-tool-bar-button-size: 35px;
|
|
16
|
+
|
|
17
|
+
--co-inphoto-canvas-tool-bar-brush-size-container-top: 50px;
|
|
18
|
+
--co-inphoto-canvas-tool-bar-brush-preview-height: 60px;
|
|
19
|
+
--co-inphoto-canvas-tool-bar-brush-preview-line-width: 100%;
|
|
20
|
+
--co-inphoto-canvas-tool-bar-brush-preview-line-radius: 999px;
|
|
21
|
+
--co-inphoto-canvas-tool-bar-brush-preview-transition: height 0.05s linear;
|
|
22
|
+
--co-inphoto-canvas-tool-bar-brush-size-value-width: 40px;
|
|
23
|
+
--co-inphoto-canvas-tool-bar-brush-size-slider-width: 150px;
|
|
24
|
+
|
|
25
|
+
--co-inphoto-canvas-tool-bar-drag-icon-padding: 8px;
|
|
26
|
+
|
|
27
|
+
--co-inphoto-canvas-tool-bar-spacer-font-size: 30px;
|
|
28
|
+
--co-inphoto-canvas-tool-bar-spacer-font-weight: lighter;
|
|
29
|
+
|
|
30
|
+
--co-inphoto-canvas-tool-bar-tool-button-padding: 0;
|
|
31
|
+
--co-inphoto-canvas-tool-bar-tool-button-margin: 0 4px;
|
|
32
|
+
--co-inphoto-canvas-tool-bar-selected-border-style: 1px solid;
|
|
33
|
+
|
|
34
|
+
--co-inphoto-canvas-tool-bar-cancel-button-background: transparent;
|
|
35
|
+
--co-inphoto-canvas-tool-bar-cancel-button-font-weight: 500;
|
|
36
|
+
--co-inphoto-canvas-tool-bar-label-spacing: 10px;
|
|
37
|
+
}
|