@colijnit/inphoto 300.1.8 → 300.1.10

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 +7227 -5920
  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 +604 -377
  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 +116 -63
  43. package/lib/component/canvas-tool-bar/style/_material-definition.scss +43 -37
  44. package/lib/component/canvas-tool-bar/style/_theme.scss +119 -108
  45. package/lib/component/catalog/style/_layout.scss +68 -68
  46. package/lib/component/catalog/style/_material-definition.scss +26 -22
  47. package/lib/component/catalog/style/_theme.scss +43 -43
  48. package/lib/component/edit-canvas/style/_layout.scss +90 -85
  49. package/lib/component/edit-canvas/style/_material-definition.scss +19 -25
  50. package/lib/component/edit-canvas/style/_theme.scss +24 -61
  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 +10 -8
  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 +43 -37
  61. package/lib/component/image-enhancer/style/_material-definition.scss +16 -13
  62. package/lib/component/image-enhancer/style/_theme.scss +42 -45
  63. package/lib/component/image-enhancer-style/style/_layout.scss +148 -65
  64. package/lib/component/image-enhancer-style/style/_material-definition.scss +42 -16
  65. package/lib/component/image-enhancer-style/style/_theme.scss +182 -120
  66. package/lib/component/image-enhancer-upload/style/_layout.scss +53 -48
  67. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
  68. package/lib/component/image-enhancer-upload/style/_theme.scss +64 -66
  69. package/lib/component/image-history/style/_layout.scss +55 -57
  70. package/lib/component/image-history/style/_material-definition.scss +18 -20
  71. package/lib/component/image-history/style/_theme.scss +20 -25
  72. package/lib/component/image-history-tile/style/_layout.scss +53 -53
  73. package/lib/component/image-history-tile/style/_material-definition.scss +17 -15
  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 +85 -84
  79. package/lib/component/image-overlay/style/_material-definition.scss +24 -21
  80. package/lib/component/image-overlay/style/_theme.scss +40 -40
  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 +102 -102
  86. package/lib/component/image-tile/style/_material-definition.scss +19 -18
  87. package/lib/component/image-tile/style/_theme.scss +58 -58
  88. package/lib/component/image-upload/style/_layout.scss +97 -93
  89. package/lib/component/image-upload/style/_material-definition.scss +35 -35
  90. package/lib/component/image-upload/style/_theme.scss +99 -103
  91. package/lib/component/marker/style/_layout.scss +29 -30
  92. package/lib/component/marker/style/_material-definition.scss +12 -12
  93. package/lib/component/marker/style/_theme.scss +31 -30
  94. package/lib/component/marker/style/material.scss +3 -3
  95. package/lib/component/photo-editor/style/_layout.scss +77 -38
  96. package/lib/component/photo-editor/style/_material-definition.scss +17 -8
  97. package/lib/component/photo-editor/style/_theme.scss +15 -0
  98. package/lib/component/prepare-starting-image/style/_layout.scss +97 -34
  99. package/lib/component/prepare-starting-image/style/_material-definition.scss +19 -11
  100. package/lib/component/prepare-starting-image/style/_theme.scss +14 -3
  101. package/lib/component/process-loader/style/_layout.scss +75 -74
  102. package/lib/component/process-loader/style/_material-definition.scss +41 -24
  103. package/lib/component/process-loader/style/_theme.scss +128 -128
  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 +69 -59
  109. package/lib/component/scene-context-menu/style/_material-definition.scss +32 -27
  110. package/lib/component/scene-context-menu/style/_theme.scss +62 -57
  111. package/lib/component/segment-inpaint/style/_layout.scss +96 -51
  112. package/lib/component/segment-inpaint/style/_material-definition.scss +23 -11
  113. package/lib/component/segment-inpaint/style/_theme.scss +79 -29
  114. package/lib/component/side-bar-menu/style/_layout.scss +30 -26
  115. package/lib/component/side-bar-menu/style/_material-definition.scss +13 -12
  116. package/lib/component/side-bar-menu/style/_theme.scss +32 -32
  117. package/lib/component/side-panel/style/_layout.scss +48 -45
  118. package/lib/component/side-panel/style/_material-definition.scss +17 -16
  119. package/lib/component/side-panel/style/_theme.scss +36 -39
  120. package/lib/component/step-tile/style/_layout.scss +66 -50
  121. package/lib/component/step-tile/style/_material-definition.scss +20 -20
  122. package/lib/component/step-tile/style/_theme.scss +68 -78
  123. package/lib/component/threedscene/style/_layout.scss +67 -57
  124. package/lib/component/threedscene/style/_material-definition.scss +16 -12
  125. package/lib/component/threedscene/style/_theme.scss +55 -17
  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 -6
  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
