@colijnit/inphoto 300.1.4 → 300.1.6

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.
Files changed (62) hide show
  1. package/fesm2022/colijnit-inphoto.mjs +733 -888
  2. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  3. package/index.d.ts +155 -196
  4. package/lib/component/ai-prompt/style/_layout.scss +0 -3
  5. package/lib/component/ai-prompt/style/_material-definition.scss +1 -0
  6. package/lib/component/ai-prompt/style/_theme.scss +1 -2
  7. package/lib/component/canvas-tool-bar/style/_layout.scss +24 -93
  8. package/lib/component/canvas-tool-bar/style/_material-definition.scss +7 -0
  9. package/lib/component/canvas-tool-bar/style/_theme.scss +95 -0
  10. package/lib/component/catalog/style/_layout.scss +0 -2
  11. package/lib/component/configuration-side-bar-menu/style/_layout.scss +5 -43
  12. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +4 -1
  13. package/lib/component/configuration-side-bar-menu/style/_theme.scss +45 -0
  14. package/lib/component/edit-canvas/style/_layout.scss +5 -38
  15. package/lib/component/edit-canvas/style/_theme.scss +35 -1
  16. package/lib/component/header/style/_layout.scss +4 -7
  17. package/lib/component/header/style/_material-definition.scss +4 -1
  18. package/lib/component/header/style/_theme.scss +2 -2
  19. package/lib/component/image-enhancer/style/_layout.scss +27 -23
  20. package/lib/component/image-enhancer/style/_material-definition.scss +4 -5
  21. package/lib/component/image-enhancer/style/_theme.scss +26 -42
  22. package/lib/component/image-enhancer-style/style/_material-definition.scss +1 -1
  23. package/lib/component/image-enhancer-style/style/_theme.scss +41 -3
  24. package/lib/component/image-enhancer-upload/style/_layout.scss +0 -6
  25. package/lib/component/image-enhancer-upload/style/_theme.scss +44 -1
  26. package/lib/component/image-history/style/_layout.scss +2 -4
  27. package/lib/component/image-history/style/_material-definition.scss +3 -1
  28. package/lib/component/image-history/style/_theme.scss +1 -1
  29. package/lib/component/image-history-tile/style/_layout.scss +1 -1
  30. package/lib/component/image-history-tile/style/_theme.scss +5 -1
  31. package/lib/component/image-process-complete/style/_layout.scss +6 -37
  32. package/lib/component/image-process-complete/style/_theme.scss +0 -27
  33. package/lib/component/image-tile/style/_layout.scss +0 -2
  34. package/lib/component/image-upload/style/_layout.scss +0 -1
  35. package/lib/component/prepare-starting-image/style/_layout.scss +5 -37
  36. package/lib/component/prepare-starting-image/style/_theme.scss +0 -35
  37. package/lib/component/process-loader/style/_layout.scss +0 -1
  38. package/lib/component/scene-context-menu/style/_layout.scss +0 -2
  39. package/lib/component/segment-inpaint/style/_layout.scss +2 -19
  40. package/lib/component/segment-inpaint/style/_theme.scss +0 -25
  41. package/lib/component/side-panel/style/_layout.scss +40 -0
  42. package/lib/component/side-panel/style/_material-definition.scss +6 -0
  43. package/lib/component/side-panel/style/_theme.scss +44 -0
  44. package/lib/component/step-tile/style/_layout.scss +2 -6
  45. package/lib/component/step-tile/style/_material-definition.scss +4 -0
  46. package/lib/component/step-tile/style/_theme.scss +3 -20
  47. package/lib/component/threedscene/style/_layout.scss +12 -2
  48. package/lib/component/upload-starting-image/style/_layout.scss +0 -2
  49. package/lib/style/_variables.scss +9 -0
  50. package/package.json +1 -1
  51. package/lib/component/back-next-buttons/style/_layout.scss +0 -15
  52. package/lib/component/back-next-buttons/style/_material-definition.scss +0 -3
  53. package/lib/component/back-next-buttons/style/_theme.scss +0 -53
  54. package/lib/component/ready-to-add-articles/style/_layout.scss +0 -70
  55. package/lib/component/ready-to-add-articles/style/_material-definition.scss +0 -3
  56. package/lib/component/ready-to-add-articles/style/_theme.scss +0 -95
  57. package/lib/component/ready-to-add-articles/style/material.scss +0 -3
  58. package/lib/component/threed-to-ai/style/_layout.scss +0 -19
  59. package/lib/component/threed-to-ai/style/_material-definition.scss +0 -3
  60. package/lib/component/threed-to-ai/style/_theme.scss +0 -30
  61. package/lib/component/threed-to-ai/style/material.scss +0 -3
  62. /package/lib/component/{back-next-buttons → side-panel}/style/material.scss +0 -0
