@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.
Files changed (125) hide show
  1. package/assets/01-bohemian.jpg +0 -0
  2. package/assets/02-mid-century-modern.jpg +0 -0
  3. package/assets/03-rustic-farmhouse.jpg +0 -0
  4. package/assets/04-coastal-nautical.jpg +0 -0
  5. package/assets/05-art-deco.jpg +0 -0
  6. package/assets/06-eclectic.jpg +0 -0
  7. package/assets/07-japanese-zen.jpg +0 -0
  8. package/assets/08-modern.jpg +0 -0
  9. package/assets/09-contemporary.jpg +0 -0
  10. package/assets/10-minimalist.jpg +0 -0
  11. package/assets/11-scandinavian.jpg +0 -0
  12. package/assets/12-industrial.jpg +0 -0
  13. package/assets/13-traditional.jpg +0 -0
  14. package/assets/14-transitional.jpg +0 -0
  15. package/assets/how-do-want-to-edit-the-image-01.jpg +0 -0
  16. package/assets/how-do-want-to-edit-the-image-02.jpg +0 -0
  17. package/assets/how-do-want-to-edit-the-image-03.jpg +0 -0
  18. package/assets/how-do-want-to-edit-the-image-04.jpg +0 -0
  19. package/assets/how-to-redesign-with-catalog-01.jpg +0 -0
  20. package/assets/how-to-redesign-with-catalog-02.jpg +0 -0
  21. package/assets/how-to-redesign-with-catalog-03.jpg +0 -0
  22. package/assets/how-to-redesign-with-catalog-04.jpg +0 -0
  23. package/assets/how-to-redesign-with-catalog-05.jpg +0 -0
  24. package/assets/how-to-redesign-with-catalog-06.jpg +0 -0
  25. package/assets/room-01-living-room.jpg +0 -0
  26. package/assets/room-02-kitchen.jpg +0 -0
  27. package/assets/room-03-dining-room.jpg +0 -0
  28. package/assets/room-04-bathroom.jpg +0 -0
  29. package/assets/room-05-bedroom.jpg +0 -0
  30. package/assets/room-06-kids-room.jpg +0 -0
  31. package/assets/room-07-home-office.jpg +0 -0
  32. package/assets/room-08-home-bar.jpg +0 -0
  33. package/fesm2022/colijnit-inphoto.mjs +7170 -6277
  34. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  35. package/icons/angle_right_sharp_solid.svg +1 -0
  36. package/icons/camera_solid_regular.svg +1 -0
  37. package/icons/expand_regular_full.svg +1 -0
  38. package/index.d.ts +518 -342
  39. package/lib/component/ai-prompt/style/_layout.scss +87 -76
  40. package/lib/component/ai-prompt/style/_material-definition.scss +36 -38
  41. package/lib/component/ai-prompt/style/_theme.scss +73 -78
  42. package/lib/component/canvas-tool-bar/style/_layout.scss +115 -71
  43. package/lib/component/canvas-tool-bar/style/_material-definition.scss +42 -40
  44. package/lib/component/canvas-tool-bar/style/_theme.scss +117 -138
  45. package/lib/component/catalog/style/_material-definition.scss +26 -22
  46. package/lib/component/catalog/style/_theme.scss +43 -43
  47. package/lib/component/edit-canvas/style/_layout.scss +75 -74
  48. package/lib/component/edit-canvas/style/_material-definition.scss +19 -21
  49. package/lib/component/edit-canvas/style/_theme.scss +25 -26
  50. package/lib/component/header/style/_material-definition.scss +10 -8
  51. package/lib/component/header/style/_theme.scss +4 -1
  52. package/lib/component/image-2d-placement/style/_layout.scss +13 -0
  53. package/lib/component/image-2d-placement/style/_material-definition.scss +7 -0
  54. package/lib/component/image-2d-placement/style/_theme.scss +8 -0
  55. package/lib/component/image-enhancer/style/_layout.scss +43 -37
  56. package/lib/component/image-enhancer/style/_material-definition.scss +16 -13
  57. package/lib/component/image-enhancer/style/_theme.scss +42 -45
  58. package/lib/component/image-enhancer-style/style/_layout.scss +148 -65
  59. package/lib/component/image-enhancer-style/style/_material-definition.scss +42 -16
  60. package/lib/component/image-enhancer-style/style/_theme.scss +182 -120
  61. package/lib/component/image-enhancer-upload/style/_layout.scss +53 -48
  62. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
  63. package/lib/component/image-enhancer-upload/style/_theme.scss +64 -66
  64. package/lib/component/image-history/style/_layout.scss +55 -57
  65. package/lib/component/image-history/style/_material-definition.scss +18 -20
  66. package/lib/component/image-history/style/_theme.scss +20 -25
  67. package/lib/component/image-history-tile/style/_layout.scss +53 -53
  68. package/lib/component/image-history-tile/style/_material-definition.scss +17 -15
  69. package/lib/component/image-output-settings/style/_layout.scss +38 -0
  70. package/lib/component/image-output-settings/style/_material-definition.scss +8 -0
  71. package/lib/component/image-output-settings/style/_theme.scss +15 -0
  72. package/lib/component/image-overlay/style/_layout.scss +85 -84
  73. package/lib/component/image-overlay/style/_material-definition.scss +24 -21
  74. package/lib/component/image-overlay/style/_theme.scss +40 -40
  75. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +4 -0
  76. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +1 -0
  77. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +4 -0
  78. package/lib/component/image-tile/style/_layout.scss +102 -102
  79. package/lib/component/image-tile/style/_material-definition.scss +19 -18
  80. package/lib/component/image-tile/style/_theme.scss +58 -58
  81. package/lib/component/image-upload/style/_layout.scss +97 -93
  82. package/lib/component/image-upload/style/_theme.scss +99 -103
  83. package/lib/component/marker/style/_layout.scss +29 -30
  84. package/lib/component/marker/style/_theme.scss +31 -30
  85. package/lib/component/photo-editor/style/_layout.scss +69 -38
  86. package/lib/component/photo-editor/style/_material-definition.scss +14 -8
  87. package/lib/component/photo-editor/style/_theme.scss +15 -0
  88. package/lib/component/prepare-starting-image/style/_layout.scss +93 -34
  89. package/lib/component/prepare-starting-image/style/_material-definition.scss +17 -11
  90. package/lib/component/prepare-starting-image/style/_theme.scss +9 -1
  91. package/lib/component/process-loader/style/_layout.scss +74 -74
  92. package/lib/component/process-loader/style/_material-definition.scss +42 -24
  93. package/lib/component/process-loader/style/_theme.scss +128 -128
  94. package/lib/component/scale-dialog/style/_layout.scss +25 -0
  95. package/lib/component/scale-dialog/style/_material-definition.scss +8 -0
  96. package/lib/component/scale-dialog/style/_theme.scss +26 -0
  97. package/lib/component/scale-dialog/style/material.scss +3 -0
  98. package/lib/component/scene-context-menu/style/_layout.scss +69 -59
  99. package/lib/component/scene-context-menu/style/_material-definition.scss +32 -27
  100. package/lib/component/scene-context-menu/style/_theme.scss +62 -57
  101. package/lib/component/segment-inpaint/style/_layout.scss +73 -51
  102. package/lib/component/segment-inpaint/style/_material-definition.scss +19 -11
  103. package/lib/component/segment-inpaint/style/_theme.scss +72 -29
  104. package/lib/component/side-bar-menu/style/_layout.scss +30 -26
  105. package/lib/component/side-bar-menu/style/_material-definition.scss +13 -12
  106. package/lib/component/side-panel/style/_layout.scss +48 -45
  107. package/lib/component/side-panel/style/_material-definition.scss +17 -16
  108. package/lib/component/side-panel/style/_theme.scss +36 -39
  109. package/lib/component/step-tile/style/_layout.scss +66 -50
  110. package/lib/component/step-tile/style/_material-definition.scss +20 -20
  111. package/lib/component/step-tile/style/_theme.scss +68 -78
  112. package/lib/component/threedscene/style/_layout.scss +67 -57
  113. package/lib/component/threedscene/style/_material-definition.scss +16 -12
  114. package/lib/component/threedscene/style/_theme.scss +55 -17
  115. package/lib/style/_mixin.scss +2 -7
  116. package/lib/style/_variables.scss +7 -13
  117. package/package.json +15 -6
  118. package/lib/component/configuration-side-bar-menu/style/_layout.scss +0 -33
  119. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +0 -10
  120. package/lib/component/configuration-side-bar-menu/style/_theme.scss +0 -58
  121. package/lib/component/image-process-complete/style/_layout.scss +0 -42
  122. package/lib/component/image-process-complete/style/_material-definition.scss +0 -13
  123. package/lib/component/image-process-complete/style/_theme.scss +0 -24
  124. /package/lib/component/{configuration-side-bar-menu → image-2d-placement}/style/material.scss +0 -0
  125. /package/lib/component/{image-process-complete → image-output-settings}/style/material.scss +0 -0
