@colijnit/inphoto 301.1.0 → 301.1.2

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 (139) 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 +7191 -6297
  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 +12 -1
  40. package/lib/component/ai-prompt/style/_material-definition.scss +1 -3
  41. package/lib/component/ai-prompt/style/_theme.scss +1 -6
  42. package/lib/component/canvas-tool-bar/style/_layout.scss +49 -4
  43. package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -1
  44. package/lib/component/canvas-tool-bar/style/_theme.scss +3 -22
  45. package/lib/component/catalog/style/_layout.scss +68 -68
  46. package/lib/component/catalog/style/_material-definition.scss +4 -0
  47. package/lib/component/catalog/style/_theme.scss +6 -6
  48. package/lib/component/edit-canvas/style/_layout.scss +2 -1
  49. package/lib/component/edit-canvas/style/_material-definition.scss +0 -2
  50. package/lib/component/edit-canvas/style/_theme.scss +1 -2
  51. package/lib/component/error-dialog/style/_layout.scss +36 -36
  52. package/lib/component/error-dialog/style/_material-definition.scss +12 -12
  53. package/lib/component/error-dialog/style/_theme.scss +17 -17
  54. package/lib/component/header/style/_layout.scss +20 -20
  55. package/lib/component/header/style/_material-definition.scss +3 -1
  56. package/lib/component/header/style/_theme.scss +4 -1
  57. package/lib/component/image-2d-placement/style/_layout.scss +13 -0
  58. package/lib/component/image-2d-placement/style/_material-definition.scss +7 -0
  59. package/lib/component/image-2d-placement/style/_theme.scss +8 -0
  60. package/lib/component/image-enhancer/style/_layout.scss +8 -2
  61. package/lib/component/image-enhancer/style/_material-definition.scss +4 -1
  62. package/lib/component/image-enhancer/style/_theme.scss +2 -5
  63. package/lib/component/image-enhancer-style/style/_layout.scss +113 -30
  64. package/lib/component/image-enhancer-style/style/_material-definition.scss +28 -2
  65. package/lib/component/image-enhancer-style/style/_theme.scss +72 -10
  66. package/lib/component/image-enhancer-upload/style/_layout.scss +8 -3
  67. package/lib/component/image-enhancer-upload/style/_material-definition.scss +4 -4
  68. package/lib/component/image-enhancer-upload/style/_theme.scss +2 -4
  69. package/lib/component/image-history/style/_layout.scss +2 -4
  70. package/lib/component/image-history/style/_material-definition.scss +0 -2
  71. package/lib/component/image-history/style/_theme.scss +0 -5
  72. package/lib/component/image-history-tile/style/_layout.scss +2 -2
  73. package/lib/component/image-history-tile/style/_material-definition.scss +2 -0
  74. package/lib/component/image-history-tile/style/_theme.scss +32 -32
  75. package/lib/component/image-output-settings/style/_layout.scss +38 -0
  76. package/lib/component/image-output-settings/style/_material-definition.scss +8 -0
  77. package/lib/component/image-output-settings/style/_theme.scss +15 -0
  78. package/lib/component/image-overlay/style/_layout.scss +2 -1
  79. package/lib/component/image-overlay/style/_material-definition.scss +3 -0
  80. package/lib/component/image-overlay/style/_theme.scss +1 -1
  81. package/lib/component/image-overlay/style/material.scss +3 -3
  82. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +19 -15
  83. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +10 -9
  84. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +19 -15
  85. package/lib/component/image-tile/style/_layout.scss +24 -24
  86. package/lib/component/image-tile/style/_material-definition.scss +18 -17
  87. package/lib/component/image-tile/style/_theme.scss +9 -9
  88. package/lib/component/image-upload/style/_layout.scss +4 -0
  89. package/lib/component/image-upload/style/_material-definition.scss +35 -35
  90. package/lib/component/image-upload/style/_theme.scss +0 -4
  91. package/lib/component/marker/style/_layout.scss +0 -1
  92. package/lib/component/marker/style/_material-definition.scss +12 -12
  93. package/lib/component/marker/style/_theme.scss +1 -0
  94. package/lib/component/marker/style/material.scss +3 -3
  95. package/lib/component/photo-editor/style/_layout.scss +34 -3
  96. package/lib/component/photo-editor/style/_material-definition.scss +6 -0
  97. package/lib/component/photo-editor/style/_theme.scss +15 -0
  98. package/lib/component/prepare-starting-image/style/_layout.scss +59 -0
  99. package/lib/component/prepare-starting-image/style/_material-definition.scss +7 -1
  100. package/lib/component/prepare-starting-image/style/_theme.scss +9 -1
  101. package/lib/component/process-loader/style/_layout.scss +6 -6
  102. package/lib/component/process-loader/style/_material-definition.scss +20 -2
  103. package/lib/component/process-loader/style/_theme.scss +31 -31
  104. package/lib/component/scale-dialog/style/_layout.scss +25 -0
  105. package/lib/component/scale-dialog/style/_material-definition.scss +8 -0
  106. package/lib/component/scale-dialog/style/_theme.scss +26 -0
  107. package/lib/component/scale-dialog/style/material.scss +3 -0
  108. package/lib/component/scene-context-menu/style/_layout.scss +12 -2
  109. package/lib/component/scene-context-menu/style/_material-definition.scss +9 -4
  110. package/lib/component/scene-context-menu/style/_theme.scss +9 -4
  111. package/lib/component/segment-inpaint/style/_layout.scss +23 -1
  112. package/lib/component/segment-inpaint/style/_material-definition.scss +9 -1
  113. package/lib/component/segment-inpaint/style/_theme.scss +44 -1
  114. package/lib/component/side-bar-menu/style/_layout.scss +5 -1
  115. package/lib/component/side-bar-menu/style/_material-definition.scss +1 -0
  116. package/lib/component/side-bar-menu/style/_theme.scss +32 -32
  117. package/lib/component/side-panel/style/_layout.scss +4 -1
  118. package/lib/component/side-panel/style/_material-definition.scss +5 -4
  119. package/lib/component/side-panel/style/_theme.scss +0 -3
  120. package/lib/component/step-tile/style/_layout.scss +21 -5
  121. package/lib/component/step-tile/style/_material-definition.scss +4 -4
  122. package/lib/component/step-tile/style/_theme.scss +1 -11
  123. package/lib/component/threedscene/style/_layout.scss +15 -5
  124. package/lib/component/threedscene/style/_material-definition.scss +5 -1
  125. package/lib/component/threedscene/style/_theme.scss +38 -0
  126. package/lib/component/upload-starting-image/style/_layout.scss +58 -58
  127. package/lib/component/upload-starting-image/style/_material-definition.scss +18 -18
  128. package/lib/component/upload-starting-image/style/_theme.scss +39 -39
  129. package/lib/style/_mixin.scss +2 -7
  130. package/lib/style/_variables.scss +7 -13
  131. package/package.json +13 -4
  132. package/lib/component/configuration-side-bar-menu/style/_layout.scss +0 -33
  133. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +0 -10
  134. package/lib/component/configuration-side-bar-menu/style/_theme.scss +0 -58
  135. package/lib/component/image-process-complete/style/_layout.scss +0 -42
  136. package/lib/component/image-process-complete/style/_material-definition.scss +0 -13
  137. package/lib/component/image-process-complete/style/_theme.scss +0 -24
  138. /package/lib/component/{configuration-side-bar-menu → image-2d-placement}/style/material.scss +0 -0
  139. /package/lib/component/{image-process-complete → image-output-settings}/style/material.scss +0 -0