@@ -3,53 +3,37 @@
3
3
  @include cfg.export-module('co-image-enhancer-theme') {
4
4
  .co-image-enhancer {
5
5
  .enhancer-container {
6
- background: var(--co-inphoto-dialog-background-color);
7
- height: 100vh;
8
- box-sizing: border-box;
9
- padding: 20px;
10
- min-height: 0;
11
- max-height: 99vh;
12
- overflow-y: scroll;
13
- scroll-behavior: smooth;
14
- scrollbar-width: none;
15
- -ms-overflow-style: none;
16
- transition: max-height 0.5s;
17
-
18
- &::-webkit-scrollbar {
19
- display: none;
20
- }
21
- }
22
6
 
7
+ background: var(--co-inphoto-dialog-background-color);
8
+ padding: var(--co-inphoto-side-panel-padding);
23
9
 
24
- .image-enhancer-container {
25
- .header {
26
- .header-icon-container {
27
- margin-bottom: 10px;
28
-
29
- h2 {
30
- @include cfg.header-text();
31
- }
32
- }
33
- }
34
-
35
- .tabs {
36
- .instruction-dialog {
37
- font-size: var(--font-size-small);
38
- }
39
-
40
- .tab-button {
41
- background: none;
42
- border-radius: 0;
43
- @include cfg.sub-header-text();
44
- border-bottom: 2px solid transparent;
45
- font-weight: bold;
10
+ .enhancer-scroll-container {
46
11
 
47
- &:hover {
48
- border-bottom-color: var(--co-inphoto-accent-color);
12
+ .enhancer-body {
13
+ .instruction-dialog {
14
+ font-size: var(--font-size-small);
49
15
  }
50
16
 
51
- &.active {
52
- border-bottom-color: var(--co-inphoto-accent-color);
17
+ .tabs {
18
+
19
+ .tab-button {
20
+ padding: var(--co-inphoto-image-enhancer-tab-button-padding);
21
+ cursor: pointer;
22
+ height: 100%;
23
+ text-align: center;
24
+ background: none;
25
+ border-radius: 0;
26
+ @include cfg.sub-header-text();
27
+ border-bottom: var(--co-inphoto-image-enhancer-tab-button-border-width) solid transparent;
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
+ }
53
37
  }
54
38
  }
55
39
  }
@@ -1,3 +1,3 @@
1
1
  :root {
2
-
2
+ --co-inphoto-enhancer-style-padding: 15px;
3
3
  }
@@ -6,13 +6,12 @@
6
6
  .tool-explainer, .explainer-text {
7
7
  background: var(--co-inphoto-background-white);
8
8
  border-radius: var(--co-inphoto-border-radius);
9
- box-sizing: border-box;
10
- padding: 15px;
9
+ padding: var(--co-inphoto-enhancer-style-padding);
11
10
 
12
11
  .header-with-icon {
13
12
  @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
14
13
  .co-icon {
15
- margin-right: 10px;
14
+ margin-right: 15px;
16
15
  }
17
16
  .tool-explainer-header {
18
17
  @include cfg.sub-header-text();
@@ -26,6 +25,45 @@
26
25
 
27
26
  .button-container {
28
27
  margin-top: 20px;
28
+
29
+ .generate-button {
30
+ margin-bottom: 30px;
31
+ @include cfg.action-button(
32
+ var(--co-inphoto-active-button-background),
33
+ var(--co-inphoto-active-button-background),
34
+ var(--co-inphoto-active-button-color),
35
+ var(--co-inphoto-button-font-size),
36
+ var(--co-inphoto-button-icon-size),
37
+ var(--co-inphoto-active-button-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;
46
+ }
47
+ }
48
+
49
+ .restart-button {
50
+ @include cfg.action-button(
51
+ var(--co-inphoto-button-background),
52
+ var(--co-inphoto-button-background),
53
+ var(--co-inphoto-button-color),
54
+ var(--co-inphoto-button-font-size),
55
+ var(--co-inphoto-button-icon-size),
56
+ var(--co-inphoto-button-icon-color),
57
+ var(--co-inphoto-button-border),
58
+ var(--co-inphoto-button-radius),
59
+ var(--co-inphoto-button-padding)
60
+ );
61
+
62
+ .label {
63
+ margin-left: 15px;
64
+ font-weight: bold;
65
+ }
66
+ }
29
67
  }
30
68
  }
31
69
  }
@@ -3,12 +3,6 @@
3
3
  @include cfg.export-module('co-image-enhancer-upload-layout') {
4
4
  .co-image-enhancer-upload {
5
5
  .image-enhancer-upload {
6
- box-sizing: border-box;
7
-
8
- .tool-explainer {
9
- box-sizing: border-box;
10
- }
11
-
12
6
  .uploaded-image-container {
13
7
  display: grid;
14
8
  }
@@ -14,7 +14,6 @@
14
14
  display: flex;
15
15
  align-items: center;
16
16
  justify-content: flex-start;
17
- box-sizing: border-box;
18
17
  padding-bottom: 5px;
19
18
 
20
19
  .co-icon {
@@ -32,11 +31,55 @@
32
31
  }
33
32
  }
34
33
 
34
+ .button-container {
35
+ margin-top: 20px;
36
+
37
+ .generate-button {
38
+ margin-bottom: 30px;
39
+ @include cfg.action-button(
40
+ var(--co-inphoto-active-button-background),
41
+ var(--co-inphoto-active-button-background),
42
+ var(--co-inphoto-active-button-color),
43
+ var(--co-inphoto-button-font-size),
44
+ var(--co-inphoto-button-icon-size),
45
+ var(--co-inphoto-active-button-color),
46
+ var(--co-inphoto-button-border),
47
+ var(--co-inphoto-button-radius),
48
+ var(--co-inphoto-button-padding)
49
+ );
50
+
51
+ .label {
52
+ margin-left: 15px;
53
+ font-weight: bold;
54
+ }
55
+ }
56
+
57
+ .restart-button {
58
+ @include cfg.action-button(
59
+ var(--co-inphoto-button-background),
60
+ var(--co-inphoto-button-background),
61
+ var(--co-inphoto-button-color),
62
+ var(--co-inphoto-button-font-size),
63
+ var(--co-inphoto-button-icon-size),
64
+ var(--co-inphoto-button-icon-color),
65
+ var(--co-inphoto-button-border),
66
+ var(--co-inphoto-button-radius),
67
+ var(--co-inphoto-button-padding)
68
+ );
69
+
70
+ .label {
71
+ margin-left: 15px;
72
+ font-weight: bold;
73
+ }
74
+ }
75
+ }
76
+
35
77
  .uploaded-image-container {
36
78
  grid-template-columns: repeat(3, 1fr);
37
79
  margin: 20px 0;
38
80
  }
39
81
  }
82
+
40
83
  }
41
84
  }
42
85
 
@@ -4,9 +4,8 @@
4
4
  .co-image-history {
5
5
  .image-history-container {
6
6
  position: absolute;
7
- bottom: 10px;
8
- left: 115px;
9
- box-sizing: border-box;
7
+ bottom: var(--co-inphoto-history-image-history-container-position-bottom);
8
+ left: var(--co-inphoto-history-image-history-container-position-left);
10
9
  }
11
10
 
12
11
  .image-history-card {
@@ -108,7 +107,6 @@
108
107
  .co-button {
109
108
  display: flex;
110
109
  cursor: pointer;
111
- box-sizing: border-box;
112
110
  padding: 8px 15px;
113
111
 
114
112
  .label {
@@ -1,3 +1,5 @@
1
1
  :root {
2
-
2
+ --co-inphoto-history-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
3
+ --co-inphoto-history-image-history-container-position-bottom: 10px;
4
+ --co-inphoto-history-image-history-container-position-left: 115px;
3
5
  }
@@ -14,7 +14,7 @@
14
14
 
15
15
  .scroll-btn {
16
16
  background: var(--co-inphoto-background-white);
17
- box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
17
+ box-shadow:var(--co-inphoto-history-box-shadow);
18
18
  @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
19
19
  }
20
20
 
@@ -33,7 +33,7 @@
33
33
  z-index: 1;
34
34
  }
35
35
 
36
- &:hover .tile-action {
36
+ &:hover .tile-action, .tile-action-select {
37
37
  opacity: 1;
38
38
  }
39
39
 
@@ -8,9 +8,13 @@
8
8
  color: var(--co-inphoto-background-white);
9
9
  background: var(--co-inphoto-loader-background-light);
10
10
  @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
11
+
12
+ &:hover {
13
+ background: var(--co-inphoto-accent-color);
14
+ }
11
15
  }
12
16
 
13
- &--selected {
17
+ &-selected {
14
18
  .tile-action-select {
15
19
  opacity: 1;
16
20
  background: var(--co-inphoto-accent-color);
@@ -10,55 +10,24 @@
10
10
  min-height: 100vh;
11
11
 
12
12
  .image-process-preview {
13
- width: 70vw;
13
+ width: var(--co-inphoto-left-container-width);
14
14
  height: 100vh;
15
- background-size: contain;
16
- background-repeat: no-repeat;
17
- background-position: center;
15
+ background-size: var(--co-inphoto-background-size);
16
+ background-repeat: var(--co-inphoto-background-repeat);
17
+ background-position: var(--co-inphoto-background-position);
18
18
  }
19
19
  }
20
20
 
21
21
  .image-process-complete-dialog {
22
22
  width: 100%;
23
- max-width: 30vw;
24
- box-sizing: border-box;
25
- position: relative;
26
- border-radius: var(--co-inphoto-border-radius);
27
- padding: 35px 25px;
23
+ max-width: var(--co-inphoto-right-container-width);
24
+
28
25
 
29
26
  .image-process-complete-dialog-header {
30
27
  .header-icon {
31
28
  width: 95px;
32
29
  }
33
30
  }
34
-
35
- .image-process-complete-dialog-body {
36
- display: flex;
37
- flex-direction: column;
38
- gap: 20px;
39
- }
40
- }
41
-
42
- .prepare-image-disclaimer {
43
- display: flex;
44
- gap: 10px;
45
- align-items: center;
46
- justify-content: center;
47
- box-sizing: border-box;
48
- margin-top: 20px;
49
- }
50
-
51
- .restart-button-container {
52
- box-sizing: border-box;
53
- padding: 20px 0 0;
54
- margin-top: 20px;
55
-
56
-
57
- .co-button {
58
- display: flex;
59
- box-sizing: border-box;
60
- cursor: pointer;
61
- }
62
31
  }
63
32
  }
64
33
  }
@@ -3,8 +3,6 @@
3
3
  @include cfg.export-module('co-image-process-complete-theme') {
4
4
  .co-image-process-complete {
5
5
  .image-process-complete-dialog {
6
- background: var(--co-inphoto-dialog-background-color);
7
-
8
6
  .image-process-complete-dialog-header {
9
7
  .header-icon {
10
8
  background: var(--co-inphoto-process-complete-icon-background);
@@ -13,32 +11,7 @@
13
11
  }
14
12
  }
15
13
  }
16
-
17
-
18
- .restart-button-container {
19
- border-top: 1px solid #eee;
20
-
21
- .co-button {
22
- @include cfg.action-button(
23
- var(--co-inphoto-button-background),
24
- var(--co-inphoto-button-background),
25
- var(--co-inphoto-button-color),
26
- var(--co-inphoto-button-font-size),
27
- var(--co-inphoto-button-icon-size),
28
- var(--co-inphoto-button-icon-color),
29
- var(--co-inphoto-button-border),
30
- var(--co-inphoto-button-radius),
31
- var(--co-inphoto-button-padding)
32
- );
33
-
34
- .label {
35
- margin-left: 15px;
36
- font-weight: bold;
37
- }
38
- }
39
- }
40
14
  }
41
-
42
15
  }
43
16
 
44
17
 
@@ -46,7 +46,6 @@
46
46
  overflow: hidden;
47
47
 
48
48
  .mask-no-image-explain {
49
- box-sizing: border-box;
50
49
  padding: 30px 8px 0;
51
50
  }
52
51
 
@@ -60,7 +59,6 @@
60
59
  }
61
60
 
62
61
  .image-tile-bottom {
63
- box-sizing: border-box;
64
62
  padding: 8px;
65
63
  display: flex;
66
64
  flex-direction: column;
@@ -32,7 +32,6 @@
32
32
  font-size: var(--co-inphoto-font-size-label);
33
33
  font-weight: bold;
34
34
  border-radius: 15px;
35
- box-sizing: border-box;
36
35
  padding: 4px 10px;
37
36
  margin: 0 4px;
38
37
  }
@@ -4,54 +4,22 @@
4
4
  .co-prepare-starting-image {
5
5
  .prepare-starting-image-container {
6
6
  display: flex;
7
- //justify-content: space-around;
8
- //align-items: center;
9
7
  width: 100%;
10
8
  height: 100%;
11
9
  min-height: 100vh;
12
10
 
13
11
 
14
12
  .prepare-image-preview {
15
- width: 70vw;
13
+ width: var(--co-inphoto-left-container-width);
16
14
  height: 100vh;
17
- background-size: contain;
18
- background-repeat: no-repeat;
19
- background-position: center;
15
+ background-size: var(--co-inphoto-background-size);
16
+ background-repeat: var(--co-inphoto-background-repeat);
17
+ background-position: var(--co-inphoto-background-position);
20
18
  }
21
19
 
22
20
  .prepare-starting-image-dialog {
23
21
  width: 100%;
24
- max-width: 30vw;
25
- box-sizing: border-box;
26
- padding: 35px 25px;
27
- position: relative;
28
-
29
- .dialog-container {
30
- display: flex;
31
- flex-direction: column;
32
- gap: 20px;
33
- }
34
-
35
- .prepare-image-disclaimer {
36
- display: flex;
37
- gap: 10px;
38
- align-items: center;
39
- justify-content: center;
40
- box-sizing: border-box;
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
- }
22
+ max-width: var(--co-inphoto-right-container-width);
55
23
  }
56
24
  }
57
25
  }
@@ -3,48 +3,13 @@
3
3
  @include cfg.export-module('co-prepare-starting-image-theme') {
4
4
  .co-prepare-starting-image {
5
5
  .prepare-starting-image-container {
6
-
7
6
  .prepare-starting-image-dialog {
8
- background: var(--co-inphoto-dialog-background-color);
9
- border-radius: var(--co-inphoto-border-radius);
10
-
11
7
  .prepare-starting-dialog-header {
12
8
  .header-icon {
13
9
  background: var(--co-inphoto-prepare-icon-background);
14
10
  color: var(--co-inphoto-accent-color);
15
11
  @include cfg.default-icon(var(--co-inphoto-icon-size-large), var(--co-inphoto-icon-size-large), var(--co-inphoto-accent-color));
16
12
  }
17
-
18
- .header-info {
19
- .header-text {
20
- @include cfg.header-text();
21
- }
22
-
23
- .explain-text {
24
- @include cfg.text();
25
- }
26
- }
27
- }
28
-
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;
46
- }
47
- }
48
13
  }
49
14
  }
50
15
  }
@@ -26,7 +26,6 @@
26
26
  justify-content: space-around;
27
27
  align-items: center;
28
28
  border-radius: 50%;
29
- box-sizing: border-box;
30
29
  padding: 15px;
31
30
  }
32
31
 
@@ -8,7 +8,6 @@
8
8
  left: 50%;
9
9
  transform: translateX(-50%);
10
10
  width: auto;
11
- box-sizing: border-box;
12
11
  padding: 6px;
13
12
  border-radius: 999px;
14
13
 
@@ -41,7 +40,6 @@
41
40
  top: calc(100% + 10px);
42
41
  left: 50%;
43
42
  transform: translateX(-50%);
44
- box-sizing: border-box;
45
43
  padding: 6px 12px;
46
44
  border-radius: 8px;
47
45
  transition: opacity 0.15s ease, visibility 0.15s ease;
@@ -5,7 +5,6 @@
5
5
  .segment-inpaint-container {
6
6
  width: 100%;
7
7
  height: 100%;
8
- box-sizing: border-box;
9
8
  padding: 0;
10
9
  margin: 0;
11
10
  position: relative;
@@ -21,28 +20,12 @@
21
20
  height: 100vh;
22
21
 
23
22
  .inpaint-canvas-container {
24
- width: 70vw;
23
+ width: var(--co-inphoto-left-container-width);
25
24
  }
26
25
 
27
26
  .inpaint-info-dialog-container {
28
27
  width: 100%;
29
- max-width: 30vw;
30
- box-sizing: border-box;
31
- padding: 35px 25px;
32
- position: relative;
33
- }
34
-
35
- .restart-button-container {
36
- box-sizing: border-box;
37
- padding: 20px 0 0;
38
- margin-top: 20px;
39
-
40
-
41
- .co-button {
42
- display: flex;
43
- box-sizing: border-box;
44
- cursor: pointer;
45
- }
28
+ max-width: var(--co-inphoto-right-container-width);
46
29
  }
47
30
  }
48
31
  }
@@ -3,9 +3,6 @@
3
3
  @include cfg.export-module('co-segment-inpaint-theme') {
4
4
  .co-segment-inpaint {
5
5
  .inpaint-container {
6
- .inpaint-info {
7
- background: var(--co-inphoto-dialog-background-color);
8
- }
9
6
  .inpaint-info-dialog-container {
10
7
  .header-icon {
11
8
  background: var(--co-inphoto-prepare-icon-background);
@@ -14,28 +11,6 @@
14
11
  }
15
12
 
16
13
  }
17
- .restart-button-container {
18
- border-top: 1px solid #eee;
19
-
20
- .co-button {
21
- @include cfg.action-button(
22
- var(--co-inphoto-button-background),
23
- var(--co-inphoto-button-background),
24
- var(--co-inphoto-button-color),
25
- var(--co-inphoto-button-font-size),
26
- var(--co-inphoto-button-icon-size),
27
- var(--co-inphoto-button-icon-color),
28
- var(--co-inphoto-button-border),
29
- var(--co-inphoto-button-radius),
30
- var(--co-inphoto-button-padding)
31
- );
32
-
33
- .label {
34
- margin-left: 15px;
35
- font-weight: bold;
36
- }
37
- }
38
- }
39
14
  }
40
15
  }
41
16
  }
@@ -0,0 +1,40 @@
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-side-panel-layout') {
4
+ .co-side-panel {
5
+ .side-panel-container {
6
+ width: 100%;
7
+ height: 100vh;
8
+ position: relative;
9
+ display: flex;
10
+ flex-direction: column;
11
+
12
+ .side-panel-scroll-container {
13
+ flex: 1 1 auto;
14
+ min-height: 0;
15
+ overflow-y: auto;
16
+ scroll-behavior: smooth;
17
+ scrollbar-width: none;
18
+ -ms-overflow-style: none;
19
+ padding-bottom: 35px;
20
+
21
+ &::-webkit-scrollbar {
22
+ display: none;
23
+ }
24
+
25
+ .side-panel-body {
26
+ display: flex;
27
+ flex-direction: column;
28
+ }
29
+
30
+ .side-panel-button-container {
31
+
32
+ .co-button {
33
+ display: flex;
34
+ cursor: pointer;
35
+ }
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
@@ -0,0 +1,6 @@
1
+ :root {
2
+ --co-inphoto-side-panel-padding: 35px 25px;
3
+ --co-inphoto-side-panel-border-color-button-container: #eee;
4
+ --co-inphoto-side-panel-padding-button-container: 20px 0 0;
5
+ --co-inphoto-side-panel-margin-button-container: 20px 0 0;
6
+ }