@colijnit/inphoto 300.1.7 → 300.1.8
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-add-products-tile.jpg +0 -0
- package/assets/inphoto-change-floorl.jpg +0 -0
- package/assets/inphoto-change-wall.jpg +0 -0
- package/fesm2022/colijnit-inphoto.mjs +1344 -492
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/layer_group_sharp_solid.svg +1 -0
- package/icons/paint_roller_sharp_solid.svg +1 -0
- package/index.d.ts +198 -49
- package/lib/component/ai-prompt/style/_layout.scss +76 -86
- package/lib/component/ai-prompt/style/_material-definition.scss +38 -6
- package/lib/component/ai-prompt/style/_theme.scss +78 -67
- package/lib/component/canvas-tool-bar/style/_layout.scss +63 -65
- package/lib/component/canvas-tool-bar/style/_material-definition.scss +37 -11
- package/lib/component/canvas-tool-bar/style/_theme.scss +108 -106
- package/lib/component/catalog/style/_layout.scss +68 -55
- package/lib/component/catalog/style/_material-definition.scss +22 -4
- package/lib/component/catalog/style/_theme.scss +43 -59
- package/lib/component/configuration-side-bar-menu/style/_layout.scss +33 -33
- package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +10 -6
- package/lib/component/configuration-side-bar-menu/style/_theme.scss +4 -1
- package/lib/component/edit-canvas/style/_layout.scss +85 -75
- package/lib/component/edit-canvas/style/_material-definition.scss +25 -3
- package/lib/component/edit-canvas/style/_theme.scss +61 -46
- package/lib/component/error-dialog/style/_layout.scss +36 -39
- package/lib/component/error-dialog/style/_material-definition.scss +12 -3
- package/lib/component/error-dialog/style/_theme.scss +17 -10
- package/lib/component/header/style/_layout.scss +20 -21
- package/lib/component/header/style/_material-definition.scss +8 -6
- package/lib/component/header/style/_theme.scss +7 -0
- package/lib/component/image-enhancer/style/_layout.scss +37 -38
- package/lib/component/image-enhancer/style/_material-definition.scss +13 -6
- package/lib/component/image-enhancer/style/_theme.scss +45 -43
- package/lib/component/image-enhancer-style/style/_layout.scss +65 -107
- package/lib/component/image-enhancer-style/style/_material-definition.scss +16 -3
- package/lib/component/image-enhancer-style/style/_theme.scss +120 -72
- package/lib/component/image-enhancer-upload/style/_layout.scss +48 -11
- package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -3
- package/lib/component/image-enhancer-upload/style/_theme.scss +66 -87
- package/lib/component/image-history/style/_layout.scss +57 -127
- package/lib/component/image-history/style/_material-definition.scss +20 -5
- package/lib/component/image-history/style/_theme.scss +25 -46
- package/lib/component/image-history-tile/style/_layout.scss +53 -56
- package/lib/component/image-history-tile/style/_material-definition.scss +15 -3
- package/lib/component/image-history-tile/style/_theme.scss +32 -28
- package/lib/component/image-overlay/style/_layout.scss +84 -0
- package/lib/component/image-overlay/style/_material-definition.scss +21 -0
- package/lib/component/image-overlay/style/_theme.scss +40 -0
- package/lib/component/image-overlay/style/material.scss +3 -0
- package/lib/component/image-process-complete/style/_layout.scss +42 -33
- package/lib/component/image-process-complete/style/_material-definition.scss +13 -5
- package/lib/component/image-process-complete/style/_theme.scss +24 -18
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +15 -17
- package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +9 -3
- package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +15 -12
- package/lib/component/image-tile/style/_layout.scss +102 -101
- package/lib/component/image-tile/style/_material-definition.scss +18 -3
- package/lib/component/image-tile/style/_theme.scss +58 -53
- package/lib/component/image-upload/style/_layout.scss +93 -103
- package/lib/component/image-upload/style/_material-definition.scss +35 -9
- package/lib/component/image-upload/style/_theme.scss +103 -80
- package/lib/component/inphoto/style/_layout.scss +11 -0
- package/lib/component/inphoto/style/_material-definition.scss +3 -1
- package/lib/component/inphoto/style/_theme.scss +2 -1
- package/lib/component/marker/style/_layout.scss +30 -0
- package/lib/component/marker/style/_material-definition.scss +12 -0
- package/lib/component/marker/style/_theme.scss +30 -0
- package/lib/component/marker/style/material.scss +3 -0
- package/lib/component/photo-editor/style/_layout.scss +38 -29
- package/lib/component/photo-editor/style/_material-definition.scss +8 -3
- package/lib/component/photo-editor/style/_theme.scss +2 -1
- package/lib/component/prepare-starting-image/style/_layout.scss +34 -26
- package/lib/component/prepare-starting-image/style/_material-definition.scss +11 -4
- package/lib/component/prepare-starting-image/style/_theme.scss +7 -0
- package/lib/component/process-loader/style/_layout.scss +74 -92
- package/lib/component/process-loader/style/_material-definition.scss +24 -6
- package/lib/component/process-loader/style/_theme.scss +128 -103
- package/lib/component/scene-context-menu/style/_layout.scss +59 -66
- package/lib/component/scene-context-menu/style/_material-definition.scss +27 -4
- package/lib/component/scene-context-menu/style/_theme.scss +57 -44
- package/lib/component/segment-inpaint/style/_layout.scss +51 -32
- package/lib/component/segment-inpaint/style/_material-definition.scss +11 -3
- package/lib/component/segment-inpaint/style/_theme.scss +29 -19
- package/lib/component/side-bar-menu/style/_layout.scss +26 -45
- package/lib/component/side-bar-menu/style/_material-definition.scss +12 -3
- package/lib/component/side-bar-menu/style/_theme.scss +32 -6
- package/lib/component/side-panel/style/_layout.scss +45 -40
- package/lib/component/side-panel/style/_material-definition.scss +16 -6
- package/lib/component/side-panel/style/_theme.scss +39 -44
- package/lib/component/step-tile/style/_layout.scss +50 -53
- package/lib/component/step-tile/style/_material-definition.scss +20 -6
- package/lib/component/step-tile/style/_theme.scss +78 -72
- package/lib/component/threedscene/style/_layout.scss +57 -35
- package/lib/component/threedscene/style/_material-definition.scss +12 -3
- package/lib/component/threedscene/style/_theme.scss +17 -8
- package/lib/component/upload-starting-image/style/_layout.scss +58 -51
- package/lib/component/upload-starting-image/style/_material-definition.scss +18 -3
- package/lib/component/upload-starting-image/style/_theme.scss +39 -46
- package/lib/style/_index.scss +0 -1
- package/lib/style/_variables.scss +5 -2
- package/package.json +1 -1
|
@@ -1,87 +1,66 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-enhancer-upload-theme') {
|
|
4
|
-
.co-image-enhancer-upload {
|
|
5
|
-
|
|
6
|
-
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
var(--co-inphoto-button-
|
|
48
|
-
var(--co-inphoto-button-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
var(--co-inphoto-button-padding)
|
|
68
|
-
);
|
|
69
|
-
|
|
70
|
-
.label {
|
|
71
|
-
margin-left: 15px;
|
|
72
|
-
font-weight: bold;
|
|
73
|
-
}
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.uploaded-image-container {
|
|
78
|
-
grid-template-columns: repeat(3, 1fr);
|
|
79
|
-
margin: 20px 0;
|
|
80
|
-
}
|
|
81
|
-
}
|
|
82
|
-
|
|
83
|
-
}
|
|
84
|
-
}
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-enhancer-upload-theme') {
|
|
4
|
+
.co-image-enhancer-upload {
|
|
5
|
+
font-family: var(--co-inphoto-image-enhancer-upload-font-family);
|
|
6
|
+
font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
|
|
7
|
+
|
|
8
|
+
.image-enhancer-upload {
|
|
9
|
+
|
|
10
|
+
.tool-explainer {
|
|
11
|
+
background: var(--co-inphoto-background-white);
|
|
12
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
13
|
+
|
|
14
|
+
.header-with-icon {
|
|
15
|
+
.tool-explainer-header {
|
|
16
|
+
font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
|
|
17
|
+
font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.tool-explainer-text {
|
|
22
|
+
font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.button-container {
|
|
27
|
+
.generate-button {
|
|
28
|
+
@include cfg.action-button(
|
|
29
|
+
var(--co-inphoto-active-button-background),
|
|
30
|
+
var(--co-inphoto-active-button-background),
|
|
31
|
+
var(--co-inphoto-active-button-color),
|
|
32
|
+
var(--co-inphoto-button-font-size),
|
|
33
|
+
var(--co-inphoto-button-icon-size),
|
|
34
|
+
var(--co-inphoto-active-button-color),
|
|
35
|
+
var(--co-inphoto-button-border),
|
|
36
|
+
var(--co-inphoto-button-radius),
|
|
37
|
+
var(--co-inphoto-button-padding)
|
|
38
|
+
);
|
|
39
|
+
|
|
40
|
+
.label {
|
|
41
|
+
font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
|
|
42
|
+
}
|
|
43
|
+
}
|
|
44
|
+
|
|
45
|
+
.restart-button {
|
|
46
|
+
@include cfg.action-button(
|
|
47
|
+
var(--co-inphoto-button-background),
|
|
48
|
+
var(--co-inphoto-button-background),
|
|
49
|
+
var(--co-inphoto-button-color),
|
|
50
|
+
var(--co-inphoto-button-font-size),
|
|
51
|
+
var(--co-inphoto-button-icon-size),
|
|
52
|
+
var(--co-inphoto-button-icon-color),
|
|
53
|
+
var(--co-inphoto-button-border),
|
|
54
|
+
var(--co-inphoto-button-radius),
|
|
55
|
+
var(--co-inphoto-button-padding)
|
|
56
|
+
);
|
|
57
|
+
|
|
58
|
+
.label {
|
|
59
|
+
font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
|
|
60
|
+
}
|
|
61
|
+
}
|
|
62
|
+
}
|
|
63
|
+
}
|
|
64
|
+
|
|
65
|
+
}
|
|
66
|
+
}
|
|
@@ -1,127 +1,57 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-history-layout') {
|
|
4
|
-
.co-image-history {
|
|
5
|
-
.image-history-container {
|
|
6
|
-
position: absolute;
|
|
7
|
-
bottom: var(--co-inphoto-
|
|
8
|
-
left: var(--co-inphoto-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
overflow-
|
|
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
|
-
.larger-image-dialog {
|
|
59
|
-
position: fixed;
|
|
60
|
-
inset: 0;
|
|
61
|
-
z-index: 1000;
|
|
62
|
-
display: flex;
|
|
63
|
-
flex-direction: column;
|
|
64
|
-
justify-content: center;
|
|
65
|
-
align-items: center;
|
|
66
|
-
|
|
67
|
-
.dialog-container {
|
|
68
|
-
position: relative;
|
|
69
|
-
|
|
70
|
-
.close-dialog-button, .dialog-prev-button, .dialog-next-button {
|
|
71
|
-
position: absolute;
|
|
72
|
-
cursor: pointer;
|
|
73
|
-
width: 30px;
|
|
74
|
-
height: 30px;
|
|
75
|
-
border-radius: 50%;
|
|
76
|
-
display: flex;
|
|
77
|
-
align-items: center;
|
|
78
|
-
justify-content: space-around;
|
|
79
|
-
|
|
80
|
-
.co-icon {
|
|
81
|
-
flex: 1
|
|
82
|
-
}
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.close-dialog-button {
|
|
86
|
-
top: 20px;
|
|
87
|
-
right: 20px;
|
|
88
|
-
}
|
|
89
|
-
|
|
90
|
-
.dialog-prev-button {
|
|
91
|
-
left: 20px;
|
|
92
|
-
top: 50%;
|
|
93
|
-
}
|
|
94
|
-
|
|
95
|
-
.dialog-next-button {
|
|
96
|
-
right: 20px;
|
|
97
|
-
top: 50%;
|
|
98
|
-
}
|
|
99
|
-
|
|
100
|
-
.dialog-toolbar {
|
|
101
|
-
position: absolute;
|
|
102
|
-
bottom: 20px;
|
|
103
|
-
right: 20px;
|
|
104
|
-
display: flex;
|
|
105
|
-
gap: 10px;
|
|
106
|
-
|
|
107
|
-
.co-button {
|
|
108
|
-
display: flex;
|
|
109
|
-
cursor: pointer;
|
|
110
|
-
padding: 8px 15px;
|
|
111
|
-
|
|
112
|
-
.label {
|
|
113
|
-
margin-left: 10px;
|
|
114
|
-
}
|
|
115
|
-
}
|
|
116
|
-
}
|
|
117
|
-
}
|
|
118
|
-
|
|
119
|
-
.large-image {
|
|
120
|
-
max-width: 100vw;
|
|
121
|
-
max-height: 90vh;
|
|
122
|
-
object-fit: contain;
|
|
123
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
124
|
-
}
|
|
125
|
-
}
|
|
126
|
-
}
|
|
127
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-history-layout') {
|
|
4
|
+
.co-image-history {
|
|
5
|
+
.image-history-container {
|
|
6
|
+
position: var(--co-inphoto-image-history-position-absolute);
|
|
7
|
+
bottom: var(--co-inphoto-image-history-container-bottom);
|
|
8
|
+
left: var(--co-inphoto-image-history-container-left);
|
|
9
|
+
padding: var(--co-inphoto-image-history-dialog-offset);
|
|
10
|
+
}
|
|
11
|
+
|
|
12
|
+
.image-history-card {
|
|
13
|
+
position: var(--co-inphoto-image-history-position-relative);
|
|
14
|
+
display: flex;
|
|
15
|
+
align-items: center;
|
|
16
|
+
max-width: var(--co-inphoto-image-history-card-max-width);
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
.image-history-tiles {
|
|
20
|
+
flex: 1 1 auto;
|
|
21
|
+
min-width: 0;
|
|
22
|
+
display: flex;
|
|
23
|
+
gap: var(--co-inphoto-image-history-gap);
|
|
24
|
+
overflow-x: auto;
|
|
25
|
+
overflow-y: hidden;
|
|
26
|
+
scroll-behavior: smooth;
|
|
27
|
+
scrollbar-width: none;
|
|
28
|
+
-ms-overflow-style: none;
|
|
29
|
+
|
|
30
|
+
&::-webkit-scrollbar {
|
|
31
|
+
display: none;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
|
|
35
|
+
.scroll-btn {
|
|
36
|
+
position: var(--co-inphoto-image-history-position-absolute);
|
|
37
|
+
top: var(--co-inphoto-image-history-vertical-center);
|
|
38
|
+
transform: var(--co-inphoto-image-history-vertical-translate);
|
|
39
|
+
display: flex;
|
|
40
|
+
align-items: center;
|
|
41
|
+
justify-content: center;
|
|
42
|
+
width: var(--co-inphoto-image-history-button-size);
|
|
43
|
+
height: var(--co-inphoto-image-history-button-size);
|
|
44
|
+
padding: var(--co-inphoto-image-history-zero);
|
|
45
|
+
cursor: pointer;
|
|
46
|
+
z-index: var(--co-inphoto-image-history-button-z-index);
|
|
47
|
+
|
|
48
|
+
&-left {
|
|
49
|
+
left: var(--co-inphoto-image-history-button-edge-offset);
|
|
50
|
+
}
|
|
51
|
+
|
|
52
|
+
&-right {
|
|
53
|
+
right: var(--co-inphoto-image-history-button-edge-offset);
|
|
54
|
+
}
|
|
55
|
+
}
|
|
56
|
+
}
|
|
57
|
+
}
|
|
@@ -1,5 +1,20 @@
|
|
|
1
|
-
|
|
2
|
-
--co-inphoto-history-
|
|
3
|
-
--co-inphoto-
|
|
4
|
-
--co-inphoto-
|
|
5
|
-
|
|
1
|
+
.co-image-history {
|
|
2
|
+
--co-inphoto-image-history-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-image-history-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-image-history-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
|
|
5
|
+
--co-inphoto-image-history-container-bottom: 10px;
|
|
6
|
+
--co-inphoto-image-history-container-left: 115px;
|
|
7
|
+
--co-inphoto-image-history-position-absolute: absolute;
|
|
8
|
+
--co-inphoto-image-history-position-relative: relative;
|
|
9
|
+
--co-inphoto-image-history-card-max-width: 675px;
|
|
10
|
+
--co-inphoto-image-history-gap: 10px;
|
|
11
|
+
--co-inphoto-image-history-button-size: 30px;
|
|
12
|
+
--co-inphoto-image-history-button-radius: 50%;
|
|
13
|
+
--co-inphoto-image-history-button-border: none;
|
|
14
|
+
--co-inphoto-image-history-zero: 0;
|
|
15
|
+
--co-inphoto-image-history-button-z-index: 2;
|
|
16
|
+
--co-inphoto-image-history-vertical-center: 50%;
|
|
17
|
+
--co-inphoto-image-history-vertical-translate: translateY(-50%);
|
|
18
|
+
--co-inphoto-image-history-button-edge-offset: -6px;
|
|
19
|
+
--co-inphoto-image-history-dialog-offset: 20px;
|
|
20
|
+
}
|
|
@@ -1,46 +1,25 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-history-theme') {
|
|
4
|
-
.co-image-history {
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
background: var(--co-inphoto-loader-background-dark);
|
|
27
|
-
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color-light));
|
|
28
|
-
}
|
|
29
|
-
|
|
30
|
-
.dialog-toolbar {
|
|
31
|
-
.co-button {
|
|
32
|
-
background: var(--co-inphoto-loader-background-dark);
|
|
33
|
-
color: var(--co-inphoto-color-light);
|
|
34
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
35
|
-
font-size: var(--co-inphoto-font-size-label);
|
|
36
|
-
|
|
37
|
-
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
|
|
38
|
-
}
|
|
39
|
-
}
|
|
40
|
-
}
|
|
41
|
-
}
|
|
42
|
-
}
|
|
43
|
-
}
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-history-theme') {
|
|
4
|
+
.co-image-history {
|
|
5
|
+
font-family: var(--co-inphoto-image-history-font-family);
|
|
6
|
+
font-size: var(--co-inphoto-image-history-font-size-text);
|
|
7
|
+
|
|
8
|
+
.image-history-container {
|
|
9
|
+
background: var(--co-inphoto-dialog-background-color);
|
|
10
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.image-history-card {
|
|
14
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.scroll-btn {
|
|
18
|
+
background: var(--co-inphoto-background-white);
|
|
19
|
+
box-shadow: var(--co-inphoto-image-history-box-shadow);
|
|
20
|
+
border: var(--co-inphoto-image-history-button-border);
|
|
21
|
+
border-radius: var(--co-inphoto-image-history-button-radius);
|
|
22
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
}
|
|
@@ -1,56 +1,53 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-history-tile-layout') {
|
|
4
|
-
.co-image-history-tile {
|
|
5
|
-
flex: 0 0 auto;
|
|
6
|
-
width:
|
|
7
|
-
|
|
8
|
-
.image-history-item {
|
|
9
|
-
position: relative;
|
|
10
|
-
width:
|
|
11
|
-
height:
|
|
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
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
}
|
|
55
|
-
}
|
|
56
|
-
}
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-history-tile-layout') {
|
|
4
|
+
.co-image-history-tile {
|
|
5
|
+
flex: 0 0 auto;
|
|
6
|
+
width: var(--co-inphoto-image-history-tile-width);
|
|
7
|
+
|
|
8
|
+
.image-history-item {
|
|
9
|
+
position: var(--co-inphoto-image-history-tile-position-relative);
|
|
10
|
+
width: var(--co-inphoto-image-history-tile-item-full-width);
|
|
11
|
+
height: var(--co-inphoto-image-history-tile-item-height);
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
cursor: pointer;
|
|
14
|
+
|
|
15
|
+
img {
|
|
16
|
+
display: block;
|
|
17
|
+
width: var(--co-inphoto-image-history-tile-item-full-width);
|
|
18
|
+
height: var(--co-inphoto-image-history-tile-item-full-width);
|
|
19
|
+
object-fit: cover;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.tile-action {
|
|
23
|
+
position: absolute;
|
|
24
|
+
display: flex;
|
|
25
|
+
align-items: center;
|
|
26
|
+
justify-content: center;
|
|
27
|
+
width: var(--co-inphoto-image-history-tile-action-size);
|
|
28
|
+
height: var(--co-inphoto-image-history-tile-action-size);
|
|
29
|
+
opacity: var(--co-inphoto-image-history-tile-action-hidden-opacity);
|
|
30
|
+
z-index: var(--co-inphoto-image-history-tile-action-z-index);
|
|
31
|
+
}
|
|
32
|
+
|
|
33
|
+
&:hover .tile-action, .tile-action-select {
|
|
34
|
+
opacity: var(--co-inphoto-image-history-tile-action-visible-opacity);
|
|
35
|
+
}
|
|
36
|
+
|
|
37
|
+
.tile-action-select {
|
|
38
|
+
top: var(--co-inphoto-image-history-tile-action-offset);
|
|
39
|
+
right: var(--co-inphoto-image-history-tile-action-offset);
|
|
40
|
+
}
|
|
41
|
+
|
|
42
|
+
.tile-action-download {
|
|
43
|
+
bottom: var(--co-inphoto-image-history-tile-action-offset);
|
|
44
|
+
left: var(--co-inphoto-image-history-tile-action-offset);
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.tile-action-remove {
|
|
48
|
+
bottom: var(--co-inphoto-image-history-tile-action-offset);
|
|
49
|
+
right: var(--co-inphoto-image-history-tile-action-offset);
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
}
|
|
@@ -1,3 +1,15 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
1
|
+
.co-image-history-tile {
|
|
2
|
+
--co-inphoto-image-history-tile-font-size-text: var(--co-inphoto-font-size-text);
|
|
3
|
+
--co-inphoto-image-history-tile-font-family: var(--co-inphoto-font-family);
|
|
4
|
+
--co-inphoto-image-history-tile-width: 160px;
|
|
5
|
+
--co-inphoto-image-history-tile-position-relative: relative;
|
|
6
|
+
--co-inphoto-image-history-tile-item-full-width: 100%;
|
|
7
|
+
--co-inphoto-image-history-tile-item-height: 115px;
|
|
8
|
+
--co-inphoto-image-history-tile-action-size: 26px;
|
|
9
|
+
--co-inphoto-image-history-tile-action-radius: 50%;
|
|
10
|
+
--co-inphoto-image-history-tile-action-hidden-opacity: 0;
|
|
11
|
+
--co-inphoto-image-history-tile-action-visible-opacity: 1;
|
|
12
|
+
--co-inphoto-image-history-tile-action-transition: opacity 0.15s ease;
|
|
13
|
+
--co-inphoto-image-history-tile-action-z-index: 1;
|
|
14
|
+
--co-inphoto-image-history-tile-action-offset: 6px;
|
|
15
|
+
}
|
|
@@ -1,28 +1,32 @@
|
|
|
1
|
-
@use '../../../style' as cfg;
|
|
2
|
-
|
|
3
|
-
@include cfg.export-module('co-image-history-tile-theme') {
|
|
4
|
-
|
|
5
|
-
.co-image-history-tile {
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
background: var(--co-inphoto-accent-color);
|
|
21
|
-
}
|
|
22
|
-
}
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
1
|
+
@use '../../../style' as cfg;
|
|
2
|
+
|
|
3
|
+
@include cfg.export-module('co-image-history-tile-theme') {
|
|
4
|
+
|
|
5
|
+
.co-image-history-tile {
|
|
6
|
+
font-family: var(--co-inphoto-image-history-tile-font-family);
|
|
7
|
+
font-size: var(--co-inphoto-image-history-tile-font-size-text);
|
|
8
|
+
|
|
9
|
+
.image-history-item {
|
|
10
|
+
border-radius: var(--co-inphoto-border-radius);
|
|
11
|
+
|
|
12
|
+
.tile-action {
|
|
13
|
+
color: var(--co-inphoto-background-white);
|
|
14
|
+
background: var(--co-inphoto-loader-background-light);
|
|
15
|
+
border-radius: var(--co-inphoto-image-history-tile-action-radius);
|
|
16
|
+
transition: var(--co-inphoto-image-history-tile-action-transition);
|
|
17
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
|
|
18
|
+
|
|
19
|
+
&:hover {
|
|
20
|
+
background: var(--co-inphoto-accent-color);
|
|
21
|
+
}
|
|
22
|
+
}
|
|
23
|
+
|
|
24
|
+
&-selected {
|
|
25
|
+
.tile-action-select {
|
|
26
|
+
opacity: var(--co-inphoto-image-history-tile-action-visible-opacity);
|
|
27
|
+
background: var(--co-inphoto-accent-color);
|
|
28
|
+
}
|
|
29
|
+
}
|
|
30
|
+
}
|
|
31
|
+
}
|
|
32
|
+
}
|