@@ -12,18 +12,61 @@
12
12
  &.tile-active {
13
13
  border: var(--co-inphoto-segment-inpaint-tile-active-border);
14
14
  }
15
+
16
+ &.tile-disabled {
17
+ opacity: var(--co-inphoto-segment-inpaint-tile-disabled-opacity);
18
+ }
15
19
  }
16
20
  }
17
21
  }
18
22
 
19
23
  .inpaint-info-dialog-container {
20
24
  .header-icon {
21
- background: var(--co-inphoto-prepare-icon-background);
25
+ background: var(--co-inphoto-header-icon-background);
22
26
  color: var(--co-inphoto-accent-color);
23
27
  @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-color));
24
28
  }
25
29
 
26
30
  }
31
+
32
+
33
+ .button-container {
34
+ .clear-objects-button {
35
+ @include cfg.action-button(
36
+ var(--co-inphoto-active-button-background),
37
+ var(--co-inphoto-active-button-background),
38
+ var(--co-inphoto-active-button-color),
39
+ var(--co-inphoto-button-font-size),
40
+ var(--co-inphoto-button-icon-size),
41
+ var(--co-inphoto-active-button-color),
42
+ var(--co-inphoto-button-border),
43
+ var(--co-inphoto-button-radius),
44
+ var(--co-inphoto-button-padding)
45
+ );
46
+
47
+ .label {
48
+ font-weight: var(--co-inphoto-segment-inpaint-button-label-font-weight);
49
+ }
50
+ }
51
+
52
+ .restart-button {
53
+ @include cfg.action-button(
54
+ var(--co-inphoto-button-background),
55
+ var(--co-inphoto-button-background),
56
+ var(--co-inphoto-button-color),
57
+ var(--co-inphoto-button-font-size),
58
+ var(--co-inphoto-button-icon-size),
59
+ var(--co-inphoto-button-icon-color),
60
+ var(--co-inphoto-button-border),
61
+ var(--co-inphoto-button-radius),
62
+ var(--co-inphoto-button-padding)
63
+ );
64
+
65
+ .label {
66
+ font-weight: var(--co-inphoto-segment-inpaint-button-label-font-weight);
67
+ }
68
+ }
69
+ }
27
70
  }