@@ -1,85 +1,90 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-edit-canvas-layout') {
4
- .co-edit-canvas {
5
- .edit-canvas-container {
6
- position: var(--co-inphoto-edit-canvas-position-relative);
7
- width: var(--co-inphoto-edit-canvas-full-size);
8
- height: var(--co-inphoto-edit-canvas-container-height);
9
-
10
- .canvas-container {
11
- position: var(--co-inphoto-edit-canvas-position-relative);
12
- width: var(--co-inphoto-edit-canvas-full-size);
13
- height: var(--co-inphoto-edit-canvas-full-size);
14
- display: flex;
15
- justify-content: center;
16
- align-items: flex-start;
17
-
18
- .canvas-frame {
19
- display: inline-flex;
20
- padding: var(--co-inphoto-edit-canvas-frame-padding);
21
- margin: var(--co-inphoto-edit-canvas-frame-margin);
22
- position: var(--co-inphoto-edit-canvas-position-relative);
23
-
24
- canvas {
25
- display: block;
26
- max-width: var(--co-inphoto-edit-canvas-full-size);
27
- max-height: var(--co-inphoto-edit-canvas-canvas-max-height);
28
- }
29
- }
30
-
31
- .close-canvas-button, .open-canvas-button {
32
- position: var(--co-inphoto-edit-canvas-position-absolute);
33
- cursor: pointer;
34
- }
35
-
36
- .close-canvas-button {
37
- top: var(--co-inphoto-edit-canvas-button-offset);
38
- right: var(--co-inphoto-edit-canvas-button-offset);
39
- }
40
-
41
- .open-canvas-button {
42
- bottom: var(--co-inphoto-edit-canvas-button-offset);
43
- right: var(--co-inphoto-edit-canvas-button-offset);
44
- }
45
-
46
- }
47
-
48
- .canvas-container.canvas-full-screen {
49
- position: var(--co-inphoto-edit-canvas-position-fixed);
50
- top: var(--co-inphoto-edit-canvas-zero);
51
- left: var(--co-inphoto-edit-canvas-zero);
52
- width: var(--co-inphoto-edit-canvas-full-size);
53
- height: var(--co-inphoto-edit-canvas-full-size);
54
- z-index: var(--co-inphoto-edit-canvas-fullscreen-z-index);
55
- overflow: hidden;
56
- }
57
-
58
- .segmentation-object-label {
59
- position: var(--co-inphoto-edit-canvas-position-absolute);
60
- pointer-events: none;
61
- transform: var(--co-inphoto-edit-canvas-label-transform);
62
- white-space: nowrap;
63
- z-index: var(--co-inphoto-edit-canvas-label-z-index);
64
- }
65
-
66
- // Zoom
67
- .canvas-zoom-control {
68
- position: var(--co-inphoto-edit-canvas-position-absolute);
69
- display: flex;
70
- justify-content: space-around;
71
- align-items: center;
72
- bottom: var(--co-inphoto-edit-canvas-zoom-control-bottom);
73
- left: var(--co-inphoto-edit-canvas-zoom-control-left);
74
- }
75
-
76
-
77
- &.canvas-disabled {
78
- cursor: not-allowed;
79
- canvas {
80
- cursor: not-allowed;
81
- }
82
- }
83
- }
84
- }
85
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-edit-canvas-layout') {
4
+ .co-edit-canvas {
5
+ .edit-canvas-container {
6
+ position: var(--co-inphoto-edit-canvas-position-relative);
7
+ width: var(--co-inphoto-edit-canvas-full-size);
8
+
9
+ .canvas-container {
10
+ position: var(--co-inphoto-edit-canvas-position-relative);
11
+ width: var(--co-inphoto-edit-canvas-full-size);
12
+ height: var(--co-inphoto-edit-canvas-full-size);
13
+ display: flex;
14
+ justify-content: center;
15
+ align-items: flex-start;
16
+
17
+ .canvas-frame {
18
+ display: flex;
19
+ justify-content: center;
20
+ padding: var(--co-inphoto-edit-canvas-frame-padding);
21
+ margin: var(--co-inphoto-edit-canvas-frame-margin);
22
+ position: var(--co-inphoto-edit-canvas-position-relative);
23
+ width: 100%;
24
+
25
+ canvas {
26
+ display: block;
27
+ max-width: var(--co-inphoto-edit-canvas-full-size);
28
+ max-height: var(--co-inphoto-edit-canvas-canvas-max-height);
29
+ }
30
+ }
31
+
32
+ .close-canvas-button, .open-canvas-button {
33
+ position: var(--co-inphoto-edit-canvas-position-absolute);
34
+ cursor: pointer;
35
+ }
36
+
37
+ .close-canvas-button {
38
+ top: var(--co-inphoto-edit-canvas-button-offset);
39
+ right: var(--co-inphoto-edit-canvas-button-offset);
40
+ }
41
+
42
+ .open-canvas-button {
43
+ bottom: var(--co-inphoto-edit-canvas-button-offset);
44
+ right: var(--co-inphoto-edit-canvas-button-offset);
45
+ }
46
+
47
+ }
48
+
49
+ .canvas-container.canvas-full-screen {
50
+ position: var(--co-inphoto-edit-canvas-position-fixed);
51
+ top: var(--co-inphoto-edit-canvas-zero);
52
+ left: var(--co-inphoto-edit-canvas-zero);
53
+ width: var(--co-inphoto-edit-canvas-full-size);
54
+ height: var(--co-inphoto-edit-canvas-full-size);
55
+ z-index: var(--co-inphoto-edit-canvas-fullscreen-z-index);
56
+ overflow: hidden;
57
+ }
58
+
59
+ .segmentation-object-label {
60
+ position: var(--co-inphoto-edit-canvas-position-absolute);
61
+ pointer-events: none;
62
+ transform: var(--co-inphoto-edit-canvas-label-transform);
63
+ white-space: nowrap;
64
+ z-index: var(--co-inphoto-edit-canvas-label-z-index);
65
+ padding: var(--co-inphoto-edit-canvas-label-padding);
66
+ }
67
+
68
+ &.canvas-disabled {
69
+ cursor: not-allowed;
70
+
71
+ canvas {
72
+ cursor: not-allowed;
73
+ }
74
+ }
75
+ }
76
+
77
+ &.fit-to-container {
78
+ display: block;
79
+ height: var(--co-inphoto-edit-canvas-full-size);
80
+
81
+ .edit-canvas-container {
82
+ height: var(--co-inphoto-edit-canvas-full-size);
83
+
84
+ .canvas-container {
85
+ overflow: hidden;
86
+ }
87
+ }
88
+ }
89
+ }
90
+ }
@@ -1,25 +1,19 @@
1
- .co-edit-canvas {
2
- --co-inphoto-edit-canvas-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-edit-canvas-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-edit-canvas-position-relative: relative;
5
- --co-inphoto-edit-canvas-position-absolute: absolute;
6
- --co-inphoto-edit-canvas-position-fixed: fixed;
7
- --co-inphoto-edit-canvas-full-size: 100%;
8
- --co-inphoto-edit-canvas-container-height: 100vh;
9
- --co-inphoto-edit-canvas-zero: 0;
10
- --co-inphoto-edit-canvas-frame-padding: 20px;
11
- --co-inphoto-edit-canvas-frame-margin: 20px;
12
- --co-inphoto-edit-canvas-canvas-max-height: calc(100vh - 40px);
13
- --co-inphoto-edit-canvas-button-offset: 20px;
14
- --co-inphoto-edit-canvas-fullscreen-z-index: 1000;
15
- --co-inphoto-edit-canvas-label-transform: translate(-50%, calc(-100% - 12px));
16
- --co-inphoto-edit-canvas-label-background: rgba(0, 0, 0, 0.75);
17
- --co-inphoto-edit-canvas-label-padding: 4px 8px;
18
- --co-inphoto-edit-canvas-label-radius: 4px;
19
- --co-inphoto-edit-canvas-label-font-size: 12px;
20
- --co-inphoto-edit-canvas-label-z-index: 10;
21
- --co-inphoto-edit-canvas-zoom-control-bottom: 25px;
22
- --co-inphoto-edit-canvas-zoom-control-left: 100px;
23
- --co-inphoto-edit-canvas-zoom-control-padding: 8px;
24
- --co-inphoto-edit-canvas-zoom-button-height: 40px;
25
- }
1
+ .co-edit-canvas {
2
+ --co-inphoto-edit-canvas-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-edit-canvas-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-edit-canvas-position-relative: relative;
5
+ --co-inphoto-edit-canvas-position-absolute: absolute;
6
+ --co-inphoto-edit-canvas-position-fixed: fixed;
7
+ --co-inphoto-edit-canvas-full-size: 100%;
8
+ --co-inphoto-edit-canvas-zero: 0;
9
+ --co-inphoto-edit-canvas-frame-padding: 20px;
10
+ --co-inphoto-edit-canvas-frame-margin: 20px;
11
+ --co-inphoto-edit-canvas-canvas-max-height: calc(100vh - 40px);
12
+ --co-inphoto-edit-canvas-button-offset: 20px;
13
+ --co-inphoto-edit-canvas-fullscreen-z-index: 1000;
14
+ --co-inphoto-edit-canvas-label-transform: translate(-50%, calc(-100% - 12px));
15
+ --co-inphoto-edit-canvas-label-background: rgba(0, 0, 0, 0.75);
16
+ --co-inphoto-edit-canvas-label-padding: 4px 8px;
17
+ --co-inphoto-edit-canvas-label-radius: 4px;
18
+ --co-inphoto-edit-canvas-label-z-index: 10;
19
+ }
@@ -1,61 +1,24 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-edit-canvas-theme') {
4
- .co-edit-canvas {
5
- font-family: var(--co-inphoto-edit-canvas-font-family);
6
- font-size: var(--co-inphoto-edit-canvas-font-size-text);
7
-
8
- .canvas-container {
9
- background: var(--co-inphoto-background-white);
10
-
11
- .canvas-frame {
12
- background: var(--co-inphoto-background-white);
13
- box-shadow: var(--co-inphoto-container-box-shadow);
14
- }
15
- }
16
-
17
- .segmentation-object-label {
18
- background: var(--co-inphoto-edit-canvas-label-background);
19
- color: var(--co-inphoto-color-light);
20
- padding: var(--co-inphoto-edit-canvas-label-padding);
21
- border-radius: var(--co-inphoto-edit-canvas-label-radius);
22
- font-size: var(--co-inphoto-edit-canvas-label-font-size);
23
- }
24
-
25
- // Zoom
26
- .canvas-zoom-control {
27
- padding: var(--co-inphoto-edit-canvas-zoom-control-padding);
28
- border-radius: var(--co-inphoto-border-radius);
29
- background: var(--co-inphoto-dialog-background-color);
30
-
31
- .zoom-input-wrapper {
32
- .co-input-text {
33
- @include cfg.text();
34
-
35
- }
36
- .co-input-text:not(.no-style) {
37
- input {
38
- text-align: center;
39
- align-self: center;
40
- padding: var(--co-inphoto-edit-canvas-zero);
41
- }
42
- }
43
- }
44
-
45
- .co-button {
46
- @include cfg.action-button(
47
- var(--co-inphoto-button-background),
48
- var(--co-inphoto-button-background),
49
- var(--co-inphoto-button-color),
50
- var(--co-inphoto-icon-size-small),
51
- var(--co-inphoto-button-icon-size),
52
- var(--co-inphoto-button-icon-color),
53
- var(--co-inphoto-button-border),
54
- var(--co-inphoto-button-radius),
55
- var(--co-inphoto-edit-canvas-zero));
56
-
57
- height: var(--co-inphoto-edit-canvas-zoom-button-height);
58
- }
59
- }
60
- }
61
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-edit-canvas-theme') {
4
+ .co-edit-canvas {
5
+ font-family: var(--co-inphoto-edit-canvas-font-family);
6
+ font-size: var(--co-inphoto-edit-canvas-font-size-text);
7
+
8
+ .canvas-container {
9
+ background: var(--co-inphoto-background-white);
10
+ .canvas-frame {
11
+ background: var(--co-inphoto-background-white);
12
+ box-shadow: var(--co-inphoto-container-box-shadow);
13
+ }
14
+ }
15
+
16
+ .segmentation-object-label {
17
+ background: var(--co-inphoto-edit-canvas-label-background);
18
+ color: var(--co-inphoto-color-light);
19
+ border-radius: var(--co-inphoto-edit-canvas-label-radius);
20
+ font-size: var(--co-inphoto-edit-canvas-font-size-text);
21
+ }
22
+
23
+ }
24
+ }
@@ -1,36 +1,36 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-error-dialog-layout') {
4
- .co-error-dialog {
5
-
6
- .error-dialog {
7
- position: var(--co-inphoto-error-dialog-position);
8
- inset: var(--co-inphoto-error-dialog-inset);
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- z-index: var(--co-inphoto-error-dialog-z-index);
13
-
14
- .error-dialog-container {
15
- padding: var(--co-inphoto-error-dialog-container-padding);
16
- max-width: var(--co-inphoto-error-dialog-container-max-width);
17
- width: var(--co-inphoto-error-dialog-container-width);
18
-
19
- .error-dialog-header {
20
- display: flex;
21
- align-items: center;
22
- justify-content: space-between;
23
- margin-bottom: var(--co-inphoto-error-dialog-header-margin-bottom);
24
-
25
- h3 {
26
- margin: var(--co-inphoto-error-dialog-header-title-margin);
27
- }
28
-
29
- .co-button {
30
- cursor: pointer;
31
- }
32
- }
33
- }
34
- }
35
- }
36
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-error-dialog-layout') {
4
+ .co-error-dialog {
5
+
6
+ .error-dialog {
7
+ position: var(--co-inphoto-error-dialog-position);
8
+ inset: var(--co-inphoto-error-dialog-inset);
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ z-index: var(--co-inphoto-error-dialog-z-index);
13
+
14
+ .error-dialog-container {
15
+ padding: var(--co-inphoto-error-dialog-container-padding);
16
+ max-width: var(--co-inphoto-error-dialog-container-max-width);
17
+ width: var(--co-inphoto-error-dialog-container-width);
18
+
19
+ .error-dialog-header {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: space-between;
23
+ margin-bottom: var(--co-inphoto-error-dialog-header-margin-bottom);
24
+
25
+ h3 {
26
+ margin: var(--co-inphoto-error-dialog-header-title-margin);
27
+ }
28
+
29
+ .co-button {
30
+ cursor: pointer;
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
@@ -1,12 +1,12 @@
1
- .co-error-dialog {
2
- --co-inphoto-error-dialog-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-error-dialog-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-error-dialog-position: fixed;
5
- --co-inphoto-error-dialog-inset: 0;
6
- --co-inphoto-error-dialog-z-index: 120;
7
- --co-inphoto-error-dialog-container-padding: 20px;
8
- --co-inphoto-error-dialog-container-max-width: 550px;
9
- --co-inphoto-error-dialog-container-width: 100%;
10
- --co-inphoto-error-dialog-header-margin-bottom: 5px;
11
- --co-inphoto-error-dialog-header-title-margin: 0;
12
- }
1
+ .co-error-dialog {
2
+ --co-inphoto-error-dialog-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-error-dialog-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-error-dialog-position: fixed;
5
+ --co-inphoto-error-dialog-inset: 0;
6
+ --co-inphoto-error-dialog-z-index: 120;
7
+ --co-inphoto-error-dialog-container-padding: 20px;
8
+ --co-inphoto-error-dialog-container-max-width: 550px;
9
+ --co-inphoto-error-dialog-container-width: 100%;
10
+ --co-inphoto-error-dialog-header-margin-bottom: 5px;
11
+ --co-inphoto-error-dialog-header-title-margin: 0;
12
+ }
@@ -1,17 +1,17 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-error-dialog-theme') {
4
- .co-error-dialog {
5
- font-family: var(--co-inphoto-error-dialog-font-family);
6
- font-size: var(--co-inphoto-error-dialog-font-size-text);
7
-
8
- .error-dialog {
9
- background: var(--co-inphoto-loader-background-dark);
10
-
11
- .error-dialog-container {
12
- background: var(--co-inphoto-dialog-background-color);
13
- border-radius: var(--co-inphoto-border-radius);
14
- }
15
- }
16
- }
17
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-error-dialog-theme') {
4
+ .co-error-dialog {
5
+ font-family: var(--co-inphoto-error-dialog-font-family);
6
+ font-size: var(--co-inphoto-error-dialog-font-size-text);
7
+
8
+ .error-dialog {
9
+ background: var(--co-inphoto-loader-background-dark);
10
+
11
+ .error-dialog-container {
12
+ background: var(--co-inphoto-dialog-background-color);
13
+ border-radius: var(--co-inphoto-border-radius);
14
+ }
15
+ }
16
+ }
17
+ }
@@ -1,20 +1,20 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-header-layout') {
4
- .co-header {
5
- .header-container {
6
- display: flex;
7
- justify-content: space-between;
8
- padding: var(--co-inphoto-header-padding);
9
-
10
- .header-icon {
11
- width: var(--co-inphoto-header-icon-size);
12
- height: var(--co-inphoto-header-icon-size);
13
- display: flex;
14
- justify-content: space-around;
15
- align-items: center;
16
- margin-right: var(--co-inphoto-header-icon-margin-right);
17
- }
18
- }
19
- }
20
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-header-layout') {
4
+ .co-header {
5
+ .header-container {
6
+ display: flex;
7
+ justify-content: space-between;
8
+ padding: var(--co-inphoto-header-padding);
9
+
10
+ .header-icon {
11
+ width: var(--co-inphoto-header-icon-size);
12
+ height: var(--co-inphoto-header-icon-size);
13
+ display: flex;
14
+ justify-content: space-around;
15
+ align-items: center;
16
+ margin-right: var(--co-inphoto-header-icon-margin-right);
17
+ }
18
+ }
19
+ }
20
+ }
@@ -1,8 +1,10 @@
1
- .co-header {
2
- --co-inphoto-header-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-header-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-header-padding: 25px 0 30px;
5
- --co-inphoto-header-icon-size: 50px;
6
- --co-inphoto-header-icon-radius: 50%;
7
- --co-inphoto-header-icon-margin-right: 15px;
8
- }
1
+ .co-header {
2
+ --co-inphoto-header-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-header-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-header-padding: 0 0 15px 0;
5
+ --co-inphoto-header-icon-size: 50px;
6
+ --co-inphoto-header-icon-radius: 50%;
7
+ --co-inphoto-header-icon-margin-right: 15px;
8
+ --co-inphoto-header-head-font-weight: 600;
9
+ --co-inphoto-header-head-line-height: 175%;
10
+ }
@@ -12,7 +12,10 @@
12
12
 
13
13
  .header-info {
14
14
  .head {
15
- @include cfg.header-text();
15
+ font-size: var(--co-inphoto-font-size-extra-large);
16
+ color: var(--co-inphoto-color-dark);
17
+ font-weight: var(--co-inphoto-header-head-font-weight);
18
+ line-height: var(--co-inphoto-header-head-line-height);
16
19
  }
17
20
 
18
21
  .text {
@@ -0,0 +1,13 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-2d-placement-layout') {
4
+ .co-image-2d-placement {
5
+ position: var(--co-inphoto-image-2d-placement-position);
6
+ z-index: var(--co-inphoto-image-2d-placement-z-index);
7
+
8
+ canvas {
9
+ display: block;
10
+ cursor: var(--co-inphoto-image-2d-placement-canvas-cursor);
11
+ }
12
+ }
13
+ }
@@ -0,0 +1,7 @@
1
+ .co-image-2d-placement {
2
+ --co-inphoto-image-2d-placement-font-family: var(--co-inphoto-font-family);
3
+ --co-inphoto-image-2d-placement-font-size-text: var(--co-inphoto-font-size-text);
4
+ --co-inphoto-image-2d-placement-position: absolute;
5
+ --co-inphoto-image-2d-placement-z-index: 5;
6
+ --co-inphoto-image-2d-placement-canvas-cursor: grab;
7
+ }
@@ -0,0 +1,8 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-2d-placement-theme') {
4
+ .co-image-2d-placement {
5
+ font-family: var(--co-inphoto-image-2d-placement-font-family);
6
+ font-size: var(--co-inphoto-image-2d-placement-font-size-text);
7
+ }
8
+ }
@@ -1,37 +1,43 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-layout') {
4
- .co-image-enhancer {
5
- .enhancer-container {
6
- height: var(--co-inphoto-image-enhancer-container-height);
7
- position: var(--co-inphoto-image-enhancer-position-relative);
8
- display: flex;
9
- flex-direction: column;
10
-
11
-
12
- .enhancer-scroll-container {
13
- flex: 1 1 auto;
14
- min-height: 0;
15
- overflow-y: auto;
16
- scroll-behavior: smooth;
17
- scrollbar-width: none;
18
- -ms-overflow-style: none;
19
- padding-bottom: var(--co-inphoto-image-enhancer-scroll-padding-bottom);
20
- &::-webkit-scrollbar {
21
- display: none;
22
- }
23
-
24
- .enhancer-body {
25
-
26
- .tabs {
27
- align-items: center;
28
- display: grid;
29
- grid-template-columns: repeat(2, 1fr);
30
- height: var(--co-inphoto-image-enhancer-tab-height);
31
- align-content: end;
32
- }
33
- }
34
- }
35
- }
36
- }
37
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-enhancer-layout') {
4
+ .co-image-enhancer {
5
+ .enhancer-container {
6
+ height: var(--co-inphoto-image-enhancer-container-height);
7
+ padding: var(--co-inphoto-image-enhancer-container-padding);
8
+ position: var(--co-inphoto-image-enhancer-position-relative);
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+
13
+ .enhancer-scroll-container {
14
+ flex: 1 1 auto;
15
+ min-height: var(--co-inphoto-image-enhancer-scroll-container-min-height);
16
+ overflow-y: auto;
17
+ scroll-behavior: smooth;
18
+ scrollbar-width: none;
19
+ -ms-overflow-style: none;
20
+ padding-bottom: var(--co-inphoto-image-enhancer-scroll-padding-bottom);
21
+ &::-webkit-scrollbar {
22
+ display: none;
23
+ }
24
+
25
+ .enhancer-body {
26
+
27
+ .tabs {
28
+ align-items: center;
29
+ display: grid;
30
+ grid-template-columns: var(--co-inphoto-image-enhancer-tabs-columns);
31
+ height: var(--co-inphoto-image-enhancer-tab-height);
32
+ align-content: end;
33
+
34
+ .tab-button {
35
+ padding: var(--co-inphoto-image-enhancer-tab-button-padding);
36
+ height: var(--co-inphoto-image-enhancer-tab-button-height);
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }