@colijnit/inphoto 262.1.1 → 300.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 (147) hide show
  1. package/assets/inphoto-select-all.png +0 -0
  2. package/assets/inphoto-single-select.png +0 -0
  3. package/fesm2022/colijnit-inphoto.mjs +5126 -1933
  4. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  5. package/icons/angle_down_solid_full.svg +1 -0
  6. package/icons/angle_up_solid_full.svg +1 -0
  7. package/icons/arrow_left_solid_full.svg +1 -0
  8. package/icons/arrow_right_solid_full.svg +1 -0
  9. package/icons/arrow_rotate_left_solid_full.svg +1 -0
  10. package/icons/arrow_up_from_bracket_solid.svg +1 -0
  11. package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
  12. package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
  13. package/icons/brush_solid_full.svg +1 -0
  14. package/icons/caret_down_solid_full.svg +1 -0
  15. package/icons/caret_up_solid_full.svg +1 -0
  16. package/icons/check_solid_full.svg +1 -0
  17. package/icons/circle_info_regular_full.svg +1 -0
  18. package/icons/cloud_arrow_up_regular.svg +1 -0
  19. package/icons/copy_light.svg +1 -0
  20. package/icons/couch_solid_full.svg +1 -0
  21. package/icons/cross_skinny.svg +1 -0
  22. package/icons/cube_regular_full.svg +1 -0
  23. package/icons/draw_square_regular.svg +1 -0
  24. package/icons/eraser_regular.svg +1 -0
  25. package/icons/eraser_solid_full.svg +1 -0
  26. package/icons/file_vector_light.svg +1 -0
  27. package/icons/fill_solid_full.svg +1 -0
  28. package/icons/grip_dots_vertical_solid.svg +1 -0
  29. package/icons/grip_vertical_sharp_solid.svg +1 -0
  30. package/icons/image_circle_arrow_down_solid_full.svg +1 -0
  31. package/icons/image_circle_xmark_solid_full.svg +1 -0
  32. package/icons/image_solid_full.svg +1 -0
  33. package/icons/images_sharp_solid_full.svg +1 -0
  34. package/icons/info_solid_full.svg +1 -0
  35. package/icons/lightbulb_regular_full.svg +1 -0
  36. package/icons/paintbrush_regular.svg +1 -0
  37. package/icons/pen_to_square_solid_full.svg +1 -0
  38. package/icons/rotate_left_sharp_solid_full.svg +1 -0
  39. package/icons/rotate_solid_full.svg +1 -0
  40. package/icons/save_skinny.svg +3 -0
  41. package/icons/scale.svg +1 -0
  42. package/icons/sharp_regular_object_group_pen.svg +1 -0
  43. package/icons/sparkles_regular_full.svg +1 -0
  44. package/icons/trash_can_light.svg +1 -0
  45. package/icons/up_down_left_right_solid_full.svg +1 -0
  46. package/icons/upload_solid_full.svg +1 -0
  47. package/icons/wand_magic_sparkles.svg +1 -0
  48. package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
  49. package/icons/xmark_solid_full.svg +1 -0
  50. package/index.d.ts +817 -334
  51. package/lib/component/ai-prompt/style/_layout.scss +125 -0
  52. package/lib/component/ai-prompt/style/_theme.scss +9 -0
  53. package/lib/component/back-next-buttons/style/_layout.scss +2 -2
  54. package/lib/component/back-next-buttons/style/_theme.scss +32 -22
  55. package/lib/component/canvas-tool-bar/style/_layout.scss +129 -0
  56. package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
  57. package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
  58. package/lib/component/catalog/style/_layout.scss +8 -35
  59. package/lib/component/catalog/style/_material-definition.scss +2 -1
  60. package/lib/component/catalog/style/_theme.scss +41 -7
  61. package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
  62. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
  63. package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
  64. package/lib/component/edit-canvas/style/_layout.scss +10 -38
  65. package/lib/component/edit-canvas/style/_theme.scss +2 -27
  66. package/lib/component/error-dialog/style/_layout.scss +5 -6
  67. package/lib/component/error-dialog/style/_theme.scss +2 -2
  68. package/lib/component/image-enhancer/style/_layout.scss +51 -15
  69. package/lib/component/image-enhancer/style/_theme.scss +12 -12
  70. package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
  71. package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
  72. package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
  73. package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
  74. package/lib/component/image-history/style/_layout.scss +52 -13
  75. package/lib/component/image-history/style/_theme.scss +19 -7
  76. package/lib/component/image-history-tile/style/_layout.scss +46 -32
  77. package/lib/component/image-history-tile/style/_theme.scss +4 -4
  78. package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +44 -0
  79. package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
  80. package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
  81. package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
  82. package/lib/component/image-process-complete/style/_layout.scss +50 -0
  83. package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
  84. package/lib/component/image-process-complete/style/_theme.scss +61 -0
  85. package/lib/component/image-process-complete/style/material.scss +3 -0
  86. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
  87. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
  88. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
  89. package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
  90. package/lib/component/image-tile/style/_layout.scss +100 -0
  91. package/lib/component/image-tile/style/_material-definition.scss +3 -0
  92. package/lib/component/image-tile/style/_theme.scss +8 -0
  93. package/lib/component/image-tile/style/material.scss +3 -0
  94. package/lib/component/image-upload/style/_layout.scss +34 -18
  95. package/lib/component/image-upload/style/_material-definition.scss +3 -3
  96. package/lib/component/image-upload/style/_theme.scss +29 -20
  97. package/lib/component/inphoto/style/_layout.scss +2 -10
  98. package/lib/component/inphoto/style/_theme.scss +2 -2
  99. package/lib/component/photo-editor/style/_layout.scss +19 -24
  100. package/lib/component/photo-editor/style/_theme.scss +2 -2
  101. package/lib/component/prepare-starting-image/style/_layout.scss +106 -24
  102. package/lib/component/prepare-starting-image/style/_theme.scss +2 -65
  103. package/lib/component/process-loader/style/_layout.scss +50 -16
  104. package/lib/component/process-loader/style/_theme.scss +2 -12
  105. package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
  106. package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
  107. package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
  108. package/lib/component/ready-to-add-articles/style/material.scss +3 -0
  109. package/lib/component/scene-context-menu/style/_layout.scss +90 -0
  110. package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
  111. package/lib/component/scene-context-menu/style/_theme.scss +8 -0
  112. package/lib/component/scene-context-menu/style/material.scss +3 -0
  113. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
  114. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
  115. package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
  116. package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
  117. package/lib/component/segment-inpaint/style/_layout.scss +52 -0
  118. package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
  119. package/lib/component/segment-inpaint/style/_theme.scss +11 -0
  120. package/lib/component/segment-inpaint/style/material.scss +3 -0
  121. package/lib/component/side-bar-menu/style/_layout.scss +24 -19
  122. package/lib/component/side-bar-menu/style/_theme.scss +2 -15
  123. package/lib/component/threed-to-ai/style/_layout.scss +38 -0
  124. package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
  125. package/lib/component/threed-to-ai/style/_theme.scss +6 -0
  126. package/lib/component/threed-to-ai/style/material.scss +3 -0
  127. package/lib/component/threedscene/style/_layout.scss +12 -41
  128. package/lib/component/threedscene/style/_theme.scss +3 -33
  129. package/lib/component/upload-starting-image/style/_layout.scss +40 -31
  130. package/lib/component/upload-starting-image/style/_theme.scss +31 -13
  131. package/lib/style/_index.scss +2 -0
  132. package/lib/style/_mixin.scss +28 -0
  133. package/lib/style/_variables.scss +38 -33
  134. package/lib/style/inphoto-globals.scss +15 -0
  135. package/package.json +6 -6
  136. package/lib/component/model-list/style/_layout.scss +0 -7
  137. package/lib/component/model-list/style/_theme.scss +0 -10
  138. package/lib/component/model-list-item/style/_material-definition.scss +0 -4
  139. package/lib/component/model-list-item/style/_theme.scss +0 -10
  140. package/lib/component/step-menu/style/_layout.scss +0 -43
  141. package/lib/component/step-menu/style/_material-definition.scss +0 -7
  142. package/lib/component/step-menu/style/_theme.scss +0 -44
  143. package/lib/style/app-globals.scss +0 -26
  144. /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
  145. /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
  146. /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
  147. /package/lib/component/{step-menu → configuration-side-bar-menu}/style/material.scss +0 -0
