@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.
- package/assets/inphoto-make-selection.jpg +0 -0
- package/assets/inphoto-redesign-ai.jpg +0 -0
- package/assets/inphoto-remove-all.jpg +0 -0
- package/assets/inphoto-select-all.png +0 -0
- package/assets/inphoto-single-select.png +0 -0
- package/fesm2022/colijnit-inphoto.mjs +5682 -2193
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/angle_down_solid_full.svg +1 -0
- package/icons/angle_up_solid_full.svg +1 -0
- package/icons/arrow_left_solid_full.svg +1 -0
- package/icons/arrow_right_solid_full.svg +1 -0
- package/icons/arrow_rotate_left_solid_full.svg +1 -0
- package/icons/arrow_up_from_bracket_solid.svg +1 -0
- package/icons/arrow_up_right_and_arrow_down_left_from_center_solid_full.svg +1 -0
- package/icons/arrow_up_to_bracket_duotone_regular.svg +1 -0
- package/icons/brush_solid_full.svg +1 -0
- package/icons/caret_down_solid_full.svg +1 -0
- package/icons/caret_up_solid_full.svg +1 -0
- package/icons/check_solid_full.svg +1 -0
- package/icons/circle_info_regular_full.svg +1 -0
- package/icons/cloud_arrow_up_regular.svg +1 -0
- package/icons/copy_light.svg +1 -0
- package/icons/couch_solid_full.svg +1 -0
- package/icons/cross_skinny.svg +1 -0
- package/icons/cube_regular_full.svg +1 -0
- package/icons/draw_square_regular.svg +1 -0
- package/icons/eraser_regular.svg +1 -0
- package/icons/eraser_solid_full.svg +1 -0
- package/icons/file_vector_light.svg +1 -0
- package/icons/fill_solid_full.svg +1 -0
- package/icons/grip_dots_vertical_solid.svg +1 -0
- package/icons/grip_vertical_sharp_solid.svg +1 -0
- package/icons/image_circle_arrow_down_solid_full.svg +1 -0
- package/icons/image_circle_xmark_solid_full.svg +1 -0
- package/icons/image_solid_full.svg +1 -0
- package/icons/images_sharp_solid_full.svg +1 -0
- package/icons/info_solid_full.svg +1 -0
- package/icons/lightbulb_regular_full.svg +1 -0
- package/icons/lock_solid_full.svg +1 -0
- package/icons/paintbrush_regular.svg +1 -0
- package/icons/pen_to_square_solid_full.svg +1 -0
- package/icons/rotate_left_sharp_solid_full.svg +1 -0
- package/icons/rotate_solid_full.svg +1 -0
- package/icons/save_skinny.svg +3 -0
- package/icons/scale.svg +1 -0
- package/icons/sharp_regular_object_group_pen.svg +1 -0
- package/icons/sparkles_regular_full.svg +1 -0
- package/icons/trash_can_light.svg +1 -0
- package/icons/up_down_left_right_solid_full.svg +1 -0
- package/icons/upload_solid_full.svg +1 -0
- package/icons/wand_magic_sparkles.svg +1 -0
- package/icons/wand_magic_sparkles_sharp_regular.svg +1 -0
- package/icons/xmark_solid_full.svg +1 -0
- package/index.d.ts +840 -342
- package/lib/component/ai-prompt/style/_layout.scss +125 -0
- package/lib/component/ai-prompt/style/_theme.scss +9 -0
- package/lib/component/back-next-buttons/style/_layout.scss +2 -2
- package/lib/component/back-next-buttons/style/_theme.scss +33 -22
- package/lib/component/canvas-tool-bar/style/_layout.scss +135 -0
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +4 -0
- package/lib/component/canvas-tool-bar/style/_theme.scss +11 -0
- package/lib/component/catalog/style/_layout.scss +8 -35
- package/lib/component/catalog/style/_material-definition.scss +2 -1
- package/lib/component/catalog/style/_theme.scss +41 -7
- package/lib/component/{model-list-item → configuration-side-bar-menu}/style/_layout.scss +19 -37
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +3 -0
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +10 -0
- package/lib/component/edit-canvas/style/_layout.scss +10 -38
- package/lib/component/edit-canvas/style/_theme.scss +2 -27
- package/lib/component/error-dialog/style/_layout.scss +5 -6
- package/lib/component/error-dialog/style/_theme.scss +2 -2
- package/lib/component/image-enhancer/style/_layout.scss +75 -18
- package/lib/component/image-enhancer/style/_theme.scss +26 -14
- package/lib/component/image-enhancer-style/style/_layout.scss +53 -6
- package/lib/component/image-enhancer-style/style/_theme.scss +26 -2
- package/lib/component/image-enhancer-upload/style/_layout.scss +8 -9
- package/lib/component/image-enhancer-upload/style/_theme.scss +36 -2
- package/lib/component/image-history/style/_layout.scss +114 -20
- package/lib/component/image-history/style/_theme.scss +19 -7
- package/lib/component/image-history-tile/style/_layout.scss +46 -32
- package/lib/component/image-history-tile/style/_theme.scss +4 -4
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +45 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +10 -0
- package/lib/component/image-process-complete/components/image-process-complete-next/style/material.scss +3 -0
- package/lib/component/image-process-complete/style/_layout.scss +56 -0
- package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/style/_theme.scss +66 -0
- package/lib/component/image-process-complete/style/material.scss +3 -0
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +17 -0
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +3 -0
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +12 -0
- package/lib/component/image-tile/components/color-palette-option/style/material.scss +3 -0
- package/lib/component/image-tile/style/_layout.scss +100 -0
- package/lib/component/image-tile/style/_material-definition.scss +3 -0
- package/lib/component/image-tile/style/_theme.scss +8 -0
- package/lib/component/image-tile/style/material.scss +3 -0
- package/lib/component/image-upload/style/_layout.scss +34 -18
- package/lib/component/image-upload/style/_material-definition.scss +3 -3
- package/lib/component/image-upload/style/_theme.scss +29 -20
- package/lib/component/inphoto/style/_layout.scss +2 -10
- package/lib/component/inphoto/style/_theme.scss +2 -2
- package/lib/component/photo-editor/style/_layout.scss +9 -24
- package/lib/component/photo-editor/style/_theme.scss +2 -2
- package/lib/component/prepare-starting-image/style/_layout.scss +82 -23
- package/lib/component/prepare-starting-image/style/_material-definition.scss +1 -3
- package/lib/component/prepare-starting-image/style/_theme.scss +108 -53
- package/lib/component/process-loader/style/_layout.scss +69 -14
- package/lib/component/process-loader/style/_material-definition.scss +3 -0
- package/lib/component/process-loader/style/_theme.scss +85 -9
- package/lib/component/ready-to-add-articles/style/_layout.scss +65 -0
- package/lib/component/ready-to-add-articles/style/_material-definition.scss +3 -0
- package/lib/component/ready-to-add-articles/style/_theme.scss +95 -0
- package/lib/component/ready-to-add-articles/style/material.scss +3 -0
- package/lib/component/scene-context-menu/style/_layout.scss +90 -0
- package/lib/component/scene-context-menu/style/_material-definition.scss +3 -0
- package/lib/component/scene-context-menu/style/_theme.scss +8 -0
- package/lib/component/scene-context-menu/style/material.scss +3 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +49 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +3 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +10 -0
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/material.scss +3 -0
- package/lib/component/segment-inpaint/style/_layout.scss +52 -0
- package/lib/component/segment-inpaint/style/_material-definition.scss +3 -0
- package/lib/component/segment-inpaint/style/_theme.scss +11 -0
- package/lib/component/segment-inpaint/style/material.scss +3 -0
- package/lib/component/side-bar-menu/style/_layout.scss +24 -19
- package/lib/component/side-bar-menu/style/_theme.scss +2 -15
- package/lib/component/threed-to-ai/style/_layout.scss +38 -0
- package/lib/component/threed-to-ai/style/_material-definition.scss +3 -0
- package/lib/component/threed-to-ai/style/_theme.scss +6 -0
- package/lib/component/threed-to-ai/style/material.scss +3 -0
- package/lib/component/threedscene/style/_layout.scss +12 -41
- package/lib/component/threedscene/style/_theme.scss +3 -33
- package/lib/component/upload-starting-image/style/_layout.scss +40 -31
- package/lib/component/upload-starting-image/style/_theme.scss +31 -13
- package/lib/style/_index.scss +2 -0
- package/lib/style/_mixin.scss +28 -0
- package/lib/style/_variables.scss +41 -35
- package/lib/style/inphoto-globals.scss +15 -0
- package/package.json +1 -1
- package/lib/component/model-list/style/_layout.scss +0 -7
- package/lib/component/model-list/style/_theme.scss +0 -10
- package/lib/component/model-list-item/style/_material-definition.scss +0 -4
- package/lib/component/model-list-item/style/_theme.scss +0 -10
- package/lib/component/step-menu/style/_layout.scss +0 -43
- package/lib/component/step-menu/style/_material-definition.scss +0 -7
- package/lib/component/step-menu/style/_theme.scss +0 -44
- package/lib/style/app-globals.scss +0 -26
- /package/lib/component/{model-list → ai-prompt}/style/_material-definition.scss +0 -0
- /package/lib/component/{model-list-item → ai-prompt}/style/material.scss +0 -0
- /package/lib/component/{model-list → canvas-tool-bar}/style/material.scss +0 -0
- /package/lib/component/{step-menu → configuration-side-bar-menu}/style/material.scss +0 -0
|
@@ -1,33 +1,8 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-edit-canvas-theme') {
|
|
3
|
+
@include cfg.export-module('co-edit-canvas-theme') {
|
|
4
4
|
.co-edit-canvas {
|
|
5
5
|
|
|
6
|
-
.edit-canvas-container {
|
|
7
|
-
.toolbar {
|
|
8
|
-
background-color: var(--co-inphoto-loader-background-light);
|
|
9
|
-
|
|
10
|
-
.toolbar-item {
|
|
11
|
-
.toolbar-item-option {
|
|
12
|
-
background: #fff;
|
|
13
|
-
}
|
|
14
|
-
|
|
15
|
-
&:hover {
|
|
16
|
-
background-color: rgba(255, 255, 255, 1);
|
|
17
|
-
}
|
|
18
|
-
}
|
|
19
|
-
}
|
|
20
|
-
|
|
21
|
-
.canvas-container {
|
|
22
|
-
.close-canvas-button, .open-canvas-button {
|
|
23
|
-
@include default-icon(30px, 30px, #fff);
|
|
24
|
-
}
|
|
25
|
-
}
|
|
26
|
-
|
|
27
|
-
.canvas-container.canvas-full-screen {
|
|
28
|
-
background-color: var(--co-inphoto-loader-background-dark);
|
|
29
|
-
}
|
|
30
|
-
}
|
|
31
6
|
}
|
|
32
7
|
}
|
|
33
8
|
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-error-dialog-layout') {
|
|
3
|
+
@include cfg.export-module('co-error-dialog-layout') {
|
|
4
4
|
.co-error-dialog {
|
|
5
5
|
|
|
6
6
|
.error-dialog {
|
|
@@ -9,13 +9,13 @@
|
|
|
9
9
|
display: flex;
|
|
10
10
|
align-items: center;
|
|
11
11
|
justify-content: center;
|
|
12
|
-
background:var(--co-inphoto-loader-background-dark);
|
|
12
|
+
background: var(--co-inphoto-loader-background-dark);
|
|
13
13
|
z-index: 120;
|
|
14
14
|
|
|
15
15
|
.error-dialog-container {
|
|
16
|
-
background:
|
|
16
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
17
17
|
padding: 20px;
|
|
18
|
-
border-radius:
|
|
18
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
19
19
|
max-width: 550px;
|
|
20
20
|
width: 100%;
|
|
21
21
|
|
|
@@ -35,6 +35,5 @@
|
|
|
35
35
|
}
|
|
36
36
|
}
|
|
37
37
|
}
|
|
38
|
-
|
|
39
38
|
}
|
|
40
39
|
}
|
|
@@ -1,38 +1,95 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-enhancer-layout') {
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-layout') {
|
|
4
4
|
.co-image-enhancer {
|
|
5
5
|
.image-enhancer-container {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
6
|
+
min-height: 0;
|
|
7
|
+
max-height: 90vh;
|
|
8
|
+
overflow-y: scroll;
|
|
9
|
+
scroll-behavior: smooth;
|
|
10
|
+
scrollbar-width: none;
|
|
11
|
+
-ms-overflow-style: none;
|
|
12
|
+
transition: max-height 0.5s;
|
|
13
|
+
|
|
14
|
+
&::-webkit-scrollbar {
|
|
15
|
+
display: none;
|
|
15
16
|
}
|
|
16
17
|
|
|
17
18
|
.tabs {
|
|
18
19
|
align-items: center;
|
|
19
20
|
display: grid;
|
|
20
|
-
grid-template-columns: repeat(
|
|
21
|
+
grid-template-columns: repeat(2, 1fr);
|
|
21
22
|
border-radius: 5px;
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
font-size: var(--font-size-small);
|
|
25
|
-
}
|
|
23
|
+
height: 60px;
|
|
24
|
+
align-content: end;
|
|
26
25
|
|
|
27
26
|
.tab-button {
|
|
28
27
|
box-sizing: border-box;
|
|
29
28
|
padding: 10px;
|
|
30
29
|
cursor: pointer;
|
|
31
30
|
height: 100%;
|
|
32
|
-
|
|
33
|
-
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dialog-collapse {
|
|
37
|
+
max-height: 55px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
.image-enhancer-header {
|
|
42
|
+
display: flex;
|
|
43
|
+
justify-content: space-between;
|
|
44
|
+
gap: 20px;
|
|
45
|
+
|
|
46
|
+
.drag-indicator-icon {
|
|
47
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
48
|
+
background: var(--co-inphoto-background-white);
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
padding: 10px;
|
|
51
|
+
cursor: grab;
|
|
52
|
+
|
|
53
|
+
&:active {
|
|
54
|
+
cursor: grabbing;
|
|
34
55
|
}
|
|
56
|
+
|
|
35
57
|
}
|
|
58
|
+
|
|
59
|
+
.collapse-menu {
|
|
60
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
61
|
+
background: var(--co-inphoto-background-white);
|
|
62
|
+
box-sizing: border-box;
|
|
63
|
+
padding: 10px;
|
|
64
|
+
cursor: pointer;
|
|
65
|
+
display: grid;
|
|
66
|
+
|
|
67
|
+
.collapse-menu-item {
|
|
68
|
+
grid-area: 1 / 1;
|
|
69
|
+
opacity: 0;
|
|
70
|
+
pointer-events: none;
|
|
71
|
+
transition: opacity 0.2s ease;
|
|
72
|
+
|
|
73
|
+
.collapse-menu-open, .collapse-close-open {
|
|
74
|
+
display: flex;
|
|
75
|
+
justify-content: space-between;
|
|
76
|
+
align-items: center;
|
|
77
|
+
|
|
78
|
+
.collapse-menu-text {
|
|
79
|
+
@include cfg.text();
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
|
|
86
|
+
.collapse-menu-active {
|
|
87
|
+
opacity: 1;
|
|
88
|
+
pointer-events: auto;
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
36
92
|
}
|
|
93
|
+
|
|
37
94
|
}
|
|
38
95
|
}
|
|
@@ -1,36 +1,48 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-enhancer-theme') {
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-theme') {
|
|
4
4
|
.co-image-enhancer {
|
|
5
|
+
.enhancer-container {
|
|
6
|
+
background: rgba(255, 255, 255, 0.9);
|
|
7
|
+
position: fixed;
|
|
8
|
+
top: 20px;
|
|
9
|
+
right: 20px;
|
|
10
|
+
width: 30%;
|
|
11
|
+
max-width: 30%;
|
|
12
|
+
box-sizing: border-box;
|
|
13
|
+
padding: 20px;
|
|
14
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
|
|
5
18
|
.image-enhancer-container {
|
|
6
19
|
.header {
|
|
7
20
|
.header-icon-container {
|
|
8
21
|
margin-bottom: 10px;
|
|
22
|
+
|
|
9
23
|
h2 {
|
|
10
|
-
|
|
11
|
-
color: var(--co-inphoto-color-dark);
|
|
24
|
+
@include cfg.header-text();
|
|
12
25
|
}
|
|
13
26
|
}
|
|
14
27
|
}
|
|
15
28
|
|
|
16
29
|
.tabs {
|
|
17
|
-
|
|
18
|
-
|
|
30
|
+
.instruction-dialog {
|
|
31
|
+
font-size: var(--font-size-small);
|
|
32
|
+
}
|
|
19
33
|
|
|
20
34
|
.tab-button {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
font-
|
|
25
|
-
border: 2px solid var(--co-inphoto-tab-border-color);
|
|
35
|
+
background: none;
|
|
36
|
+
@include cfg.sub-header-text();
|
|
37
|
+
border-bottom: 2px solid transparent;
|
|
38
|
+
font-weight: bold;
|
|
26
39
|
|
|
27
40
|
&:hover {
|
|
28
|
-
|
|
41
|
+
border-bottom-color: var(--co-inphoto-accent-color);
|
|
29
42
|
}
|
|
30
43
|
|
|
31
44
|
&.active {
|
|
32
|
-
|
|
33
|
-
color: var(--co-inphoto-tab-active-color);
|
|
45
|
+
border-bottom-color: var(--co-inphoto-accent-color);
|
|
34
46
|
}
|
|
35
47
|
}
|
|
36
48
|
}
|
|
@@ -1,20 +1,54 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-enhancer-style-layout') {
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-style-layout') {
|
|
4
4
|
.co-image-enhancer-style {
|
|
5
|
-
.form-part-container
|
|
5
|
+
.form-part-container {
|
|
6
6
|
margin: 20px auto;
|
|
7
7
|
}
|
|
8
8
|
|
|
9
9
|
.form-part-container {
|
|
10
10
|
.co-list-of-values {
|
|
11
11
|
height: 60px;
|
|
12
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
|
|
15
|
+
&:before, &:hover {
|
|
16
|
+
box-shadow: none;
|
|
17
|
+
border: none;
|
|
18
|
+
}
|
|
19
|
+
|
|
20
|
+
&:not(.read-only):hover {
|
|
21
|
+
border: none;
|
|
22
|
+
|
|
23
|
+
&:before {
|
|
24
|
+
box-shadow: none;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
|
|
28
|
+
&.cc-input-focused:not(.no-focus-line) {
|
|
29
|
+
border: none;
|
|
30
|
+
|
|
31
|
+
&:before {
|
|
32
|
+
box-shadow: none;
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
12
36
|
|
|
13
37
|
.co-input-text {
|
|
14
38
|
.input-text-clear-button {
|
|
15
39
|
display: none;
|
|
16
40
|
}
|
|
17
41
|
|
|
42
|
+
&:before {
|
|
43
|
+
box-shadow: none;
|
|
44
|
+
}
|
|
45
|
+
|
|
46
|
+
&:hover, &:not(.read-only):hover {
|
|
47
|
+
&:before {
|
|
48
|
+
box-shadow: none;
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
|
|
18
52
|
&:not(.no-style) {
|
|
19
53
|
input {
|
|
20
54
|
padding-bottom: 10px;
|
|
@@ -22,6 +56,7 @@
|
|
|
22
56
|
|
|
23
57
|
&:not(.custom-height) {
|
|
24
58
|
height: 60px;
|
|
59
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
25
60
|
}
|
|
26
61
|
|
|
27
62
|
&.has-own-label {
|
|
@@ -47,14 +82,26 @@
|
|
|
47
82
|
max-height: 60px;
|
|
48
83
|
}
|
|
49
84
|
}
|
|
85
|
+
|
|
86
|
+
.input-text-wrapper {
|
|
87
|
+
.input-wrapper {
|
|
88
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
89
|
+
}
|
|
90
|
+
}
|
|
50
91
|
}
|
|
51
92
|
}
|
|
52
93
|
}
|
|
53
94
|
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
95
|
+
|
|
96
|
+
.tool-explainer {
|
|
97
|
+
.header-with-icon {
|
|
98
|
+
display: flex;
|
|
99
|
+
align-items: center;
|
|
57
100
|
}
|
|
58
101
|
}
|
|
102
|
+
|
|
103
|
+
.button-container {
|
|
104
|
+
margin-top: 20px;
|
|
105
|
+
}
|
|
59
106
|
}
|
|
60
107
|
}
|
|
@@ -1,8 +1,32 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-enhancer-style-theme') {
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-style-theme') {
|
|
4
4
|
.co-image-enhancer-style {
|
|
5
5
|
|
|
6
|
+
.tool-explainer, .explainer-text {
|
|
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
|
+
.header-with-icon {
|
|
13
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
|
|
14
|
+
.co-icon {
|
|
15
|
+
margin-right: 10px;
|
|
16
|
+
}
|
|
17
|
+
.tool-explainer-header {
|
|
18
|
+
@include cfg.sub-header-text();
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tool-explainer-text {
|
|
24
|
+
@include cfg.text();
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
.button-container {
|
|
28
|
+
margin-top: 20px;
|
|
29
|
+
}
|
|
6
30
|
}
|
|
7
31
|
}
|
|
8
32
|
|
|
@@ -1,17 +1,16 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-enhancer-upload-layout') {
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-upload-layout') {
|
|
4
4
|
.co-image-enhancer-upload {
|
|
5
|
-
|
|
6
5
|
.image-enhancer-upload {
|
|
7
6
|
box-sizing: border-box;
|
|
8
|
-
padding: 20px 10px;
|
|
9
7
|
|
|
10
|
-
.
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
8
|
+
.tool-explainer {
|
|
9
|
+
box-sizing: border-box;
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.uploaded-image-container {
|
|
13
|
+
display: grid;
|
|
15
14
|
}
|
|
16
15
|
}
|
|
17
16
|
}
|
|
@@ -1,8 +1,42 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-enhancer-upload-theme') {
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-upload-theme') {
|
|
4
4
|
.co-image-enhancer-upload {
|
|
5
|
+
.image-enhancer-upload {
|
|
5
6
|
|
|
7
|
+
.tool-explainer {
|
|
8
|
+
background: var(--co-inphoto-background-white);
|
|
9
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
10
|
+
padding: 15px;
|
|
11
|
+
margin: 20px auto 0;
|
|
12
|
+
|
|
13
|
+
.header-with-icon {
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
justify-content: flex-start;
|
|
17
|
+
box-sizing: border-box;
|
|
18
|
+
padding-bottom: 5px;
|
|
19
|
+
|
|
20
|
+
.co-icon {
|
|
21
|
+
margin-right: 10px;
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
.tool-explainer-header {
|
|
25
|
+
font-size: var(--co-inphoto-font-size-text);
|
|
26
|
+
font-weight: bold;
|
|
27
|
+
}
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
.tool-explainer-text {
|
|
31
|
+
font-size: var(--co-inphoto-font-size-text);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.uploaded-image-container {
|
|
36
|
+
grid-template-columns: repeat(3, 1fr);
|
|
37
|
+
margin: 20px 0;
|
|
38
|
+
}
|
|
39
|
+
}
|
|
6
40
|
}
|
|
7
41
|
}
|
|
8
42
|
|
|
@@ -1,45 +1,139 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-history-layout') {
|
|
3
|
+
@include cfg.export-module('co-image-history-layout') {
|
|
4
4
|
.co-image-history {
|
|
5
5
|
.image-history-container {
|
|
6
|
+
position: absolute;
|
|
7
|
+
bottom: 10px;
|
|
8
|
+
left: 115px;
|
|
6
9
|
box-sizing: border-box;
|
|
7
|
-
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.image-history-card {
|
|
13
|
+
position: relative;
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
width: 675px;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.image-history-tiles {
|
|
20
|
+
flex: 1 1 auto;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: 10px;
|
|
24
|
+
overflow-x: auto;
|
|
25
|
+
overflow-y: hidden;
|
|
26
|
+
scroll-behavior: smooth;
|
|
27
|
+
scrollbar-width: none;
|
|
28
|
+
-ms-overflow-style: none;
|
|
8
29
|
|
|
9
|
-
|
|
30
|
+
&::-webkit-scrollbar {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.scroll-btn {
|
|
36
|
+
position: absolute;
|
|
37
|
+
top: 50%;
|
|
38
|
+
transform: translateY(-50%);
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
width: 30px;
|
|
43
|
+
height: 30px;
|
|
44
|
+
padding: 0;
|
|
45
|
+
border: none;
|
|
46
|
+
border-radius: 50%;
|
|
47
|
+
cursor: pointer;
|
|
48
|
+
z-index: 2;
|
|
10
49
|
|
|
50
|
+
&-left {
|
|
51
|
+
left: -6px;
|
|
11
52
|
}
|
|
12
53
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
display: grid;
|
|
16
|
-
grid-template-columns: repeat(auto-fill, minmax(250px, 1fr));
|
|
17
|
-
gap: 10px;
|
|
54
|
+
&-right {
|
|
55
|
+
right: -6px;
|
|
18
56
|
}
|
|
19
57
|
}
|
|
20
58
|
|
|
21
59
|
.larger-image-dialog {
|
|
22
60
|
position: fixed;
|
|
23
|
-
|
|
24
|
-
left: 0;
|
|
25
|
-
width: 100%;
|
|
26
|
-
height: 100%;
|
|
61
|
+
inset: 0;
|
|
27
62
|
z-index: 1000;
|
|
28
63
|
display: flex;
|
|
64
|
+
flex-direction: column;
|
|
29
65
|
justify-content: center;
|
|
30
66
|
align-items: center;
|
|
31
67
|
|
|
32
|
-
.
|
|
33
|
-
position:
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
68
|
+
.dialog-container {
|
|
69
|
+
position: relative;
|
|
70
|
+
|
|
71
|
+
.close-dialog-button, .dialog-prev-button, .dialog-next-button {
|
|
72
|
+
position: absolute;
|
|
73
|
+
|
|
74
|
+
cursor: pointer;
|
|
75
|
+
background: var(--co-inphoto-loader-background-dark);
|
|
76
|
+
width: 30px;
|
|
77
|
+
height: 30px;
|
|
78
|
+
border-radius: 50%;
|
|
79
|
+
display: flex;
|
|
80
|
+
align-items: center;
|
|
81
|
+
justify-content: space-around;
|
|
82
|
+
|
|
83
|
+
.co-icon {
|
|
84
|
+
flex: 1
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color-light));
|
|
88
|
+
}
|
|
89
|
+
|
|
90
|
+
.close-dialog-button {
|
|
91
|
+
top: 20px;
|
|
92
|
+
right: 20px;
|
|
93
|
+
}
|
|
94
|
+
|
|
95
|
+
.dialog-prev-button {
|
|
96
|
+
left: 20px;
|
|
97
|
+
top: 50%;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.dialog-next-button {
|
|
101
|
+
right: 20px;
|
|
102
|
+
top: 50%;
|
|
103
|
+
}
|
|
104
|
+
|
|
105
|
+
.dialog-toolbar {
|
|
106
|
+
position: absolute;
|
|
107
|
+
bottom: 20px;
|
|
108
|
+
right: 20px;
|
|
109
|
+
display: flex;
|
|
110
|
+
gap: 10px;
|
|
111
|
+
|
|
112
|
+
.co-button {
|
|
113
|
+
display: flex;
|
|
114
|
+
cursor: pointer;
|
|
115
|
+
box-sizing: border-box;
|
|
116
|
+
padding: 8px 15px;
|
|
117
|
+
background: var(--co-inphoto-loader-background-dark);
|
|
118
|
+
color: var(--co-inphoto-color-light);
|
|
119
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
120
|
+
font-size: var(--co-inphoto-font-size-label);
|
|
121
|
+
|
|
122
|
+
.label {
|
|
123
|
+
margin-left: 10px;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
|
|
127
|
+
}
|
|
128
|
+
}
|
|
37
129
|
}
|
|
38
130
|
|
|
131
|
+
|
|
39
132
|
.large-image {
|
|
40
|
-
max-width:
|
|
41
|
-
max-height:
|
|
133
|
+
max-width: 100%;
|
|
134
|
+
max-height: 100%;
|
|
42
135
|
object-fit: contain;
|
|
136
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
43
137
|
}
|
|
44
138
|
}
|
|
45
139
|
}
|
|
@@ -1,13 +1,25 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-history-theme') {
|
|
3
|
+
@include cfg.export-module('co-image-history-theme') {
|
|
4
4
|
.co-image-history {
|
|
5
|
-
.
|
|
6
|
-
background
|
|
5
|
+
.image-history-container {
|
|
6
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
7
|
+
padding: 20px;
|
|
8
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
9
|
+
}
|
|
10
|
+
|
|
11
|
+
.image-history-card {
|
|
12
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
13
|
+
}
|
|
7
14
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
15
|
+
.scroll-btn {
|
|
16
|
+
background: #ffffff;
|
|
17
|
+
box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
18
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.larger-image-dialog {
|
|
22
|
+
background: var(--co-inphoto-loader-background-dark);
|
|
11
23
|
}
|
|
12
24
|
}
|
|
13
25
|
}
|