@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.
Files changed (100) hide show
  1. package/assets/inphoto-add-products-tile.jpg +0 -0
  2. package/assets/inphoto-change-floorl.jpg +0 -0
  3. package/assets/inphoto-change-wall.jpg +0 -0
  4. package/fesm2022/colijnit-inphoto.mjs +1344 -492
  5. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  6. package/icons/layer_group_sharp_solid.svg +1 -0
  7. package/icons/paint_roller_sharp_solid.svg +1 -0
  8. package/index.d.ts +198 -49
  9. package/lib/component/ai-prompt/style/_layout.scss +76 -86
  10. package/lib/component/ai-prompt/style/_material-definition.scss +38 -6
  11. package/lib/component/ai-prompt/style/_theme.scss +78 -67
  12. package/lib/component/canvas-tool-bar/style/_layout.scss +63 -65
  13. package/lib/component/canvas-tool-bar/style/_material-definition.scss +37 -11
  14. package/lib/component/canvas-tool-bar/style/_theme.scss +108 -106
  15. package/lib/component/catalog/style/_layout.scss +68 -55
  16. package/lib/component/catalog/style/_material-definition.scss +22 -4
  17. package/lib/component/catalog/style/_theme.scss +43 -59
  18. package/lib/component/configuration-side-bar-menu/style/_layout.scss +33 -33
  19. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +10 -6
  20. package/lib/component/configuration-side-bar-menu/style/_theme.scss +4 -1
  21. package/lib/component/edit-canvas/style/_layout.scss +85 -75
  22. package/lib/component/edit-canvas/style/_material-definition.scss +25 -3
  23. package/lib/component/edit-canvas/style/_theme.scss +61 -46
  24. package/lib/component/error-dialog/style/_layout.scss +36 -39
  25. package/lib/component/error-dialog/style/_material-definition.scss +12 -3
  26. package/lib/component/error-dialog/style/_theme.scss +17 -10
  27. package/lib/component/header/style/_layout.scss +20 -21
  28. package/lib/component/header/style/_material-definition.scss +8 -6
  29. package/lib/component/header/style/_theme.scss +7 -0
  30. package/lib/component/image-enhancer/style/_layout.scss +37 -38
  31. package/lib/component/image-enhancer/style/_material-definition.scss +13 -6
  32. package/lib/component/image-enhancer/style/_theme.scss +45 -43
  33. package/lib/component/image-enhancer-style/style/_layout.scss +65 -107
  34. package/lib/component/image-enhancer-style/style/_material-definition.scss +16 -3
  35. package/lib/component/image-enhancer-style/style/_theme.scss +120 -72
  36. package/lib/component/image-enhancer-upload/style/_layout.scss +48 -11
  37. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -3
  38. package/lib/component/image-enhancer-upload/style/_theme.scss +66 -87
  39. package/lib/component/image-history/style/_layout.scss +57 -127
  40. package/lib/component/image-history/style/_material-definition.scss +20 -5
  41. package/lib/component/image-history/style/_theme.scss +25 -46
  42. package/lib/component/image-history-tile/style/_layout.scss +53 -56
  43. package/lib/component/image-history-tile/style/_material-definition.scss +15 -3
  44. package/lib/component/image-history-tile/style/_theme.scss +32 -28
  45. package/lib/component/image-overlay/style/_layout.scss +84 -0
  46. package/lib/component/image-overlay/style/_material-definition.scss +21 -0
  47. package/lib/component/image-overlay/style/_theme.scss +40 -0
  48. package/lib/component/image-overlay/style/material.scss +3 -0
  49. package/lib/component/image-process-complete/style/_layout.scss +42 -33
  50. package/lib/component/image-process-complete/style/_material-definition.scss +13 -5
  51. package/lib/component/image-process-complete/style/_theme.scss +24 -18
  52. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +15 -17
  53. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +9 -3
  54. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +15 -12
  55. package/lib/component/image-tile/style/_layout.scss +102 -101
  56. package/lib/component/image-tile/style/_material-definition.scss +18 -3
  57. package/lib/component/image-tile/style/_theme.scss +58 -53
  58. package/lib/component/image-upload/style/_layout.scss +93 -103
  59. package/lib/component/image-upload/style/_material-definition.scss +35 -9
  60. package/lib/component/image-upload/style/_theme.scss +103 -80
  61. package/lib/component/inphoto/style/_layout.scss +11 -0
  62. package/lib/component/inphoto/style/_material-definition.scss +3 -1
  63. package/lib/component/inphoto/style/_theme.scss +2 -1
  64. package/lib/component/marker/style/_layout.scss +30 -0
  65. package/lib/component/marker/style/_material-definition.scss +12 -0
  66. package/lib/component/marker/style/_theme.scss +30 -0
  67. package/lib/component/marker/style/material.scss +3 -0
  68. package/lib/component/photo-editor/style/_layout.scss +38 -29
  69. package/lib/component/photo-editor/style/_material-definition.scss +8 -3
  70. package/lib/component/photo-editor/style/_theme.scss +2 -1
  71. package/lib/component/prepare-starting-image/style/_layout.scss +34 -26
  72. package/lib/component/prepare-starting-image/style/_material-definition.scss +11 -4
  73. package/lib/component/prepare-starting-image/style/_theme.scss +7 -0
  74. package/lib/component/process-loader/style/_layout.scss +74 -92
  75. package/lib/component/process-loader/style/_material-definition.scss +24 -6
  76. package/lib/component/process-loader/style/_theme.scss +128 -103
  77. package/lib/component/scene-context-menu/style/_layout.scss +59 -66
  78. package/lib/component/scene-context-menu/style/_material-definition.scss +27 -4
  79. package/lib/component/scene-context-menu/style/_theme.scss +57 -44
  80. package/lib/component/segment-inpaint/style/_layout.scss +51 -32
  81. package/lib/component/segment-inpaint/style/_material-definition.scss +11 -3
  82. package/lib/component/segment-inpaint/style/_theme.scss +29 -19
  83. package/lib/component/side-bar-menu/style/_layout.scss +26 -45
  84. package/lib/component/side-bar-menu/style/_material-definition.scss +12 -3
  85. package/lib/component/side-bar-menu/style/_theme.scss +32 -6
  86. package/lib/component/side-panel/style/_layout.scss +45 -40
  87. package/lib/component/side-panel/style/_material-definition.scss +16 -6
  88. package/lib/component/side-panel/style/_theme.scss +39 -44
  89. package/lib/component/step-tile/style/_layout.scss +50 -53
  90. package/lib/component/step-tile/style/_material-definition.scss +20 -6
  91. package/lib/component/step-tile/style/_theme.scss +78 -72
  92. package/lib/component/threedscene/style/_layout.scss +57 -35
  93. package/lib/component/threedscene/style/_material-definition.scss +12 -3
  94. package/lib/component/threedscene/style/_theme.scss +17 -8
  95. package/lib/component/upload-starting-image/style/_layout.scss +58 -51
  96. package/lib/component/upload-starting-image/style/_material-definition.scss +18 -3
  97. package/lib/component/upload-starting-image/style/_theme.scss +39 -46
  98. package/lib/style/_index.scss +0 -1
  99. package/lib/style/_variables.scss +5 -2
  100. package/package.json +1 -1