@@ -1,103 +1,99 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-upload-theme') {
4
- .co-image-upload {
5
- font-family: var(--co-inphoto-image-upload-font-family);
6
- font-size: var(--co-inphoto-image-upload-font-size-text);
7
-
8
- .upload-container {
9
- background: var(--co-inphoto-background-white);
10
- border: var(--co-inphoto-image-upload-border-width) dashed var(--co-inphoto-image-upload-border-color);
11
- border-radius: var(--co-inphoto-border-radius);
12
-
13
- .image-upload-icon {
14
- @include cfg.default-icon(var(--co-inphoto-image-upload-icon-size), var(--co-inphoto-image-upload-icon-size), var(--co-inphoto-icon-color));
15
- }
16
-
17
- .upload-content-header {
18
- @include cfg.sub-header-text();
19
- }
20
-
21
- .upload-content-text {
22
- @include cfg.text();
23
- color: var(--co-inphoto-accent-text);
24
- }
25
-
26
- .upload-content {
27
- margin: var(--co-inphoto-image-upload-content-margin);
28
- }
29
-
30
- .upload-supported-formats-container {
31
- .supported-format {
32
- border: var(--co-inphoto-image-upload-format-border);
33
- color: var(--co-inphoto-accent-text);
34
- font-size: var(--co-inphoto-font-size-label);
35
- font-weight: var(--co-inphoto-image-upload-format-font-weight);
36
- border-radius: var(--co-inphoto-image-upload-format-border-radius);
37
- }
38
- }
39
- }
40
-
41
- .upload-container.dragging {
42
- border-color: var(--co-inphoto-image-upload-dragging-border-color);
43
- background: var(--co-inphoto-image-upload-dragging-background);
44
- }
45
-
46
- .upload-container.disabled {
47
- opacity: var(--co-inphoto-image-upload-disabled-opacity);
48
- pointer-events: none;
49
- }
50
-
51
- .upload-content .upload-button {
52
- @include cfg.action-button(
53
- var(--co-inphoto-action-button-background),
54
- var(--co-inphoto-action-button-background),
55
- var(--co-inphoto-action-button-color),
56
- var(--co-inphoto-action-button-font-size),
57
- var(--co-inphoto-action-button-icon-size),
58
- var(--co-inphoto-action-button-icon-color),
59
- var(--co-inphoto-action-button-border),
60
- var(--co-inphoto-action-button-radius),
61
- var(--co-inphoto-action-button-padding)
62
- );
63
- }
64
-
65
- .preview img {
66
- border-radius: var(--co-inphoto-border-radius);
67
- }
68
-
69
- .uploaded-files-preview-container {
70
- .uploaded-file-preview {
71
- img {
72
- border-radius: var(--co-inphoto-border-radius);
73
- }
74
-
75
- .uploaded-file-overlay {
76
- background-color: var(--co-inphoto-loader-background-dark);
77
- border-radius: var(--co-inphoto-border-radius);
78
- font-size: var(--co-inphoto-image-upload-overlay-font-size);
79
-
80
- .remove-button {
81
- @include cfg.default-icon(var(--co-inphoto-image-upload-remove-icon-size), var(--co-inphoto-image-upload-remove-icon-size), var(--co-inphoto-icon-color-light));
82
- }
83
- }
84
- }
85
- }
86
- }
87
-
88
- .image-upload-compact {
89
- .upload-container {
90
- p {
91
- font-size: var(--co-inphoto-image-upload-compact-font-size);
92
- }
93
- }
94
- }
95
-
96
- .compact {
97
- .upload-container {
98
- .upload-content-text {
99
- font-size: var(--co-inphoto-font-size-label);
100
- }
101
- }
102
- }
103
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-upload-theme') {
4
+ .co-image-upload {
5
+ font-family: var(--co-inphoto-image-upload-font-family);
6
+ font-size: var(--co-inphoto-image-upload-font-size-text);
7
+
8
+ .upload-container {
9
+ background: var(--co-inphoto-background-white);
10
+ border: var(--co-inphoto-image-upload-border-width) dashed var(--co-inphoto-image-upload-border-color);
11
+ border-radius: var(--co-inphoto-border-radius);
12
+
13
+ .image-upload-icon {
14
+ @include cfg.default-icon(var(--co-inphoto-image-upload-icon-size), var(--co-inphoto-image-upload-icon-size), var(--co-inphoto-icon-color));
15
+ }
16
+
17
+ .upload-content-header {
18
+ @include cfg.sub-header-text();
19
+ }
20
+
21
+ .upload-content-text {
22
+ @include cfg.text();
23
+ color: var(--co-inphoto-accent-text);
24
+ }
25
+
26
+ .upload-supported-formats-container {
27
+ .supported-format {
28
+ border: var(--co-inphoto-image-upload-format-border);
29
+ color: var(--co-inphoto-accent-text);
30
+ font-size: var(--co-inphoto-font-size-label);
31
+ font-weight: var(--co-inphoto-image-upload-format-font-weight);
32
+ border-radius: var(--co-inphoto-image-upload-format-border-radius);
33
+ }
34
+ }
35
+ }
36
+
37
+ .upload-container.dragging {
38
+ border-color: var(--co-inphoto-image-upload-dragging-border-color);
39
+ background: var(--co-inphoto-image-upload-dragging-background);
40
+ }
41
+
42
+ .upload-container.disabled {
43
+ opacity: var(--co-inphoto-image-upload-disabled-opacity);
44
+ pointer-events: none;
45
+ }
46
+
47
+ .upload-content .upload-button {
48
+ @include cfg.action-button(
49
+ var(--co-inphoto-action-button-background),
50
+ var(--co-inphoto-action-button-background),
51
+ var(--co-inphoto-action-button-color),
52
+ var(--co-inphoto-action-button-font-size),
53
+ var(--co-inphoto-action-button-icon-size),
54
+ var(--co-inphoto-action-button-icon-color),
55
+ var(--co-inphoto-action-button-border),
56
+ var(--co-inphoto-action-button-radius),
57
+ var(--co-inphoto-action-button-padding)
58
+ );
59
+ }
60
+
61
+ .preview img {
62
+ border-radius: var(--co-inphoto-border-radius);
63
+ }
64
+
65
+ .uploaded-files-preview-container {
66
+ .uploaded-file-preview {
67
+ img {
68
+ border-radius: var(--co-inphoto-border-radius);
69
+ }
70
+
71
+ .uploaded-file-overlay {
72
+ background-color: var(--co-inphoto-loader-background-dark);
73
+ border-radius: var(--co-inphoto-border-radius);
74
+ font-size: var(--co-inphoto-image-upload-overlay-font-size);
75
+
76
+ .remove-button {
77
+ @include cfg.default-icon(var(--co-inphoto-image-upload-remove-icon-size), var(--co-inphoto-image-upload-remove-icon-size), var(--co-inphoto-icon-color-light));
78
+ }
79
+ }
80
+ }
81
+ }
82
+ }
83
+
84
+ .image-upload-compact {
85
+ .upload-container {
86
+ p {
87
+ font-size: var(--co-inphoto-image-upload-compact-font-size);
88
+ }
89
+ }
90
+ }
91
+
92
+ .compact {
93
+ .upload-container {
94
+ .upload-content-text {
95
+ font-size: var(--co-inphoto-font-size-label);
96
+ }
97
+ }
98
+ }
99
+ }
@@ -1,30 +1,29 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-marker-layout') {
4
- .co-marker {
5
- position: var(--co-inphoto-marker-position);
6
- transform: var(--co-inphoto-marker-transform);
7
-
8
- .marker-container {
9
- display: flex;
10
- flex-direction: column;
11
- align-items: center;
12
- gap: var(--co-inphoto-marker-container-gap);
13
- cursor: pointer;
14
-
15
- .marker-icon {
16
- width: var(--co-inphoto-marker-icon-size);
17
- height: var(--co-inphoto-marker-icon-size);
18
- display: flex;
19
- align-items: center;
20
- justify-content: center;
21
- }
22
-
23
- .marker-label {
24
- font-size: var(--co-inphoto-font-size-label);
25
- padding: var(--co-inphoto-marker-label-padding);
26
- white-space: nowrap;
27
- }
28
- }
29
- }
30
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-marker-layout') {
4
+ .co-marker {
5
+ position: var(--co-inphoto-marker-position);
6
+ transform: var(--co-inphoto-marker-transform);
7
+
8
+ .marker-container {
9
+ display: flex;
10
+ flex-direction: column;
11
+ align-items: center;
12
+ gap: var(--co-inphoto-marker-container-gap);
13
+ cursor: pointer;
14
+
15
+ .marker-icon {
16
+ width: var(--co-inphoto-marker-icon-size);
17
+ height: var(--co-inphoto-marker-icon-size);
18
+ display: flex;
19
+ align-items: center;
20
+ justify-content: center;
21
+ }
22
+
23
+ .marker-label {
24
+ padding: var(--co-inphoto-marker-label-padding);
25
+ white-space: nowrap;
26
+ }
27
+ }
28
+ }
29
+ }
@@ -1,30 +1,31 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-marker-theme') {
4
- .co-marker {
5
- font-family: var(--co-inphoto-marker-font-family);
6
- font-size: var(--co-inphoto-marker-font-size-text);
7
-
8
- .marker-container {
9
- .marker-icon {
10
- background: var(--co-inphoto-background-white);
11
- box-shadow: var(--co-inphoto-container-box-shadow);
12
- border-radius: var(--co-inphoto-marker-icon-radius);
13
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-color-dark));
14
- }
15
-
16
- .marker-label {
17
- background: var(--co-inphoto-marker-label-background);
18
- color: var(--co-inphoto-color-light);
19
- border-radius: var(--co-inphoto-marker-label-radius);
20
- }
21
-
22
- &.marker-selected {
23
- .marker-icon {
24
- background: var(--co-inphoto-active-button-background);
25
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-active-button-color));
26
- }
27
- }
28
- }
29
- }
30
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-marker-theme') {
4
+ .co-marker {
5
+ font-family: var(--co-inphoto-marker-font-family);
6
+ font-size: var(--co-inphoto-marker-font-size-text);
7
+
8
+ .marker-container {
9
+ .marker-icon {
10
+ background: var(--co-inphoto-background-white);
11
+ box-shadow: var(--co-inphoto-container-box-shadow);
12
+ border-radius: var(--co-inphoto-marker-icon-radius);
13
+ @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-color-dark));
14
+ }
15
+
16
+ .marker-label {
17
+ font-size: var(--co-inphoto-font-size-label);
18
+ background: var(--co-inphoto-marker-label-background);
19
+ color: var(--co-inphoto-color-light);
20
+ border-radius: var(--co-inphoto-marker-label-radius);
21
+ }
22
+
23
+ &.marker-selected {
24
+ .marker-icon {
25
+ background: var(--co-inphoto-active-button-background);
26
+ @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-active-button-color));
27
+ }
28
+ }
29
+ }
30
+ }
31
+ }
@@ -1,38 +1,69 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-photo-editor-layout') {
4
- .co-photo-editor {
5
-
6
-
7
- .photo-editor-dialog {
8
-
9
- .photo-editor-container {
10
- position: var(--co-inphoto-photo-editor-position-relative);
11
- width: var(--co-inphoto-photo-editor-full-size);
12
- height: var(--co-inphoto-photo-editor-full-size);
13
- display: flex;
14
- justify-content: center;
15
- align-items: flex-start;
16
-
17
-
18
- .photo-editor-canvas {
19
- width: var(--co-inphoto-left-container-width);
20
- }
21
-
22
- .photo-editor-panel {
23
- width: var(--co-inphoto-right-container-width);
24
- }
25
-
26
- }
27
- }
28
-
29
-
30
- .photo-editor-upload {
31
- display: flex;
32
- align-items: center;
33
- justify-content: space-around;
34
- height: var(--co-inphoto-photo-editor-upload-height);
35
- width: var(--co-inphoto-photo-editor-upload-width);
36
- }
37
- }
38
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-photo-editor-layout') {
4
+ .co-photo-editor {
5
+ .photo-editor-dialog {
6
+ .photo-editor-container {
7
+ position: var(--co-inphoto-photo-editor-position-relative);
8
+ width: var(--co-inphoto-photo-editor-full-size);
9
+ height: var(--co-inphoto-photo-editor-full-size);
10
+ display: flex;
11
+ justify-content: center;
12
+ align-items: flex-start;
13
+
14
+
15
+ .photo-editor-canvas {
16
+ width: var(--co-inphoto-left-container-width);
17
+
18
+
19
+ .photo-editor-bottom {
20
+ padding: var(--co-inphoto-photo-editor-bottom-padding);
21
+ margin: var(--co-inphoto-photo-editor-bottom-margin);
22
+ display: flex;
23
+ align-items: center;
24
+
25
+ .photo-editor-button-container {
26
+ padding: var(--co-inphoto-photo-editor-button-container-padding);
27
+
28
+ .restart-button {
29
+ width: var(--co-inphoto-photo-editor-restart-button-width);
30
+
31
+ @include cfg.action-button(
32
+ var(--co-inphoto-button-background),
33
+ var(--co-inphoto-button-background),
34
+ var(--co-inphoto-button-color),
35
+ var(--co-inphoto-button-font-size),
36
+ var(--co-inphoto-button-icon-size),
37
+ var(--co-inphoto-button-icon-color),
38
+ var(--co-inphoto-button-border),
39
+ var(--co-inphoto-button-radius),
40
+ var(--co-inphoto-button-padding)
41
+ );
42
+
43
+ .label {
44
+ margin-left: var(--co-inphoto-photo-editor-label-margin-left);
45
+ }
46
+ }
47
+ }
48
+ }
49
+
50
+
51
+ }
52
+
53
+ .photo-editor-panel {
54
+ width: var(--co-inphoto-right-container-width);
55
+ }
56
+
57
+ }
58
+ }
59
+
60
+
61
+ .photo-editor-upload {
62
+ display: flex;
63
+ align-items: center;
64
+ justify-content: space-around;
65
+ height: var(--co-inphoto-photo-editor-upload-height);
66
+ width: var(--co-inphoto-photo-editor-upload-width);
67
+ }
68
+ }
69
+ }
@@ -1,8 +1,14 @@
1
- .co-photo-editor {
2
- --co-inphoto-photo-editor-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-photo-editor-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-photo-editor-position-relative: relative;
5
- --co-inphoto-photo-editor-full-size: 100%;
6
- --co-inphoto-photo-editor-upload-height: 100vh;
7
- --co-inphoto-photo-editor-upload-width: 100vw;
8
- }
1
+ .co-photo-editor {
2
+ --co-inphoto-photo-editor-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-photo-editor-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-photo-editor-position-relative: relative;
5
+ --co-inphoto-photo-editor-full-size: 100%;
6
+ --co-inphoto-photo-editor-bottom-padding: 10px;
7
+ --co-inphoto-photo-editor-bottom-margin: 10px 20px;
8
+ --co-inphoto-photo-editor-upload-height: 100vh;
9
+ --co-inphoto-photo-editor-upload-width: 100vw;
10
+ --co-inphoto-photo-editor-button-container-padding: 20px;
11
+ --co-inphoto-photo-editor-restart-button-width: 220px;
12
+ --co-inphoto-photo-editor-label-margin-left: 15px;
13
+ --co-inphoto-photo-editor-label-font-weight: normal;
14
+ }
@@ -4,6 +4,21 @@
4
4
  .co-photo-editor {
5
5
  font-family: var(--co-inphoto-photo-editor-font-family);
6
6
  font-size: var(--co-inphoto-photo-editor-font-size-text);
7
+
8
+ .photo-editor-canvas {
9
+ .photo-editor-bottom {
10
+ background: var(--co-inphoto-background-white);
11
+ box-shadow: var(--co-inphoto-container-box-shadow);
12
+ }
13
+
14
+ .photo-editor-button-container {
15
+ .restart-button {
16
+ .label {
17
+ font-weight: var(--co-inphoto-photo-editor-label-font-weight);
18
+ }
19
+ }
20
+ }
21
+ }
7
22
  }
