@colijnit/inphoto 300.1.8 → 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 (86) hide show
  1. package/fesm2022/colijnit-inphoto.mjs +473 -332
  2. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  3. package/index.d.ts +49 -26
  4. package/lib/component/ai-prompt/style/_layout.scss +76 -76
  5. package/lib/component/ai-prompt/style/_material-definition.scss +38 -38
  6. package/lib/component/ai-prompt/style/_theme.scss +78 -78
  7. package/lib/component/canvas-tool-bar/style/_layout.scss +71 -63
  8. package/lib/component/canvas-tool-bar/style/_material-definition.scss +40 -37
  9. package/lib/component/canvas-tool-bar/style/_theme.scss +138 -108
  10. package/lib/component/catalog/style/_layout.scss +68 -68
  11. package/lib/component/catalog/style/_material-definition.scss +22 -22
  12. package/lib/component/catalog/style/_theme.scss +43 -43
  13. package/lib/component/configuration-side-bar-menu/style/_layout.scss +33 -33
  14. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +10 -10
  15. package/lib/component/edit-canvas/style/_layout.scss +74 -85
  16. package/lib/component/edit-canvas/style/_material-definition.scss +21 -25
  17. package/lib/component/edit-canvas/style/_theme.scss +26 -61
  18. package/lib/component/error-dialog/style/_layout.scss +36 -36
  19. package/lib/component/error-dialog/style/_material-definition.scss +12 -12
  20. package/lib/component/error-dialog/style/_theme.scss +17 -17
  21. package/lib/component/header/style/_layout.scss +20 -20
  22. package/lib/component/header/style/_material-definition.scss +8 -8
  23. package/lib/component/image-enhancer/style/_layout.scss +37 -37
  24. package/lib/component/image-enhancer/style/_material-definition.scss +13 -13
  25. package/lib/component/image-enhancer/style/_theme.scss +45 -45
  26. package/lib/component/image-enhancer-style/style/_layout.scss +65 -65
  27. package/lib/component/image-enhancer-style/style/_material-definition.scss +16 -16
  28. package/lib/component/image-enhancer-style/style/_theme.scss +120 -120
  29. package/lib/component/image-enhancer-upload/style/_layout.scss +48 -48
  30. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
  31. package/lib/component/image-enhancer-upload/style/_theme.scss +66 -66
  32. package/lib/component/image-history/style/_layout.scss +57 -57
  33. package/lib/component/image-history/style/_material-definition.scss +20 -20
  34. package/lib/component/image-history/style/_theme.scss +25 -25
  35. package/lib/component/image-history-tile/style/_layout.scss +53 -53
  36. package/lib/component/image-history-tile/style/_material-definition.scss +15 -15
  37. package/lib/component/image-history-tile/style/_theme.scss +32 -32
  38. package/lib/component/image-overlay/style/_layout.scss +84 -84
  39. package/lib/component/image-overlay/style/_material-definition.scss +21 -21
  40. package/lib/component/image-overlay/style/_theme.scss +40 -40
  41. package/lib/component/image-overlay/style/material.scss +3 -3
  42. package/lib/component/image-process-complete/style/_layout.scss +42 -42
  43. package/lib/component/image-process-complete/style/_material-definition.scss +13 -13
  44. package/lib/component/image-process-complete/style/_theme.scss +24 -24
  45. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +15 -15
  46. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +9 -9
  47. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +15 -15
  48. package/lib/component/image-tile/style/_layout.scss +102 -102
  49. package/lib/component/image-tile/style/_material-definition.scss +18 -18
  50. package/lib/component/image-tile/style/_theme.scss +58 -58
  51. package/lib/component/image-upload/style/_layout.scss +93 -93
  52. package/lib/component/image-upload/style/_material-definition.scss +35 -35
  53. package/lib/component/image-upload/style/_theme.scss +103 -103
  54. package/lib/component/marker/style/_layout.scss +30 -30
  55. package/lib/component/marker/style/_material-definition.scss +12 -12
  56. package/lib/component/marker/style/_theme.scss +30 -30
  57. package/lib/component/marker/style/material.scss +3 -3
  58. package/lib/component/photo-editor/style/_layout.scss +38 -38
  59. package/lib/component/photo-editor/style/_material-definition.scss +8 -8
  60. package/lib/component/prepare-starting-image/style/_layout.scss +34 -34
  61. package/lib/component/prepare-starting-image/style/_material-definition.scss +11 -11
  62. package/lib/component/process-loader/style/_layout.scss +74 -74
  63. package/lib/component/process-loader/style/_material-definition.scss +24 -24
  64. package/lib/component/process-loader/style/_theme.scss +128 -128
  65. package/lib/component/scene-context-menu/style/_layout.scss +59 -59
  66. package/lib/component/scene-context-menu/style/_material-definition.scss +27 -27
  67. package/lib/component/scene-context-menu/style/_theme.scss +57 -57
  68. package/lib/component/segment-inpaint/style/_layout.scss +51 -51
  69. package/lib/component/segment-inpaint/style/_material-definition.scss +11 -11
  70. package/lib/component/segment-inpaint/style/_theme.scss +29 -29
  71. package/lib/component/side-bar-menu/style/_layout.scss +26 -26
  72. package/lib/component/side-bar-menu/style/_material-definition.scss +12 -12
  73. package/lib/component/side-bar-menu/style/_theme.scss +32 -32
  74. package/lib/component/side-panel/style/_layout.scss +45 -45
  75. package/lib/component/side-panel/style/_material-definition.scss +16 -16
  76. package/lib/component/side-panel/style/_theme.scss +39 -39
  77. package/lib/component/step-tile/style/_layout.scss +50 -50
  78. package/lib/component/step-tile/style/_material-definition.scss +20 -20
  79. package/lib/component/step-tile/style/_theme.scss +78 -78
  80. package/lib/component/threedscene/style/_layout.scss +57 -57
  81. package/lib/component/threedscene/style/_material-definition.scss +12 -12
  82. package/lib/component/threedscene/style/_theme.scss +17 -17
  83. package/lib/component/upload-starting-image/style/_layout.scss +58 -58
  84. package/lib/component/upload-starting-image/style/_material-definition.scss +18 -18
  85. package/lib/component/upload-starting-image/style/_theme.scss +39 -39
  86. package/package.json +6 -6
