@colijnit/inphoto 300.1.9 → 301.1.1

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 (125) hide show
  1. package/assets/01-bohemian.jpg +0 -0
  2. package/assets/02-mid-century-modern.jpg +0 -0
  3. package/assets/03-rustic-farmhouse.jpg +0 -0
  4. package/assets/04-coastal-nautical.jpg +0 -0
  5. package/assets/05-art-deco.jpg +0 -0
  6. package/assets/06-eclectic.jpg +0 -0
  7. package/assets/07-japanese-zen.jpg +0 -0
  8. package/assets/08-modern.jpg +0 -0
  9. package/assets/09-contemporary.jpg +0 -0
  10. package/assets/10-minimalist.jpg +0 -0
  11. package/assets/11-scandinavian.jpg +0 -0
  12. package/assets/12-industrial.jpg +0 -0
  13. package/assets/13-traditional.jpg +0 -0
  14. package/assets/14-transitional.jpg +0 -0
  15. package/assets/how-do-want-to-edit-the-image-01.jpg +0 -0
  16. package/assets/how-do-want-to-edit-the-image-02.jpg +0 -0
  17. package/assets/how-do-want-to-edit-the-image-03.jpg +0 -0
  18. package/assets/how-do-want-to-edit-the-image-04.jpg +0 -0
  19. package/assets/how-to-redesign-with-catalog-01.jpg +0 -0
  20. package/assets/how-to-redesign-with-catalog-02.jpg +0 -0
  21. package/assets/how-to-redesign-with-catalog-03.jpg +0 -0
  22. package/assets/how-to-redesign-with-catalog-04.jpg +0 -0
  23. package/assets/how-to-redesign-with-catalog-05.jpg +0 -0
  24. package/assets/how-to-redesign-with-catalog-06.jpg +0 -0
  25. package/assets/room-01-living-room.jpg +0 -0
  26. package/assets/room-02-kitchen.jpg +0 -0
  27. package/assets/room-03-dining-room.jpg +0 -0
  28. package/assets/room-04-bathroom.jpg +0 -0
  29. package/assets/room-05-bedroom.jpg +0 -0
  30. package/assets/room-06-kids-room.jpg +0 -0
  31. package/assets/room-07-home-office.jpg +0 -0
  32. package/assets/room-08-home-bar.jpg +0 -0
  33. package/fesm2022/colijnit-inphoto.mjs +7170 -6277
  34. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  35. package/icons/angle_right_sharp_solid.svg +1 -0
  36. package/icons/camera_solid_regular.svg +1 -0
  37. package/icons/expand_regular_full.svg +1 -0
  38. package/index.d.ts +518 -342
  39. package/lib/component/ai-prompt/style/_layout.scss +87 -76
  40. package/lib/component/ai-prompt/style/_material-definition.scss +36 -38
  41. package/lib/component/ai-prompt/style/_theme.scss +73 -78
  42. package/lib/component/canvas-tool-bar/style/_layout.scss +115 -71
  43. package/lib/component/canvas-tool-bar/style/_material-definition.scss +42 -40
  44. package/lib/component/canvas-tool-bar/style/_theme.scss +117 -138
  45. package/lib/component/catalog/style/_material-definition.scss +26 -22
  46. package/lib/component/catalog/style/_theme.scss +43 -43
  47. package/lib/component/edit-canvas/style/_layout.scss +75 -74
  48. package/lib/component/edit-canvas/style/_material-definition.scss +19 -21
  49. package/lib/component/edit-canvas/style/_theme.scss +25 -26
  50. package/lib/component/header/style/_material-definition.scss +10 -8
  51. package/lib/component/header/style/_theme.scss +4 -1
  52. package/lib/component/image-2d-placement/style/_layout.scss +13 -0
  53. package/lib/component/image-2d-placement/style/_material-definition.scss +7 -0
  54. package/lib/component/image-2d-placement/style/_theme.scss +8 -0
  55. package/lib/component/image-enhancer/style/_layout.scss +43 -37
  56. package/lib/component/image-enhancer/style/_material-definition.scss +16 -13
  57. package/lib/component/image-enhancer/style/_theme.scss +42 -45
  58. package/lib/component/image-enhancer-style/style/_layout.scss +148 -65
  59. package/lib/component/image-enhancer-style/style/_material-definition.scss +42 -16
  60. package/lib/component/image-enhancer-style/style/_theme.scss +182 -120
  61. package/lib/component/image-enhancer-upload/style/_layout.scss +53 -48
  62. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -14
  63. package/lib/component/image-enhancer-upload/style/_theme.scss +64 -66
  64. package/lib/component/image-history/style/_layout.scss +55 -57
  65. package/lib/component/image-history/style/_material-definition.scss +18 -20
  66. package/lib/component/image-history/style/_theme.scss +20 -25
  67. package/lib/component/image-history-tile/style/_layout.scss +53 -53
  68. package/lib/component/image-history-tile/style/_material-definition.scss +17 -15
  69. package/lib/component/image-output-settings/style/_layout.scss +38 -0
  70. package/lib/component/image-output-settings/style/_material-definition.scss +8 -0
  71. package/lib/component/image-output-settings/style/_theme.scss +15 -0
  72. package/lib/component/image-overlay/style/_layout.scss +85 -84
  73. package/lib/component/image-overlay/style/_material-definition.scss +24 -21
  74. package/lib/component/image-overlay/style/_theme.scss +40 -40
  75. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +4 -0
  76. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +1 -0
  77. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +4 -0
  78. package/lib/component/image-tile/style/_layout.scss +102 -102
  79. package/lib/component/image-tile/style/_material-definition.scss +19 -18
  80. package/lib/component/image-tile/style/_theme.scss +58 -58
  81. package/lib/component/image-upload/style/_layout.scss +97 -93
  82. package/lib/component/image-upload/style/_theme.scss +99 -103
  83. package/lib/component/marker/style/_layout.scss +29 -30
  84. package/lib/component/marker/style/_theme.scss +31 -30
  85. package/lib/component/photo-editor/style/_layout.scss +69 -38
  86. package/lib/component/photo-editor/style/_material-definition.scss +14 -8
  87. package/lib/component/photo-editor/style/_theme.scss +15 -0
  88. package/lib/component/prepare-starting-image/style/_layout.scss +93 -34
  89. package/lib/component/prepare-starting-image/style/_material-definition.scss +17 -11
  90. package/lib/component/prepare-starting-image/style/_theme.scss +9 -1
  91. package/lib/component/process-loader/style/_layout.scss +74 -74
  92. package/lib/component/process-loader/style/_material-definition.scss +42 -24
  93. package/lib/component/process-loader/style/_theme.scss +128 -128
  94. package/lib/component/scale-dialog/style/_layout.scss +25 -0
  95. package/lib/component/scale-dialog/style/_material-definition.scss +8 -0
  96. package/lib/component/scale-dialog/style/_theme.scss +26 -0
  97. package/lib/component/scale-dialog/style/material.scss +3 -0
  98. package/lib/component/scene-context-menu/style/_layout.scss +69 -59
  99. package/lib/component/scene-context-menu/style/_material-definition.scss +32 -27
  100. package/lib/component/scene-context-menu/style/_theme.scss +62 -57
  101. package/lib/component/segment-inpaint/style/_layout.scss +73 -51
  102. package/lib/component/segment-inpaint/style/_material-definition.scss +19 -11
  103. package/lib/component/segment-inpaint/style/_theme.scss +72 -29
  104. package/lib/component/side-bar-menu/style/_layout.scss +30 -26
  105. package/lib/component/side-bar-menu/style/_material-definition.scss +13 -12
  106. package/lib/component/side-panel/style/_layout.scss +48 -45
  107. package/lib/component/side-panel/style/_material-definition.scss +17 -16
  108. package/lib/component/side-panel/style/_theme.scss +36 -39
  109. package/lib/component/step-tile/style/_layout.scss +66 -50
  110. package/lib/component/step-tile/style/_material-definition.scss +20 -20
  111. package/lib/component/step-tile/style/_theme.scss +68 -78
  112. package/lib/component/threedscene/style/_layout.scss +67 -57
  113. package/lib/component/threedscene/style/_material-definition.scss +16 -12
  114. package/lib/component/threedscene/style/_theme.scss +55 -17
  115. package/lib/style/_mixin.scss +2 -7
  116. package/lib/style/_variables.scss +7 -13
  117. package/package.json +15 -6
  118. package/lib/component/configuration-side-bar-menu/style/_layout.scss +0 -33
  119. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +0 -10
  120. package/lib/component/configuration-side-bar-menu/style/_theme.scss +0 -58
  121. package/lib/component/image-process-complete/style/_layout.scss +0 -42
  122. package/lib/component/image-process-complete/style/_material-definition.scss +0 -13
  123. package/lib/component/image-process-complete/style/_theme.scss +0 -24
  124. /package/lib/component/{configuration-side-bar-menu → image-2d-placement}/style/material.scss +0 -0
  125. /package/lib/component/{image-process-complete → image-output-settings}/style/material.scss +0 -0
