@colijnit/inphoto 300.1.0 → 300.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 (153) hide show
  1. package/assets/inphoto-make-selection.jpg +0 -0
  2. package/assets/inphoto-redesign-ai.jpg +0 -0
  3. package/assets/inphoto-remove-all.jpg +0 -0
  4. package/assets/inphoto-select-all.png +0 -0
  5. package/assets/inphoto-single-select.png +0 -0
  6. package/fesm2022/colijnit-inphoto.mjs +5682 -2193
  7. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  8. package/icons/angle_down_solid_full.svg +1 -0
  9. package/icons/angle_up_solid_full.svg +1 -0
  10. package/icons/arrow_left_solid_full.svg +1 -0
  11. package/icons/arrow_right_solid_full.svg +1 -0
  12. package/icons/arrow_rotate_left_solid_full.svg +1 -0
  13. package/icons/arrow_up_from_bracket_solid.svg +1 -0
  14. package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
  15. package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
  16. package/icons/brush_solid_full.svg +1 -0
  17. package/icons/caret_down_solid_full.svg +1 -0
  18. package/icons/caret_up_solid_full.svg +1 -0
  19. package/icons/check_solid_full.svg +1 -0
  20. package/icons/circle_info_regular_full.svg +1 -0
  21. package/icons/cloud_arrow_up_regular.svg +1 -0
  22. package/icons/copy_light.svg +1 -0
  23. package/icons/couch_solid_full.svg +1 -0
  24. package/icons/cross_skinny.svg +1 -0
  25. package/icons/cube_regular_full.svg +1 -0
  26. package/icons/draw_square_regular.svg +1 -0
  27. package/icons/eraser_regular.svg +1 -0
  28. package/icons/eraser_solid_full.svg +1 -0
  29. package/icons/file_vector_light.svg +1 -0
  30. package/icons/fill_solid_full.svg +1 -0
  31. package/icons/grip_dots_vertical_solid.svg +1 -0
  32. package/icons/grip_vertical_sharp_solid.svg +1 -0
  33. package/icons/image_circle_arrow_down_solid_full.svg +1 -0
  34. package/icons/image_circle_xmark_solid_full.svg +1 -0
  35. package/icons/image_solid_full.svg +1 -0
  36. package/icons/images_sharp_solid_full.svg +1 -0
  37. package/icons/info_solid_full.svg +1 -0
  38. package/icons/lightbulb_regular_full.svg +1 -0
  39. package/icons/lock_solid_full.svg +1 -0
  40. package/icons/paintbrush_regular.svg +1 -0
  41. package/icons/pen_to_square_solid_full.svg +1 -0
  42. package/icons/rotate_left_sharp_solid_full.svg +1 -0
  43. package/icons/rotate_solid_full.svg +1 -0
  44. package/icons/save_skinny.svg +3 -0
  45. package/icons/scale.svg +1 -0
  46. package/icons/sharp_regular_object_group_pen.svg +1 -0
  47. package/icons/sparkles_regular_full.svg +1 -0
  48. package/icons/trash_can_light.svg +1 -0
  49. package/icons/up_down_left_right_solid_full.svg +1 -0
  50. package/icons/upload_solid_full.svg +1 -0
  51. package/icons/wand_magic_sparkles.svg +1 -0
  52. package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
  53. package/icons/xmark_solid_full.svg +1 -0
  54. package/index.d.ts +840 -342
  55. package/lib/component/ai-prompt/style/_layout.scss +125 -0
  56. package/lib/component/ai-prompt/style/_theme.scss +9 -0
  57. package/lib/component/back-next-buttons/style/_layout.scss +2 -2
  58. package/lib/component/back-next-buttons/style/_theme.scss +33 -22
  59. package/lib/component/canvas-tool-bar/style/_layout.scss +135 -0
  60. package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
  61. package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
  62. package/lib/component/catalog/style/_layout.scss +8 -35
  63. package/lib/component/catalog/style/_material-definition.scss +2 -1
  64. package/lib/component/catalog/style/_theme.scss +41 -7
  65. package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
  66. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
  67. package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
  68. package/lib/component/edit-canvas/style/_layout.scss +10 -38
  69. package/lib/component/edit-canvas/style/_theme.scss +2 -27
  70. package/lib/component/error-dialog/style/_layout.scss +5 -6
  71. package/lib/component/error-dialog/style/_theme.scss +2 -2
  72. package/lib/component/image-enhancer/style/_layout.scss +75 -18
  73. package/lib/component/image-enhancer/style/_theme.scss +26 -14
  74. package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
  75. package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
  76. package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
  77. package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
  78. package/lib/component/image-history/style/_layout.scss +114 -20
  79. package/lib/component/image-history/style/_theme.scss +19 -7
  80. package/lib/component/image-history-tile/style/_layout.scss +46 -32
  81. package/lib/component/image-history-tile/style/_theme.scss +4 -4
  82. package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +45 -0
  83. package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
  84. package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
  85. package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
  86. package/lib/component/image-process-complete/style/_layout.scss +56 -0
  87. package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
  88. package/lib/component/image-process-complete/style/_theme.scss +66 -0
  89. package/lib/component/image-process-complete/style/material.scss +3 -0
  90. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
  91. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
  92. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
  93. package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
  94. package/lib/component/image-tile/style/_layout.scss +100 -0
  95. package/lib/component/image-tile/style/_material-definition.scss +3 -0
  96. package/lib/component/image-tile/style/_theme.scss +8 -0
  97. package/lib/component/image-tile/style/material.scss +3 -0
  98. package/lib/component/image-upload/style/_layout.scss +34 -18
  99. package/lib/component/image-upload/style/_material-definition.scss +3 -3
  100. package/lib/component/image-upload/style/_theme.scss +29 -20
  101. package/lib/component/inphoto/style/_layout.scss +2 -10
  102. package/lib/component/inphoto/style/_theme.scss +2 -2
  103. package/lib/component/photo-editor/style/_layout.scss +9 -24
  104. package/lib/component/photo-editor/style/_theme.scss +2 -2
  105. package/lib/component/prepare-starting-image/style/_layout.scss +82 -23
  106. package/lib/component/prepare-starting-image/style/_material-definition.scss +1 -3
  107. package/lib/component/prepare-starting-image/style/_theme.scss +108 -53
  108. package/lib/component/process-loader/style/_layout.scss +69 -14
  109. package/lib/component/process-loader/style/_material-definition.scss +3 -0
  110. package/lib/component/process-loader/style/_theme.scss +85 -9
  111. package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
  112. package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
  113. package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
  114. package/lib/component/ready-to-add-articles/style/material.scss +3 -0
  115. package/lib/component/scene-context-menu/style/_layout.scss +90 -0
  116. package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
  117. package/lib/component/scene-context-menu/style/_theme.scss +8 -0
  118. package/lib/component/scene-context-menu/style/material.scss +3 -0
  119. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
  120. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
  121. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
  122. package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
  123. package/lib/component/segment-inpaint/style/_layout.scss +52 -0
  124. package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
  125. package/lib/component/segment-inpaint/style/_theme.scss +11 -0
  126. package/lib/component/segment-inpaint/style/material.scss +3 -0
  127. package/lib/component/side-bar-menu/style/_layout.scss +24 -19
  128. package/lib/component/side-bar-menu/style/_theme.scss +2 -15
  129. package/lib/component/threed-to-ai/style/_layout.scss +38 -0
  130. package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
  131. package/lib/component/threed-to-ai/style/_theme.scss +6 -0
  132. package/lib/component/threed-to-ai/style/material.scss +3 -0
  133. package/lib/component/threedscene/style/_layout.scss +12 -41
  134. package/lib/component/threedscene/style/_theme.scss +3 -33
  135. package/lib/component/upload-starting-image/style/_layout.scss +40 -31
  136. package/lib/component/upload-starting-image/style/_theme.scss +31 -13
  137. package/lib/style/_index.scss +2 -0
  138. package/lib/style/_mixin.scss +28 -0
  139. package/lib/style/_variables.scss +41 -35
  140. package/lib/style/inphoto-globals.scss +15 -0
  141. package/package.json +1 -1
  142. package/lib/component/model-list/style/_layout.scss +0 -7
  143. package/lib/component/model-list/style/_theme.scss +0 -10
  144. package/lib/component/model-list-item/style/_material-definition.scss +0 -4
  145. package/lib/component/model-list-item/style/_theme.scss +0 -10
  146. package/lib/component/step-menu/style/_layout.scss +0 -43
  147. package/lib/component/step-menu/style/_material-definition.scss +0 -7
  148. package/lib/component/step-menu/style/_theme.scss +0 -44
  149. package/lib/style/app-globals.scss +0 -26
  150. /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
  151. /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
  152. /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
  153. /package/lib/component/{step-menu → configuration-side-bar-menu}/style/material.scss +0 -0
