@colijnit/inphoto 300.1.9 → 301.1.0

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 (85) hide show
  1. package/fesm2022/colijnit-inphoto.mjs +140 -140
  2. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  3. package/lib/component/ai-prompt/style/_layout.scss +76 -76
  4. package/lib/component/ai-prompt/style/_material-definition.scss +38 -38
  5. package/lib/component/ai-prompt/style/_theme.scss +78 -78
  6. package/lib/component/canvas-tool-bar/style/_layout.scss +71 -71
  7. package/lib/component/canvas-tool-bar/style/_material-definition.scss +40 -40
  8. package/lib/component/canvas-tool-bar/style/_theme.scss +138 -138
  9. package/lib/component/catalog/style/_layout.scss +68 -68
  10. package/lib/component/catalog/style/_material-definition.scss +22 -22
  11. package/lib/component/catalog/style/_theme.scss +43 -43
  12. package/lib/component/configuration-side-bar-menu/style/_layout.scss +33 -33
  13. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +10 -10
  14. package/lib/component/edit-canvas/style/_layout.scss +74 -74
  15. package/lib/component/edit-canvas/style/_material-definition.scss +21 -21
  16. package/lib/component/edit-canvas/style/_theme.scss +26 -26
  17. package/lib/component/error-dialog/style/_layout.scss +36 -36
  18. package/lib/component/error-dialog/style/_material-definition.scss +12 -12
  19. package/lib/component/error-dialog/style/_theme.scss +17 -17
  20. package/lib/component/header/style/_layout.scss +20 -20
  21. package/lib/component/header/style/_material-definition.scss +8 -8
  22. package/lib/component/image-enhancer/style/_layout.scss +37 -37
  23. package/lib/component/image-enhancer/style/_material-definition.scss +13 -13
  24. package/lib/component/image-enhancer/style/_theme.scss +45 -45
  25. package/lib/component/image-enhancer-style/style/_layout.scss +65 -65
  26. package/lib/component/image-enhancer-style/style/_material-definition.scss +16 -16
  27. package/lib/component/image-enhancer-style/style/_theme.scss +120 -120
  28. package/lib/component/image-enhancer-upload/style/_layout.scss +48 -48
  29. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
  30. package/lib/component/image-enhancer-upload/style/_theme.scss +66 -66
  31. package/lib/component/image-history/style/_layout.scss +57 -57
  32. package/lib/component/image-history/style/_material-definition.scss +20 -20
  33. package/lib/component/image-history/style/_theme.scss +25 -25
  34. package/lib/component/image-history-tile/style/_layout.scss +53 -53
  35. package/lib/component/image-history-tile/style/_material-definition.scss +15 -15
  36. package/lib/component/image-history-tile/style/_theme.scss +32 -32
  37. package/lib/component/image-overlay/style/_layout.scss +84 -84
  38. package/lib/component/image-overlay/style/_material-definition.scss +21 -21
  39. package/lib/component/image-overlay/style/_theme.scss +40 -40
  40. package/lib/component/image-overlay/style/material.scss +3 -3
  41. package/lib/component/image-process-complete/style/_layout.scss +42 -42
  42. package/lib/component/image-process-complete/style/_material-definition.scss +13 -13
  43. package/lib/component/image-process-complete/style/_theme.scss +24 -24
  44. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +15 -15
  45. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +9 -9
  46. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +15 -15
  47. package/lib/component/image-tile/style/_layout.scss +102 -102
  48. package/lib/component/image-tile/style/_material-definition.scss +18 -18
  49. package/lib/component/image-tile/style/_theme.scss +58 -58
  50. package/lib/component/image-upload/style/_layout.scss +93 -93
  51. package/lib/component/image-upload/style/_material-definition.scss +35 -35
  52. package/lib/component/image-upload/style/_theme.scss +103 -103
  53. package/lib/component/marker/style/_layout.scss +30 -30
  54. package/lib/component/marker/style/_material-definition.scss +12 -12
  55. package/lib/component/marker/style/_theme.scss +30 -30
  56. package/lib/component/marker/style/material.scss +3 -3
  57. package/lib/component/photo-editor/style/_layout.scss +38 -38
  58. package/lib/component/photo-editor/style/_material-definition.scss +8 -8
  59. package/lib/component/prepare-starting-image/style/_layout.scss +34 -34
  60. package/lib/component/prepare-starting-image/style/_material-definition.scss +11 -11
  61. package/lib/component/process-loader/style/_layout.scss +74 -74
  62. package/lib/component/process-loader/style/_material-definition.scss +24 -24
  63. package/lib/component/process-loader/style/_theme.scss +128 -128
  64. package/lib/component/scene-context-menu/style/_layout.scss +59 -59
  65. package/lib/component/scene-context-menu/style/_material-definition.scss +27 -27
  66. package/lib/component/scene-context-menu/style/_theme.scss +57 -57
  67. package/lib/component/segment-inpaint/style/_layout.scss +51 -51
  68. package/lib/component/segment-inpaint/style/_material-definition.scss +11 -11
  69. package/lib/component/segment-inpaint/style/_theme.scss +29 -29
  70. package/lib/component/side-bar-menu/style/_layout.scss +26 -26
  71. package/lib/component/side-bar-menu/style/_material-definition.scss +12 -12
  72. package/lib/component/side-bar-menu/style/_theme.scss +32 -32
  73. package/lib/component/side-panel/style/_layout.scss +45 -45
  74. package/lib/component/side-panel/style/_material-definition.scss +16 -16
  75. package/lib/component/side-panel/style/_theme.scss +39 -39
  76. package/lib/component/step-tile/style/_layout.scss +50 -50
  77. package/lib/component/step-tile/style/_material-definition.scss +20 -20
  78. package/lib/component/step-tile/style/_theme.scss +78 -78
  79. package/lib/component/threedscene/style/_layout.scss +57 -57
  80. package/lib/component/threedscene/style/_material-definition.scss +12 -12
  81. package/lib/component/threedscene/style/_theme.scss +17 -17
  82. package/lib/component/upload-starting-image/style/_layout.scss +58 -58
  83. package/lib/component/upload-starting-image/style/_material-definition.scss +18 -18
  84. package/lib/component/upload-starting-image/style/_theme.scss +39 -39
  85. package/package.json +6 -6