@@ -1,43 +1,43 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-catalog-theme') {
4
- .co-catalog {
5
- font-family: var(--co-inphoto-catalog-font-family);
6
- font-size: var(--co-inphoto-catalog-font-size-text);
7
-
8
- .catalog-dialog {
9
- background-color: var(--co-inphoto-dialog-background-color);
10
- border-left: var(--co-inphoto-catalog-dialog-border-left);
11
-
12
- .catalog-container {
13
- .catalog-dialog-wrapper {
14
- .back-button {
15
- background: none;
16
- box-shadow: none;
17
- @include cfg.text();
18
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
19
- }
20
-
21
- .close-button {
22
- background: none;
23
- box-shadow: none;
24
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
25
- }
26
- }
27
-
28
- .catalog-body {
29
- .catalog-tile-wrapper {
30
- .catalog-tile {
31
- p {
32
- font-size: var(--co-inphoto-catalog-font-size-text);
33
- font-weight: var(--co-inphoto-catalog-tile-text-font-weight);
34
- text-shadow: none;
35
- text-transform: capitalize;
36
- }
37
- }
38
- }
39
- }
40
- }
41
- }
42
- }
43
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-catalog-theme') {
4
+ .co-catalog {
5
+ font-family: var(--co-inphoto-catalog-font-family);
6
+ font-size: var(--co-inphoto-catalog-font-size-text);
7
+
8
+ .catalog-dialog {
9
+ background-color: var(--co-inphoto-dialog-background-color);
10
+ border-left: var(--co-inphoto-catalog-dialog-border-left);
11
+
12
+ .catalog-container {
13
+ .catalog-dialog-wrapper {
14
+ .back-button {
15
+ background: none;
16
+ box-shadow: none;
17
+ @include cfg.text();
18
+ @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
19
+ }
20
+
21
+ .close-button {
22
+ background: none;
23
+ box-shadow: none;
24
+ @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
25
+ }
26
+ }
27
+
28
+ .catalog-body {
29
+ .catalog-tile-wrapper {
30
+ .catalog-tile {
31
+ p {
32
+ font-size: var(--co-inphoto-catalog-font-size-text);
33
+ font-weight: var(--co-inphoto-catalog-tile-text-font-weight);
34
+ text-shadow: none;
35
+ text-transform: capitalize;
36
+ }
37
+ }
38
+ }
39
+ }
40
+ }
41
+ }
42
+ }
43
+ }
@@ -1,33 +1,33 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-configuration-side-bar-menu-layout') {
4
- .co-configuration-side-bar-menu {
5
- .configuration-side-bar-menu {
6
- position: absolute;
7
- top: var(--co-inphoto-configuration-side-bar-menu-position-top);
8
- right: var(--co-inphoto-configuration-side-bar-menu-position-right);
9
- width: var(--co-inphoto-configuration-side-bar-menu-width);
10
-
11
- .configuration-side-bar-header {
12
- display: flex;
13
- justify-content: space-between;
14
- align-items: center;
15
- }
16
-
17
- .slider-container {
18
- width: var(--co-inphoto-configuration-side-bar-menu-full-width);
19
-
20
- input {
21
- width: var(--co-inphoto-configuration-side-bar-menu-full-width);
22
- }
23
- }
24
-
25
- .buttons {
26
- display: flex;
27
- gap: var(--co-inphoto-configuration-side-bar-menu-buttons-gap);
28
- justify-content: space-between;
29
- align-items: center;
30
- }
31
- }
32
- }
33
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-configuration-side-bar-menu-layout') {
4
+ .co-configuration-side-bar-menu {
5
+ .configuration-side-bar-menu {
6
+ position: absolute;
7
+ top: var(--co-inphoto-configuration-side-bar-menu-position-top);
8
+ right: var(--co-inphoto-configuration-side-bar-menu-position-right);
9
+ width: var(--co-inphoto-configuration-side-bar-menu-width);
10
+
11
+ .configuration-side-bar-header {
12
+ display: flex;
13
+ justify-content: space-between;
14
+ align-items: center;
15
+ }
16
+
17
+ .slider-container {
18
+ width: var(--co-inphoto-configuration-side-bar-menu-full-width);
19
+
20
+ input {
21
+ width: var(--co-inphoto-configuration-side-bar-menu-full-width);
22
+ }
23
+ }
24
+
25
+ .buttons {
26
+ display: flex;
27
+ gap: var(--co-inphoto-configuration-side-bar-menu-buttons-gap);
28
+ justify-content: space-between;
29
+ align-items: center;
30
+ }
31
+ }
32
+ }
33
+ }
@@ -1,10 +1,10 @@
1
- .co-configuration-side-bar-menu {
2
- --co-inphoto-configuration-side-bar-menu-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-configuration-side-bar-menu-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-configuration-side-bar-menu-position-top: 10px;
5
- --co-inphoto-configuration-side-bar-menu-position-right: 10px;
6
- --co-inphoto-configuration-side-bar-menu-width: 30%;
7
- --co-inphoto-configuration-side-bar-menu-padding: 15px 25px;
8
- --co-inphoto-configuration-side-bar-menu-full-width: 100%;
9
- --co-inphoto-configuration-side-bar-menu-buttons-gap: 10px;
10
- }
1
+ .co-configuration-side-bar-menu {
2
+ --co-inphoto-configuration-side-bar-menu-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-configuration-side-bar-menu-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-configuration-side-bar-menu-position-top: 10px;
5
+ --co-inphoto-configuration-side-bar-menu-position-right: 10px;
6
+ --co-inphoto-configuration-side-bar-menu-width: 30%;
7
+ --co-inphoto-configuration-side-bar-menu-padding: 15px 25px;
8
+ --co-inphoto-configuration-side-bar-menu-full-width: 100%;
9
+ --co-inphoto-configuration-side-bar-menu-buttons-gap: 10px;
10
+ }
@@ -1,85 +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
- // 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
+ @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,25 +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
- --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
+ .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,61 +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
- // 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
+ @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
+ }