@@ -1,75 +1,85 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-edit-canvas-layout') {
4
- .co-edit-canvas {
5
- .edit-canvas-container {
6
- position: relative;
7
- width: var(--co-inphoto-left-container-width);
8
- height: 100vh;
9
-
10
- .canvas-container {
11
- position: relative;
12
- width: var(--co-inphoto-left-container-width);
13
- height: 100%;
14
- display: flex;
15
- align-items: self-start;
16
- align-self: center;
17
- min-width: var(--co-inphoto-left-container-width);
18
- justify-content: space-around;
19
- min-height: 100vh;
20
-
21
- canvas {
22
- max-width: var(--co-inphoto-left-container-width);
23
- max-height: 100%;
24
- display: block;
25
- }
26
-
27
- canvas.object-picker {
28
- cursor: crosshair;
29
- }
30
-
31
- .close-canvas-button, .open-canvas-button {
32
- position: absolute;
33
- cursor: pointer;
34
- }
35
-
36
- .close-canvas-button {
37
- top: 20px;
38
- right: 20px;
39
- }
40
-
41
- .open-canvas-button {
42
- bottom: 20px;
43
- right: 20px;
44
- }
45
- }
46
-
47
- .canvas-container.canvas-full-screen {
48
- position: fixed;
49
- top: 0;
50
- left: 0;
51
- width: 100%;
52
- height: 100%;
53
- z-index: 1000;
54
- display: flex;
55
- align-items: center;
56
- justify-content: center;
57
- overflow: hidden;
58
-
59
- canvas {
60
- max-height: 100%;
61
- }
62
- }
63
-
64
- // Zoom
65
- .canvas-zoom-control {
66
- position: absolute;
67
- display: none; // should be flex, but hide it for now
68
- justify-content: space-around;
69
- align-items: center;
70
- bottom: 25px;
71
- left: 100px;
72
- }
73
- }
74
- }
75
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-edit-canvas-layout') {
4
+ .co-edit-canvas {
5
+ .edit-canvas-container {
6
+ position: var(--co-inphoto-edit-canvas-position-relative);
7
+ width: var(--co-inphoto-edit-canvas-full-size);
8
+ height: var(--co-inphoto-edit-canvas-container-height);
9
+
10
+ .canvas-container {
11
+ position: var(--co-inphoto-edit-canvas-position-relative);
12
+ width: var(--co-inphoto-edit-canvas-full-size);
13
+ height: var(--co-inphoto-edit-canvas-full-size);
14
+ display: flex;
15
+ justify-content: center;
16
+ align-items: flex-start;
17
+
18
+ .canvas-frame {
19
+ display: inline-flex;
20
+ padding: var(--co-inphoto-edit-canvas-frame-padding);
21
+ margin: var(--co-inphoto-edit-canvas-frame-margin);
22
+ position: var(--co-inphoto-edit-canvas-position-relative);
23
+
24
+ canvas {
25
+ display: block;
26
+ max-width: var(--co-inphoto-edit-canvas-full-size);
27
+ max-height: var(--co-inphoto-edit-canvas-canvas-max-height);
28
+ }
29
+ }
30
+
31
+ .close-canvas-button, .open-canvas-button {
32
+ position: var(--co-inphoto-edit-canvas-position-absolute);
33
+ cursor: pointer;
34
+ }
35
+
36
+ .close-canvas-button {
37
+ top: var(--co-inphoto-edit-canvas-button-offset);
38
+ right: var(--co-inphoto-edit-canvas-button-offset);
39
+ }
40
+
41
+ .open-canvas-button {
42
+ bottom: var(--co-inphoto-edit-canvas-button-offset);
43
+ right: var(--co-inphoto-edit-canvas-button-offset);
44
+ }
45
+
46
+ }
47
+
48
+ .canvas-container.canvas-full-screen {
49
+ position: var(--co-inphoto-edit-canvas-position-fixed);
50
+ top: var(--co-inphoto-edit-canvas-zero);
51
+ left: var(--co-inphoto-edit-canvas-zero);
52
+ width: var(--co-inphoto-edit-canvas-full-size);
53
+ height: var(--co-inphoto-edit-canvas-full-size);
54
+ z-index: var(--co-inphoto-edit-canvas-fullscreen-z-index);
55
+ overflow: hidden;
56
+ }
57
+
58
+ .segmentation-object-label {
59
+ position: var(--co-inphoto-edit-canvas-position-absolute);
60
+ pointer-events: none;
61
+ transform: var(--co-inphoto-edit-canvas-label-transform);
62
+ white-space: nowrap;
63
+ z-index: var(--co-inphoto-edit-canvas-label-z-index);
64
+ }
65
+
66
+ // Zoom
67
+ .canvas-zoom-control {
68
+ position: var(--co-inphoto-edit-canvas-position-absolute);
69
+ display: flex;
70
+ justify-content: space-around;
71
+ align-items: center;
72
+ bottom: var(--co-inphoto-edit-canvas-zoom-control-bottom);
73
+ left: var(--co-inphoto-edit-canvas-zoom-control-left);
74
+ }
75
+
76
+
77
+ &.canvas-disabled {
78
+ cursor: not-allowed;
79
+ canvas {
80
+ cursor: not-allowed;
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
@@ -1,3 +1,25 @@
1
- :root {
2
-
3
- }
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-container-height: 100vh;
9
+ --co-inphoto-edit-canvas-zero: 0;
10
+ --co-inphoto-edit-canvas-frame-padding: 20px;
11
+ --co-inphoto-edit-canvas-frame-margin: 20px;
12
+ --co-inphoto-edit-canvas-canvas-max-height: calc(100vh - 40px);
13
+ --co-inphoto-edit-canvas-button-offset: 20px;
14
+ --co-inphoto-edit-canvas-fullscreen-z-index: 1000;
15
+ --co-inphoto-edit-canvas-label-transform: translate(-50%, calc(-100% - 12px));
16
+ --co-inphoto-edit-canvas-label-background: rgba(0, 0, 0, 0.75);
17
+ --co-inphoto-edit-canvas-label-padding: 4px 8px;
18
+ --co-inphoto-edit-canvas-label-radius: 4px;
19
+ --co-inphoto-edit-canvas-label-font-size: 12px;
20
+ --co-inphoto-edit-canvas-label-z-index: 10;
21
+ --co-inphoto-edit-canvas-zoom-control-bottom: 25px;
22
+ --co-inphoto-edit-canvas-zoom-control-left: 100px;
23
+ --co-inphoto-edit-canvas-zoom-control-padding: 8px;
24
+ --co-inphoto-edit-canvas-zoom-button-height: 40px;
25
+ }
@@ -1,46 +1,61 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-edit-canvas-theme') {
4
- .co-edit-canvas {
5
- .canvas-container {
6
- background: var(--co-inphoto-background-white);
7
- }
8
-
9
- // Zoom
10
- .canvas-zoom-control {
11
- padding: 8px;
12
- border-radius: var(--co-inphoto-border-radius);
13
- background: var(--co-inphoto-dialog-background-color);
14
-
15
- .zoom-input-wrapper {
16
- .co-input-text {
17
- @include cfg.text();
18
-
19
- }
20
- .co-input-text:not(.no-style) {
21
- input {
22
- text-align: center;
23
- align-self: center;
24
- padding: 0;
25
- }
26
- }
27
- }
28
-
29
- .co-button {
30
- @include cfg.action-button(
31
- var(--co-inphoto-button-background),
32
- var(--co-inphoto-button-background),
33
- var(--co-inphoto-button-color),
34
- var(--co-inphoto-icon-size-small),
35
- var(--co-inphoto-button-icon-size),
36
- var(--co-inphoto-button-icon-color),
37
- var(--co-inphoto-button-border),
38
- var(--co-inphoto-button-radius),
39
- 0);
40
-
41
- height: 40px;
42
- }
43
- }
44
- }
45
- }
46
-
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
+ padding: var(--co-inphoto-edit-canvas-label-padding);
21
+ border-radius: var(--co-inphoto-edit-canvas-label-radius);
22
+ font-size: var(--co-inphoto-edit-canvas-label-font-size);
23
+ }
24
+
25
+ // Zoom
26
+ .canvas-zoom-control {
27
+ padding: var(--co-inphoto-edit-canvas-zoom-control-padding);
28
+ border-radius: var(--co-inphoto-border-radius);
29
+ background: var(--co-inphoto-dialog-background-color);
30
+
31
+ .zoom-input-wrapper {
32
+ .co-input-text {
33
+ @include cfg.text();
34
+
35
+ }
36
+ .co-input-text:not(.no-style) {
37
+ input {
38
+ text-align: center;
39
+ align-self: center;
40
+ padding: var(--co-inphoto-edit-canvas-zero);
41
+ }
42
+ }
43
+ }
44
+
45
+ .co-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-icon-size-small),
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-edit-canvas-zero));
56
+
57
+ height: var(--co-inphoto-edit-canvas-zoom-button-height);
58
+ }
59
+ }
60
+ }
61
+ }
@@ -1,39 +1,36 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-error-dialog-layout') {
4
- .co-error-dialog {
5
-
6
- .error-dialog {
7
- position: fixed;
8
- inset: 0;
9
- display: flex;
10
- align-items: center;
11
- justify-content: center;
12
- background: var(--co-inphoto-loader-background-dark);
13
- z-index: 120;
14
-
15
- .error-dialog-container {
16
- background: var(--co-inphoto-dialog-background-color);
17
- padding: 20px;
18
- border-radius: var(--co-inphoto-border-radius);
19
- max-width: 550px;
20
- width: 100%;
21
-
22
- .error-dialog-header {
23
- display: flex;
24
- align-items: center;
25
- justify-content: space-between;
26
- margin-bottom: 5px;
27
-
28
- h3 {
29
- margin: 0;
30
- }
31
-
32
- .co-button {
33
- cursor: pointer;
34
- }
35
- }
36
- }
37
- }
38
- }
39
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-error-dialog-layout') {
4
+ .co-error-dialog {
5
+
6
+ .error-dialog {
7
+ position: var(--co-inphoto-error-dialog-position);
8
+ inset: var(--co-inphoto-error-dialog-inset);
9
+ display: flex;
10
+ align-items: center;
11
+ justify-content: center;
12
+ z-index: var(--co-inphoto-error-dialog-z-index);
13
+
14
+ .error-dialog-container {
15
+ padding: var(--co-inphoto-error-dialog-container-padding);
16
+ max-width: var(--co-inphoto-error-dialog-container-max-width);
17
+ width: var(--co-inphoto-error-dialog-container-width);
18
+
19
+ .error-dialog-header {
20
+ display: flex;
21
+ align-items: center;
22
+ justify-content: space-between;
23
+ margin-bottom: var(--co-inphoto-error-dialog-header-margin-bottom);
24
+
25
+ h3 {
26
+ margin: var(--co-inphoto-error-dialog-header-title-margin);
27
+ }
28
+
29
+ .co-button {
30
+ cursor: pointer;
31
+ }
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
@@ -1,3 +1,12 @@
1
- :root {
2
-
3
- }
1
+ .co-error-dialog {
2
+ --co-inphoto-error-dialog-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-error-dialog-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-error-dialog-position: fixed;
5
+ --co-inphoto-error-dialog-inset: 0;
6
+ --co-inphoto-error-dialog-z-index: 120;
7
+ --co-inphoto-error-dialog-container-padding: 20px;
8
+ --co-inphoto-error-dialog-container-max-width: 550px;
9
+ --co-inphoto-error-dialog-container-width: 100%;
10
+ --co-inphoto-error-dialog-header-margin-bottom: 5px;
11
+ --co-inphoto-error-dialog-header-title-margin: 0;
12
+ }
@@ -1,10 +1,17 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-error-dialog-theme') {
4
- .co-error-dialog {
5
-
6
- }
7
- }
8
-
9
-
10
-
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-error-dialog-theme') {
4
+ .co-error-dialog {
5
+ font-family: var(--co-inphoto-error-dialog-font-family);
6
+ font-size: var(--co-inphoto-error-dialog-font-size-text);
7
+
8
+ .error-dialog {
9
+ background: var(--co-inphoto-loader-background-dark);
10
+
11
+ .error-dialog-container {
12
+ background: var(--co-inphoto-dialog-background-color);
13
+ border-radius: var(--co-inphoto-border-radius);
14
+ }
15
+ }
16
+ }
17
+ }
@@ -1,21 +1,20 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-header-layout') {
4
- .co-header {
5
- .header-container {
6
- display: flex;
7
- justify-content: space-between;
8
- padding: var(--co-inphoto-header-padding);
9
-
10
- .header-icon {
11
- width: var(--co-inphoto-header-icon-width);
12
- height: var(--co-inphoto-header-icon-height);
13
- display: flex;
14
- justify-content: space-around;
15
- align-items: center;
16
- border-radius: 50%;
17
- margin-right: var(--co-inphoto-header-icon-margin-right);
18
- }
19
- }
20
- }
21
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-header-layout') {
4
+ .co-header {
5
+ .header-container {
6
+ display: flex;
7
+ justify-content: space-between;
8
+ padding: var(--co-inphoto-header-padding);
9
+
10
+ .header-icon {
11
+ width: var(--co-inphoto-header-icon-size);
12
+ height: var(--co-inphoto-header-icon-size);
13
+ display: flex;
14
+ justify-content: space-around;
15
+ align-items: center;
16
+ margin-right: var(--co-inphoto-header-icon-margin-right);
17
+ }
18
+ }
19
+ }
20
+ }
@@ -1,6 +1,8 @@
1
- :root {
2
- --co-inphoto-header-padding: 25px 0 30px;
3
- --co-inphoto-header-icon-width: 50px;
4
- --co-inphoto-header-icon-height: 50px;
5
- --co-inphoto-header-icon-margin-right: 15px;
6
- }
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: 25px 0 30px;
5
+ --co-inphoto-header-icon-size: 50px;
6
+ --co-inphoto-header-icon-radius: 50%;
7
+ --co-inphoto-header-icon-margin-right: 15px;
8
+ }
@@ -2,7 +2,14 @@
2
2
 
