@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,125 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ai-prompt-layout') {
4
+ .co-ai-prompt {
5
+ .custom-prompt-container {
6
+ margin: 20px auto;
7
+ background: var(--co-inphoto-background-white);
8
+ border-radius: var(--co-inphoto-border-radius);
9
+ box-sizing: border-box;
10
+ padding: 15px;
11
+
12
+ .custom-height {
13
+ height: 100px;
14
+ overflow: hidden;
15
+ .input-textarea-wrapper {
16
+ label {
17
+ top: 20%;
18
+ }
19
+ }
20
+ }
21
+
22
+ .hasvalue {
23
+ .input-textarea-wrapper {
24
+ label {
25
+ top: 5%;
26
+ }
27
+ }
28
+ }
29
+
30
+ .prompt-head {
31
+ @include cfg.sub-header-text();
32
+ }
33
+
34
+ .prompt-text {
35
+ @include cfg.text();
36
+ margin-bottom: 10px;
37
+ }
38
+
39
+ .prompt-mode {
40
+ margin: 10px auto;
41
+ display: flex;
42
+ align-items: center;
43
+
44
+ .prompt-mode-text {
45
+ font-size: var(--co-inphoto-font-size-label);
46
+ .active {
47
+ font-weight: bold;
48
+ }
49
+
50
+ .spacer {
51
+ margin: 0 4px;
52
+ color: #CCC;
53
+ }
54
+ }
55
+
56
+ .prompt-mode-switch {
57
+ margin-right: 15px;
58
+
59
+ .switch {
60
+ position: relative;
61
+ display: inline-block;
62
+ width: 44px;
63
+ height: 24px;
64
+
65
+ input {
66
+ opacity: 0;
67
+ width: 0;
68
+ height: 0;
69
+
70
+ &:checked + .slider {
71
+ background-color: var(--co-inphoto-accent-color);
72
+
73
+ &:before {
74
+ -webkit-transform: translateX(20px);
75
+ -ms-transform: translateX(20px);
76
+ transform: translateX(20px);
77
+ }
78
+ }
79
+
80
+ &:focus + .slider {
81
+ box-shadow: 0 0 1px var(--co-inphoto-accent-color);
82
+ }
83
+ }
84
+ }
85
+
86
+ .slider {
87
+ position: absolute;
88
+ cursor: pointer;
89
+ top: 0;
90
+ left: 0;
91
+ right: 0;
92
+ bottom: 0;
93
+ background-color: #ccc;
94
+ transition: 0.4s;
95
+
96
+ &:before {
97
+ position: absolute;
98
+ content: "";
99
+ height: 16px;
100
+ width: 16px;
101
+ left: 4px;
102
+ bottom: 4px;
103
+ background-color: white;
104
+ transition: 0.4s;
105
+ }
106
+
107
+ &.round {
108
+ border-radius: 34px;
109
+
110
+ &:before {
111
+ border-radius: 50%;
112
+ }
113
+ }
114
+ }
115
+ }
116
+ }
117
+
118
+
119
+ .required-input-empty {
120
+ border: 1px solid #dc3545;
121
+ background-color: rgba(220, 53, 69, 0.25);
122
+ }
123
+ }
124
+ }
125
+ }
@@ -0,0 +1,9 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ai-prompt-theme') {
4
+ .co-ai-prompt {
5
+ }
6
+ }
7
+
8
+
9
+
@@ -1,6 +1,6 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-back-next-buttons-layout') {
3
+ @include cfg.export-module('co-back-next-buttons-layout') {
4
4
  .co-back-next-buttons {
5
5
  .info-navigation-buttons {
6
6
  display: flex;
@@ -1,34 +1,45 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-back-next-buttons-theme') {
3
+ @include cfg.export-module('co-back-next-buttons-theme') {
4
4
  .co-back-next-buttons {
5
5
  .info-navigation-buttons {
6
6
  .back-button {
7
7
  min-width: 150px;
8
- @include action-button(
9
- var(--co-inphoto-prev-button-background),
10
- var(--co-inphoto-prev-button-background),
11
- var(--co-inphoto-prev-button-color),
12
- var(--co-inphoto-prev-button-font-size),
13
- var(--co-inphoto-prev-button-icon-size),
14
- var(--co-inphoto-prev-button-icon-color),
15
- var(--co-inphoto-prev-button-border),
16
- var(--co-inphoto-prev-button-radius),
17
- var(--co-inphoto-prev-button-padding))
8
+ @include cfg.action-button(
9
+ var(--co-inphoto-button-background),
10
+ var(--co-inphoto-button-background),
11
+ var(--co-inphoto-button-color),
12
+ var(--co-inphoto-button-font-size),
13
+ var(--co-inphoto-button-icon-size),
14
+ var(--co-inphoto-button-icon-color),
15
+ var(--co-inphoto-button-border),
16
+ var(--co-inphoto-button-radius),
17
+ var(--co-inphoto-button-padding)
18
+ );
19
+
20
+ .label {
21
+ margin-left: 15px;
22
+ }
18
23
  }
19
24
 
20
25
  .next-button, .generate-button {
26
+ margin-left: auto;
21
27
  min-width: 300px;
22
- @include action-button(
23
- var(--co-inphoto-next-button-background),
24
- var(--co-inphoto-next-button-background),
25
- var(--co-inphoto-next-button-color),
26
- var(--co-inphoto-next-button-font-size),
27
- var(--co-inphoto-next-button-icon-size),
28
- var(--co-inphoto-next-button-icon-color),
29
- var(--co-inphoto-next-button-border),
30
- var(--co-inphoto-next-button-radius),
31
- var(--co-inphoto-next-button-padding))
28
+ font-weight: bold;
29
+ @include cfg.action-button(
30
+ var(--co-inphoto-action-button-background),
31
+ var(--co-inphoto-action-button-background),
32
+ var(--co-inphoto-action-button-color),
33
+ var(--co-inphoto-action-button-font-size),
34
+ var(--co-inphoto-action-button-icon-size),
35
+ var(--co-inphoto-action-button-icon-color),
36
+ var(--co-inphoto-action-button-border),
37
+ var(--co-inphoto-action-button-radius),
38
+ var(--co-inphoto-action-button-padding));
39
+
40
+ .label {
41
+ margin-left: 15px;
42
+ }
32
43
  }
33
44
  }
34
45
 
@@ -0,0 +1,135 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-canvas-tool-bar-layout') {
4
+ .co-canvas-tool-bar {
5
+ .canvas-toolbar {
6
+ display: flex;
7
+ align-items: center;
8
+ background: var(--co-inphoto-dialog-background-color);
9
+ position: absolute;
10
+ top: 50px;
11
+ left: calc(50% - 400px);
12
+ z-index: 100;
13
+ border-radius: var(--co-inphoto-border-radius);
14
+ box-sizing: border-box;
15
+ padding: 15px 15px 15px 0;
16
+ justify-content: space-around;
17
+
18
+ .drag-indicator-icon {
19
+ cursor: grab;
20
+
21
+ &:active {
22
+ cursor: grabbing;
23
+ }
24
+
25
+ @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-text));
26
+ }
27
+
28
+ .modus-indicator, .tool-selection, .actions {
29
+ display: flex;
30
+ align-items: center;
31
+ margin: 0 10px;
32
+ }
33
+
34
+
35
+ .modus-indicator {
36
+ .modus-indicator-text {
37
+ @include cfg.sub-header-text();
38
+ margin-right: 10px;
39
+ }
40
+
41
+ .modus-indicator-info-icon {
42
+ .info-button {
43
+ @include cfg.default-icon(var(--co-inphoto-toolbar-info-icon-size), var(--co-inphoto-toolbar-info-icon-size), var(--co-inphoto-icon-color));
44
+ cursor: pointer;
45
+ }
46
+ }
47
+ }
48
+
49
+ .spacer {
50
+ color: var(--co-inphoto-toolbar-spacer-color);
51
+ font-size: 30px;
52
+ font-weight: lighter;
53
+ margin: 0 10px;
54
+ }
55
+
56
+ .tool-selection {
57
+ .brush-button, .eraser-button {
58
+ background-color: var(--co-inphoto-button-background);
59
+ color: var(--co-inphoto-button-color);
60
+ font-size: var(--co-inphoto-button-font-size);
61
+ border: var(--co-inphoto-button-border);
62
+ cursor: pointer;
63
+ padding: var(--co-inphoto-button-padding);
64
+ border-radius: var(--co-inphoto-button-radius);
65
+ margin: 0 4px;
66
+
67
+ .co-icon {
68
+ height: var(--co-inphoto-button-icon-size);
69
+ width: var(--co-inphoto-button-icon-size);
70
+
71
+ svg, path {
72
+ fill: var(--co-inphoto-button-icon-color);
73
+ }
74
+ }
75
+ }
76
+
77
+ .selected {
78
+ color: var(--co-inphoto-active-button-color);
79
+ background: var(--co-inphoto-active-button-background);
80
+ border: 1px solid var(--co-inphoto-active-button-background);
81
+
82
+ .co-icon {
83
+ svg, path {
84
+ fill: var(--co-inphoto-active-button-color);
85
+ }
86
+ }
87
+ }
88
+ }
89
+
90
+ .actions {
91
+ gap: 20px;
92
+
93
+ .cancel-button, .action-button {
94
+ display: flex;
95
+ align-content: center;
96
+ align-items: center;
97
+ cursor: pointer;
98
+ box-sizing: border-box;
99
+ }
100
+
101
+ .cancel-button {
102
+ background-color: transparent;
103
+ color: var(--co-inphoto-button-color);
104
+ font-size: var(--co-inphoto-button-font-size);
105
+ padding: var(--co-inphoto-button-padding);
106
+ font-weight: 500;
107
+ @include cfg.default-icon(var(--co-inphoto-button-icon-size), var(--co-inphoto-button-icon-size), var(--co-inphoto-button-icon-color));
108
+
109
+ .label {
110
+ margin-right: 10px;
111
+ }
112
+
113
+ }
114
+
115
+ .action-button {
116
+
117
+ @include cfg.action-button(
118
+ var(--co-inphoto-action-button-background),
119
+ var(--co-inphoto-action-button-background),
120
+ var(--co-inphoto-action-button-color),
121
+ var(--co-inphoto-action-button-font-size),
122
+ var(--co-inphoto-action-button-icon-size),
123
+ var(--co-inphoto-action-button-icon-color),
124
+ var(--co-inphoto-action-button-border),
125
+ var(--co-inphoto-action-button-radius),
126
+ var(--co-inphoto-action-button-padding));
127
+
128
+ .label {
129
+ margin-left: 10px;
130
+ }
131
+ }
132
+ }
133
+ }
134
+ }
135
+ }
@@ -0,0 +1,4 @@
1
+ :root {
2
+ --co-inphoto-toolbar-info-icon-size: 28px;
3
+ --co-inphoto-toolbar-spacer-color: #D9D9DF;
4
+ }
@@ -0,0 +1,11 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-canvas-tool-bar-theme') {
4
+ .co-canvas-tool-bar {
5
+
6
+
7
+ }
8
+ }
9
+
10
+
11
+
@@ -1,32 +1,23 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('cco-catalog-layout') {
3
+ @include cfg.export-module('cco-catalog-layout') {
4
4
  .co-catalog {
5
5
  .catalog-dialog {
6
- width: 100vw;
7
- height: 100vh;
6
+ z-index: 1;
8
7
  top: 0;
9
- left: 0;
8
+ left: 85px;
10
9
  right: 0;
11
10
  bottom: 0;
12
11
  position: absolute;
13
- z-index: 10;
14
- overflow: hidden;
15
- box-sizing: border-box;
12
+ overflow-y: scroll;
13
+ overflow-x: hidden;
16
14
 
17
15
  .catalog-container {
18
- background-color: var(--co-inphoto-dialog-background-color);
19
- width: 90vw;
20
- height: 90vh;
21
- max-height: 1000px;
22
- margin: 5vh auto;
23
- border-radius: 10px;
24
- overflow: hidden;
16
+ box-sizing: border-box;
25
17
 
26
18
  .catalog-dialog-wrapper {
27
19
  display: flex;
28
20
  align-items: center;
29
- padding: 10px;
30
21
 
31
22
  .back-button {
32
23
  display: flex;
@@ -37,23 +28,16 @@
37
28
  .close-button {
38
29
  display: flex;
39
30
  align-items: center;
40
- cursor: pointer;
41
- margin-left: auto;
42
31
  }
43
32
  }
44
33
 
45
34
  .catalog-body {
46
35
  box-sizing: border-box;
47
- padding: 20px;
48
- overflow-y: scroll;
49
36
  max-height: 100%;
50
37
 
51
38
  .catalog-tile-wrapper {
52
39
  display: grid;
53
- grid-template-columns: repeat(auto-fit, minmax(10px, 150px));
54
40
  overflow: hidden;
55
- padding: 0;
56
- grid-gap: 10px;
57
41
 
58
42
  .catalog-tile {
59
43
  cursor: pointer;
@@ -63,18 +47,7 @@
63
47
  height: 100%;
64
48
  width: 100%;
65
49
  min-height: 150px;
66
-
67
- p {
68
- display: block;
69
- text-overflow: ellipsis;
70
- overflow: hidden;
71
- white-space: nowrap;
72
- font-size: var(--ca-font-size);
73
- font-weight: bold;
74
- text-shadow: none;
75
- text-transform: capitalize;
76
- margin: 10px 0;
77
- }
50
+
78
51
  }
79
52
  }
80
53
  }
@@ -1,3 +1,4 @@
1
1
  :root {
2
- --co-photo-editor-background-color: #ffffff;
2
+ --co-photo-catalog-border-color: #ccc;
3
+
3
4
  }
@@ -1,13 +1,47 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-catalog-theme') {
3
+ @include cfg.export-module('co-catalog-theme') {
4
4
  .co-catalog {
5
5
  .catalog-dialog {
6
- background-color: var(--co-inphoto-loader-background-dark);
7
- .catalog-body {
8
- .catalog-tile-wrapper {
9
- .catalog-tile {
10
- @include default-icon(150px, 150px, var(--co-inphoto-icon-color));
6
+ background-color: var(--co-inphoto-dialog-background-color);
7
+ border-left: 1px solid var(--co-photo-catalog-border-color);
8
+
9
+ .catalog-container {
10
+ padding-left: 25px;
11
+
12
+ .catalog-dialog-wrapper {
13
+ padding: 10px;
14
+
15
+ .back-button {
16
+ align-items: center;
17
+ }
18
+
19
+ .close-button {
20
+ margin-left: auto;
21
+ }
22
+ }
23
+
24
+ .catalog-body {
25
+ max-height: 100%;
26
+
27
+ .catalog-tile-wrapper {
28
+ grid-template-columns: repeat(auto-fit, minmax(10px, 150px));
29
+ padding: 0;
30
+ grid-gap: 10px;
31
+
32
+ .catalog-tile {
33
+ p {
34
+ display: block;
35
+ text-overflow: ellipsis;
36
+ overflow: hidden;
37
+ white-space: nowrap;
38
+ font-size: var(--ca-font-size);
39
+ font-weight: bold;
40
+ text-shadow: none;
41
+ text-transform: capitalize;
42
+ margin: 10px 0;
43
+ }
44
+ }
11
45
  }
12
46
  }
13
47
  }
@@ -1,53 +1,35 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-model-list-item-layout') {
4
- .co-model-list-item {
5
-
6
- .model-item-container {
3
+ @include cfg.export-module('co-configuration-side-bar-menu-layout') {
4
+ co-configuration-side-bar-menu {
5
+ .configuration-side-bar-menu {
6
+ position: absolute;
7
+ top: 10px;
8
+ right: 10px;
9
+ width: 30%;
10
+ background: var(--co-inphoto-dialog-background-color);
11
+ border-radius: var(--co-inphoto-border-radius);
7
12
  box-sizing: border-box;
8
- padding: 10px;
9
- border: 1px solid var(--co-model-list-item-border-color);
10
- border-radius: var(--co-model-list-item-border-radius);
11
-
13
+ padding: 15px 25px;
12
14
 
13
- .header-collapsable {
15
+ .configuration-side-bar-header {
14
16
  display: flex;
15
17
  justify-content: space-between;
16
18
  align-items: center;
17
-
18
19
  .header {
19
- font-size: var(--co-inphoto-font-size-base);
20
+ font-size: var(--co-inphoto-font-size-text);
20
21
  font-weight: 600;
21
22
  }
22
-
23
- .header-icon {
24
- display: none;
23
+
24
+ .header-close {
25
+ cursor: pointer;
25
26
  }
26
-
27
- .header-icon-show {
28
- display: block;
29
- }
30
- }
31
-
32
- .collapsable-container {
33
- height: 0;
34
-
35
- overflow: hidden;
36
- transition: height 0.3s ease-in-out;
37
- }
38
-
39
- .collapsable-container.active {
40
- height: auto;
41
- min-height: 100px;
42
27
  }
43
28
 
44
29
  .slider-container {
45
30
  width: 100%;
46
- display: flex;
47
- justify-content: space-between;
48
-
49
31
  input {
50
- min-width: 70%;
32
+ width: 100%;
51
33
  }
52
34
  }
53
35
 
@@ -58,7 +40,7 @@
58
40
  align-items: center;
59
41
 
60
42
  .button-configure {
61
- @include action-button(
43
+ @include cfg.action-button(
62
44
  var(--co-inphoto-action-button-background),
63
45
  var(--co-inphoto-action-button-background),
64
46
  var(--co-inphoto-action-button-color),
@@ -71,7 +53,7 @@
71
53
  )
72
54
  }
73
55
  .button-remove {
74
- @include action-button(
56
+ @include cfg.action-button(
75
57
  var(--co-inphoto-action-button-background),
76
58
  var(--co-inphoto-action-button-background),
77
59
  var(--co-inphoto-action-button-color),
@@ -0,0 +1,10 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-configuration-side-bar-menu-theme') {
4
+ .co-configuration-side-bar-menu {
5
+
6
+ }
7
+ }
8
+
9
+
10
+
@@ -1,50 +1,21 @@
1
- @import "../../../style/mixin.scss";
1
+ @use '../../../style' as cfg;
2
2
 
3
- @include export-module('co-edit-canvas-layout') {
3
+ @include cfg.export-module('co-edit-canvas-layout') {
4
4
  .co-edit-canvas {
5
5
  .edit-canvas-container {
6
6
  position: relative;
7
- max-height: 100vh;
8
- overflow: scroll;
9
-
10
- .toolbar {
11
- display: flex;
12
- align-items: center;
13
- justify-content: space-between;
14
- width: 100%;
15
- max-width: 120px;
16
- position: absolute;
17
- top: 20px;
18
- left: calc(50% - 60px);
19
- z-index: 1;
20
- border-radius: 10px;
21
-
22
- .toolbar-item {
23
- border-radius: 10px;
24
- cursor: pointer;
25
- box-sizing: border-box;
26
- padding: 10px;
27
-
28
- .hidden-input {
29
- display: none;
30
- }
31
-
32
- .toolbar-item-option {
33
- position: absolute;
34
- top: 50px;
35
- box-sizing: border-box;
36
- padding: 10px;
37
- left: 0;
38
- border-radius: 10px;
39
- }
40
- }
41
- }
7
+ width: 100vw;
8
+ height: 100vh;
42
9
 
43
10
  .canvas-container {
44
11
  position: relative;
12
+ width: 100%;
13
+ height: 100%;
45
14
 
46
15
  canvas {
47
- max-width: 100%;
16
+ width: 100%;
17
+ height: 100%;
18
+ display: block;
48
19
  }
49
20
 
50
21
  canvas.object-picker {
@@ -78,6 +49,7 @@
78
49
  align-items: center;
79
50
  justify-content: center;
80
51
  overflow: hidden;
52
+
81
53
  canvas {
82
54
  max-height: 100%;
83
55
  }