28
71
  }
29
72
  }
@@ -15,11 +15,15 @@
15
15
  align-items: center;
16
16
  justify-content: center;
17
17
  cursor: pointer;
18
- position: relative;
18
+ position: var(--co-inphoto-side-bar-menu-item-position);
19
19
 
20
20
  .side-bar-menu-text {
21
21
  text-align: center;
22
22
  }
23
+
24
+ &.side-bar-menu-item-disabled {
25
+ cursor: not-allowed;
26
+ }
23
27
  }
24
28
  }
25
29
  }
@@ -9,4 +9,5 @@
9
9
  --co-inphoto-side-bar-menu-icon-color-active: #da9803;
10
10
  --co-inphoto-side-bar-menu-icon-color-disabled: #eee;
11
11
  --co-inphoto-side-bar-menu-text-font-size: 13px;
12
+ --co-inphoto-side-bar-menu-item-position: relative;
12
13
  }
@@ -1,32 +1,32 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-side-bar-menu-theme') {
4
- .co-side-bar-menu {
5
- font-family: var(--co-inphoto-side-bar-menu-font-family);
6
- font-size: var(--co-inphoto-side-bar-menu-font-size-text);
7
-
8
- .side-bar-menu {
9
- background-color: var(--co-inphoto-background-white);
10
-
11
- .side-bar-menu-item {
12
- @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color));
13
-
14
- .side-bar-menu-text {
15
- font-size: var(--co-inphoto-side-bar-menu-text-font-size);
16
- }
17
-
18
- &:hover {
19
- @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color-active));
20
- }
21
- }
22
-
23
- .side-bar-menu-item-active {
24
- @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color-active));
25
- }
26
-
27
- .side-bar-menu-item-disabled {
28
- @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color-disabled));
29
- }
30
- }
31
- }
32
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-side-bar-menu-theme') {
4
+ .co-side-bar-menu {
5
+ font-family: var(--co-inphoto-side-bar-menu-font-family);
6
+ font-size: var(--co-inphoto-side-bar-menu-font-size-text);
7
+
8
+ .side-bar-menu {
9
+ background-color: var(--co-inphoto-background-white);
10
+
11
+ .side-bar-menu-item {
12
+ @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color));
13
+
14
+ .side-bar-menu-text {
15
+ font-size: var(--co-inphoto-side-bar-menu-text-font-size);
16
+ }
17
+
18
+ &:hover {
19
+ @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color-active));
20
+ }
21
+ }
22
+
23
+ .side-bar-menu-item-active {
24
+ @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color-active));
25
+ }
26
+
27
+ .side-bar-menu-item-disabled {
28
+ @include cfg.default-icon(var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-size), var(--co-inphoto-side-bar-menu-icon-color-disabled));
29
+ }
30
+ }
31
+ }
32
+ }
@@ -5,13 +5,14 @@
5
5
  .side-panel-container {
6
6
  width: var(--co-inphoto-side-panel-container-width);
7
7
  height: var(--co-inphoto-side-panel-container-height);
8
+ padding: var(--co-inphoto-side-panel-padding);
8
9
  position: var(--co-inphoto-side-panel-position-relative);
9
10
  display: flex;
10
11
  flex-direction: column;
11
12
 
12
13
  .side-panel-scroll-container {
13
14
  flex: 1 1 auto;
14
- min-height: 0;
15
+ min-height: var(--co-inphoto-side-panel-scroll-container-min-height);
15
16
  overflow-y: auto;
16
17
  scroll-behavior: smooth;
17
18
  scrollbar-width: none;
@@ -29,6 +30,8 @@
29
30
  }
30
31
 
31
32
  .side-panel-button-container {
33
+ padding: var(--co-inphoto-side-panel-padding-button-container);
34
+ margin: var(--co-inphoto-side-panel-margin-button-container);
32
35
 
33
36
  .co-button {
34
37
  display: flex;
@@ -1,8 +1,8 @@
1
1
  .co-side-panel {
2
2
  --co-inphoto-side-panel-font-size-text: var(--co-inphoto-font-size-text);
3
3
  --co-inphoto-side-panel-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-side-panel-padding: 35px 25px;
5
- --co-inphoto-side-panel-border-color-button-container: #eee;
4
+ --co-inphoto-side-panel-padding: 15px 25px 35px 25px;
5
+ --co-inphoto-side-panel-button-container-border-color: #eee;
6
6
  --co-inphoto-side-panel-padding-button-container: 20px 0 0;
7
7
  --co-inphoto-side-panel-margin-button-container: 20px 0 0;
8
8
  --co-inphoto-side-panel-container-width: 100%;
@@ -10,7 +10,8 @@
10
10
  --co-inphoto-side-panel-position-relative: relative;
11
11
  --co-inphoto-side-panel-scroll-padding-bottom: 35px;
12
12
  --co-inphoto-side-panel-body-gap: 20px;
13
- --co-inphoto-side-panel-button-border-top: 1px solid var(--co-inphoto-side-panel-border-color-button-container);
13
+ --co-inphoto-side-panel-button-border-top: 1px solid var(--co-inphoto-side-panel-button-container-border-color);
14
14
  --co-inphoto-side-panel-label-margin-left: 15px;
15
- --co-inphoto-side-panel-label-font-weight: bold;
15
+ --co-inphoto-side-panel-label-font-weight: normal;
16
+ --co-inphoto-side-panel-scroll-container-min-height: 0;
16
17
  }
@@ -7,12 +7,9 @@
7
7
 
8
8
  .side-panel-container {
9
9
  background: var(--co-inphoto-dialog-background-color);
10
- padding: var(--co-inphoto-side-panel-padding);
11
10
 
12
11
  .side-panel-scroll-container {
13
12
  .side-panel-button-container {
14
- padding: var(--co-inphoto-side-panel-padding-button-container);
15
- margin: var(--co-inphoto-side-panel-margin-button-container);
16
13
  border-top: var(--co-inphoto-side-panel-button-border-top);
17
14
 
18
15
  .co-button {
@@ -3,10 +3,11 @@
3
3
  @include cfg.export-module('co-step-tile-layout') {
4
4
  .co-step-tile {
5
5
  cursor: pointer;
6
- position: relative;
6
+ position: var(--co-inphoto-step-tile-position);
7
7
  display: flex;
8
8
  flex-direction: column;
9
9
  gap: var(--co-inphoto-step-tile-gap);
10
+ padding: var(--co-inphoto-step-tile-padding);
10
11
 
11
12
  .button-container {
12
13
  display: flex;
@@ -15,10 +16,16 @@
15
16
  .image-container {
16
17
  max-width: var(--co-inphoto-step-tile-image-size);
17
18
  min-width: var(--co-inphoto-step-tile-image-size);
19
+ overflow: hidden;
20
+
21
+ img {
22
+ width: var(--co-inphoto-step-tile-image-full-size);
23
+ height: var(--co-inphoto-step-tile-image-full-size);
24
+ }
18
25
  }
19
26
 
20
27
  .number-container {
21
- position: absolute;
28
+ position: var(--co-inphoto-step-tile-number-container-position);
22
29
  top: var(--co-inphoto-step-tile-number-offset);
23
30
  right: var(--co-inphoto-step-tile-number-offset);
24
31
  width: var(--co-inphoto-step-tile-number-size);
@@ -30,15 +37,16 @@
30
37
  }
31
38
 
32
39
  .button-container-text-container {
40
+ display: flex;
41
+ justify-content: space-between;
42
+ align-items: center;
43
+ padding: var(--co-inphoto-step-tile-button-container-padding);
33
44
 
34
45
  .tile-next-icon {
35
46
  width: var(--co-inphoto-step-tile-next-icon-size);
36
47
  height: var(--co-inphoto-step-tile-next-icon-size);
37
48
  display: flex;
38
49
  align-items: center;
39
- position: absolute;
40
- bottom: var(--co-inphoto-step-tile-next-icon-offset);
41
- right: var(--co-inphoto-step-tile-next-icon-offset);
42
50
 
43
51
  .co-icon {
44
52
  flex: 1;
@@ -46,5 +54,13 @@
46
54
  }
47
55
  }
48
56
  }
57
+
58
+ .step-tile-button {
59
+ .co-button {
60
+ display: flex;
61
+ width: var(--co-inphoto-step-tile-button-full-width);
62
+ justify-content: space-around;
63
+ }
64
+ }
49
65
  }
50
66
  }
@@ -1,16 +1,16 @@
1
1
  .co-step-tile {
2
2
  --co-inphoto-step-tile-font-size-text: var(--co-inphoto-font-size-text);
3
3
  --co-inphoto-step-tile-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-step-tile-position: relative;
5
+ --co-inphoto-step-tile-number-container-position: absolute;
4
6
  --co-inphoto-step-tile-padding: 8px;
5
- --co-inphoto-step-tile-button-container-padding: 16px 8px 40px;
6
- --co-inphoto-step-tile-button-container-head-margin: 0 0 10px;
7
- --co-inphoto-step-tile-image-size: 185px;
7
+ --co-inphoto-step-tile-button-container-padding: 8px;
8
+ --co-inphoto-step-tile-image-size: 100%;
8
9
  --co-inphoto-step-tile-gap: 10px;
9
10
  --co-inphoto-step-tile-number-offset: 5px;
10
11
  --co-inphoto-step-tile-number-size: 40px;
11
12
  --co-inphoto-step-tile-circle-radius: 50%;
12
13
  --co-inphoto-step-tile-next-icon-size: 45px;
13
- --co-inphoto-step-tile-next-icon-offset: 8px;
14
14
  --co-inphoto-step-tile-border: 1px solid var(--co-inphoto-border-color);
15
15
  --co-inphoto-step-tile-image-full-size: 100%;
16
16
  --co-inphoto-step-tile-button-full-width: 100%;
@@ -4,11 +4,11 @@
4
4
  .co-step-tile {
5
5
  font-family: var(--co-inphoto-step-tile-font-family);
6
6
  font-size: var(--co-inphoto-step-tile-font-size-text);
7
+
7
8
  border-radius: var(--co-inphoto-border-radius);
8
9
  background: var(--co-inphoto-background-white);
9
10
  border: var(--co-inphoto-step-tile-border);
10
11
  box-shadow: var(--co-inphoto-dialog-box-shadow);
11
- padding: var(--co-inphoto-step-tile-padding);
12
12
 
13
13
  .button-container {
14
14
  .number-container {
@@ -19,22 +19,16 @@
19
19
 
20
20
  .image-container {
21
21
  border-radius: var(--co-inphoto-border-radius);
22
- overflow: hidden;
23
22
 
24
23
  img {
25
- width: var(--co-inphoto-step-tile-image-full-size);
26
- height: var(--co-inphoto-step-tile-image-full-size);
27
24
  object-fit: contain;
28
25
  border-radius: var(--co-inphoto-border-radius);
29
26
  }
30
27
  }
31
28
 
32
29
  .button-container-text-container {
33
- padding: var(--co-inphoto-step-tile-button-container-padding);
34
-
35
30
  .tile-head {
36
31
  @include cfg.sub-header-text();
37
- margin: var(--co-inphoto-step-tile-button-container-head-margin);
38
32
  }
39
33
 
40
34
  .tile-text {
@@ -43,7 +37,6 @@
43
37
 
44
38
  .tile-next-icon {
45
39
  border-radius: var(--co-inphoto-step-tile-circle-radius);
46
- background: var(--co-inphoto-dialog-background-color);
47
40
  @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
48
41
  }
49
42
  }
@@ -55,9 +48,6 @@
55
48
 
56
49
  .step-tile-button {
57
50
  .co-button {
58
- display: flex;
59
- width: var(--co-inphoto-step-tile-button-full-width);
60
- justify-content: space-around;
61
51
  color: var(--co-inphoto-action-button-color);
62
52
  }
63
53
  @include cfg.action-button(
@@ -18,7 +18,7 @@
18
18
  display: inline-flex;
19
19
  padding: var(--co-inphoto-threed-scene-canvas-container-padding);
20
20
  margin: var(--co-inphoto-threed-scene-canvas-container-margin);
21
- position: relative;
21
+ position: var(--co-inphoto-threed-scene-three-container-position);
22
22
 
23
23
  canvas {
24
24
  display: block;
@@ -32,26 +32,36 @@
32
32
  .threed-sidepanel {
33
33
  width: var(--co-inphoto-right-container-width);
34
34
  height: var(--co-inphoto-threed-scene-full-viewport-height);
35
-
35
+ max-width: 100%;
36
36
  .theed-sidepanel-tile-group {
37
- display: flex;
37
+ display: grid;
38
+ grid-template-columns: var(--co-inphoto-threed-scene-sidepanel-tile-group-columns);
38
39
  gap: var(--co-inphoto-threed-scene-sidepanel-tile-group-gap);
39
40
 
40
41
  .co-step-tile {
41
- flex: 1;
42
-
43
42
  .button-container {
44
43
  display: block;
45
44
 
46
45
  .image-container {
47
46
  --co-inphoto-step-tile-image-size: var(--co-inphoto-threed-scene-sidepanel-tile-image-size);
48
47
  }
48
+
49
49
  .button-container-text-container {
50
50
  --co-inphoto-step-tile-button-container-padding: var(--co-inphoto-threed-scene-sidepanel-tile-container-padding);
51
51
  }
52
52
  }
53
53
  }
54
54
  }
55
+
56
+ .threed-side-panel-buttons {
57
+
58
+ display: flex;
59
+ gap: var(--co-inphoto-threed-scene-side-panel-buttons-gap);
60
+
61
+ .co-button {
62
+ flex: 1;
63
+ }
64
+ }
55
65
  }
56
66
  }
57
67
  }
@@ -6,7 +6,11 @@
6
6
  --co-inphoto-threed-scene-canvas-container-padding: 20px;
7
7
  --co-inphoto-threed-scene-canvas-container-margin: 20px;
8
8
  --co-inphoto-threed-scene-canvas-max-height: calc(100vh - 40px);
9
- --co-inphoto-threed-scene-sidepanel-tile-group-gap: 10px;
9
+ --co-inphoto-threed-scene-three-container-position: relative;
10
+ --co-inphoto-threed-scene-sidepanel-tile-group-gap: 16px;
11
+ --co-inphoto-threed-scene-sidepanel-tile-group-columns: repeat(2, 1fr);
10
12
  --co-inphoto-threed-scene-sidepanel-tile-image-size: 100%;
11
13
  --co-inphoto-threed-scene-sidepanel-tile-container-padding: 5px;
14
+ --co-inphoto-threed-scene-side-panel-buttons-gap: 16px;
15
+ --co-inphoto-threed-scene-button-label-font-weight: var(--co-inphoto-button-weight);
12
16
  }
@@ -13,5 +13,43 @@
13
13
  }
14
14
  }
15
15
  }
16
+
17
+ .threed-sidepanel {
18
+ .threed-side-panel-buttons {
19
+ .co-button {
20
+ @include cfg.action-button(
21
+ var(--co-inphoto-button-background),
22
+ var(--co-inphoto-button-background),
23
+ var(--co-inphoto-button-color),
24
+ var(--co-inphoto-button-font-size),
25
+ var(--co-inphoto-button-icon-size),
26
+ var(--co-inphoto-button-icon-color),
27
+ var(--co-inphoto-button-border),
28
+ var(--co-inphoto-button-radius),
29
+ var(--co-inphoto-button-padding)
30
+ );
31
+
32
+ .label {
33
+ font-weight: var(--co-inphoto-threed-scene-button-label-font-weight);
34
+ }
35
+ }
36
+
37
+ .generate-button {
38
+ @include cfg.action-button(
39
+ var(--co-inphoto-active-button-background),
40
+ var(--co-inphoto-active-button-background),
41
+ var(--co-inphoto-action-button-color),
42
+ var(--co-inphoto-button-font-size),
43
+ var(--co-inphoto-button-icon-size),
44
+ var(--co-inphoto-action-button-icon-color),
45
+ var(--co-inphoto-button-border),
46
+ var(--co-inphoto-button-radius),
47
+ var(--co-inphoto-button-padding)
48
+ );
49
+ }
50
+ }
51
+ }
16
52
  }
17
53
  }
54
+
55
+
@@ -1,58 +1,58 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-upload-starting-image-layout') {
4
- .co-upload-starting-image {
5
-
6
- .upload-starting-container {
7
- display: flex;
8
- justify-content: space-around;
9
- align-items: center;
10
- width: var(--co-inphoto-upload-starting-image-full-size);
11
- height: var(--co-inphoto-upload-starting-image-full-size);
12
- min-height: var(--co-inphoto-upload-starting-image-min-height);
13
-
14
- .upload-image-dialog {
15
- width: var(--co-inphoto-upload-starting-image-full-size);
16
- max-width: var(--co-inphoto-upload-starting-image-dialog-max-width);
17
- position: var(--co-inphoto-upload-starting-image-position-relative);
18
- padding: var(--co-inphoto-upload-starting-image-dialog-padding);
19
-
20
- .close-click {
21
- position: var(--co-inphoto-upload-starting-image-position-absolute);
22
- right: var(--co-inphoto-upload-starting-image-close-offset);
23
- top: var(--co-inphoto-upload-starting-image-close-offset);
24
- }
25
-
26
- .upload-image-dialog-header {
27
- max-width: var(--co-inphoto-upload-starting-image-content-max-width);
28
- display: flex;
29
- justify-self: center;
30
- flex-direction: column;
31
- align-items: center;
32
- margin-bottom: var(--co-inphoto-upload-starting-image-header-margin-bottom);
33
-
34
- .header-icon {
35
- margin: var(--co-inphoto-upload-starting-image-header-icon-margin);
36
- }
37
- }
38
- }
39
-
40
- .image-upload-container {
41
- max-width: var(--co-inphoto-upload-starting-image-content-max-width);
42
- display: flex;
43
- justify-self: center;
44
- }
45
-
46
- .image-upload-button-container {
47
- .inphoto-cancel-button {
48
- display: block;
49
- max-width: var(--co-inphoto-upload-starting-image-cancel-button-max-width);
50
- text-align: center;
51
- margin: var(--co-inphoto-upload-starting-image-cancel-button-margin);
52
- cursor: pointer;
53
- padding: var(--co-inphoto-upload-starting-image-cancel-button-padding);
54
- }
55
- }
56
- }
57
- }
58
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-upload-starting-image-layout') {
4
+ .co-upload-starting-image {
5
+
6
+ .upload-starting-container {
7
+ display: flex;
8
+ justify-content: space-around;
9
+ align-items: center;
10
+ width: var(--co-inphoto-upload-starting-image-full-size);
11
+ height: var(--co-inphoto-upload-starting-image-full-size);
12
+ min-height: var(--co-inphoto-upload-starting-image-min-height);
13
+
14
+ .upload-image-dialog {
15
+ width: var(--co-inphoto-upload-starting-image-full-size);
16
+ max-width: var(--co-inphoto-upload-starting-image-dialog-max-width);
17
+ position: var(--co-inphoto-upload-starting-image-position-relative);
18
+ padding: var(--co-inphoto-upload-starting-image-dialog-padding);
19
+
20
+ .close-click {
21
+ position: var(--co-inphoto-upload-starting-image-position-absolute);
22
+ right: var(--co-inphoto-upload-starting-image-close-offset);
23
+ top: var(--co-inphoto-upload-starting-image-close-offset);
24
+ }
25
+
26
+ .upload-image-dialog-header {
27
+ max-width: var(--co-inphoto-upload-starting-image-content-max-width);
28
+ display: flex;
29
+ justify-self: center;
30
+ flex-direction: column;
31
+ align-items: center;
32
+ margin-bottom: var(--co-inphoto-upload-starting-image-header-margin-bottom);
33
+
34
+ .header-icon {
35
+ margin: var(--co-inphoto-upload-starting-image-header-icon-margin);
36
+ }
37
+ }
38
+ }
39
+
40
+ .image-upload-container {
41
+ max-width: var(--co-inphoto-upload-starting-image-content-max-width);
42
+ display: flex;
43
+ justify-self: center;
44
+ }
45
+
46
+ .image-upload-button-container {
47
+ .inphoto-cancel-button {
48
+ display: block;
49
+ max-width: var(--co-inphoto-upload-starting-image-cancel-button-max-width);
50
+ text-align: center;
51
+ margin: var(--co-inphoto-upload-starting-image-cancel-button-margin);
52
+ cursor: pointer;
53
+ padding: var(--co-inphoto-upload-starting-image-cancel-button-padding);
54
+ }
55
+ }
56
+ }
57
+ }
58
+ }
@@ -1,18 +1,18 @@
1
- .co-upload-starting-image {
2
- --co-inphoto-upload-starting-image-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-upload-starting-image-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-upload-starting-image-background: #eee;
5
- --co-inphoto-upload-starting-image-full-size: 100%;
6
- --co-inphoto-upload-starting-image-min-height: 100vh;
7
- --co-inphoto-upload-starting-image-dialog-max-width: 680px;
8
- --co-inphoto-upload-starting-image-position-relative: relative;
9
- --co-inphoto-upload-starting-image-position-absolute: absolute;
10
- --co-inphoto-upload-starting-image-close-offset: 10px;
11
- --co-inphoto-upload-starting-image-content-max-width: 500px;
12
- --co-inphoto-upload-starting-image-cancel-button-max-width: 230px;
13
- --co-inphoto-upload-starting-image-cancel-button-margin: 10px auto;
14
- --co-inphoto-upload-starting-image-dialog-padding: 25px 50px;
15
- --co-inphoto-upload-starting-image-header-margin-bottom: 30px;
16
- --co-inphoto-upload-starting-image-header-icon-margin: 0 0 15px;
17
- --co-inphoto-upload-starting-image-cancel-button-padding: 10px 15px;
18
- }
1
+ .co-upload-starting-image {
2
+ --co-inphoto-upload-starting-image-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-upload-starting-image-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-upload-starting-image-background: #eee;
5
+ --co-inphoto-upload-starting-image-full-size: 100%;
6
+ --co-inphoto-upload-starting-image-min-height: 100vh;
7
+ --co-inphoto-upload-starting-image-dialog-max-width: 680px;
8
+ --co-inphoto-upload-starting-image-position-relative: relative;
9
+ --co-inphoto-upload-starting-image-position-absolute: absolute;
10
+ --co-inphoto-upload-starting-image-close-offset: 10px;
11
+ --co-inphoto-upload-starting-image-content-max-width: 500px;
12
+ --co-inphoto-upload-starting-image-cancel-button-max-width: 230px;
13
+ --co-inphoto-upload-starting-image-cancel-button-margin: 10px auto;
14
+ --co-inphoto-upload-starting-image-dialog-padding: 25px 50px;
15
+ --co-inphoto-upload-starting-image-header-margin-bottom: 30px;
16
+ --co-inphoto-upload-starting-image-header-icon-margin: 0 0 15px;
17
+ --co-inphoto-upload-starting-image-cancel-button-padding: 10px 15px;
18
+ }