3
3
  @include cfg.export-module('co-header-theme') {
4
4
  .co-header {
5
+ font-family: var(--co-inphoto-header-font-family);
6
+ font-size: var(--co-inphoto-header-font-size-text);
7
+
5
8
  .header-container {
9
+ .header-icon {
10
+ border-radius: var(--co-inphoto-header-icon-radius);
11
+ }
12
+
6
13
  .header-info {
7
14
  .head {
8
15
  @include cfg.header-text();
@@ -1,38 +1,37 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-layout') {
4
- .co-image-enhancer {
5
- .enhancer-container {
6
- width: var(--co-inphoto-right-container-width);
7
- height: 100vh;
8
- position: relative;
9
- display: flex;
10
- flex-direction: column;
11
-
12
-
13
- .enhancer-scroll-container {
14
- flex: 1 1 auto;
15
- min-height: 0;
16
- overflow-y: auto;
17
- scroll-behavior: smooth;
18
- scrollbar-width: none;
19
- -ms-overflow-style: none;
20
- padding-bottom: 30px;
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: repeat(2, 1fr);
31
- height: var(--co-inphoto-image-enhancer-tab-height);
32
- align-content: end;
33
- }
34
- }
35
- }
36
- }
37
- }
38
- }
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
+ position: var(--co-inphoto-image-enhancer-position-relative);
8
+ display: flex;
9
+ flex-direction: column;
10
+
11
+
12
+ .enhancer-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: var(--co-inphoto-image-enhancer-scroll-padding-bottom);
20
+ &::-webkit-scrollbar {
21
+ display: none;
22
+ }
23
+
24
+ .enhancer-body {
25
+
26
+ .tabs {
27
+ align-items: center;
28
+ display: grid;
29
+ grid-template-columns: repeat(2, 1fr);
30
+ height: var(--co-inphoto-image-enhancer-tab-height);
31
+ align-content: end;
32
+ }
33
+ }
34
+ }
35
+ }
36
+ }
37
+ }
@@ -1,6 +1,13 @@
1
- :root {
2
- --co-inphoto-image-enhancer-tab-height: 60px;
3
- --co-inphoto-image-enhancer-tab-button-padding: 10px;
4
- --co-inphoto-image-enhancer-tab-button-border-width: 2px;
5
-
6
- }
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-width: 2px;
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
+ }