@@ -1,42 +1,124 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-prepare-starting-image-layout') {
3
+ @include cfg.export-module('co-prepare-starting-image-layout') {
4
4
  .co-prepare-starting-image {
5
5
  .prepare-starting-image-container {
6
+ background-size: cover;
6
7
  display: flex;
7
- gap: 20px;
8
+ justify-content: space-around;
9
+ align-items: center;
10
+ width: 100%;
11
+ height: 100%;
12
+ min-height: 100vh;
8
13
 
9
- .prepare-starting-image-canvas-container {
10
- width: 70%;
11
- }
14
+ .prepare-starting-image-dialog {
15
+ width: 100%;
16
+ max-width: 815px;
17
+ background: var(--co-inphoto-dialog-background-color);
18
+ box-sizing: border-box;
19
+ padding: 25px 50px;
20
+ border-radius: var(--co-inphoto-border-radius);
21
+ position: relative;
12
22
 
13
- .prepare-info-container {
14
- width: 30%;
23
+ .close-click {
24
+ position: absolute;
25
+ right: 10px;
26
+ top: 10px;
27
+ }
15
28
 
16
- .info-container {
17
- box-sizing: border-box;
18
- padding: 10px;
29
+ .prepare-starting-dialog-header {
30
+ display: flex;
31
+ justify-self: center;
32
+ flex-direction: column;
33
+ align-items: center;
34
+ margin-bottom: 30px;
35
+ text-align: center;
36
+ max-width: 500px;
19
37
 
20
- .header-icon-container {
21
- margin-bottom: 10px;
22
- display: flex;
23
- align-items: center;
24
- gap: 10px;
38
+ .header-icon {
39
+ margin: 0 0 15px;
40
+ @include cfg.default-icon(var(--co-inphoto-icon-header), var(--co-inphoto-icon-header), var(--co-inphoto-accent-color));
25
41
  }
26
42
 
27
- .main-action-buttons {
28
- display: flex;
29
- justify-content: space-between;
43
+ .header-text {
44
+ @include cfg.header-text;
45
+ }
46
+
47
+ .explain-text {
48
+ @include cfg.sub-header-light();
49
+ }
50
+ }
51
+
52
+ .dialog-container {
53
+ display: grid;
54
+ grid-gap: 15px;
55
+ grid-template-columns: repeat(2, minmax(100px, .5fr));
56
+
57
+ .button-container {
58
+ border-radius: var(--co-inphoto-border-radius);
59
+ background: #fff;
60
+ border: 1px solid var(--co-inphoto-border-color);
61
+ box-sizing: border-box;
62
+ padding: 15px 15px 25px;
63
+ text-align: center;
64
+ cursor: pointer;
65
+
66
+ .image-container {
67
+ min-width: 100%;
68
+ min-height: 200px;
69
+ display: flex;
70
+ align-items: center;
71
+ align-content: center;
72
+ text-align: center;
73
+ background: #eee;
74
+ border-right: 5px;
30
75
 
31
- .remove-all-button, .make-selection-button {
32
- min-width: 45%;
76
+ img {
77
+ width: 100%;
78
+ height: 100%;
79
+ object-fit: contain;
80
+ border-radius: 5px;
81
+ }
82
+ }
83
+
84
+ .button-container-text-container {
85
+ box-sizing: border-box;
86
+ padding: 0 10px;
87
+
88
+ .tile-head {
89
+ @include cfg.sub-header-text();
90
+ margin-bottom: 10px;
91
+ }
92
+
93
+ .tile-text {
94
+ @include cfg.text();
95
+ }
96
+ }
97
+
98
+
99
+ &:hover {
100
+ border-color: var(--co-inphoto-accent-color);
33
101
  }
34
102
  }
35
103
  }
36
104
 
37
- .co-button.disabled {
38
- cursor: not-allowed;
39
- opacity: 0.5;
105
+ .prepare-starting-image-button-container {
106
+ margin-top: 25px;
107
+
108
+ .inphoto-cancel-button {
109
+ display: block;
110
+ box-sizing: border-box;
111
+ max-width: 230px;
112
+ text-align: center;
113
+ margin: 10px auto;
114
+ cursor: pointer;
115
+ background-color: var(--co-inphoto-button-background);
116
+ color: var(--co-inphoto-button-color);
117
+ font-size: var(--co-inphoto-button-font-size);
118
+ border: var(--co-inphoto-button-border);
119
+ border-radius: var(--co-inphoto-action-button-radius);
120
+ padding: 10px 15px;
121
+ }
40
122
  }
41
123
  }
42
124
  }
@@ -1,71 +1,8 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-prepare-starting-image-theme') {
3
+ @include cfg.export-module('co-prepare-starting-image-theme') {
4
4
  .co-prepare-starting-image {
5
- .prepare-starting-image-container {
6
- .prepare-info-container {
7
- .info-container {
8
- .header-icon-container {
9
- margin-bottom: 10px;
10
5
 
11
- h2 {
12
- font-size: var(--co-inphoto-font-size-head);
13
- color: var(--co-inphoto-color-dark);
14
- }
15
- }
16
-
17
- p {
18
- font-size: var(--co-inphoto-font-size-label);
19
- color: var(--co-inphoto-color-dark);
20
- }
21
- }
22
-
23
- .action-button {
24
- margin: 20px 0;
25
- @include action-button(
26
- var(--co-inphoto-action-button-background),
27
- var(--co-inphoto-action-button-background),
28
- var(--co-inphoto-action-button-color),
29
- var(--co-inphoto-action-button-font-size),
30
- var(--co-inphoto-action-button-icon-size),
31
- var(--co-inphoto-action-button-icon-color),
32
- var(--co-inphoto-action-button-border),
33
- var(--co-inphoto-action-button-radius),
34
- var(--co-inphoto-action-button-padding))
35
- }
36
-
37
- .remove-all-button, .make-selection-button {
38
- margin: 20px 0;
39
- @include action-button(
40
- var(--co-inphoto-action-button-background),
41
- var(--co-inphoto-action-button-background),
42
- var(--co-inphoto-action-button-color),
43
- var(--co-inphoto-action-button-font-size),
44
- var(--co-inphoto-action-button-icon-size),
45
- var(--co-inphoto-action-button-icon-color),
46
- var(--co-inphoto-action-button-border),
47
- var(--co-inphoto-action-button-radius),
48
- var(--co-inphoto-action-button-padding)
49
- )
50
- }
51
-
52
- .process-button {
53
- margin: 20px 0;
54
- @include action-button(
55
- var(--co-inphoto-action-button-background),
56
- var(--co-inphoto-action-button-background),
57
- var(--co-inphoto-action-button-color),
58
- var(--co-inphoto-action-button-font-size),
59
- var(--co-inphoto-action-button-icon-size),
60
- var(--co-inphoto-action-button-icon-color),
61
- var(--co-inphoto-action-button-border),
62
- var(--co-inphoto-action-button-radius),
63
- var(--co-inphoto-action-button-padding)
64
- )
65
- }
66
-
67
- }
68
- }
69
6
  }
70
7
  }
71
8
 
@@ -1,15 +1,14 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-process-loader-layout') {
3
+ @include cfg.export-module('co-process-loader-layout') {
4
4
  .co-process-loader {
5
-
6
5
  .loader-wrapper {
7
6
  position: fixed;
8
7
  inset: 0;
9
8
  display: flex;
10
9
  align-items: center;
11
10
  justify-content: center;
12
- z-index: 50;
11
+ z-index: 101;
13
12
  }
14
13
 
15
14
  .loader-container {
@@ -17,22 +16,57 @@
17
16
  display: flex;
18
17
  flex-direction: column;
19
18
  align-items: center;
20
- width: 250px;
21
- padding: 20px;
22
- border-radius: 10px;
23
-
24
- .loader-estimated-time {
25
- span {
26
- font-size: var(--co-inphoto-font-size-label);
27
- margin-right: 5px;
19
+ width: 550px;
20
+ padding: 45px;
21
+ border-radius: var(--co-inphoto-border-radius);
22
+ background: var(--co-inphoto-dialog-background-color);
23
+
24
+ .loading-icon {
25
+ width: 100px;
26
+ height: 100px;
27
+ display: flex;
28
+ justify-content: space-around;
29
+ align-items: center;
30
+ border-radius: 50%;
31
+ background: var(--co-inphoto-header-icon-background);
32
+ @include cfg.default-icon(60px, 60px, var(--co-inphoto-success-color));
33
+ }
34
+
35
+ .loading-text-carousel {
36
+ margin-top: 30px;
37
+ width: 450px;
38
+ height: 60px;
39
+ overflow: hidden;
40
+ }
41
+
42
+ .loading-text-track {
43
+ display: flex;
44
+ flex-direction: column;
45
+ transform: translateY(calc(var(--active, 0) * 60px * -1));
46
+ transition: transform 0.5s ease-in-out;
47
+
48
+ &.no-transition {
49
+ transition: none;
28
50
  }
29
51
  }
52
+
53
+ .loading-text-item {
54
+ flex: 0 0 auto;
55
+ height: 60px;
56
+ display: flex;
57
+ align-items: center;
58
+ justify-content: center;
59
+ text-align: center;
60
+ white-space: normal;
61
+ font-size: var(--co-inphoto-font-size-head);
62
+ font-weight: bold;
63
+ }
30
64
  }
31
65
 
32
- .percentage {
33
- display: flex;
34
- align-items: center;
35
- justify-content: center;
66
+ @media (prefers-reduced-motion: reduce) {
67
+ .loading-text-track {
68
+ transition: none;
69
+ }
36
70
  }
37
71
  }
38
72
  }
@@ -1,6 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-process-loader-theme') {
3
+ @include cfg.export-module('co-process-loader-theme') {
4
4
  .co-process-loader {
5
5
 
6
6
  .loader-wrapper {
@@ -10,16 +10,6 @@
10
10
  .loader-container {
11
11
  background: #fff;
12
12
  }
13
-
14
- .percentage {
15
- font-size: var(--co-inphoto-font-size-sub-head);
16
- font-weight: 600;
17
- }
18
-
19
- p {
20
- margin-top: 16px;
21
- font-size: var(--co-inphoto-font-size-base);
22
- }
23
13
  }
24
14
  }
25
15
 
@@ -0,0 +1,65 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ready-to-add-articles-layout') {
4
+ .co-ready-to-add-articles {
5
+ .ready-to-add-articles-container {
6
+ position: absolute;
7
+ left: 135px;
8
+ top: 100px;
9
+ box-sizing: border-box;
10
+ max-width: 450px;
11
+
12
+ .ready-to-add-article-top {
13
+ display: flex;
14
+ box-sizing: border-box;
15
+ justify-content: space-between;
16
+
17
+ .top-left-container {
18
+ width: 20%;
19
+
20
+ .icon-container {
21
+ border-radius: 50%;
22
+ height: 50px;
23
+ width: 50px;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: space-around;
27
+ }
28
+ }
29
+
30
+ .top-right-container {
31
+ margin-left: 20px;
32
+ max-width: 80%;
33
+ }
34
+
35
+ .top-close-container {
36
+ .co-icon {
37
+ cursor: pointer;
38
+ }
39
+ }
40
+ }
41
+
42
+ .ready-to-add-article-bottom {
43
+ display: flex;
44
+ box-sizing: border-box;
45
+ justify-content: space-between;
46
+
47
+ .bottom-left-container {
48
+ .icon-container {
49
+ border-radius: 50%;
50
+ height: 35px;
51
+ width: 35px;
52
+ display: flex;
53
+ align-items: center;
54
+ justify-content: space-around;
55
+ }
56
+ }
57
+
58
+ .bottom-right-container {
59
+ margin-left: auto;
60
+ max-width: 85%;
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
@@ -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';