8
23
  }
9
24
 
@@ -1,34 +1,93 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-prepare-starting-image-layout') {
4
- .co-prepare-starting-image {
5
- .prepare-starting-image-container {
6
- display: flex;
7
- align-items: flex-start;
8
- width: var(--co-inphoto-prepare-starting-image-full-width);
9
- min-height: var(--co-inphoto-prepare-starting-image-min-height);
10
-
11
-
12
- .prepare-image-preview {
13
- width: var(--co-inphoto-left-container-width);
14
- margin: var(--co-inphoto-prepare-starting-image-preview-margin);
15
- padding: var(--co-inphoto-prepare-starting-image-preview-padding);
16
- display: inline-flex;
17
-
18
- .prepare-image-view-container {
19
- max-width: var(--co-inphoto-prepare-starting-image-preview-max-width);
20
- img {
21
- display: block;
22
- max-width: var(--co-inphoto-prepare-starting-image-preview-max-width);
23
- height: var(--co-inphoto-prepare-starting-image-image-height);
24
- }
25
- }
26
- }
27
-
28
- .prepare-starting-image-dialog {
29
- width: var(--co-inphoto-prepare-starting-image-full-width);
30
- max-width: var(--co-inphoto-right-container-width);
31
- }
32
- }
33
- }
34
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-prepare-starting-image-layout') {
4
+ .co-prepare-starting-image {
5
+ .prepare-starting-image-container {
6
+ display: flex;
7
+ align-items: flex-start;
8
+ width: var(--co-inphoto-prepare-starting-image-full-width);
9
+ min-height: var(--co-inphoto-prepare-starting-image-min-height);
10
+
11
+
12
+ .prepare-image-preview {
13
+ width: var(--co-inphoto-left-container-width);
14
+ margin: var(--co-inphoto-prepare-starting-image-preview-margin);
15
+ padding: var(--co-inphoto-prepare-starting-image-preview-padding);
16
+ display: inline-flex;
17
+
18
+ .prepare-image-view-container {
19
+ max-width: var(--co-inphoto-prepare-starting-image-preview-max-width);
20
+
21
+ img {
22
+ display: block;
23
+ max-width: var(--co-inphoto-prepare-starting-image-preview-max-width);
24
+ height: var(--co-inphoto-prepare-starting-image-image-height);
25
+ }
26
+ }
27
+ }
28
+
29
+
30
+ .prepare-starting-image-dialog {
31
+ width: var(--co-inphoto-prepare-starting-image-full-width);
32
+ max-width: var(--co-inphoto-right-container-width);
33
+
34
+ .prepare-starting-image-side-panel {
35
+ .prepare-starting-image-tiles-container {
36
+ .prepare-starting-image-tiles {
37
+ display: grid;
38
+ grid-template-columns: var(--co-inphoto-prepare-starting-image-tiles-columns);
39
+ grid-template-rows: var(--co-inphoto-prepare-starting-image-tiles-rows);
40
+ gap: var(--co-inphoto-prepare-starting-image-gap);
41
+
42
+ .co-step-tile {
43
+
44
+ .button-container {
45
+ flex-direction: column;
46
+ }
47
+ }
48
+ }
49
+
50
+ .prepare-starting-image-side-panel-prompt {
51
+ padding: var(--co-inphoto-prepare-starting-image-side-panel-prompt-padding);
52
+ }
53
+ }
54
+ }
55
+
56
+ .prepare-starting-image-side-panel-buttons {
57
+ display: flex;
58
+ gap: var(--co-inphoto-prepare-starting-image-gap);
59
+
60
+ .co-button {
61
+ flex: var(--co-inphoto-prepare-starting-image-button-flex);
62
+
63
+ @include cfg.action-button(
64
+ var(--co-inphoto-button-background),
65
+ var(--co-inphoto-button-background),
66
+ var(--co-inphoto-button-color),
67
+ var(--co-inphoto-button-font-size),
68
+ var(--co-inphoto-button-icon-size),
69
+ var(--co-inphoto-button-icon-color),
70
+ var(--co-inphoto-button-border),
71
+ var(--co-inphoto-button-radius),
72
+ var(--co-inphoto-button-padding)
73
+ );
74
+ }
75
+
76
+ .generate-button {
77
+ @include cfg.action-button(
78
+ var(--co-inphoto-active-button-background),
79
+ var(--co-inphoto-active-button-background),
80
+ var(--co-inphoto-action-button-color),
81
+ var(--co-inphoto-button-font-size),
82
+ var(--co-inphoto-button-icon-size),
83
+ var(--co-inphoto-action-button-icon-color),
84
+ var(--co-inphoto-button-border),
85
+ var(--co-inphoto-button-radius),
86
+ var(--co-inphoto-button-padding)
87
+ );
88
+ }
89
+ }
90
+ }
91
+ }
92
+ }
93
+ }
@@ -1,11 +1,17 @@
1
- .co-prepare-starting-image {
2
- --co-inphoto-prepare-starting-image-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-prepare-starting-image-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-prepare-icon-background: #FFF7ED;
5
- --co-inphoto-prepare-starting-image-full-width: 100%;
6
- --co-inphoto-prepare-starting-image-min-height: 100vh;
7
- --co-inphoto-prepare-starting-image-preview-margin: 20px;
8
- --co-inphoto-prepare-starting-image-preview-padding: 20px;
9
- --co-inphoto-prepare-starting-image-preview-max-width: 100%;
10
- --co-inphoto-prepare-starting-image-image-height: auto;
11
- }
1
+ .co-prepare-starting-image {
2
+ --co-inphoto-prepare-starting-image-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-prepare-starting-image-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-prepare-starting-image-icon-background: #FFF7ED;
5
+ --co-inphoto-prepare-starting-image-full-width: 100%;
6
+ --co-inphoto-prepare-starting-image-min-height: 100vh;
7
+ --co-inphoto-prepare-starting-image-preview-margin: 20px;
8
+ --co-inphoto-prepare-starting-image-preview-padding: 20px;
9
+ --co-inphoto-prepare-starting-image-preview-max-width: 100%;
10
+ --co-inphoto-prepare-starting-image-image-height: auto;
11
+ --co-inphoto-prepare-starting-image-gap: 16px;
12
+ --co-inphoto-prepare-starting-image-side-panel-prompt-padding: 20px 0;
13
+ --co-inphoto-prepare-starting-image-tiles-columns: repeat(2, 1fr);
14
+ --co-inphoto-prepare-starting-image-tiles-rows: repeat(2, 1fr);
15
+ --co-inphoto-prepare-starting-image-button-flex: 1;
16
+ --co-inphoto-prepare-starting-image-label-font-weight: normal;
17
+ }
@@ -13,11 +13,19 @@
13
13
  .prepare-starting-image-dialog {
14
14
  .prepare-starting-dialog-header {
15
15
  .header-icon {
16
- background: var(--co-inphoto-prepare-icon-background);
16
+ background: var(--co-inphoto-prepare-starting-image-icon-background);
17
17
  color: var(--co-inphoto-accent-color);
18
18
  @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-color));
19
19
  }
20
20
  }
21
+
22
+ .prepare-starting-image-side-panel-buttons {
23
+ .co-button {
24
+ .label {
25
+ font-weight: var(--co-inphoto-prepare-starting-image-label-font-weight);
26
+ }
27
+ }
28
+ }
21
29
  }
22
30
  }
23
31
  }