@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.
- package/assets/inphoto-select-all.png +0 -0
- package/assets/inphoto-single-select.png +0 -0
- package/fesm2022/colijnit-inphoto.mjs +5126 -1933
- 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/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 +817 -334
- 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 +32 -22
- package/lib/component/canvas-tool-bar/style/_layout.scss +129 -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 +51 -15
- package/lib/component/image-enhancer/style/_theme.scss +12 -12
- 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 +52 -13
- 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 +44 -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 +50 -0
- package/lib/component/image-process-complete/style/_material-definition.scss +3 -0
- package/lib/component/image-process-complete/style/_theme.scss +61 -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 +19 -24
- package/lib/component/photo-editor/style/_theme.scss +2 -2
- package/lib/component/prepare-starting-image/style/_layout.scss +106 -24
- package/lib/component/prepare-starting-image/style/_theme.scss +2 -65
- package/lib/component/process-loader/style/_layout.scss +50 -16
- package/lib/component/process-loader/style/_theme.scss +2 -12
- 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 +38 -33
- package/lib/style/inphoto-globals.scss +15 -0
- package/package.json +6 -6
- 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,74 @@
|
|
|
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
|
-
|
|
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;
|
|
7
13
|
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
margin-bottom: 10px;
|
|
11
|
-
display: flex;
|
|
12
|
-
align-items: center;
|
|
13
|
-
gap: 10px;
|
|
14
|
-
}
|
|
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%;
|
|
31
|
+
text-align: center;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.dialog-collapse {
|
|
37
|
+
max-height: 55px;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
|
|
41
|
+
.collapse-menu {
|
|
42
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
43
|
+
background: var(--co-inphoto-background-white);
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
padding: 10px;
|
|
46
|
+
cursor: pointer;
|
|
47
|
+
display: grid;
|
|
48
|
+
|
|
49
|
+
.collapse-menu-item {
|
|
50
|
+
grid-area: 1 / 1;
|
|
51
|
+
opacity: 0;
|
|
52
|
+
pointer-events: none;
|
|
53
|
+
transition: opacity 0.2s ease;
|
|
54
|
+
|
|
55
|
+
.collapse-menu-open, .collapse-close-open {
|
|
32
56
|
display: flex;
|
|
57
|
+
justify-content: space-between;
|
|
33
58
|
align-items: center;
|
|
59
|
+
|
|
60
|
+
.collapse-menu-text {
|
|
61
|
+
@include cfg.text();
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
|
|
34
65
|
}
|
|
35
66
|
}
|
|
67
|
+
|
|
68
|
+
.collapse-menu-active {
|
|
69
|
+
opacity: 1;
|
|
70
|
+
pointer-events: auto;
|
|
71
|
+
}
|
|
36
72
|
}
|
|
37
73
|
}
|
|
38
74
|
}
|
|
@@ -1,11 +1,12 @@
|
|
|
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
5
|
.image-enhancer-container {
|
|
6
6
|
.header {
|
|
7
7
|
.header-icon-container {
|
|
8
8
|
margin-bottom: 10px;
|
|
9
|
+
|
|
9
10
|
h2 {
|
|
10
11
|
font-size: var(--co-inphoto-font-size-head);
|
|
11
12
|
color: var(--co-inphoto-color-dark);
|
|
@@ -14,23 +15,22 @@
|
|
|
14
15
|
}
|
|
15
16
|
|
|
16
17
|
.tabs {
|
|
17
|
-
|
|
18
|
-
|
|
18
|
+
.instruction-dialog {
|
|
19
|
+
font-size: var(--font-size-small);
|
|
20
|
+
}
|
|
19
21
|
|
|
20
22
|
.tab-button {
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
font-
|
|
25
|
-
border: 2px solid var(--co-inphoto-tab-border-color);
|
|
23
|
+
background: none;
|
|
24
|
+
@include cfg.sub-header-text();
|
|
25
|
+
border-bottom: 2px solid transparent;
|
|
26
|
+
font-weight: bold;
|
|
26
27
|
|
|
27
28
|
&:hover {
|
|
28
|
-
|
|
29
|
+
border-bottom-color: var(--co-inphoto-accent-color);
|
|
29
30
|
}
|
|
30
31
|
|
|
31
32
|
&.active {
|
|
32
|
-
|
|
33
|
-
color: var(--co-inphoto-tab-active-color);
|
|
33
|
+
border-bottom-color: var(--co-inphoto-accent-color);
|
|
34
34
|
}
|
|
35
35
|
}
|
|
36
36
|
}
|
|
@@ -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
|
+
.tool-explainer-text {
|
|
23
|
+
@include cfg.text();
|
|
24
|
+
}
|
|
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,84 @@
|
|
|
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
|
+
}
|
|
8
18
|
|
|
9
|
-
|
|
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;
|
|
10
29
|
|
|
30
|
+
&::-webkit-scrollbar {
|
|
31
|
+
display: none;
|
|
11
32
|
}
|
|
33
|
+
}
|
|
12
34
|
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
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;
|
|
49
|
+
|
|
50
|
+
&-left {
|
|
51
|
+
left: -6px;
|
|
52
|
+
}
|
|
53
|
+
|
|
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;
|
|
29
64
|
justify-content: center;
|
|
30
65
|
align-items: center;
|
|
31
66
|
|
|
67
|
+
|
|
32
68
|
.close-dialog-button {
|
|
33
69
|
position: absolute;
|
|
34
70
|
top: 20px;
|
|
35
71
|
right: 20px;
|
|
36
72
|
cursor: pointer;
|
|
73
|
+
|
|
74
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color-light));
|
|
37
75
|
}
|
|
38
76
|
|
|
39
77
|
.large-image {
|
|
40
78
|
max-width: 90%;
|
|
41
79
|
max-height: 90%;
|
|
42
80
|
object-fit: contain;
|
|
81
|
+
border-radius: 8px;
|
|
43
82
|
}
|
|
44
83
|
}
|
|
45
84
|
}
|
|
@@ -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
|
}
|
|
@@ -1,52 +1,66 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-history-tile-layout') {
|
|
3
|
+
@include cfg.export-module('co-image-history-tile-layout') {
|
|
4
4
|
.co-image-history-tile {
|
|
5
|
+
flex: 0 0 auto;
|
|
6
|
+
width: 160px;
|
|
5
7
|
|
|
6
8
|
.image-history-item {
|
|
7
|
-
width: 100%;
|
|
8
|
-
height: 100%;
|
|
9
|
-
max-height: 250px;
|
|
10
9
|
position: relative;
|
|
10
|
+
width: 100%;
|
|
11
|
+
height: 115px;
|
|
12
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
13
|
+
overflow: hidden;
|
|
14
|
+
cursor: pointer;
|
|
11
15
|
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
position: absolute;
|
|
15
|
-
top: 0;
|
|
16
|
-
left: 0;
|
|
16
|
+
img {
|
|
17
|
+
display: block;
|
|
17
18
|
width: 100%;
|
|
18
19
|
height: 100%;
|
|
19
|
-
|
|
20
|
+
object-fit: cover;
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
.tile-action {
|
|
24
|
+
position: absolute;
|
|
20
25
|
display: flex;
|
|
21
|
-
flex-direction: column;
|
|
22
26
|
align-items: center;
|
|
23
|
-
justify-content:
|
|
27
|
+
justify-content: center;
|
|
28
|
+
width: 26px;
|
|
29
|
+
height: 26px;
|
|
30
|
+
border-radius: 50%;
|
|
31
|
+
color: #ffffff;
|
|
32
|
+
background: rgba(0, 0, 0, 0.55);
|
|
33
|
+
opacity: 0;
|
|
34
|
+
transition: opacity 0.15s ease;
|
|
35
|
+
z-index: 1;
|
|
24
36
|
|
|
25
|
-
.
|
|
26
|
-
|
|
27
|
-
}
|
|
37
|
+
@include cfg.default-icon(20px, 20px, #fff);
|
|
38
|
+
}
|
|
28
39
|
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
justify-content: space-around;
|
|
33
|
-
gap: 25px;
|
|
34
|
-
cursor: pointer;
|
|
35
|
-
}
|
|
40
|
+
&:hover .tile-action {
|
|
41
|
+
opacity: 1;
|
|
42
|
+
}
|
|
36
43
|
|
|
44
|
+
.tile-action-select {
|
|
45
|
+
top: 6px;
|
|
46
|
+
right: 6px;
|
|
37
47
|
}
|
|
38
48
|
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
}
|
|
49
|
+
.tile-action-download {
|
|
50
|
+
bottom: 6px;
|
|
51
|
+
left: 6px;
|
|
43
52
|
}
|
|
44
53
|
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
54
|
+
.tile-action-remove {
|
|
55
|
+
bottom: 6px;
|
|
56
|
+
right: 6px;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
&--selected {
|
|
60
|
+
.tile-action-select {
|
|
61
|
+
opacity: 1;
|
|
62
|
+
background: #f5a623;
|
|
63
|
+
}
|
|
50
64
|
}
|
|
51
65
|
}
|
|
52
66
|
}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
@
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
2
|
|
|
3
|
-
@include export-module('co-image-history-tile-theme') {
|
|
3
|
+
@include cfg.export-module('co-image-history-tile-theme') {
|
|
4
4
|
|
|
5
5
|
.co-image-history-tile {
|
|
6
6
|
.image-history-item {
|
|
@@ -12,11 +12,11 @@
|
|
|
12
12
|
}
|
|
13
13
|
|
|
14
14
|
.image-history-item-zoom {
|
|
15
|
-
@include default-icon(40px, 40px, #fff)
|
|
15
|
+
@include cfg.default-icon(40px, 40px, #fff)
|
|
16
16
|
}
|
|
17
17
|
|
|
18
18
|
.tile-toolbar {
|
|
19
|
-
@include default-icon(40px, 40px, #fff);
|
|
19
|
+
@include cfg.default-icon(40px, 40px, #fff);
|
|
20
20
|
}
|
|
21
21
|
}
|
|
22
22
|
}
|