@colijnit/inphoto 300.1.9 → 301.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/01-bohemian.jpg +0 -0
- package/assets/02-mid-century-modern.jpg +0 -0
- package/assets/03-rustic-farmhouse.jpg +0 -0
- package/assets/04-coastal-nautical.jpg +0 -0
- package/assets/05-art-deco.jpg +0 -0
- package/assets/06-eclectic.jpg +0 -0
- package/assets/07-japanese-zen.jpg +0 -0
- package/assets/08-modern.jpg +0 -0
- package/assets/09-contemporary.jpg +0 -0
- package/assets/10-minimalist.jpg +0 -0
- package/assets/11-scandinavian.jpg +0 -0
- package/assets/12-industrial.jpg +0 -0
- package/assets/13-traditional.jpg +0 -0
- package/assets/14-transitional.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-01.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-02.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-03.jpg +0 -0
- package/assets/how-do-want-to-edit-the-image-04.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-01.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-02.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-03.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-04.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-05.jpg +0 -0
- package/assets/how-to-redesign-with-catalog-06.jpg +0 -0
- package/assets/room-01-living-room.jpg +0 -0
- package/assets/room-02-kitchen.jpg +0 -0
- package/assets/room-03-dining-room.jpg +0 -0
- package/assets/room-04-bathroom.jpg +0 -0
- package/assets/room-05-bedroom.jpg +0 -0
- package/assets/room-06-kids-room.jpg +0 -0
- package/assets/room-07-home-office.jpg +0 -0
- package/assets/room-08-home-bar.jpg +0 -0
- package/fesm2022/colijnit-inphoto.mjs +7170 -6277
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/angle_right_sharp_solid.svg +1 -0
- package/icons/camera_solid_regular.svg +1 -0
- package/icons/expand_regular_full.svg +1 -0
- package/index.d.ts +518 -342
- package/lib/component/ai-prompt/style/_layout.scss +87 -76
- package/lib/component/ai-prompt/style/_material-definition.scss +36 -38
- package/lib/component/ai-prompt/style/_theme.scss +73 -78
- package/lib/component/canvas-tool-bar/style/_layout.scss +115 -71
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +42 -40
- package/lib/component/canvas-tool-bar/style/_theme.scss +117 -138
- package/lib/component/catalog/style/_material-definition.scss +26 -22
- package/lib/component/catalog/style/_theme.scss +43 -43
- package/lib/component/edit-canvas/style/_layout.scss +75 -74
- package/lib/component/edit-canvas/style/_material-definition.scss +19 -21
- package/lib/component/edit-canvas/style/_theme.scss +25 -26
- package/lib/component/header/style/_material-definition.scss +10 -8
- package/lib/component/header/style/_theme.scss +4 -1
- package/lib/component/image-2d-placement/style/_layout.scss +13 -0
- package/lib/component/image-2d-placement/style/_material-definition.scss +7 -0
- package/lib/component/image-2d-placement/style/_theme.scss +8 -0
- package/lib/component/image-enhancer/style/_layout.scss +43 -37
- package/lib/component/image-enhancer/style/_material-definition.scss +16 -13
- package/lib/component/image-enhancer/style/_theme.scss +42 -45
- package/lib/component/image-enhancer-style/style/_layout.scss +148 -65
- package/lib/component/image-enhancer-style/style/_material-definition.scss +42 -16
- package/lib/component/image-enhancer-style/style/_theme.scss +182 -120
- package/lib/component/image-enhancer-upload/style/_layout.scss +53 -48
- package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
- package/lib/component/image-enhancer-upload/style/_theme.scss +64 -66
- package/lib/component/image-history/style/_layout.scss +55 -57
- package/lib/component/image-history/style/_material-definition.scss +18 -20
- package/lib/component/image-history/style/_theme.scss +20 -25
- package/lib/component/image-history-tile/style/_layout.scss +53 -53
- package/lib/component/image-history-tile/style/_material-definition.scss +17 -15
- package/lib/component/image-output-settings/style/_layout.scss +38 -0
- package/lib/component/image-output-settings/style/_material-definition.scss +8 -0
- package/lib/component/image-output-settings/style/_theme.scss +15 -0
- package/lib/component/image-overlay/style/_layout.scss +85 -84
- package/lib/component/image-overlay/style/_material-definition.scss +24 -21
- package/lib/component/image-overlay/style/_theme.scss +40 -40
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +4 -0
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +1 -0
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +4 -0
- package/lib/component/image-tile/style/_layout.scss +102 -102
- package/lib/component/image-tile/style/_material-definition.scss +19 -18
- package/lib/component/image-tile/style/_theme.scss +58 -58
- package/lib/component/image-upload/style/_layout.scss +97 -93
- package/lib/component/image-upload/style/_theme.scss +99 -103
- package/lib/component/marker/style/_layout.scss +29 -30
- package/lib/component/marker/style/_theme.scss +31 -30
- package/lib/component/photo-editor/style/_layout.scss +69 -38
- package/lib/component/photo-editor/style/_material-definition.scss +14 -8
- package/lib/component/photo-editor/style/_theme.scss +15 -0
- package/lib/component/prepare-starting-image/style/_layout.scss +93 -34
- package/lib/component/prepare-starting-image/style/_material-definition.scss +17 -11
- package/lib/component/prepare-starting-image/style/_theme.scss +9 -1
- package/lib/component/process-loader/style/_layout.scss +74 -74
- package/lib/component/process-loader/style/_material-definition.scss +42 -24
- package/lib/component/process-loader/style/_theme.scss +128 -128
- package/lib/component/scale-dialog/style/_layout.scss +25 -0
- package/lib/component/scale-dialog/style/_material-definition.scss +8 -0
- package/lib/component/scale-dialog/style/_theme.scss +26 -0
- package/lib/component/scale-dialog/style/material.scss +3 -0
- package/lib/component/scene-context-menu/style/_layout.scss +69 -59
- package/lib/component/scene-context-menu/style/_material-definition.scss +32 -27
- package/lib/component/scene-context-menu/style/_theme.scss +62 -57
- package/lib/component/segment-inpaint/style/_layout.scss +73 -51
- package/lib/component/segment-inpaint/style/_material-definition.scss +19 -11
- package/lib/component/segment-inpaint/style/_theme.scss +72 -29
- package/lib/component/side-bar-menu/style/_layout.scss +30 -26
- package/lib/component/side-bar-menu/style/_material-definition.scss +13 -12
- package/lib/component/side-panel/style/_layout.scss +48 -45
- package/lib/component/side-panel/style/_material-definition.scss +17 -16
- package/lib/component/side-panel/style/_theme.scss +36 -39
- package/lib/component/step-tile/style/_layout.scss +66 -50
- package/lib/component/step-tile/style/_material-definition.scss +20 -20
- package/lib/component/step-tile/style/_theme.scss +68 -78
- package/lib/component/threedscene/style/_layout.scss +67 -57
- package/lib/component/threedscene/style/_material-definition.scss +16 -12
- package/lib/component/threedscene/style/_theme.scss +55 -17
- package/lib/style/_mixin.scss +2 -7
- package/lib/style/_variables.scss +7 -13
- package/package.json +15 -6
- package/lib/component/configuration-side-bar-menu/style/_layout.scss +0 -33
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +0 -10
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +0 -58
- package/lib/component/image-process-complete/style/_layout.scss +0 -42
- package/lib/component/image-process-complete/style/_material-definition.scss +0 -13
- package/lib/component/image-process-complete/style/_theme.scss +0 -24
- /package/lib/component/{configuration-side-bar-menu → image-2d-placement}/style/material.scss +0 -0
- /package/lib/component/{image-process-complete → image-output-settings}/style/material.scss +0 -0
|
@@ -1,21 +1,19 @@
|
|
|
1
|
-
.co-edit-canvas {
|
|
2
|
-
--co-inphoto-edit-canvas-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
-
--co-inphoto-edit-canvas-font-family: var(--co-inphoto-font-family);
|
|
4
|
-
--co-inphoto-edit-canvas-position-relative: relative;
|
|
5
|
-
--co-inphoto-edit-canvas-position-absolute: absolute;
|
|
6
|
-
--co-inphoto-edit-canvas-position-fixed: fixed;
|
|
7
|
-
--co-inphoto-edit-canvas-full-size: 100%;
|
|
8
|
-
--co-inphoto-edit-canvas-
|
|
9
|
-
--co-inphoto-edit-canvas-
|
|
10
|
-
--co-inphoto-edit-canvas-frame-
|
|
11
|
-
--co-inphoto-edit-canvas-
|
|
12
|
-
--co-inphoto-edit-canvas-
|
|
13
|
-
--co-inphoto-edit-canvas-
|
|
14
|
-
--co-inphoto-edit-canvas-
|
|
15
|
-
--co-inphoto-edit-canvas-label-
|
|
16
|
-
--co-inphoto-edit-canvas-label-
|
|
17
|
-
--co-inphoto-edit-canvas-label-
|
|
18
|
-
--co-inphoto-edit-canvas-label-
|
|
19
|
-
|
|
20
|
-
--co-inphoto-edit-canvas-label-z-index: 10;
|
|
21
|
-
}
|
|
1
|
+
.co-edit-canvas {
|
|
2
|
+
--co-inphoto-edit-canvas-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-edit-canvas-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-edit-canvas-position-relative: relative;
|
|
5
|
+
--co-inphoto-edit-canvas-position-absolute: absolute;
|
|
6
|
+
--co-inphoto-edit-canvas-position-fixed: fixed;
|
|
7
|
+
--co-inphoto-edit-canvas-full-size: 100%;
|
|
8
|
+
--co-inphoto-edit-canvas-zero: 0;
|
|
9
|
+
--co-inphoto-edit-canvas-frame-padding: 20px;
|
|
10
|
+
--co-inphoto-edit-canvas-frame-margin: 20px;
|
|
11
|
+
--co-inphoto-edit-canvas-canvas-max-height: calc(100vh - 40px);
|
|
12
|
+
--co-inphoto-edit-canvas-button-offset: 20px;
|
|
13
|
+
--co-inphoto-edit-canvas-fullscreen-z-index: 1000;
|
|
14
|
+
--co-inphoto-edit-canvas-label-transform: translate(-50%, calc(-100% - 12px));
|
|
15
|
+
--co-inphoto-edit-canvas-label-background: rgba(0, 0, 0, 0.75);
|
|
16
|
+
--co-inphoto-edit-canvas-label-padding: 4px 8px;
|
|
17
|
+
--co-inphoto-edit-canvas-label-radius: 4px;
|
|
18
|
+
--co-inphoto-edit-canvas-label-z-index: 10;
|
|
19
|
+
}
|
|
@@ -1,26 +1,25 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-edit-canvas-theme') {
|
|
4
|
-
.co-edit-canvas {
|
|
5
|
-
font-family: var(--co-inphoto-edit-canvas-font-family);
|
|
6
|
-
font-size: var(--co-inphoto-edit-canvas-font-size-text);
|
|
7
|
-
|
|
8
|
-
.canvas-container {
|
|
9
|
-
background: var(--co-inphoto-background-white);
|
|
10
|
-
|
|
11
|
-
.canvas-frame {
|
|
12
|
-
background: var(--co-inphoto-background-white);
|
|
13
|
-
box-shadow: var(--co-inphoto-container-box-shadow);
|
|
14
|
-
}
|
|
15
|
-
}
|
|
16
|
-
|
|
17
|
-
.segmentation-object-label {
|
|
18
|
-
background: var(--co-inphoto-edit-canvas-label-background);
|
|
19
|
-
color: var(--co-inphoto-color-light);
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-edit-canvas-theme') {
|
|
4
|
+
.co-edit-canvas {
|
|
5
|
+
font-family: var(--co-inphoto-edit-canvas-font-family);
|
|
6
|
+
font-size: var(--co-inphoto-edit-canvas-font-size-text);
|
|
7
|
+
|
|
8
|
+
.canvas-container {
|
|
9
|
+
background: var(--co-inphoto-background-white);
|
|
10
|
+
|
|
11
|
+
.canvas-frame {
|
|
12
|
+
background: var(--co-inphoto-background-white);
|
|
13
|
+
box-shadow: var(--co-inphoto-container-box-shadow);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.segmentation-object-label {
|
|
18
|
+
background: var(--co-inphoto-edit-canvas-label-background);
|
|
19
|
+
color: var(--co-inphoto-color-light);
|
|
20
|
+
border-radius: var(--co-inphoto-edit-canvas-label-radius);
|
|
21
|
+
font-size: var(--co-inphoto-edit-canvas-font-size-text);
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,8 +1,10 @@
|
|
|
1
|
-
.co-header {
|
|
2
|
-
--co-inphoto-header-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
-
--co-inphoto-header-font-family: var(--co-inphoto-font-family);
|
|
4
|
-
--co-inphoto-header-padding:
|
|
5
|
-
--co-inphoto-header-icon-size: 50px;
|
|
6
|
-
--co-inphoto-header-icon-radius: 50%;
|
|
7
|
-
--co-inphoto-header-icon-margin-right: 15px;
|
|
8
|
-
|
|
1
|
+
.co-header {
|
|
2
|
+
--co-inphoto-header-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-header-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-header-padding: 15px 0;
|
|
5
|
+
--co-inphoto-header-icon-size: 50px;
|
|
6
|
+
--co-inphoto-header-icon-radius: 50%;
|
|
7
|
+
--co-inphoto-header-icon-margin-right: 15px;
|
|
8
|
+
--co-inphoto-header-head-font-weight: 600;
|
|
9
|
+
--co-inphoto-header-head-line-height: 175%;
|
|
10
|
+
}
|
|
@@ -12,7 +12,10 @@
|
|
|
12
12
|
|
|
13
13
|
.header-info {
|
|
14
14
|
.head {
|
|
15
|
-
|
|
15
|
+
font-size: var(--co-inphoto-font-size-extra-large);
|
|
16
|
+
color: var(--co-inphoto-color-dark);
|
|
17
|
+
font-weight: var(--co-inphoto-header-head-font-weight);
|
|
18
|
+
line-height: var(--co-inphoto-header-head-line-height);
|
|
16
19
|
}
|
|
17
20
|
|
|
18
21
|
.text {
|
|
@@ -0,0 +1,13 @@
|
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-2d-placement-layout') {
|
|
4
|
+
.co-image-2d-placement {
|
|
5
|
+
position: var(--co-inphoto-image-2d-placement-position);
|
|
6
|
+
z-index: var(--co-inphoto-image-2d-placement-z-index);
|
|
7
|
+
|
|
8
|
+
canvas {
|
|
9
|
+
display: block;
|
|
10
|
+
cursor: var(--co-inphoto-image-2d-placement-canvas-cursor);
|
|
11
|
+
}
|
|
12
|
+
}
|
|
13
|
+
}
|
|
@@ -0,0 +1,7 @@
|
|
|
1
|
+
.co-image-2d-placement {
|
|
2
|
+
--co-inphoto-image-2d-placement-font-family: var(--co-inphoto-font-family);
|
|
3
|
+
--co-inphoto-image-2d-placement-font-size-text: var(--co-inphoto-font-size-text);
|
|
4
|
+
--co-inphoto-image-2d-placement-position: absolute;
|
|
5
|
+
--co-inphoto-image-2d-placement-z-index: 5;
|
|
6
|
+
--co-inphoto-image-2d-placement-canvas-cursor: grab;
|
|
7
|
+
}
|
|
@@ -1,37 +1,43 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-enhancer-layout') {
|
|
4
|
-
.co-image-enhancer {
|
|
5
|
-
.enhancer-container {
|
|
6
|
-
height: var(--co-inphoto-image-enhancer-container-height);
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-layout') {
|
|
4
|
+
.co-image-enhancer {
|
|
5
|
+
.enhancer-container {
|
|
6
|
+
height: var(--co-inphoto-image-enhancer-container-height);
|
|
7
|
+
padding: var(--co-inphoto-image-enhancer-container-padding);
|
|
8
|
+
position: var(--co-inphoto-image-enhancer-position-relative);
|
|
9
|
+
display: flex;
|
|
10
|
+
flex-direction: column;
|
|
11
|
+
|
|
12
|
+
|
|
13
|
+
.enhancer-scroll-container {
|
|
14
|
+
flex: 1 1 auto;
|
|
15
|
+
min-height: var(--co-inphoto-image-enhancer-scroll-container-min-height);
|
|
16
|
+
overflow-y: auto;
|
|
17
|
+
scroll-behavior: smooth;
|
|
18
|
+
scrollbar-width: none;
|
|
19
|
+
-ms-overflow-style: none;
|
|
20
|
+
padding-bottom: var(--co-inphoto-image-enhancer-scroll-padding-bottom);
|
|
21
|
+
&::-webkit-scrollbar {
|
|
22
|
+
display: none;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.enhancer-body {
|
|
26
|
+
|
|
27
|
+
.tabs {
|
|
28
|
+
align-items: center;
|
|
29
|
+
display: grid;
|
|
30
|
+
grid-template-columns: var(--co-inphoto-image-enhancer-tabs-columns);
|
|
31
|
+
height: var(--co-inphoto-image-enhancer-tab-height);
|
|
32
|
+
align-content: end;
|
|
33
|
+
|
|
34
|
+
.tab-button {
|
|
35
|
+
padding: var(--co-inphoto-image-enhancer-tab-button-padding);
|
|
36
|
+
height: var(--co-inphoto-image-enhancer-tab-button-height);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
@@ -1,13 +1,16 @@
|
|
|
1
|
-
.co-image-enhancer {
|
|
2
|
-
--co-inphoto-image-enhancer-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
-
--co-inphoto-image-enhancer-font-family: var(--co-inphoto-font-family);
|
|
4
|
-
--co-inphoto-image-enhancer-tab-height: 60px;
|
|
5
|
-
--co-inphoto-image-enhancer-tab-button-padding: 10px;
|
|
6
|
-
--co-inphoto-image-enhancer-tab-button-border
|
|
7
|
-
--co-inphoto-image-enhancer-container-height: 100vh;
|
|
8
|
-
--co-inphoto-image-enhancer-position-relative: relative;
|
|
9
|
-
--co-inphoto-image-enhancer-scroll-padding-bottom: 30px;
|
|
10
|
-
--co-inphoto-image-enhancer-container-padding: 35px 25px;
|
|
11
|
-
--co-inphoto-image-enhancer-tab-button-radius: 0;
|
|
12
|
-
--co-inphoto-image-enhancer-tab-button-height: 100%;
|
|
13
|
-
|
|
1
|
+
.co-image-enhancer {
|
|
2
|
+
--co-inphoto-image-enhancer-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-image-enhancer-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-image-enhancer-tab-height: 60px;
|
|
5
|
+
--co-inphoto-image-enhancer-tab-button-padding: 10px;
|
|
6
|
+
--co-inphoto-image-enhancer-tab-button-border: 2px solid transparent;
|
|
7
|
+
--co-inphoto-image-enhancer-container-height: 100vh;
|
|
8
|
+
--co-inphoto-image-enhancer-position-relative: relative;
|
|
9
|
+
--co-inphoto-image-enhancer-scroll-padding-bottom: 30px;
|
|
10
|
+
--co-inphoto-image-enhancer-container-padding: 35px 25px;
|
|
11
|
+
--co-inphoto-image-enhancer-tab-button-radius: 0;
|
|
12
|
+
--co-inphoto-image-enhancer-tab-button-height: 100%;
|
|
13
|
+
--co-inphoto-image-enhancer-scroll-container-min-height: 0;
|
|
14
|
+
--co-inphoto-image-enhancer-tabs-columns: repeat(2, 1fr);
|
|
15
|
+
--co-inphoto-image-enhancer-tab-button-background: none;
|
|
16
|
+
}
|
|
@@ -1,45 +1,42 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-enhancer-theme') {
|
|
4
|
-
.co-image-enhancer {
|
|
5
|
-
font-family: var(--co-inphoto-image-enhancer-font-family);
|
|
6
|
-
font-size: var(--co-inphoto-image-enhancer-font-size-text);
|
|
7
|
-
|
|
8
|
-
.enhancer-container {
|
|
9
|
-
|
|
10
|
-
background: var(--co-inphoto-dialog-background-color);
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
text
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
}
|
|
44
|
-
}
|
|
45
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-theme') {
|
|
4
|
+
.co-image-enhancer {
|
|
5
|
+
font-family: var(--co-inphoto-image-enhancer-font-family);
|
|
6
|
+
font-size: var(--co-inphoto-image-enhancer-font-size-text);
|
|
7
|
+
|
|
8
|
+
.enhancer-container {
|
|
9
|
+
|
|
10
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
11
|
+
|
|
12
|
+
.enhancer-scroll-container {
|
|
13
|
+
|
|
14
|
+
.enhancer-body {
|
|
15
|
+
.instruction-dialog {
|
|
16
|
+
font-size: var(--co-inphoto-font-size-label);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.tabs {
|
|
20
|
+
|
|
21
|
+
.tab-button {
|
|
22
|
+
cursor: pointer;
|
|
23
|
+
text-align: center;
|
|
24
|
+
background: var(--co-inphoto-image-enhancer-tab-button-background);
|
|
25
|
+
border-radius: var(--co-inphoto-image-enhancer-tab-button-radius);
|
|
26
|
+
@include cfg.sub-header-text();
|
|
27
|
+
border-bottom: var(--co-inphoto-image-enhancer-tab-button-border);
|
|
28
|
+
|
|
29
|
+
&:hover {
|
|
30
|
+
border-bottom-color: var(--co-inphoto-accent-color);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&.active {
|
|
34
|
+
border-bottom-color: var(--co-inphoto-accent-color);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
@@ -1,65 +1,148 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-enhancer-style-layout') {
|
|
4
|
-
.co-image-enhancer-style {
|
|
5
|
-
.form-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
.input-text
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
&.
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-style-layout') {
|
|
4
|
+
.co-image-enhancer-style {
|
|
5
|
+
.form-container {
|
|
6
|
+
.form-part-container {
|
|
7
|
+
margin: var(--co-inphoto-image-enhancer-style-form-margin);
|
|
8
|
+
|
|
9
|
+
.co-custom-list-of-values {
|
|
10
|
+
height: var(--co-inphoto-image-enhancer-style-field-height);
|
|
11
|
+
overflow: hidden;
|
|
12
|
+
|
|
13
|
+
.co-input-text {
|
|
14
|
+
.input-text-clear-button {
|
|
15
|
+
display: none;
|
|
16
|
+
}
|
|
17
|
+
|
|
18
|
+
&:not(.no-style) {
|
|
19
|
+
input {
|
|
20
|
+
padding-bottom: var(--co-inphoto-image-enhancer-style-field-padding-bottom);
|
|
21
|
+
}
|
|
22
|
+
|
|
23
|
+
&:not(.custom-height) {
|
|
24
|
+
height: var(--co-inphoto-image-enhancer-style-field-height);
|
|
25
|
+
}
|
|
26
|
+
|
|
27
|
+
&.has-own-label {
|
|
28
|
+
&.hasvalue {
|
|
29
|
+
label {
|
|
30
|
+
transform: var(--co-inphoto-image-enhancer-style-label-transform-none);
|
|
31
|
+
top: var(--co-inphoto-image-enhancer-style-label-top);
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
&.has-right-icon {
|
|
37
|
+
.input-text-right-icon {
|
|
38
|
+
svg {
|
|
39
|
+
width: var(--co-inphoto-image-enhancer-style-right-icon-size);
|
|
40
|
+
height: var(--co-inphoto-image-enhancer-style-right-icon-size);
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.input-text-left-icon,
|
|
46
|
+
.input-text-right-icon {
|
|
47
|
+
max-height: var(--co-inphoto-image-enhancer-style-field-height);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.co-custom-list-of-values {
|
|
55
|
+
.lov-input-template {
|
|
56
|
+
display: flex;
|
|
57
|
+
align-items: center;
|
|
58
|
+
gap: var(--co-inphoto-image-enhancer-style-lov-input-gap);
|
|
59
|
+
box-sizing: border-box;
|
|
60
|
+
padding: var(--co-inphoto-image-enhancer-style-lov-input-padding);
|
|
61
|
+
|
|
62
|
+
|
|
63
|
+
.lov-input-image {
|
|
64
|
+
img {
|
|
65
|
+
width: var(--co-inphoto-image-enhancer-style-lov-image-size);
|
|
66
|
+
height: var(--co-inphoto-image-enhancer-style-lov-image-size);
|
|
67
|
+
object-fit: cover;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.lov-input-placeholder-image {
|
|
71
|
+
width: var(--co-inphoto-image-enhancer-style-lov-image-size);
|
|
72
|
+
height: var(--co-inphoto-image-enhancer-style-lov-image-size);
|
|
73
|
+
}
|
|
74
|
+
}
|
|
75
|
+
|
|
76
|
+
.lov-text-container {
|
|
77
|
+
.lov-input-placeholder {
|
|
78
|
+
margin-bottom: var(--co-inphoto-image-enhancer-style-lov-placeholder-margin-bottom);
|
|
79
|
+
}
|
|
80
|
+
}
|
|
81
|
+
|
|
82
|
+
.lov-state-icon {
|
|
83
|
+
margin-left: var(--co-inphoto-image-enhancer-style-lov-state-icon-margin-left);
|
|
84
|
+
|
|
85
|
+
.co-icon {
|
|
86
|
+
height: var(--co-inphoto-image-enhancer-style-lov-state-icon-size);
|
|
87
|
+
width: var(--co-inphoto-image-enhancer-style-lov-state-icon-size);
|
|
88
|
+
}
|
|
89
|
+
}
|
|
90
|
+
}
|
|
91
|
+
|
|
92
|
+
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ai-prompt-container {
|
|
97
|
+
margin-bottom: var(--co-inphoto-image-enhancer-style-ai-prompt-margin-bottom);
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.tool-explainer, .explainer-text {
|
|
101
|
+
padding: var(--co-inphoto-image-enhancer-style-padding);
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.tool-explainer {
|
|
105
|
+
.header-with-icon {
|
|
106
|
+
display: flex;
|
|
107
|
+
align-items: center;
|
|
108
|
+
}
|
|
109
|
+
}
|
|
110
|
+
|
|
111
|
+
.button-container {
|
|
112
|
+
display: flex;
|
|
113
|
+
justify-content: space-between;
|
|
114
|
+
gap: var(--co-inphoto-image-enhancer-style-button-container-gap);
|
|
115
|
+
margin-top: var(--co-inphoto-image-enhancer-style-button-container-margin-top);
|
|
116
|
+
|
|
117
|
+
.co-button {
|
|
118
|
+
flex: 1;
|
|
119
|
+
}
|
|
120
|
+
}
|
|
121
|
+
}
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
// LOV is appended to the dom outside .co-image-enhancer-style, so its variables are scoped
|
|
125
|
+
// to .co-list-of-custom-values-popup in _material-definition.scss instead.
|
|
126
|
+
.co-custom-list-of-values-popup {
|
|
127
|
+
.lov-template-container {
|
|
128
|
+
display: grid;
|
|
129
|
+
grid-template-columns: var(--co-inphoto-image-enhancer-style-lov-popup-columns);
|
|
130
|
+
gap: var(--co-inphoto-image-enhancer-style-lov-popup-gap);
|
|
131
|
+
|
|
132
|
+
.lov-template-tile {
|
|
133
|
+
cursor: pointer;
|
|
134
|
+
|
|
135
|
+
.lov-template-image {
|
|
136
|
+
max-height: var(--co-inphoto-image-enhancer-style-lov-popup-image-max-height);
|
|
137
|
+
overflow: hidden;
|
|
138
|
+
img {
|
|
139
|
+
width: var(--co-inphoto-image-enhancer-style-lov-popup-full-width);
|
|
140
|
+
}
|
|
141
|
+
}
|
|
142
|
+
|
|
143
|
+
.lov-template-text {
|
|
144
|
+
padding: var(--co-inphoto-image-enhancer-style-lov-popup-text-padding);
|
|
145
|
+
}
|
|
146
|
+
}
|
|
147
|
+
}
|
|
148
|
+
}
|
|
@@ -1,16 +1,42 @@
|
|
|
1
|
-
.co-image-enhancer-style {
|
|
2
|
-
--co-inphoto-image-enhancer-style-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
-
--co-inphoto-image-enhancer-style-font-family: var(--co-inphoto-font-family);
|
|
4
|
-
--co-inphoto-image-enhancer-style-padding: 15px;
|
|
5
|
-
--co-inphoto-image-enhancer-style-form-margin: 20px auto;
|
|
6
|
-
--co-inphoto-image-enhancer-style-field-height:
|
|
7
|
-
--co-inphoto-image-enhancer-style-field-padding-bottom: 10px;
|
|
8
|
-
--co-inphoto-image-enhancer-style-label-transform-none: none;
|
|
9
|
-
--co-inphoto-image-enhancer-style-label-top: 10px;
|
|
10
|
-
--co-inphoto-image-enhancer-style-right-icon-size: 15px;
|
|
11
|
-
--co-inphoto-image-enhancer-style-header-icon-margin: 15px;
|
|
12
|
-
--co-inphoto-image-enhancer-style-button-container-margin-top: 20px;
|
|
13
|
-
--co-inphoto-image-enhancer-style-generate-button-margin-bottom: 30px;
|
|
14
|
-
--co-inphoto-image-enhancer-style-button-label-margin-left: 15px;
|
|
15
|
-
--co-inphoto-image-enhancer-style-button-label-font-weight:
|
|
16
|
-
|
|
1
|
+
.co-image-enhancer-style {
|
|
2
|
+
--co-inphoto-image-enhancer-style-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-image-enhancer-style-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-image-enhancer-style-padding: 15px;
|
|
5
|
+
--co-inphoto-image-enhancer-style-form-margin: 20px auto;
|
|
6
|
+
--co-inphoto-image-enhancer-style-field-height: 85px;
|
|
7
|
+
--co-inphoto-image-enhancer-style-field-padding-bottom: 10px;
|
|
8
|
+
--co-inphoto-image-enhancer-style-label-transform-none: none;
|
|
9
|
+
--co-inphoto-image-enhancer-style-label-top: 10px;
|
|
10
|
+
--co-inphoto-image-enhancer-style-right-icon-size: 15px;
|
|
11
|
+
--co-inphoto-image-enhancer-style-header-icon-margin: 15px;
|
|
12
|
+
--co-inphoto-image-enhancer-style-button-container-margin-top: 20px;
|
|
13
|
+
--co-inphoto-image-enhancer-style-generate-button-margin-bottom: 30px;
|
|
14
|
+
--co-inphoto-image-enhancer-style-button-label-margin-left: 15px;
|
|
15
|
+
--co-inphoto-image-enhancer-style-button-label-font-weight: normal;
|
|
16
|
+
--co-inphoto-image-enhancer-style-divider-border: 1px solid var(--co-inphoto-border-color);
|
|
17
|
+
--co-inphoto-image-enhancer-style-ai-prompt-margin-bottom: 20px;
|
|
18
|
+
--co-inphoto-image-enhancer-style-lov-radius: 10px;
|
|
19
|
+
--co-inphoto-image-enhancer-style-lov-input-gap: 24px;
|
|
20
|
+
--co-inphoto-image-enhancer-style-lov-input-padding: 4px 0;
|
|
21
|
+
--co-inphoto-image-enhancer-style-lov-image-size: 75px;
|
|
22
|
+
--co-inphoto-image-enhancer-style-lov-placeholder-background: #D2D2D3;
|
|
23
|
+
--co-inphoto-image-enhancer-style-lov-placeholder-margin-bottom: 4px;
|
|
24
|
+
--co-inphoto-image-enhancer-style-lov-value-color: #8083A3;
|
|
25
|
+
--co-inphoto-image-enhancer-style-lov-state-icon-margin-left: auto;
|
|
26
|
+
--co-inphoto-image-enhancer-style-lov-state-icon-size: 20px;
|
|
27
|
+
--co-inphoto-image-enhancer-style-button-container-gap: 16px;
|
|
28
|
+
--co-inphoto-image-enhancer-style-no-border: none;
|
|
29
|
+
--co-inphoto-image-enhancer-style-no-shadow: none;
|
|
30
|
+
}
|
|
31
|
+
|
|
32
|
+
// The LOV popup is appended to the dom outside .co-image-enhancer-style, so its variables live on the popup itself
|
|
33
|
+
.co-custom-list-of-values-popup {
|
|
34
|
+
--co-inphoto-image-enhancer-style-lov-popup-columns: repeat(4, 1fr);
|
|
35
|
+
--co-inphoto-image-enhancer-style-lov-popup-gap: 8px;
|
|
36
|
+
--co-inphoto-image-enhancer-style-lov-popup-image-max-height: 65px;
|
|
37
|
+
--co-inphoto-image-enhancer-style-lov-popup-full-width: 100%;
|
|
38
|
+
--co-inphoto-image-enhancer-style-lov-popup-text-padding: 4px;
|
|
39
|
+
--co-inphoto-image-enhancer-style-lov-popup-tile-radius: 10px;
|
|
40
|
+
--co-inphoto-image-enhancer-style-lov-popup-tile-background: #efefef;
|
|
41
|
+
--co-inphoto-image-enhancer-style-lov-popup-image-radius: 6px;
|
|
42
|
+
}
|