@@ -1,74 +1,74 @@
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
- &.canvas-disabled {
67
- cursor: not-allowed;
68
- canvas {
69
- cursor: not-allowed;
70
- }
71
- }
72
- }
73
- }
74
- }
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
+ &.canvas-disabled {
67
+ cursor: not-allowed;
68
+ canvas {
69
+ cursor: not-allowed;
70
+ }
71
+ }
72
+ }
73
+ }
74
+ }
@@ -1,21 +1,21 @@
1
- .co-edit-canvas {
2
- --co-inphoto-edit-canvas-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-edit-canvas-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-edit-canvas-position-relative: relative;
5
- --co-inphoto-edit-canvas-position-absolute: absolute;
6
- --co-inphoto-edit-canvas-position-fixed: fixed;
7
- --co-inphoto-edit-canvas-full-size: 100%;
8
- --co-inphoto-edit-canvas-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
- }
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
+ }
@@ -1,26 +1,26 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-edit-canvas-theme') {
4
- .co-edit-canvas {
5
- font-family: var(--co-inphoto-edit-canvas-font-family);
6
- font-size: var(--co-inphoto-edit-canvas-font-size-text);
7
-
8
- .canvas-container {
9
- background: var(--co-inphoto-background-white);
10
-
11
- .canvas-frame {
12
- background: var(--co-inphoto-background-white);
13
- box-shadow: var(--co-inphoto-container-box-shadow);
14
- }
15
- }
16
-
17
- .segmentation-object-label {
18
- background: var(--co-inphoto-edit-canvas-label-background);
19
- color: var(--co-inphoto-color-light);
20
- 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
- }
26
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-edit-canvas-theme') {
4
+ .co-edit-canvas {
5
+ font-family: var(--co-inphoto-edit-canvas-font-family);
6
+ font-size: var(--co-inphoto-edit-canvas-font-size-text);
7
+
8
+ .canvas-container {
9
+ background: var(--co-inphoto-background-white);
10
+
11
+ .canvas-frame {
12
+ background: var(--co-inphoto-background-white);
13
+ box-shadow: var(--co-inphoto-container-box-shadow);
14
+ }
15
+ }
16
+
17
+ .segmentation-object-label {
18
+ background: var(--co-inphoto-edit-canvas-label-background);
19
+ color: var(--co-inphoto-color-light);
20
+ 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
+ }
26
+ }
@@ -1,36 +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: 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
+ @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,12 +1,12 @@
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
+ .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,17 +1,17 @@
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
+ @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,20 +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-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
+ @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,8 +1,8 @@
1
- .co-header {
2
- --co-inphoto-header-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-header-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-header-padding: 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
- }
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
+ }
@@ -1,37 +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
- 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
+ @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,13 +1,13 @@
1
- .co-image-enhancer {
2
- --co-inphoto-image-enhancer-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-image-enhancer-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-image-enhancer-tab-height: 60px;
5
- --co-inphoto-image-enhancer-tab-button-padding: 10px;
6
- --co-inphoto-image-enhancer-tab-button-border-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
- }
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
+ }
@@ -1,45 +1,45 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-theme') {
4
- .co-image-enhancer {
5
- font-family: var(--co-inphoto-image-enhancer-font-family);
6
- font-size: var(--co-inphoto-image-enhancer-font-size-text);
7
-
8
- .enhancer-container {
9
-
10
- background: var(--co-inphoto-dialog-background-color);
11
- padding: var(--co-inphoto-image-enhancer-container-padding);
12
-
13
- .enhancer-scroll-container {
14
-
15
- .enhancer-body {
16
- .instruction-dialog {
17
- font-size: var(--co-inphoto-font-size-label);
18
- }
19
-
20
- .tabs {
21
-
22
- .tab-button {
23
- padding: var(--co-inphoto-image-enhancer-tab-button-padding);
24
- cursor: pointer;
25
- height: var(--co-inphoto-image-enhancer-tab-button-height);
26
- text-align: center;
27
- background: none;
28
- border-radius: var(--co-inphoto-image-enhancer-tab-button-radius);
29
- @include cfg.sub-header-text();
30
- border-bottom: var(--co-inphoto-image-enhancer-tab-button-border-width) solid transparent;
31
-
32
- &:hover {
33
- border-bottom-color: var(--co-inphoto-accent-color);
34
- }
35
-
36
- &.active {
37
- border-bottom-color: var(--co-inphoto-accent-color);
38
- }
39
- }
40
- }
41
- }
42
- }
43
- }
44
- }
45
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-enhancer-theme') {
4
+ .co-image-enhancer {
5
+ font-family: var(--co-inphoto-image-enhancer-font-family);
6
+ font-size: var(--co-inphoto-image-enhancer-font-size-text);
7
+
8
+ .enhancer-container {
9
+
10
+ background: var(--co-inphoto-dialog-background-color);
11
+ padding: var(--co-inphoto-image-enhancer-container-padding);
12
+
13
+ .enhancer-scroll-container {
14
+
15
+ .enhancer-body {
16
+ .instruction-dialog {
17
+ font-size: var(--co-inphoto-font-size-label);
18
+ }
19
+
20
+ .tabs {
21
+
22
+ .tab-button {
23
+ padding: var(--co-inphoto-image-enhancer-tab-button-padding);
24
+ cursor: pointer;
25
+ height: var(--co-inphoto-image-enhancer-tab-button-height);
26
+ text-align: center;
27
+ background: none;
28
+ border-radius: var(--co-inphoto-image-enhancer-tab-button-radius);
29
+ @include cfg.sub-header-text();
30
+ border-bottom: var(--co-inphoto-image-enhancer-tab-button-border-width) solid transparent;
31
+
32
+ &:hover {
33
+ border-bottom-color: var(--co-inphoto-accent-color);
34
+ }
35
+
36
+ &.active {
37
+ border-bottom-color: var(--co-inphoto-accent-color);
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
44
+ }
45
+ }