@@ -0,0 +1,95 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ready-to-add-articles-theme') {
4
+ .co-ready-to-add-articles {
5
+ .ready-to-add-articles-container {
6
+ background-color: var(--co-inphoto-dialog-background-color);
7
+ border-radius: var(--co-inphoto-border-radius);
8
+ padding: 20px;
9
+
10
+ .ready-to-add-article-top {
11
+ padding: 0 0 20px;
12
+ border-bottom: 1px solid #eee;
13
+
14
+ .top-left-container {
15
+
16
+ .icon-container {
17
+ border: 5px solid #eee;
18
+ @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-success-color));
19
+ }
20
+ }
21
+
22
+ .top-right-container {
23
+ .top-head {
24
+ font-size: var(--co-inphoto-font-size-head);
25
+ font-weight: bold;
26
+ }
27
+
28
+ .top-text {
29
+ font-size: var(--co-inphoto-font-size-text);
30
+ }
31
+ }
32
+
33
+ .top-close-container {
34
+ .co-icon {
35
+ cursor: pointer;
36
+ }
37
+ }
38
+ }
39
+
40
+ .ready-to-add-article-bottom {
41
+ padding: 20px 0;
42
+
43
+ .bottom-left-container {
44
+ .icon-container {
45
+ background: #eee;
46
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-success-color));
47
+ }
48
+ }
49
+
50
+ .bottom-right-container {
51
+ .bottom-text {
52
+ font-size: var(--co-inphoto-font-size-text);
53
+ }
54
+ }
55
+ }
56
+
57
+ .ready-to-add-article-buttons {
58
+
59
+ .action-button {
60
+ @include cfg.action-button(
61
+ var(--co-inphoto-action-button-background),
62
+ var(--co-inphoto-action-button-background),
63
+ var(--co-inphoto-action-button-color),
64
+ var(--co-inphoto-action-button-font-size),
65
+ var(--co-inphoto-action-button-icon-size),
66
+ var(--co-inphoto-action-button-icon-color),
67
+ var(--co-inphoto-action-button-border),
68
+ var(--co-inphoto-action-button-radius),
69
+ var(--co-inphoto-action-button-padding))
70
+ }
71
+
72
+ .has-left-icon {
73
+ .co-icon {
74
+ margin-right: 5px;
75
+ }
76
+ }
77
+
78
+ .text-button {
79
+ margin-top: 15px;
80
+ display: block;
81
+ cursor: pointer;
82
+ text-align: center;
83
+ text-decoration: underline;
84
+ font-size: var(--co-inphoto-font-size-text);
85
+ box-sizing: border-box;
86
+ padding: var(--co-inphoto-action-button-padding)
87
+ }
88
+
89
+ }
90
+ }
91
+ }
92
+ }
93
+
94
+
95
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -0,0 +1,90 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-scene-context-menu-layout') {
4
+ .co-scene-context-menu {
5
+ .scene-context-menu-container {
6
+ position: absolute;
7
+ bottom: 70px;
8
+ left: 50%;
9
+ transform: translateX(-50%);
10
+ width: auto;
11
+ box-sizing: border-box;
12
+ padding: 6px;
13
+ background: var(--co-inphoto-dialog-background-color);
14
+ border-radius: 999px;
15
+ box-shadow: 0 6px 20px rgba(23, 37, 51, 0.18);
16
+
17
+ .scene-context-menu-body {
18
+ display: flex;
19
+ align-items: center;
20
+ gap: 4px;
21
+
22
+ .scene-context-menu-item {
23
+ cursor: pointer;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ width: 40px;
28
+ height: 40px;
29
+ padding: 0;
30
+ position: relative;
31
+ border-radius: 50%;
32
+ transition: background 0.15s ease;
33
+
34
+ .scene-context-menu-item-icon {
35
+ display: flex;
36
+ @include cfg.default-icon(18px, 18px, #172533);
37
+ }
38
+
39
+ .scene-context-menu-item-text {
40
+ visibility: hidden;
41
+ opacity: 0;
42
+ white-space: nowrap;
43
+ position: absolute;
44
+ top: calc(100% + 10px);
45
+ left: 50%;
46
+ transform: translateX(-50%);
47
+ box-sizing: border-box;
48
+ padding: 6px 12px;
49
+ border-radius: 8px;
50
+ background: #fff;
51
+ box-shadow: 0 4px 14px rgba(23, 37, 51, 0.18);
52
+ font-size: 12px;
53
+ font-weight: 400;
54
+ color: #172533;
55
+ transition: opacity 0.15s ease, visibility 0.15s ease;
56
+
57
+ &::before {
58
+ content: '';
59
+ position: absolute;
60
+ bottom: 100%;
61
+ left: 50%;
62
+ transform: translateX(-50%);
63
+ border: 5px solid transparent;
64
+ border-bottom-color: #fff;
65
+ }
66
+ }
67
+
68
+ &:hover {
69
+ background: #f0f2f5;
70
+
71
+ .scene-context-menu-item-text {
72
+ visibility: visible;
73
+ opacity: 1;
74
+ }
75
+ }
76
+
77
+ &.active {
78
+ background: var(--co-inphoto-accent-color);
79
+
80
+ @include cfg.default-icon(25px, 25px, #fff);
81
+
82
+ &:hover {
83
+ background: var(--co-inphoto-accent-color);
84
+ }
85
+ }
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
@@ -0,0 +1,8 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-scene-context-menu-theme') {
4
+ .co-scene-context-menu {
5
+
6
+ }
7
+ }
8
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -0,0 +1,49 @@
1
+ @use '../../../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-inpaint-info-card-layout') {
4
+ .co-inpaint-info-card {
5
+ flex: 1;
6
+
7
+ .inpaint-info-container {
8
+ display: flex;
9
+ justify-content: space-between;
10
+
11
+ .number-container {
12
+ width: 40px;
13
+ height: 40px;
14
+ border-radius: 50%;
15
+ display: flex;
16
+ justify-self: center;
17
+ align-items: center;
18
+ justify-content: space-around;
19
+ background: var(--co-inphoto-accent-color);
20
+ color: var(--co-inphoto-icon-color-light);
21
+ }
22
+
23
+ .col-right {
24
+ box-sizing: border-box;
25
+ padding: 0 4px 4px 15px;
26
+
27
+ .card-icon {
28
+ width: 50px;
29
+ height: 50px;
30
+ background: var(--co-inphoto-info-dialog-icon-bg);
31
+ display: flex;
32
+ align-items: center;
33
+ justify-content: space-around;
34
+ margin-bottom: 10px;
35
+ border-radius: 4px;
36
+ }
37
+
38
+ .card-title {
39
+ @include cfg.sub-header-text();
40
+ margin-bottom: 10px;
41
+ }
42
+
43
+ .card-description {
44
+ @include cfg.text()
45
+ }
46
+ }
47
+ }
48
+ }
49
+ }
@@ -0,0 +1,3 @@
1
+ :root {
2
+ --co-inphoto-info-dialog-icon-bg: #EEE;
3
+ }
@@ -0,0 +1,10 @@
1
+ @use '../../../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-inpaint-info-card-theme') {
4
+ .co-inpaint-info-card {
5
+
6
+ }
7
+ }
8
+
9
+
10
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -0,0 +1,52 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-segment-inpaint-layout') {
4
+ .co-segment-inpaint {
5
+ .segment-inpaint-container {
6
+ width: 100%;
7
+ height: 100%;
8
+ box-sizing: border-box;
9
+ padding: 0;
10
+ margin: 0;
11
+ position: relative;
12
+ }
13
+
14
+ .inpaint-info-dialog-container {
15
+ position: absolute;
16
+ z-index: 10000;
17
+ bottom: 20%;
18
+ left: calc(50% - 490px);
19
+ background: var(--co-inphoto-dialog-background-color);
20
+ width: 100%;
21
+ max-width: 980px;
22
+ box-sizing: border-box;
23
+ padding: 20px 20px 30px;
24
+ border-radius: var(--co-inphoto-border-radius);
25
+
26
+ .inpaint-info-dialog-header {
27
+ display: flex;
28
+ justify-content: space-between;
29
+ box-sizing: border-box;
30
+ padding: 10px 0 25px;
31
+
32
+ .dialog-header {
33
+ @include cfg.sub-header-text()
34
+ }
35
+
36
+ .close-click {
37
+ cursor: pointer;
38
+ }
39
+ }
40
+
41
+ .dialog-content {
42
+ display: flex;
43
+ justify-content: space-between;
44
+
45
+ .arrow-next {
46
+ width: 50px;
47
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
48
+ }
49
+ }
50
+ }
51
+ }
52
+ }
@@ -0,0 +1,11 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-segment-inpaint-theme') {
4
+ .co-segment-inpaint {
5
+
6
+
7
+ }
8
+ }
9
+
10
+
11
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -1,40 +1,45 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-side-bar-menu-layout') {
3
+ @include cfg.export-module('co-side-bar-menu-layout') {
4
4
  .co-side-bar-menu {
5
- .lib-menu-bar {
6
- position: absolute;
7
- // todo revert tot 1
5
+ .side-bar-menu {
6
+ position: fixed;
7
+ background-color: #fff;
8
8
  z-index: 5;
9
- width: 50px;
9
+ width: 85px;
10
10
  top: 0;
11
11
  left: 0;
12
12
  height: 100vh;
13
13
 
14
- .lib-menu-bar-item {
15
- width: 50px;
16
- height: 50px;
14
+ .side-bar-menu-item {
15
+ width: 85px;
16
+ min-height: 85px;
17
17
  display: flex;
18
+ flex-direction: column;
18
19
  align-items: center;
19
20
  justify-content: center;
20
21
  cursor: pointer;
21
22
  position: relative;
22
23
 
23
- .lib-menu-tooltip {
24
- position: absolute;
25
- top: 0;
26
- left: -250px;
27
- box-sizing: border-box;
28
- padding: 0 10px;
29
- line-height: 50px;
24
+ @include cfg.default-icon(25px, 25px, #333);
25
+
26
+ .side-bar-menu-text {
27
+ font-size: 13px;
28
+ text-align: center;
30
29
  }
31
30
 
32
31
  &:hover {
33
- .lib-menu-tooltip {
34
- left: 50px;
35
- }
32
+ @include cfg.default-icon(25px, 25px, #da9803);
36
33
  }
37
34
  }
35
+
36
+ .side-bar-menu-item-active {
37
+ @include cfg.default-icon(25px, 25px, #da9803);
38
+ }
39
+
40
+ .side-bar-menu-item-disabled {
41
+ @include cfg.default-icon(25px, 25px, #eee);
42
+ }
38
43
  }
39
44
  }
40
45
  }
@@ -1,19 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-side-bar-menu-theme') {
4
- .co-side-bar-menu {
5
- .lib-menu-bar {
6
- background-color: var(--co-inphoto-loader-background-dark);
3
+ @include cfg.export-module('co-side-bar-menu-theme') {
7
4
 
8
- .lib-menu-bar-item {
9
- .lib-menu-tooltip {
10
- background-color: var(--co-inphoto-loader-background-dark);
11
- color: var(--co-inphoto-color-light);
12
- }
13
-
14
- @include default-icon(40px, 40px, #fff);
15
- }
16
- }
17
- }
18
5
  }
19
6
 
@@ -0,0 +1,38 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-threed-to-ai-layout') {
4
+ .threed-to-ai-container {
5
+ position: absolute;
6
+ bottom: 30px;
7
+ right: 30px;
8
+ box-sizing: border-box;
9
+ padding: 20px;
10
+ background: var(--co-inphoto-dialog-background-color);
11
+ border-radius: var(--co-inphoto-border-radius);
12
+ display: flex;
13
+ align-items: center;
14
+ cursor: pointer;
15
+
16
+ .threed-to-ai-icon {
17
+ margin-right: 10px;
18
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color))
19
+ }
20
+
21
+ .threed-to-ai-body {
22
+ .threed-to-ai-body-head {
23
+ font-weight: bold;
24
+ font-size: var(--co-inphoto-font-size-text);
25
+ }
26
+
27
+ .threed-to-ai-body-text {
28
+ font-size: var(--co-inphoto-font-size-label);
29
+ }
30
+ }
31
+
32
+ &:hover {
33
+ .threed-to-ai-icon {
34
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-color))
35
+ }
36
+ }
37
+ }
38
+ }
@@ -0,0 +1,6 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-threed-to-ai-theme') {
4
+
5
+ }
6
+
@@ -0,0 +1,3 @@
1
+ @use './_material-definition.scss';
2
+ @use './_layout.scss';
3
+ @use './_theme.scss';
@@ -1,50 +1,21 @@
1
- @import "../../../style/mixin.scss";
2
-
3
- @include export-module('co-threedscene-layout') {
4
- .co-threedscene {
5
-
6
-
7
- .co-product-configurator {
8
- .product-configurator-container {
9
- top: 10px;
10
- height: calc(100% - 20px);
11
- max-height: calc(100% - 20px);
12
- border: 1px solid #000;
13
-
14
- .product-configurator-details {
15
- overflow-x: hidden;
16
- }
17
- }
18
- }
19
-
1
+ @use '../../../style' as cfg;
20
2
 
3
+ @include cfg.export-module('co-inphoto-threed-scene-layout') {
4
+ .co-inphoto-threed-scene {
21
5
  .threed-container {
22
- display: flex;
23
- gap: 20px;
24
-
25
6
  .scene-container {
26
- width: 70%;
27
-
28
7
  .three-container {
29
8
  width: 100%;
30
9
  height: 100%;
31
- min-height: 500px;
32
- }
33
- }
34
- }
35
-
36
- .scene-info-container {
37
- width: 30%;
38
-
39
- .info-container {
40
- box-sizing: border-box;
41
- padding: 10px;
42
-
43
- .header-icon-container {
44
- margin-bottom: 10px;
45
- display: flex;
46
- align-items: center;
47
- gap: 10px;
10
+ min-height: 100vh;
11
+ min-width: 100vw;
12
+
13
+ canvas {
14
+ width: 100%;
15
+ height: 100%;
16
+ min-height: 100vh;
17
+ min-width: 100vw;
18
+ }
48
19
  }
49
20
  }
50
21
  }
@@ -1,38 +1,8 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-threedscene-theme') {
4
- .co-threedscene {
5
- .scene-info-container {
6
- .info-container {
7
- .header-icon-container {
8
- margin-bottom: 10px;
9
- h2 {
10
- font-size: var(--co-inphoto-font-size-head);
11
- color: var(--co-inphoto-color-dark);
12
- }
13
- }
3
+ @include cfg.export-module('co-inphoto-threed-scene-theme') {
4
+ .co-inphoto-threed-scene {
14
5
 
15
- p {
16
- font-size: var(--co-inphoto-font-size-label);
17
- color: var(--co-inphoto-color-dark);
18
- }
19
-
20
- .action-button {
21
- margin: 20px 0;
22
- @include action-button(
23
- var(--co-inphoto-action-button-background),
24
- var(--co-inphoto-action-button-background),
25
- var(--co-inphoto-action-button-color),
26
- var(--co-inphoto-action-button-font-size),
27
- var(--co-inphoto-action-button-icon-size),
28
- var(--co-inphoto-action-button-icon-color),
29
- var(--co-inphoto-action-button-border),
30
- var(--co-inphoto-action-button-radius),
31
- var(--co-inphoto-action-button-padding)
32
- )
33
- }
34
- }
35
- }
36
6
  }
37
7
  }
38
8