@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,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
+ }
@@ -1,65 +1,65 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-style-layout') {
4
- .co-image-enhancer-style {
5
- .form-part-container {
6
- margin: var(--co-inphoto-image-enhancer-style-form-margin);
7
-
8
- .co-list-of-values {
9
- height: var(--co-inphoto-image-enhancer-style-field-height);
10
- overflow: hidden;
11
-
12
- .co-input-text {
13
- .input-text-clear-button {
14
- display: none;
15
- }
16
-
17
- &:not(.no-style) {
18
- input {
19
- padding-bottom: var(--co-inphoto-image-enhancer-style-field-padding-bottom);
20
- }
21
-
22
- &:not(.custom-height) {
23
- height: var(--co-inphoto-image-enhancer-style-field-height);
24
- }
25
-
26
- &.has-own-label {
27
- &.hasvalue {
28
- label {
29
- transform: var(--co-inphoto-image-enhancer-style-label-transform-none);
30
- top: var(--co-inphoto-image-enhancer-style-label-top);
31
- }
32
- }
33
- }
34
-
35
- &.has-right-icon {
36
- .input-text-right-icon {
37
- svg {
38
- width: var(--co-inphoto-image-enhancer-style-right-icon-size);
39
- height: var(--co-inphoto-image-enhancer-style-right-icon-size);
40
- }
41
- }
42
- }
43
-
44
- .input-text-left-icon,
45
- .input-text-right-icon {
46
- max-height: var(--co-inphoto-image-enhancer-style-field-height);
47
- }
48
- }
49
- }
50
- }
51
- }
52
-
53
-
54
- .tool-explainer {
55
- .header-with-icon {
56
- display: flex;
57
- align-items: center;
58
- }
59
- }
60
-
61
- .button-container {
62
- margin-top: var(--co-inphoto-image-enhancer-style-button-container-margin-top);
63
- }
64
- }
65
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-enhancer-style-layout') {
4
+ .co-image-enhancer-style {
5
+ .form-part-container {
6
+ margin: var(--co-inphoto-image-enhancer-style-form-margin);
7
+
8
+ .co-list-of-values {
9
+ height: var(--co-inphoto-image-enhancer-style-field-height);
10
+ overflow: hidden;
11
+
12
+ .co-input-text {
13
+ .input-text-clear-button {
14
+ display: none;
15
+ }
16
+
17
+ &:not(.no-style) {
18
+ input {
19
+ padding-bottom: var(--co-inphoto-image-enhancer-style-field-padding-bottom);
20
+ }
21
+
22
+ &:not(.custom-height) {
23
+ height: var(--co-inphoto-image-enhancer-style-field-height);
24
+ }
25
+
26
+ &.has-own-label {
27
+ &.hasvalue {
28
+ label {
29
+ transform: var(--co-inphoto-image-enhancer-style-label-transform-none);
30
+ top: var(--co-inphoto-image-enhancer-style-label-top);
31
+ }
32
+ }
33
+ }
34
+
35
+ &.has-right-icon {
36
+ .input-text-right-icon {
37
+ svg {
38
+ width: var(--co-inphoto-image-enhancer-style-right-icon-size);
39
+ height: var(--co-inphoto-image-enhancer-style-right-icon-size);
40
+ }
41
+ }
42
+ }
43
+
44
+ .input-text-left-icon,
45
+ .input-text-right-icon {
46
+ max-height: var(--co-inphoto-image-enhancer-style-field-height);
47
+ }
48
+ }
49
+ }
50
+ }
51
+ }
52
+
53
+
54
+ .tool-explainer {
55
+ .header-with-icon {
56
+ display: flex;
57
+ align-items: center;
58
+ }
59
+ }
60
+
61
+ .button-container {
62
+ margin-top: var(--co-inphoto-image-enhancer-style-button-container-margin-top);
63
+ }
64
+ }
65
+ }
@@ -1,16 +1,16 @@
1
- .co-image-enhancer-style {
2
- --co-inphoto-image-enhancer-style-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-image-enhancer-style-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-image-enhancer-style-padding: 15px;
5
- --co-inphoto-image-enhancer-style-form-margin: 20px auto;
6
- --co-inphoto-image-enhancer-style-field-height: 60px;
7
- --co-inphoto-image-enhancer-style-field-padding-bottom: 10px;
8
- --co-inphoto-image-enhancer-style-label-transform-none: none;
9
- --co-inphoto-image-enhancer-style-label-top: 10px;
10
- --co-inphoto-image-enhancer-style-right-icon-size: 15px;
11
- --co-inphoto-image-enhancer-style-header-icon-margin: 15px;
12
- --co-inphoto-image-enhancer-style-button-container-margin-top: 20px;
13
- --co-inphoto-image-enhancer-style-generate-button-margin-bottom: 30px;
14
- --co-inphoto-image-enhancer-style-button-label-margin-left: 15px;
15
- --co-inphoto-image-enhancer-style-button-label-font-weight: bold;
16
- }
1
+ .co-image-enhancer-style {
2
+ --co-inphoto-image-enhancer-style-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-image-enhancer-style-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-image-enhancer-style-padding: 15px;
5
+ --co-inphoto-image-enhancer-style-form-margin: 20px auto;
6
+ --co-inphoto-image-enhancer-style-field-height: 60px;
7
+ --co-inphoto-image-enhancer-style-field-padding-bottom: 10px;
8
+ --co-inphoto-image-enhancer-style-label-transform-none: none;
9
+ --co-inphoto-image-enhancer-style-label-top: 10px;
10
+ --co-inphoto-image-enhancer-style-right-icon-size: 15px;
11
+ --co-inphoto-image-enhancer-style-header-icon-margin: 15px;
12
+ --co-inphoto-image-enhancer-style-button-container-margin-top: 20px;
13
+ --co-inphoto-image-enhancer-style-generate-button-margin-bottom: 30px;
14
+ --co-inphoto-image-enhancer-style-button-label-margin-left: 15px;
15
+ --co-inphoto-image-enhancer-style-button-label-font-weight: bold;
16
+ }
@@ -1,120 +1,120 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-style-theme') {
4
- .co-image-enhancer-style {
5
- font-family: var(--co-inphoto-image-enhancer-style-font-family);
6
- font-size: var(--co-inphoto-image-enhancer-style-font-size-text);
7
-
8
- .form-part-container {
9
- .co-list-of-values {
10
- border-radius: var(--co-inphoto-border-radius);
11
-
12
- &:before, &:hover {
13
- box-shadow: none;
14
- border: none;
15
- }
16
-
17
- &:not(.read-only):hover {
18
- border: none;
19
-
20
- &:before {
21
- box-shadow: none;
22
- }
23
- }
24
-
25
- &.cc-input-focused:not(.no-focus-line) {
26
- border: none;
27
-
28
- &:before {
29
- box-shadow: none;
30
- }
31
- }
32
-
33
- .co-input-text {
34
- &:before {
35
- box-shadow: none;
36
- }
37
-
38
- &:hover, &:not(.read-only):hover {
39
- &:before {
40
- box-shadow: none;
41
- }
42
- }
43
-
44
- &:not(.no-style) {
45
- &:not(.custom-height) {
46
- border-radius: var(--co-inphoto-border-radius);
47
- }
48
- }
49
-
50
- .input-text-wrapper {
51
- .input-wrapper {
52
- border-radius: var(--co-inphoto-border-radius);
53
- }
54
- }
55
- }
56
- }
57
- }
58
-
59
- .tool-explainer, .explainer-text {
60
- background: var(--co-inphoto-background-white);
61
- border-radius: var(--co-inphoto-border-radius);
62
- padding: var(--co-inphoto-image-enhancer-style-padding);
63
-
64
- .header-with-icon {
65
- @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
66
- .co-icon {
67
- margin-right: var(--co-inphoto-image-enhancer-style-header-icon-margin);
68
- }
69
- .tool-explainer-header {
70
- @include cfg.sub-header-text();
71
- }
72
- }
73
- }
74
-
75
- .tool-explainer-text {
76
- @include cfg.text();
77
- }
78
-
79
- .button-container {
80
- .generate-button {
81
- margin-bottom: var(--co-inphoto-image-enhancer-style-generate-button-margin-bottom);
82
- @include cfg.action-button(
83
- var(--co-inphoto-active-button-background),
84
- var(--co-inphoto-active-button-background),
85
- var(--co-inphoto-active-button-color),
86
- var(--co-inphoto-button-font-size),
87
- var(--co-inphoto-button-icon-size),
88
- var(--co-inphoto-active-button-color),
89
- var(--co-inphoto-button-border),
90
- var(--co-inphoto-button-radius),
91
- var(--co-inphoto-button-padding)
92
- );
93
-
94
- .label {
95
- margin-left: var(--co-inphoto-image-enhancer-style-button-label-margin-left);
96
- font-weight: var(--co-inphoto-image-enhancer-style-button-label-font-weight);
97
- }
98
- }
99
-
100
- .restart-button {
101
- @include cfg.action-button(
102
- var(--co-inphoto-button-background),
103
- var(--co-inphoto-button-background),
104
- var(--co-inphoto-button-color),
105
- var(--co-inphoto-button-font-size),
106
- var(--co-inphoto-button-icon-size),
107
- var(--co-inphoto-button-icon-color),
108
- var(--co-inphoto-button-border),
109
- var(--co-inphoto-button-radius),
110
- var(--co-inphoto-button-padding)
111
- );
112
-
113
- .label {
114
- margin-left: var(--co-inphoto-image-enhancer-style-button-label-margin-left);
115
- font-weight: var(--co-inphoto-image-enhancer-style-button-label-font-weight);
116
- }
117
- }
118
- }
119
- }
120
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-enhancer-style-theme') {
4
+ .co-image-enhancer-style {
5
+ font-family: var(--co-inphoto-image-enhancer-style-font-family);
6
+ font-size: var(--co-inphoto-image-enhancer-style-font-size-text);
7
+
8
+ .form-part-container {
9
+ .co-list-of-values {
10
+ border-radius: var(--co-inphoto-border-radius);
11
+
12
+ &:before, &:hover {
13
+ box-shadow: none;
14
+ border: none;
15
+ }
16
+
17
+ &:not(.read-only):hover {
18
+ border: none;
19
+
20
+ &:before {
21
+ box-shadow: none;
22
+ }
23
+ }
24
+
25
+ &.cc-input-focused:not(.no-focus-line) {
26
+ border: none;
27
+
28
+ &:before {
29
+ box-shadow: none;
30
+ }
31
+ }
32
+
33
+ .co-input-text {
34
+ &:before {
35
+ box-shadow: none;
36
+ }
37
+
38
+ &:hover, &:not(.read-only):hover {
39
+ &:before {
40
+ box-shadow: none;
41
+ }
42
+ }
43
+
44
+ &:not(.no-style) {
45
+ &:not(.custom-height) {
46
+ border-radius: var(--co-inphoto-border-radius);
47
+ }
48
+ }
49
+
50
+ .input-text-wrapper {
51
+ .input-wrapper {
52
+ border-radius: var(--co-inphoto-border-radius);
53
+ }
54
+ }
55
+ }
56
+ }
57
+ }
58
+
59
+ .tool-explainer, .explainer-text {
60
+ background: var(--co-inphoto-background-white);
61
+ border-radius: var(--co-inphoto-border-radius);
62
+ padding: var(--co-inphoto-image-enhancer-style-padding);
63
+
64
+ .header-with-icon {
65
+ @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color));
66
+ .co-icon {
67
+ margin-right: var(--co-inphoto-image-enhancer-style-header-icon-margin);
68
+ }
69
+ .tool-explainer-header {
70
+ @include cfg.sub-header-text();
71
+ }
72
+ }
73
+ }
74
+
75
+ .tool-explainer-text {
76
+ @include cfg.text();
77
+ }
78
+
79
+ .button-container {
80
+ .generate-button {
81
+ margin-bottom: var(--co-inphoto-image-enhancer-style-generate-button-margin-bottom);
82
+ @include cfg.action-button(
83
+ var(--co-inphoto-active-button-background),
84
+ var(--co-inphoto-active-button-background),
85
+ var(--co-inphoto-active-button-color),
86
+ var(--co-inphoto-button-font-size),
87
+ var(--co-inphoto-button-icon-size),
88
+ var(--co-inphoto-active-button-color),
89
+ var(--co-inphoto-button-border),
90
+ var(--co-inphoto-button-radius),
91
+ var(--co-inphoto-button-padding)
92
+ );
93
+
94
+ .label {
95
+ margin-left: var(--co-inphoto-image-enhancer-style-button-label-margin-left);
96
+ font-weight: var(--co-inphoto-image-enhancer-style-button-label-font-weight);
97
+ }
98
+ }
99
+
100
+ .restart-button {
101
+ @include cfg.action-button(
102
+ var(--co-inphoto-button-background),
103
+ var(--co-inphoto-button-background),
104
+ var(--co-inphoto-button-color),
105
+ var(--co-inphoto-button-font-size),
106
+ var(--co-inphoto-button-icon-size),
107
+ var(--co-inphoto-button-icon-color),
108
+ var(--co-inphoto-button-border),
109
+ var(--co-inphoto-button-radius),
110
+ var(--co-inphoto-button-padding)
111
+ );
112
+
113
+ .label {
114
+ margin-left: var(--co-inphoto-image-enhancer-style-button-label-margin-left);
115
+ font-weight: var(--co-inphoto-image-enhancer-style-button-label-font-weight);
116
+ }
117
+ }
118
+ }
119
+ }
120
+ }