@colijnit/inphoto 300.1.2 → 300.1.4
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.jpg +0 -0
- package/fesm2022/colijnit-inphoto.mjs +987 -804
- package/fesm2022/colijnit-inphoto.mjs.map +1 -1
- package/icons/arrow_down_solid_full.svg +1 -0
- package/icons/minus_solid_full.svg +1 -0
- package/icons/plus_solid_full.svg +1 -0
- package/index.d.ts +120 -54
- package/lib/component/ai-prompt/style/_layout.scss +1 -37
- package/lib/component/ai-prompt/style/_material-definition.scss +3 -1
- package/lib/component/ai-prompt/style/_theme.scss +60 -1
- package/lib/component/canvas-tool-bar/style/_layout.scss +20 -21
- package/lib/component/catalog/style/_layout.scss +1 -1
- package/lib/component/catalog/style/_theme.scss +8 -0
- package/lib/component/edit-canvas/style/_layout.scss +53 -4
- package/lib/component/edit-canvas/style/_theme.scss +4 -0
- package/lib/component/header/style/_layout.scss +24 -0
- package/lib/component/header/style/_material-definition.scss +3 -0
- package/lib/component/header/style/_theme.scss +20 -0
- package/lib/component/image-enhancer/style/_layout.scss +0 -61
- package/lib/component/image-enhancer/style/_theme.scss +14 -7
- package/lib/component/image-history/style/_layout.scss +3 -14
- package/lib/component/image-history/style/_theme.scss +19 -1
- package/lib/component/image-history-tile/style/_layout.scss +0 -11
- package/lib/component/image-history-tile/style/_theme.scss +9 -12
- package/lib/component/image-process-complete/style/_layout.scss +37 -29
- package/lib/component/image-process-complete/style/_material-definition.scss +2 -0
- package/lib/component/image-process-complete/style/_theme.scss +25 -46
- package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +2 -2
- package/lib/component/image-tile/style/_layout.scss +26 -23
- package/lib/component/image-tile/style/_theme.scss +45 -0
- package/lib/component/photo-editor/style/_layout.scss +16 -2
- package/lib/component/prepare-starting-image/style/_layout.scss +29 -74
- package/lib/component/prepare-starting-image/style/_material-definition.scss +1 -0
- package/lib/component/prepare-starting-image/style/_theme.scss +20 -93
- package/lib/component/ready-to-add-articles/style/_layout.scss +6 -1
- package/lib/component/ready-to-add-articles/style/_theme.scss +3 -3
- package/lib/component/scene-context-menu/style/_layout.scss +0 -22
- package/lib/component/scene-context-menu/style/_material-definition.scss +2 -1
- package/lib/component/scene-context-menu/style/_theme.scss +36 -0
- package/lib/component/segment-inpaint/style/_layout.scss +26 -29
- package/lib/component/segment-inpaint/style/_theme.scss +33 -0
- package/lib/component/step-tile/style/_layout.scss +57 -0
- package/lib/component/step-tile/style/_material-definition.scss +2 -0
- package/lib/component/step-tile/style/_theme.scss +89 -0
- package/lib/component/threed-to-ai/style/_layout.scss +0 -19
- package/lib/component/threed-to-ai/style/_theme.scss +24 -0
- package/lib/component/threedscene/style/_layout.scss +17 -3
- package/lib/style/_variables.scss +1 -0
- package/lib/style/inphoto-globals.scss +1 -0
- package/package.json +1 -1
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_layout.scss +0 -45
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_material-definition.scss +0 -3
- package/lib/component/image-process-complete/components/image-process-complete-next/style/_theme.scss +0 -10
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_layout.scss +0 -49
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_material-definition.scss +0 -3
- package/lib/component/segment-inpaint/components/inpaint-info-card/style/_theme.scss +0 -10
- /package/lib/component/{image-process-complete/components/image-process-complete-next → header}/style/material.scss +0 -0
- /package/lib/component/{segment-inpaint/components/inpaint-info-card → step-tile}/style/material.scss +0 -0
|
@@ -2,12 +2,10 @@
|
|
|
2
2
|
|
|
3
3
|
@include cfg.export-module('co-image-title-layout') {
|
|
4
4
|
.co-image-title {
|
|
5
|
-
|
|
6
5
|
.image-tile {
|
|
7
6
|
border-radius: var(--co-inphoto-border-radius);
|
|
8
7
|
overflow: hidden;
|
|
9
8
|
width: 95%;
|
|
10
|
-
background: var(--co-inphoto-background-white);
|
|
11
9
|
cursor: pointer;
|
|
12
10
|
|
|
13
11
|
.image-tile-top {
|
|
@@ -15,11 +13,13 @@
|
|
|
15
13
|
|
|
16
14
|
.image-tile-index, .image-tile-remove {
|
|
17
15
|
position: absolute;
|
|
18
|
-
|
|
19
|
-
|
|
16
|
+
display: flex;
|
|
17
|
+
align-items: center;
|
|
18
|
+
justify-content: space-around;
|
|
19
|
+
width: 28px;
|
|
20
|
+
height: 28px;
|
|
20
21
|
border-radius: 50%;
|
|
21
22
|
text-align: center;
|
|
22
|
-
background: var(--co-inphoto-background-white);
|
|
23
23
|
}
|
|
24
24
|
|
|
25
25
|
.image-tile-index {
|
|
@@ -32,21 +32,28 @@
|
|
|
32
32
|
top: 5px;
|
|
33
33
|
right: 5px;
|
|
34
34
|
cursor: pointer;
|
|
35
|
-
|
|
35
|
+
|
|
36
|
+
.co-button {
|
|
37
|
+
width: 28px;
|
|
38
|
+
height: 28px;
|
|
39
|
+
}
|
|
40
|
+
|
|
36
41
|
}
|
|
37
42
|
|
|
38
43
|
.image-tile-container {
|
|
39
|
-
min-height:
|
|
44
|
+
min-height: 130px;
|
|
45
|
+
max-height: 130px;
|
|
46
|
+
overflow: hidden;
|
|
40
47
|
|
|
41
48
|
.mask-no-image-explain {
|
|
42
49
|
box-sizing: border-box;
|
|
43
50
|
padding: 30px 8px 0;
|
|
44
|
-
font-size: var(--co-inphoto-font-size-label)
|
|
45
51
|
}
|
|
46
52
|
|
|
47
53
|
img {
|
|
48
54
|
width: 100%;
|
|
49
55
|
height: 100%;
|
|
56
|
+
max-height: 130px;
|
|
50
57
|
object-fit: contain;
|
|
51
58
|
}
|
|
52
59
|
}
|
|
@@ -55,17 +62,21 @@
|
|
|
55
62
|
.image-tile-bottom {
|
|
56
63
|
box-sizing: border-box;
|
|
57
64
|
padding: 8px;
|
|
65
|
+
display: flex;
|
|
66
|
+
flex-direction: column;
|
|
67
|
+
align-items: center;
|
|
58
68
|
|
|
59
|
-
.
|
|
60
|
-
|
|
61
|
-
|
|
69
|
+
.co-button {
|
|
70
|
+
background: none;
|
|
71
|
+
width: 28px;
|
|
72
|
+
height: 28px;
|
|
62
73
|
|
|
63
|
-
.
|
|
64
|
-
|
|
65
|
-
margin: 5px auto;
|
|
74
|
+
.brush-icon, .delete-icon {
|
|
75
|
+
cursor: pointer;
|
|
66
76
|
}
|
|
67
77
|
}
|
|
68
78
|
|
|
79
|
+
|
|
69
80
|
.hide-delete-button, .hide-brush-button {
|
|
70
81
|
display: none;
|
|
71
82
|
}
|
|
@@ -75,7 +86,7 @@
|
|
|
75
86
|
|
|
76
87
|
.color-palette {
|
|
77
88
|
display: grid;
|
|
78
|
-
grid-template-columns: repeat(5,
|
|
89
|
+
grid-template-columns: repeat(5, 30px);
|
|
79
90
|
}
|
|
80
91
|
|
|
81
92
|
.color-palette-disabled {
|
|
@@ -88,13 +99,5 @@
|
|
|
88
99
|
}
|
|
89
100
|
}
|
|
90
101
|
}
|
|
91
|
-
|
|
92
|
-
.active-item {
|
|
93
|
-
.image-tile-top {
|
|
94
|
-
.image-tile-index {
|
|
95
|
-
background: var(--co-inphoto-accent-color);
|
|
96
|
-
}
|
|
97
|
-
}
|
|
98
|
-
}
|
|
99
102
|
}
|
|
100
103
|
}
|
|
@@ -2,7 +2,52 @@
|
|
|
2
2
|
|
|
3
3
|
@include cfg.export-module('co-image-title-theme') {
|
|
4
4
|
.co-image-title {
|
|
5
|
+
.image-tile {
|
|
6
|
+
background: var(--co-inphoto-background-white);
|
|
5
7
|
|
|
8
|
+
.image-tile-top {
|
|
9
|
+
.image-tile-index, .image-tile-remove {
|
|
10
|
+
background: var(--co-inphoto-background-white);
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
.image-tile-remove {
|
|
14
|
+
border: 1px solid var(--co-inphoto-icon-color);
|
|
15
|
+
|
|
16
|
+
.co-button {
|
|
17
|
+
background: none;
|
|
18
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
|
|
22
|
+
.image-tile-container {
|
|
23
|
+
.mask-no-image-explain {
|
|
24
|
+
font-size: var(--co-inphoto-font-size-label)
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.image-tile-bottom {
|
|
30
|
+
.co-button {
|
|
31
|
+
.brush-icon, .delete-icon {
|
|
32
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
|
|
33
|
+
|
|
34
|
+
.co-icon {
|
|
35
|
+
display: block;
|
|
36
|
+
margin: 5px auto;
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.active-item {
|
|
45
|
+
.image-tile-top {
|
|
46
|
+
.image-tile-index {
|
|
47
|
+
background: var(--co-inphoto-accent-color);
|
|
48
|
+
}
|
|
49
|
+
}
|
|
50
|
+
}
|
|
6
51
|
}
|
|
7
52
|
}
|
|
8
53
|
|
|
@@ -2,6 +2,22 @@
|
|
|
2
2
|
|
|
3
3
|
@include cfg.export-module('co-photo-editor-layout') {
|
|
4
4
|
.co-photo-editor {
|
|
5
|
+
|
|
6
|
+
.photo-editor-dialog {
|
|
7
|
+
.photo-editor-container {
|
|
8
|
+
display: flex;
|
|
9
|
+
min-height: 100vh;
|
|
10
|
+
|
|
11
|
+
.photo-editor-canvas {
|
|
12
|
+
width: 70vw;
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.photo-editor-pane {
|
|
16
|
+
width: 30vw;
|
|
17
|
+
}
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
|
|
5
21
|
.photo-editor-upload {
|
|
6
22
|
display: flex;
|
|
7
23
|
align-items: center;
|
|
@@ -9,7 +25,5 @@
|
|
|
9
25
|
height: 100vh;
|
|
10
26
|
width: 100vw;
|
|
11
27
|
}
|
|
12
|
-
|
|
13
|
-
|
|
14
28
|
}
|
|
15
29
|
}
|
|
@@ -3,91 +3,33 @@
|
|
|
3
3
|
@include cfg.export-module('co-prepare-starting-image-layout') {
|
|
4
4
|
.co-prepare-starting-image {
|
|
5
5
|
.prepare-starting-image-container {
|
|
6
|
-
background-size: contain;
|
|
7
6
|
display: flex;
|
|
8
|
-
justify-content: space-around;
|
|
9
|
-
align-items: center;
|
|
7
|
+
//justify-content: space-around;
|
|
8
|
+
//align-items: center;
|
|
10
9
|
width: 100%;
|
|
11
10
|
height: 100%;
|
|
12
11
|
min-height: 100vh;
|
|
13
|
-
|
|
14
|
-
|
|
12
|
+
|
|
13
|
+
|
|
14
|
+
.prepare-image-preview {
|
|
15
|
+
width: 70vw;
|
|
16
|
+
height: 100vh;
|
|
17
|
+
background-size: contain;
|
|
18
|
+
background-repeat: no-repeat;
|
|
19
|
+
background-position: center;
|
|
20
|
+
}
|
|
15
21
|
|
|
16
22
|
.prepare-starting-image-dialog {
|
|
17
23
|
width: 100%;
|
|
18
|
-
max-width:
|
|
24
|
+
max-width: 30vw;
|
|
19
25
|
box-sizing: border-box;
|
|
20
|
-
padding: 25px;
|
|
26
|
+
padding: 35px 25px;
|
|
21
27
|
position: relative;
|
|
22
28
|
|
|
23
|
-
.prepare-starting-dialog-header {
|
|
24
|
-
display: flex;
|
|
25
|
-
justify-content: space-between;
|
|
26
|
-
align-items: center;
|
|
27
|
-
margin-bottom: 25px;
|
|
28
|
-
|
|
29
|
-
.header-icon {
|
|
30
|
-
width: 50px;
|
|
31
|
-
height: 50px;
|
|
32
|
-
display: flex;
|
|
33
|
-
justify-content: space-around;
|
|
34
|
-
align-items: center;
|
|
35
|
-
border-radius: 50%;
|
|
36
|
-
}
|
|
37
|
-
|
|
38
|
-
.header-info {
|
|
39
|
-
max-width: 500px;
|
|
40
|
-
}
|
|
41
|
-
|
|
42
|
-
.header-button {
|
|
43
|
-
.co-button {
|
|
44
|
-
display: flex;
|
|
45
|
-
box-sizing: border-box;
|
|
46
|
-
cursor: pointer;
|
|
47
|
-
}
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
|
|
51
29
|
.dialog-container {
|
|
52
|
-
display:
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
.button-container {
|
|
57
|
-
cursor: pointer;
|
|
58
|
-
position: relative;
|
|
59
|
-
|
|
60
|
-
.image-container {
|
|
61
|
-
min-width: 100%;
|
|
62
|
-
min-height: 200px;
|
|
63
|
-
max-height: 250px;
|
|
64
|
-
display: flex;
|
|
65
|
-
align-items: center;
|
|
66
|
-
align-content: center;
|
|
67
|
-
}
|
|
68
|
-
|
|
69
|
-
.button-container-text-container {
|
|
70
|
-
box-sizing: border-box;
|
|
71
|
-
|
|
72
|
-
.tile-head-new-container {
|
|
73
|
-
margin-bottom: 10px;
|
|
74
|
-
}
|
|
75
|
-
|
|
76
|
-
.tile-next-icon {
|
|
77
|
-
width: 45px;
|
|
78
|
-
height: 45px;
|
|
79
|
-
display: flex;
|
|
80
|
-
align-items: center;
|
|
81
|
-
position: absolute;
|
|
82
|
-
bottom: 8px;
|
|
83
|
-
right: 8px;
|
|
84
|
-
|
|
85
|
-
.co-icon {
|
|
86
|
-
flex: 1;
|
|
87
|
-
}
|
|
88
|
-
}
|
|
89
|
-
}
|
|
90
|
-
}
|
|
30
|
+
display: flex;
|
|
31
|
+
flex-direction: column;
|
|
32
|
+
gap: 20px;
|
|
91
33
|
}
|
|
92
34
|
|
|
93
35
|
.prepare-image-disclaimer {
|
|
@@ -97,6 +39,19 @@
|
|
|
97
39
|
justify-content: center;
|
|
98
40
|
box-sizing: border-box;
|
|
99
41
|
}
|
|
42
|
+
|
|
43
|
+
.restart-button-container {
|
|
44
|
+
box-sizing: border-box;
|
|
45
|
+
padding: 20px 0 0;
|
|
46
|
+
margin-top: 20px;
|
|
47
|
+
border-top: 1px solid #eee;
|
|
48
|
+
|
|
49
|
+
.co-button {
|
|
50
|
+
display: flex;
|
|
51
|
+
box-sizing: border-box;
|
|
52
|
+
cursor: pointer;
|
|
53
|
+
}
|
|
54
|
+
}
|
|
100
55
|
}
|
|
101
56
|
}
|
|
102
57
|
}
|
|
@@ -9,16 +9,13 @@
|
|
|
9
9
|
border-radius: var(--co-inphoto-border-radius);
|
|
10
10
|
|
|
11
11
|
.prepare-starting-dialog-header {
|
|
12
|
-
text-align: center;
|
|
13
|
-
|
|
14
12
|
.header-icon {
|
|
15
|
-
background:
|
|
16
|
-
color:
|
|
17
|
-
@include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large),
|
|
13
|
+
background: var(--co-inphoto-prepare-icon-background);
|
|
14
|
+
color: var(--co-inphoto-accent-color);
|
|
15
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-color));
|
|
18
16
|
}
|
|
19
17
|
|
|
20
18
|
.header-info {
|
|
21
|
-
|
|
22
19
|
.header-text {
|
|
23
20
|
@include cfg.header-text();
|
|
24
21
|
}
|
|
@@ -27,98 +24,28 @@
|
|
|
27
24
|
@include cfg.text();
|
|
28
25
|
}
|
|
29
26
|
}
|
|
30
|
-
|
|
31
|
-
.header-button {
|
|
32
|
-
.co-button {
|
|
33
|
-
@include cfg.action-button(
|
|
34
|
-
var(--co-inphoto-button-background),
|
|
35
|
-
var(--co-inphoto-button-background),
|
|
36
|
-
var(--co-inphoto-button-color),
|
|
37
|
-
var(--co-inphoto-button-font-size),
|
|
38
|
-
var(--co-inphoto-button-icon-size),
|
|
39
|
-
var(--co-inphoto-button-icon-color),
|
|
40
|
-
var(--co-inphoto-button-border),
|
|
41
|
-
var(--co-inphoto-button-radius),
|
|
42
|
-
var(--co-inphoto-button-padding)
|
|
43
|
-
);
|
|
44
|
-
|
|
45
|
-
.label {
|
|
46
|
-
margin-left: 15px;
|
|
47
|
-
font-weight: bold;
|
|
48
|
-
}
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
27
|
}
|
|
52
28
|
|
|
53
|
-
.
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
width: 100%;
|
|
71
|
-
height: 100%;
|
|
72
|
-
object-fit: contain;
|
|
73
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
74
|
-
}
|
|
75
|
-
}
|
|
76
|
-
|
|
77
|
-
.button-container-text-container {
|
|
78
|
-
padding: 16px 8px 40px;
|
|
79
|
-
|
|
80
|
-
.tile-head {
|
|
81
|
-
@include cfg.sub-header-text();
|
|
82
|
-
margin-bottom: 10px;
|
|
83
|
-
}
|
|
84
|
-
|
|
85
|
-
.tile-text {
|
|
86
|
-
@include cfg.text();
|
|
87
|
-
}
|
|
88
|
-
|
|
89
|
-
.tile-head-new-container {
|
|
90
|
-
|
|
91
|
-
.text-head-new {
|
|
92
|
-
margin-left: 10px;
|
|
93
|
-
box-sizing: border-box;
|
|
94
|
-
padding: 4px 12px;
|
|
95
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
96
|
-
background: var(--co-inphoto-header-icon-background);
|
|
97
|
-
color: var(--co-inphoto-success-color);
|
|
98
|
-
font-size: var(--co-inphoto-font-size-label);
|
|
99
|
-
font-weight: bold;
|
|
100
|
-
}
|
|
101
|
-
}
|
|
102
|
-
|
|
103
|
-
.tile-next-icon {
|
|
104
|
-
border-radius: 50%;
|
|
105
|
-
background: var(--co-inphoto-dialog-background-color);
|
|
106
|
-
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
|
|
107
|
-
}
|
|
108
|
-
}
|
|
109
|
-
|
|
110
|
-
&:hover {
|
|
111
|
-
border-color: var(--co-inphoto-accent-color);
|
|
29
|
+
.restart-button-container {
|
|
30
|
+
.co-button {
|
|
31
|
+
@include cfg.action-button(
|
|
32
|
+
var(--co-inphoto-button-background),
|
|
33
|
+
var(--co-inphoto-button-background),
|
|
34
|
+
var(--co-inphoto-button-color),
|
|
35
|
+
var(--co-inphoto-button-font-size),
|
|
36
|
+
var(--co-inphoto-button-icon-size),
|
|
37
|
+
var(--co-inphoto-button-icon-color),
|
|
38
|
+
var(--co-inphoto-button-border),
|
|
39
|
+
var(--co-inphoto-button-radius),
|
|
40
|
+
var(--co-inphoto-button-padding)
|
|
41
|
+
);
|
|
42
|
+
|
|
43
|
+
.label {
|
|
44
|
+
margin-left: 15px;
|
|
45
|
+
font-weight: bold;
|
|
112
46
|
}
|
|
113
47
|
}
|
|
114
48
|
}
|
|
115
|
-
|
|
116
|
-
.prepare-image-disclaimer {
|
|
117
|
-
margin-top: 20px;
|
|
118
|
-
@include cfg.text();
|
|
119
|
-
color: var(--co-inphoto-accent-text);
|
|
120
|
-
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-accent-text));
|
|
121
|
-
}
|
|
122
49
|
}
|
|
123
50
|
}
|
|
124
51
|
}
|
|
@@ -33,8 +33,13 @@
|
|
|
33
33
|
}
|
|
34
34
|
|
|
35
35
|
.top-close-container {
|
|
36
|
-
.co-
|
|
36
|
+
.co-button {
|
|
37
|
+
background: none;
|
|
37
38
|
cursor: pointer;
|
|
39
|
+
|
|
40
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
|
|
41
|
+
.co-icon {
|
|
42
|
+
}
|
|
38
43
|
}
|
|
39
44
|
}
|
|
40
45
|
}
|
|
@@ -12,7 +12,6 @@
|
|
|
12
12
|
border-bottom: 1px solid #eee;
|
|
13
13
|
|
|
14
14
|
.top-left-container {
|
|
15
|
-
|
|
16
15
|
.icon-container {
|
|
17
16
|
border: 5px solid #eee;
|
|
18
17
|
@include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-success-color));
|
|
@@ -55,7 +54,6 @@
|
|
|
55
54
|
}
|
|
56
55
|
|
|
57
56
|
.ready-to-add-article-buttons {
|
|
58
|
-
|
|
59
57
|
.action-button {
|
|
60
58
|
@include cfg.action-button(
|
|
61
59
|
var(--co-inphoto-action-button-background),
|
|
@@ -83,7 +81,9 @@
|
|
|
83
81
|
text-decoration: underline;
|
|
84
82
|
font-size: var(--co-inphoto-font-size-text);
|
|
85
83
|
box-sizing: border-box;
|
|
86
|
-
padding: var(--co-inphoto-action-button-padding)
|
|
84
|
+
padding: var(--co-inphoto-action-button-padding);
|
|
85
|
+
background: none;
|
|
86
|
+
color: var(--co-inphoto-color-dark);
|
|
87
87
|
}
|
|
88
88
|
|
|
89
89
|
}
|
|
@@ -10,9 +10,7 @@
|
|
|
10
10
|
width: auto;
|
|
11
11
|
box-sizing: border-box;
|
|
12
12
|
padding: 6px;
|
|
13
|
-
background: var(--co-inphoto-dialog-background-color);
|
|
14
13
|
border-radius: 999px;
|
|
15
|
-
box-shadow: 0 6px 20px rgba(23, 37, 51, 0.18);
|
|
16
14
|
|
|
17
15
|
.scene-context-menu-body {
|
|
18
16
|
display: flex;
|
|
@@ -33,7 +31,6 @@
|
|
|
33
31
|
|
|
34
32
|
.scene-context-menu-item-icon {
|
|
35
33
|
display: flex;
|
|
36
|
-
@include cfg.default-icon(18px, 18px, #172533);
|
|
37
34
|
}
|
|
38
35
|
|
|
39
36
|
.scene-context-menu-item-text {
|
|
@@ -47,11 +44,6 @@
|
|
|
47
44
|
box-sizing: border-box;
|
|
48
45
|
padding: 6px 12px;
|
|
49
46
|
border-radius: 8px;
|
|
50
|
-
background: #fff;
|
|
51
|
-
box-shadow: 0 4px 14px rgba(23, 37, 51, 0.18);
|
|
52
|
-
font-size: 12px;
|
|
53
|
-
font-weight: 400;
|
|
54
|
-
color: #172533;
|
|
55
47
|
transition: opacity 0.15s ease, visibility 0.15s ease;
|
|
56
48
|
|
|
57
49
|
&::before {
|
|
@@ -60,29 +52,15 @@
|
|
|
60
52
|
bottom: 100%;
|
|
61
53
|
left: 50%;
|
|
62
54
|
transform: translateX(-50%);
|
|
63
|
-
border: 5px solid transparent;
|
|
64
|
-
border-bottom-color: #fff;
|
|
65
55
|
}
|
|
66
56
|
}
|
|
67
57
|
|
|
68
58
|
&:hover {
|
|
69
|
-
background: #f0f2f5;
|
|
70
|
-
|
|
71
59
|
.scene-context-menu-item-text {
|
|
72
60
|
visibility: visible;
|
|
73
61
|
opacity: 1;
|
|
74
62
|
}
|
|
75
63
|
}
|
|
76
|
-
|
|
77
|
-
&.active {
|
|
78
|
-
background: var(--co-inphoto-accent-color);
|
|
79
|
-
|
|
80
|
-
@include cfg.default-icon(25px, 25px, #fff);
|
|
81
|
-
|
|
82
|
-
&:hover {
|
|
83
|
-
background: var(--co-inphoto-accent-color);
|
|
84
|
-
}
|
|
85
|
-
}
|
|
86
64
|
}
|
|
87
65
|
}
|
|
88
66
|
}
|
|
@@ -2,7 +2,43 @@
|
|
|
2
2
|
|
|
3
3
|
@include cfg.export-module('co-scene-context-menu-theme') {
|
|
4
4
|
.co-scene-context-menu {
|
|
5
|
+
.scene-context-menu-container {
|
|
6
|
+
background: var(--co-inphoto-background-white);
|
|
7
|
+
box-shadow: var(--co-inphoto-context-menu-box-shadow);
|
|
5
8
|
|
|
9
|
+
.scene-context-menu-body {
|
|
10
|
+
.scene-context-menu-item {
|
|
11
|
+
.scene-context-menu-item-icon {
|
|
12
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
|
|
13
|
+
}
|
|
14
|
+
|
|
15
|
+
.scene-context-menu-item-text {
|
|
16
|
+
background: var(--co-inphoto-background-white);
|
|
17
|
+
box-shadow: var(--co-inphoto-context-menu-box-shadow);
|
|
18
|
+
@include cfg.text();
|
|
19
|
+
|
|
20
|
+
&::before {
|
|
21
|
+
border: 5px solid transparent;
|
|
22
|
+
border-bottom-color: var(--co-inphoto-background-white);
|
|
23
|
+
}
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
&:hover {
|
|
27
|
+
background: var(--co-inphoto-context-menu-hover-background);
|
|
28
|
+
}
|
|
29
|
+
|
|
30
|
+
&.active {
|
|
31
|
+
background: var(--co-inphoto-accent-color);
|
|
32
|
+
|
|
33
|
+
@include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color-light));
|
|
34
|
+
|
|
35
|
+
&:hover {
|
|
36
|
+
background: var(--co-inphoto-accent-color);
|
|
37
|
+
}
|
|
38
|
+
}
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
}
|
|
6
42
|
}
|
|
7
43
|
}
|
|
8
44
|
|
|
@@ -9,42 +9,39 @@
|
|
|
9
9
|
padding: 0;
|
|
10
10
|
margin: 0;
|
|
11
11
|
position: relative;
|
|
12
|
-
}
|
|
13
12
|
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
left: calc(50% - 490px);
|
|
19
|
-
background: var(--co-inphoto-dialog-background-color);
|
|
20
|
-
width: 100%;
|
|
21
|
-
max-width: 980px;
|
|
22
|
-
box-sizing: border-box;
|
|
23
|
-
padding: 20px 20px 30px;
|
|
24
|
-
border-radius: var(--co-inphoto-border-radius);
|
|
13
|
+
.inpaint-info {
|
|
14
|
+
min-height: 100vh;
|
|
15
|
+
}
|
|
16
|
+
}
|
|
25
17
|
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
padding: 10px 0 25px;
|
|
18
|
+
.inpaint-container {
|
|
19
|
+
display: flex;
|
|
20
|
+
min-height: 100vh;
|
|
21
|
+
height: 100vh;
|
|
31
22
|
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
23
|
+
.inpaint-canvas-container {
|
|
24
|
+
width: 70vw;
|
|
25
|
+
}
|
|
35
26
|
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
27
|
+
.inpaint-info-dialog-container {
|
|
28
|
+
width: 100%;
|
|
29
|
+
max-width: 30vw;
|
|
30
|
+
box-sizing: border-box;
|
|
31
|
+
padding: 35px 25px;
|
|
32
|
+
position: relative;
|
|
39
33
|
}
|
|
40
34
|
|
|
41
|
-
.
|
|
42
|
-
|
|
43
|
-
|
|
35
|
+
.restart-button-container {
|
|
36
|
+
box-sizing: border-box;
|
|
37
|
+
padding: 20px 0 0;
|
|
38
|
+
margin-top: 20px;
|
|
39
|
+
|
|
44
40
|
|
|
45
|
-
.
|
|
46
|
-
|
|
47
|
-
|
|
41
|
+
.co-button {
|
|
42
|
+
display: flex;
|
|
43
|
+
box-sizing: border-box;
|
|
44
|
+
cursor: pointer;
|
|
48
45
|
}
|
|
49
46
|
}
|
|
50
47
|
}
|