@@ -1,76 +1,87 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-ai-prompt-layout') {
4
- .co-ai-prompt {
5
- .custom-prompt-container {
6
- .custom-height {
7
- height: var(--co-inphoto-ai-prompt-textarea-height);
8
- overflow: hidden;
9
- .input-textarea-wrapper {
10
- label {
11
- top: var(--co-inphoto-ai-prompt-textarea-label-top-empty);
12
- }
13
- }
14
- }
15
-
16
- .hasvalue {
17
- .input-textarea-wrapper {
18
- label {
19
- top: var(--co-inphoto-ai-prompt-textarea-label-top-filled);
20
- }
21
- }
22
- }
23
-
24
- .prompt-mode {
25
- margin: var(--co-inphoto-ai-prompt-mode-margin);
26
- display: flex;
27
- align-items: center;
28
-
29
-
30
- .prompt-mode-switch {
31
- margin-right: var(--co-inphoto-ai-prompt-mode-switch-margin-right);
32
-
33
- .switch {
34
- position: var(--co-inphoto-ai-prompt-switch-position);
35
- display: inline-block;
36
- width: var(--co-inphoto-ai-prompt-switch-width);
37
- height: var(--co-inphoto-ai-prompt-switch-height);
38
-
39
- input {
40
- opacity: var(--co-inphoto-ai-prompt-switch-input-opacity);
41
- width: var(--co-inphoto-ai-prompt-switch-input-size);
42
- height: var(--co-inphoto-ai-prompt-switch-input-size);
43
-
44
- &:checked + .slider {
45
-
46
- &:before {
47
- -webkit-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
48
- -ms-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
49
- transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
50
- }
51
- }
52
- }
53
- }
54
-
55
- .slider {
56
- position: var(--co-inphoto-ai-prompt-switch-slider-position);
57
- cursor: pointer;
58
- top: var(--co-inphoto-ai-prompt-switch-slider-inset);
59
- left: var(--co-inphoto-ai-prompt-switch-slider-inset);
60
- right: var(--co-inphoto-ai-prompt-switch-slider-inset);
61
- bottom: var(--co-inphoto-ai-prompt-switch-slider-inset);
62
-
63
- &:before {
64
- position: var(--co-inphoto-ai-prompt-switch-slider-position);
65
- content: "";
66
- height: var(--co-inphoto-ai-prompt-switch-thumb-size);
67
- width: var(--co-inphoto-ai-prompt-switch-thumb-size);
68
- left: var(--co-inphoto-ai-prompt-switch-thumb-inset);
69
- bottom: var(--co-inphoto-ai-prompt-switch-thumb-inset);
70
- }
71
- }
72
- }
73
- }
74
- }
75
- }
76
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ai-prompt-layout') {
4
+ .co-ai-prompt {
5
+ .custom-prompt-container {
6
+ margin: var(--co-inphoto-ai-prompt-container-margin);
7
+
8
+ .prompt-text {
9
+ margin-bottom: var(--co-inphoto-ai-prompt-text-margin-bottom);
10
+ }
11
+
12
+ .custom-height {
13
+
14
+ overflow: hidden;
15
+ .input-textarea-wrapper {
16
+ label {
17
+ top: var(--co-inphoto-ai-prompt-textarea-label-top-empty);
18
+ }
19
+ }
20
+ }
21
+
22
+ .hasvalue {
23
+ .input-textarea-wrapper {
24
+ label {
25
+ top: var(--co-inphoto-ai-prompt-textarea-label-top-filled);
26
+ }
27
+ }
28
+ }
29
+
30
+ .prompt-mode {
31
+ margin: var(--co-inphoto-ai-prompt-mode-margin);
32
+ display: flex;
33
+ align-items: center;
34
+
35
+ .prompt-mode-text {
36
+ .spacer {
37
+ margin: var(--co-inphoto-ai-prompt-spacer-margin);
38
+ }
39
+ }
40
+
41
+ .prompt-mode-switch {
42
+ margin-right: var(--co-inphoto-ai-prompt-mode-switch-margin-right);
43
+
44
+ .switch {
45
+ position: var(--co-inphoto-ai-prompt-switch-position);
46
+ display: inline-block;
47
+ width: var(--co-inphoto-ai-prompt-switch-width);
48
+ height: var(--co-inphoto-ai-prompt-switch-height);
49
+
50
+ input {
51
+ opacity: var(--co-inphoto-ai-prompt-switch-input-opacity);
52
+ width: var(--co-inphoto-ai-prompt-switch-input-size);
53
+ height: var(--co-inphoto-ai-prompt-switch-input-size);
54
+
55
+ &:checked + .slider {
56
+
57
+ &:before {
58
+ -webkit-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
59
+ -ms-transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
60
+ transform: translateX(var(--co-inphoto-ai-prompt-switch-thumb-travel));
61
+ }
62
+ }
63
+ }
64
+ }
65
+
66
+ .slider {
67
+ position: var(--co-inphoto-ai-prompt-switch-slider-position);
68
+ cursor: pointer;
69
+ top: var(--co-inphoto-ai-prompt-switch-slider-inset);
70
+ left: var(--co-inphoto-ai-prompt-switch-slider-inset);
71
+ right: var(--co-inphoto-ai-prompt-switch-slider-inset);
72
+ bottom: var(--co-inphoto-ai-prompt-switch-slider-inset);
73
+
74
+ &:before {
75
+ position: var(--co-inphoto-ai-prompt-switch-slider-position);
76
+ content: "";
77
+ height: var(--co-inphoto-ai-prompt-switch-thumb-size);
78
+ width: var(--co-inphoto-ai-prompt-switch-thumb-size);
79
+ left: var(--co-inphoto-ai-prompt-switch-thumb-inset);
80
+ bottom: var(--co-inphoto-ai-prompt-switch-thumb-inset);
81
+ }
82
+ }
83
+ }
84
+ }
85
+ }
86
+ }
87
+ }
@@ -1,38 +1,36 @@
1
- .co-ai-prompt {
2
- --co-inphoto-ai-prompt-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-ai-prompt-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-ai-prompt-spacer-color: #D9D9DF;
5
- --co-inphoto-ai-prompt-required-error-color: #dc3545;
6
- --co-inphoto-ai-prompt-required-error-background: rgba(220, 53, 69, 0.25);
7
- --co-inphoto-ai-prompt-container-padding: 15px;
8
- --co-inphoto-ai-prompt-container-margin: 20px auto;
9
-
10
- --co-inphoto-ai-prompt-text-margin-bottom: 10px;
11
- --co-inphoto-ai-prompt-spacer-margin: 0 4px;
12
-
13
- --co-inphoto-ai-prompt-textarea-height: 100px;
14
- --co-inphoto-ai-prompt-textarea-label-top-empty: 20%;
15
- --co-inphoto-ai-prompt-textarea-label-top-filled: 5%;
16
-
17
- --co-inphoto-ai-prompt-mode-margin: 10px auto;
18
- --co-inphoto-ai-prompt-mode-switch-margin-right: 15px;
19
-
20
- --co-inphoto-ai-prompt-switch-width: 44px;
21
- --co-inphoto-ai-prompt-switch-height: 24px;
22
- --co-inphoto-ai-prompt-switch-radius: 34px;
23
- --co-inphoto-ai-prompt-switch-transition-duration: 0.4s;
24
- --co-inphoto-ai-prompt-switch-focus-shadow-spread: 0 0 1px;
25
- --co-inphoto-ai-prompt-switch-position: relative;
26
- --co-inphoto-ai-prompt-switch-slider-position: absolute;
27
-
28
- --co-inphoto-ai-prompt-switch-input-opacity: 0;
29
- --co-inphoto-ai-prompt-switch-input-size: 0;
30
- --co-inphoto-ai-prompt-switch-slider-inset: 0;
31
-
32
- --co-inphoto-ai-prompt-switch-thumb-size: 16px;
33
- --co-inphoto-ai-prompt-switch-thumb-inset: 4px;
34
- --co-inphoto-ai-prompt-switch-thumb-travel: 20px;
35
- --co-inphoto-ai-prompt-switch-thumb-radius: 50%;
36
- --co-inphoto-ai-prompt-mode-active-font-weight: bold;
37
- --co-inphoto-ai-prompt-required-border: 1px solid var(--co-inphoto-ai-prompt-required-error-color);
38
- }
1
+ .co-ai-prompt {
2
+ --co-inphoto-ai-prompt-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-ai-prompt-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-ai-prompt-spacer-color: var(--co-inphoto-border-color);
5
+ --co-inphoto-ai-prompt-required-error-color: #dc3545;
6
+ --co-inphoto-ai-prompt-required-error-background: rgba(220, 53, 69, 0.25);
7
+ --co-inphoto-ai-prompt-container-margin: 20px auto;
8
+
9
+ --co-inphoto-ai-prompt-text-margin-bottom: 10px;
10
+ --co-inphoto-ai-prompt-spacer-margin: 0 4px;
11
+
12
+ --co-inphoto-ai-prompt-textarea-label-top-empty: 20%;
13
+ --co-inphoto-ai-prompt-textarea-label-top-filled: 5%;
14
+
15
+ --co-inphoto-ai-prompt-mode-margin: 10px auto;
16
+ --co-inphoto-ai-prompt-mode-switch-margin-right: 15px;
17
+
18
+ --co-inphoto-ai-prompt-switch-width: 44px;
19
+ --co-inphoto-ai-prompt-switch-height: 24px;
20
+ --co-inphoto-ai-prompt-switch-radius: 34px;
21
+ --co-inphoto-ai-prompt-switch-transition-duration: 0.4s;
22
+ --co-inphoto-ai-prompt-switch-focus-shadow-spread: 0 0 1px;
23
+ --co-inphoto-ai-prompt-switch-position: relative;
24
+ --co-inphoto-ai-prompt-switch-slider-position: absolute;
25
+
26
+ --co-inphoto-ai-prompt-switch-input-opacity: 0;
27
+ --co-inphoto-ai-prompt-switch-input-size: 0;
28
+ --co-inphoto-ai-prompt-switch-slider-inset: 0;
29
+
30
+ --co-inphoto-ai-prompt-switch-thumb-size: 16px;
31
+ --co-inphoto-ai-prompt-switch-thumb-inset: 4px;
32
+ --co-inphoto-ai-prompt-switch-thumb-travel: 20px;
33
+ --co-inphoto-ai-prompt-switch-thumb-radius: 50%;
34
+ --co-inphoto-ai-prompt-mode-active-font-weight: bold;
35
+ --co-inphoto-ai-prompt-required-border: 1px solid var(--co-inphoto-ai-prompt-required-error-color);
36
+ }
@@ -1,78 +1,73 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-ai-prompt-theme') {
4
- .co-ai-prompt {
5
- font-family: var(--co-inphoto-ai-prompt-font-family);
6
- font-size: var(--co-inphoto-ai-prompt-font-size-text);
7
-
8
- .custom-prompt-container {
9
- margin: var(--co-inphoto-ai-prompt-container-margin);
10
- background: var(--co-inphoto-background-white);
11
- border-radius: var(--co-inphoto-border-radius);
12
- padding: var(--co-inphoto-ai-prompt-container-padding);
13
-
14
- .prompt-head {
15
- @include cfg.sub-header-text();
16
- }
17
-
18
- .prompt-text {
19
- @include cfg.text();
20
- margin-bottom: var(--co-inphoto-ai-prompt-text-margin-bottom);
21
- }
22
-
23
- .prompt-mode {
24
- .prompt-mode-text {
25
- font-size: var(--co-inphoto-font-size-label);
26
-
27
- .active {
28
- font-weight: var(--co-inphoto-ai-prompt-mode-active-font-weight);
29
- }
30
-
31
- .spacer {
32
- margin: var(--co-inphoto-ai-prompt-spacer-margin);
33
- color: var(--co-inphoto-ai-prompt-spacer-color);
34
- }
35
- }
36
-
37
- .prompt-mode-switch {
38
-
39
- .switch {
40
-
41
- input {
42
- &:checked + .slider {
43
- background-color: var(--co-inphoto-accent-color);
44
- }
45
-
46
- &:focus + .slider {
47
- box-shadow: var(--co-inphoto-ai-prompt-switch-focus-shadow-spread) var(--co-inphoto-accent-color);
48
- }
49
- }
50
- }
51
-
52
- .slider {
53
- background-color: var(--co-inphoto-ai-prompt-spacer-color);
54
- transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
55
-
56
- &:before {
57
- background-color: var(--co-inphoto-background-white);
58
- transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
59
- }
60
-
61
- &.round {
62
- border-radius: var(--co-inphoto-ai-prompt-switch-radius);
63
-
64
- &:before {
65
- border-radius: var(--co-inphoto-ai-prompt-switch-thumb-radius);
66
- }
67
- }
68
- }
69
- }
70
- }
71
-
72
- .required-input-empty {
73
- border: var(--co-inphoto-ai-prompt-required-border);
74
- background-color: var(--co-inphoto-ai-prompt-required-error-background);
75
- }
76
- }
77
- }
78
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-ai-prompt-theme') {
4
+ .co-ai-prompt {
5
+ font-family: var(--co-inphoto-ai-prompt-font-family);
6
+ font-size: var(--co-inphoto-ai-prompt-font-size-text);
7
+
8
+ .custom-prompt-container {
9
+ border-radius: var(--co-inphoto-border-radius);
10
+
11
+ .prompt-head {
12
+ @include cfg.sub-header-text();
13
+ }
14
+
15
+ .prompt-text {
16
+ @include cfg.text();
17
+ }
18
+
19
+ .prompt-mode {
20
+ .prompt-mode-text {
21
+ font-size: var(--co-inphoto-ai-prompt-font-size-text);
22
+
23
+ .active {
24
+ font-weight: var(--co-inphoto-ai-prompt-mode-active-font-weight);
25
+ }
26
+
27
+ .spacer {
28
+ color: var(--co-inphoto-ai-prompt-spacer-color);
29
+ }
30
+ }
31
+
32
+ .prompt-mode-switch {
33
+
34
+ .switch {
35
+
36
+ input {
37
+ &:checked + .slider {
38
+ background-color: var(--co-inphoto-accent-color);
39
+ }
40
+
41
+ &:focus + .slider {
42
+ box-shadow: var(--co-inphoto-ai-prompt-switch-focus-shadow-spread) var(--co-inphoto-accent-color);
43
+ }
44
+ }
45
+ }
46
+
47
+ .slider {
48
+ background-color: var(--co-inphoto-ai-prompt-spacer-color);
49
+ transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
50
+
51
+ &:before {
52
+ background-color: var(--co-inphoto-background-white);
53
+ transition: var(--co-inphoto-ai-prompt-switch-transition-duration);
54
+ }
55
+
56
+ &.round {
57
+ border-radius: var(--co-inphoto-ai-prompt-switch-radius);
58
+
59
+ &:before {
60
+ border-radius: var(--co-inphoto-ai-prompt-switch-thumb-radius);
61
+ }
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+ .required-input-empty {
68
+ border: var(--co-inphoto-ai-prompt-required-border);
69
+ background-color: var(--co-inphoto-ai-prompt-required-error-background);
70
+ }
71
+ }
72
+ }
73
+ }
@@ -1,71 +1,115 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-canvas-tool-bar-layout') {
4
- .co-canvas-tool-bar {
5
- .canvas-toolbar {
6
- display: flex;
7
- align-items: center;
8
- position: absolute;
9
- top: var(--co-inphoto-canvas-tool-bar-position-top);
10
- left: var(--co-inphoto-canvas-tool-bar-position-left);
11
- z-index: var(--co-inphoto-canvas-tool-bar-z-index);
12
- justify-content: space-around;
13
-
14
- .modus-indicator, .tool-selection, .actions {
15
- display: flex;
16
- align-items: center;
17
- margin: var(--co-inphoto-canvas-tool-bar-section-margin);
18
- position: relative;
19
-
20
- .brush-size-container {
21
- position: absolute;
22
- top: var(--co-inphoto-canvas-tool-bar-brush-size-container-top);
23
-
24
- .brush-preview {
25
- display: flex;
26
- align-items: center;
27
- height: var(--co-inphoto-canvas-tool-bar-brush-preview-height);
28
- overflow: hidden;
29
- }
30
-
31
- .brush-preview-line {
32
- width: var(--co-inphoto-canvas-tool-bar-brush-preview-line-width);
33
- }
34
-
35
- .brush-size {
36
- display: flex;
37
- justify-content: space-between;
38
-
39
- .brush-size-value {
40
- width: var(--co-inphoto-canvas-tool-bar-brush-size-value-width);
41
- }
42
-
43
- .brush-size-slider {
44
- width: var(--co-inphoto-canvas-tool-bar-brush-size-slider-width);
45
- }
46
- }
47
- }
48
- }
49
-
50
- .actions {
51
- gap: var(--co-inphoto-canvas-tool-bar-actions-gap);
52
-
53
- .cancel-button, .action-button {
54
- height: var(--co-inphoto-canvas-tool-bar-button-size);
55
- display: flex;
56
- align-content: center;
57
- align-items: center;
58
- cursor: pointer;
59
- }
60
- }
61
-
62
- .canvas-zoom-control {
63
- display: flex;
64
- align-items: center;
65
- justify-content: space-around;
66
- margin: var(--co-inphoto-canvas-tool-bar-section-margin);
67
- position: relative;
68
- }
69
- }
70
- }
71
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-canvas-tool-bar-layout') {
4
+ .co-canvas-tool-bar {
5
+ .canvas-toolbar {
6
+ display: flex;
7
+ align-items: center;
8
+ position: var(--co-inphoto-canvas-tool-bar-position-absolute);
9
+ top: var(--co-inphoto-canvas-tool-bar-position-top);
10
+ left: var(--co-inphoto-canvas-tool-bar-position-left);
11
+ z-index: var(--co-inphoto-canvas-tool-bar-z-index);
12
+ justify-content: space-around;
13
+ padding: var(--co-inphoto-canvas-tool-bar-padding);
14
+
15
+ .drag-indicator-icon {
16
+ padding: var(--co-inphoto-canvas-tool-bar-drag-icon-padding);
17
+ }
18
+
19
+ .modus-indicator, .tool-selection, .actions {
20
+ display: flex;
21
+ align-items: center;
22
+ margin: var(--co-inphoto-canvas-tool-bar-section-margin);
23
+ position: var(--co-inphoto-canvas-tool-bar-position-relative);
24
+
25
+ .spacer {
26
+ margin: var(--co-inphoto-canvas-tool-bar-section-margin);
27
+ }
28
+
29
+ .brush-button, .eraser-button, .drag-button {
30
+ padding: var(--co-inphoto-canvas-tool-bar-tool-button-padding);
31
+ margin: var(--co-inphoto-canvas-tool-bar-tool-button-margin);
32
+ height: var(--co-inphoto-canvas-tool-bar-button-size);
33
+ width: var(--co-inphoto-canvas-tool-bar-button-size);
34
+ }
35
+
36
+ .brush-size-container {
37
+ position: var(--co-inphoto-canvas-tool-bar-position-absolute);
38
+ top: var(--co-inphoto-canvas-tool-bar-brush-size-container-top);
39
+ padding: var(--co-inphoto-canvas-tool-bar-padding);
40
+
41
+ .brush-preview {
42
+ display: flex;
43
+ align-items: center;
44
+ height: var(--co-inphoto-canvas-tool-bar-brush-preview-height);
45
+ overflow: hidden;
46
+ }
47
+
48
+ .brush-preview-line {
49
+ width: var(--co-inphoto-canvas-tool-bar-brush-preview-line-width);
50
+ }
51
+
52
+ .brush-size {
53
+ display: flex;
54
+ justify-content: space-between;
55
+
56
+ .brush-size-value {
57
+ width: var(--co-inphoto-canvas-tool-bar-brush-size-value-width);
58
+ }
59
+
60
+ .brush-size-slider {
61
+ width: var(--co-inphoto-canvas-tool-bar-brush-size-slider-width);
62
+ }
63
+ }
64
+ }
65
+ }
66
+
67
+ .actions {
68
+ gap: var(--co-inphoto-canvas-tool-bar-actions-gap);
69
+
70
+ .cancel-button, .action-button {
71
+ height: var(--co-inphoto-canvas-tool-bar-button-size);
72
+ display: flex;
73
+ align-content: center;
74
+ align-items: center;
75
+ cursor: pointer;
76
+ }
77
+
78
+ .cancel-button {
79
+ padding: var(--co-inphoto-button-padding);
80
+
81
+ .label {
82
+ margin-right: var(--co-inphoto-canvas-tool-bar-label-spacing);
83
+ }
84
+ }
85
+
86
+ .action-button {
87
+ .label {
88
+ margin-left: var(--co-inphoto-canvas-tool-bar-label-spacing);
89
+ }
90
+ }
91
+ }
92
+
93
+ .canvas-zoom-control {
94
+ display: flex;
95
+ align-items: center;
96
+ justify-content: space-around;
97
+ margin: var(--co-inphoto-canvas-tool-bar-section-margin);
98
+ position: var(--co-inphoto-canvas-tool-bar-position-relative);
99
+
100
+ .zoom-input-wrapper {
101
+ .co-input-text:not(.no-style) {
102
+ input {
103
+ align-self: center;
104
+ padding: var(--co-inphoto-canvas-tool-bar-zoom-zero);
105
+ }
106
+ }
107
+ }
108
+
109
+ .co-button {
110
+ height: var(--co-inphoto-canvas-tool-bar-zoom-button-height);
111
+ }
112
+ }
113
+ }
114
+ }
115
+ }