@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,48 +1,48 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-upload-layout') {
4
- .co-image-enhancer-upload {
5
- .image-enhancer-upload {
6
-
7
- .tool-explainer {
8
- padding: var(--co-inphoto-image-enhancer-upload-tool-padding);
9
- margin: var(--co-inphoto-image-enhancer-upload-tool-margin);
10
-
11
- .header-with-icon {
12
- display: flex;
13
- align-items: center;
14
- justify-content: flex-start;
15
- padding-bottom: var(--co-inphoto-image-enhancer-upload-header-padding-bottom);
16
-
17
- .co-icon {
18
- margin-right: var(--co-inphoto-image-enhancer-upload-icon-margin);
19
- }
20
- }
21
- }
22
-
23
- .button-container {
24
- margin-top: var(--co-inphoto-image-enhancer-upload-button-container-margin-top);
25
-
26
- .generate-button {
27
- margin-bottom: var(--co-inphoto-image-enhancer-upload-generate-button-margin-bottom);
28
-
29
- .label {
30
- margin-left: var(--co-inphoto-image-enhancer-upload-button-label-margin-left);
31
- }
32
- }
33
-
34
- .restart-button {
35
- .label {
36
- margin-left: var(--co-inphoto-image-enhancer-upload-button-label-margin-left);
37
- }
38
- }
39
- }
40
-
41
- .uploaded-image-container {
42
- display: grid;
43
- grid-template-columns: var(--co-inphoto-image-enhancer-upload-preview-columns);
44
- margin: var(--co-inphoto-image-enhancer-upload-preview-margin);
45
- }
46
- }
47
- }
48
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-enhancer-upload-layout') {
4
+ .co-image-enhancer-upload {
5
+ .image-enhancer-upload {
6
+
7
+ .tool-explainer {
8
+ padding: var(--co-inphoto-image-enhancer-upload-tool-padding);
9
+ margin: var(--co-inphoto-image-enhancer-upload-tool-margin);
10
+
11
+ .header-with-icon {
12
+ display: flex;
13
+ align-items: center;
14
+ justify-content: flex-start;
15
+ padding-bottom: var(--co-inphoto-image-enhancer-upload-header-padding-bottom);
16
+
17
+ .co-icon {
18
+ margin-right: var(--co-inphoto-image-enhancer-upload-icon-margin);
19
+ }
20
+ }
21
+ }
22
+
23
+ .button-container {
24
+ margin-top: var(--co-inphoto-image-enhancer-upload-button-container-margin-top);
25
+
26
+ .generate-button {
27
+ margin-bottom: var(--co-inphoto-image-enhancer-upload-generate-button-margin-bottom);
28
+
29
+ .label {
30
+ margin-left: var(--co-inphoto-image-enhancer-upload-button-label-margin-left);
31
+ }
32
+ }
33
+
34
+ .restart-button {
35
+ .label {
36
+ margin-left: var(--co-inphoto-image-enhancer-upload-button-label-margin-left);
37
+ }
38
+ }
39
+ }
40
+
41
+ .uploaded-image-container {
42
+ display: grid;
43
+ grid-template-columns: var(--co-inphoto-image-enhancer-upload-preview-columns);
44
+ margin: var(--co-inphoto-image-enhancer-upload-preview-margin);
45
+ }
46
+ }
47
+ }
48
+ }
@@ -1,14 +1,14 @@
1
- .co-image-enhancer-upload {
2
- --co-inphoto-image-enhancer-upload-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-image-enhancer-upload-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-image-enhancer-upload-tool-padding: 15px;
5
- --co-inphoto-image-enhancer-upload-tool-margin: 20px auto 0;
6
- --co-inphoto-image-enhancer-upload-header-padding-bottom: 5px;
7
- --co-inphoto-image-enhancer-upload-icon-margin: 10px;
8
- --co-inphoto-image-enhancer-upload-button-container-margin-top: 20px;
9
- --co-inphoto-image-enhancer-upload-generate-button-margin-bottom: 30px;
10
- --co-inphoto-image-enhancer-upload-button-label-margin-left: 15px;
11
- --co-inphoto-image-enhancer-upload-font-weight-bold: bold;
12
- --co-inphoto-image-enhancer-upload-preview-columns: repeat(3, 1fr);
13
- --co-inphoto-image-enhancer-upload-preview-margin: 20px 0;
14
- }
1
+ .co-image-enhancer-upload {
2
+ --co-inphoto-image-enhancer-upload-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-image-enhancer-upload-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-image-enhancer-upload-tool-padding: 15px;
5
+ --co-inphoto-image-enhancer-upload-tool-margin: 20px auto 0;
6
+ --co-inphoto-image-enhancer-upload-header-padding-bottom: 5px;
7
+ --co-inphoto-image-enhancer-upload-icon-margin: 10px;
8
+ --co-inphoto-image-enhancer-upload-button-container-margin-top: 20px;
9
+ --co-inphoto-image-enhancer-upload-generate-button-margin-bottom: 30px;
10
+ --co-inphoto-image-enhancer-upload-button-label-margin-left: 15px;
11
+ --co-inphoto-image-enhancer-upload-font-weight-bold: bold;
12
+ --co-inphoto-image-enhancer-upload-preview-columns: repeat(3, 1fr);
13
+ --co-inphoto-image-enhancer-upload-preview-margin: 20px 0;
14
+ }
@@ -1,66 +1,66 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-upload-theme') {
4
- .co-image-enhancer-upload {
5
- font-family: var(--co-inphoto-image-enhancer-upload-font-family);
6
- font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
7
-
8
- .image-enhancer-upload {
9
-
10
- .tool-explainer {
11
- background: var(--co-inphoto-background-white);
12
- border-radius: var(--co-inphoto-border-radius);
13
-
14
- .header-with-icon {
15
- .tool-explainer-header {
16
- font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
17
- font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
18
- }
19
- }
20
-
21
- .tool-explainer-text {
22
- font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
23
- }
24
- }
25
-
26
- .button-container {
27
- .generate-button {
28
- @include cfg.action-button(
29
- var(--co-inphoto-active-button-background),
30
- var(--co-inphoto-active-button-background),
31
- var(--co-inphoto-active-button-color),
32
- var(--co-inphoto-button-font-size),
33
- var(--co-inphoto-button-icon-size),
34
- var(--co-inphoto-active-button-color),
35
- var(--co-inphoto-button-border),
36
- var(--co-inphoto-button-radius),
37
- var(--co-inphoto-button-padding)
38
- );
39
-
40
- .label {
41
- font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
42
- }
43
- }
44
-
45
- .restart-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-button-font-size),
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-button-padding)
56
- );
57
-
58
- .label {
59
- font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
60
- }
61
- }
62
- }
63
- }
64
-
65
- }
66
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-enhancer-upload-theme') {
4
+ .co-image-enhancer-upload {
5
+ font-family: var(--co-inphoto-image-enhancer-upload-font-family);
6
+ font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
7
+
8
+ .image-enhancer-upload {
9
+
10
+ .tool-explainer {
11
+ background: var(--co-inphoto-background-white);
12
+ border-radius: var(--co-inphoto-border-radius);
13
+
14
+ .header-with-icon {
15
+ .tool-explainer-header {
16
+ font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
17
+ font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
18
+ }
19
+ }
20
+
21
+ .tool-explainer-text {
22
+ font-size: var(--co-inphoto-image-enhancer-upload-font-size-text);
23
+ }
24
+ }
25
+
26
+ .button-container {
27
+ .generate-button {
28
+ @include cfg.action-button(
29
+ var(--co-inphoto-active-button-background),
30
+ var(--co-inphoto-active-button-background),
31
+ var(--co-inphoto-active-button-color),
32
+ var(--co-inphoto-button-font-size),
33
+ var(--co-inphoto-button-icon-size),
34
+ var(--co-inphoto-active-button-color),
35
+ var(--co-inphoto-button-border),
36
+ var(--co-inphoto-button-radius),
37
+ var(--co-inphoto-button-padding)
38
+ );
39
+
40
+ .label {
41
+ font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
42
+ }
43
+ }
44
+
45
+ .restart-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-button-font-size),
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-button-padding)
56
+ );
57
+
58
+ .label {
59
+ font-weight: var(--co-inphoto-image-enhancer-upload-font-weight-bold);
60
+ }
61
+ }
62
+ }
63
+ }
64
+
65
+ }
66
+ }
@@ -1,57 +1,57 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-history-layout') {
4
- .co-image-history {
5
- .image-history-container {
6
- position: var(--co-inphoto-image-history-position-absolute);
7
- bottom: var(--co-inphoto-image-history-container-bottom);
8
- left: var(--co-inphoto-image-history-container-left);
9
- padding: var(--co-inphoto-image-history-dialog-offset);
10
- }
11
-
12
- .image-history-card {
13
- position: var(--co-inphoto-image-history-position-relative);
14
- display: flex;
15
- align-items: center;
16
- max-width: var(--co-inphoto-image-history-card-max-width);
17
- }
18
-
19
- .image-history-tiles {
20
- flex: 1 1 auto;
21
- min-width: 0;
22
- display: flex;
23
- gap: var(--co-inphoto-image-history-gap);
24
- overflow-x: auto;
25
- overflow-y: hidden;
26
- scroll-behavior: smooth;
27
- scrollbar-width: none;
28
- -ms-overflow-style: none;
29
-
30
- &::-webkit-scrollbar {
31
- display: none;
32
- }
33
- }
34
-
35
- .scroll-btn {
36
- position: var(--co-inphoto-image-history-position-absolute);
37
- top: var(--co-inphoto-image-history-vertical-center);
38
- transform: var(--co-inphoto-image-history-vertical-translate);
39
- display: flex;
40
- align-items: center;
41
- justify-content: center;
42
- width: var(--co-inphoto-image-history-button-size);
43
- height: var(--co-inphoto-image-history-button-size);
44
- padding: var(--co-inphoto-image-history-zero);
45
- cursor: pointer;
46
- z-index: var(--co-inphoto-image-history-button-z-index);
47
-
48
- &-left {
49
- left: var(--co-inphoto-image-history-button-edge-offset);
50
- }
51
-
52
- &-right {
53
- right: var(--co-inphoto-image-history-button-edge-offset);
54
- }
55
- }
56
- }
57
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-history-layout') {
4
+ .co-image-history {
5
+ .image-history-container {
6
+ position: var(--co-inphoto-image-history-position-absolute);
7
+ bottom: var(--co-inphoto-image-history-container-bottom);
8
+ left: var(--co-inphoto-image-history-container-left);
9
+ padding: var(--co-inphoto-image-history-dialog-offset);
10
+ }
11
+
12
+ .image-history-card {
13
+ position: var(--co-inphoto-image-history-position-relative);
14
+ display: flex;
15
+ align-items: center;
16
+ max-width: var(--co-inphoto-image-history-card-max-width);
17
+ }
18
+
19
+ .image-history-tiles {
20
+ flex: 1 1 auto;
21
+ min-width: 0;
22
+ display: flex;
23
+ gap: var(--co-inphoto-image-history-gap);
24
+ overflow-x: auto;
25
+ overflow-y: hidden;
26
+ scroll-behavior: smooth;
27
+ scrollbar-width: none;
28
+ -ms-overflow-style: none;
29
+
30
+ &::-webkit-scrollbar {
31
+ display: none;
32
+ }
33
+ }
34
+
35
+ .scroll-btn {
36
+ position: var(--co-inphoto-image-history-position-absolute);
37
+ top: var(--co-inphoto-image-history-vertical-center);
38
+ transform: var(--co-inphoto-image-history-vertical-translate);
39
+ display: flex;
40
+ align-items: center;
41
+ justify-content: center;
42
+ width: var(--co-inphoto-image-history-button-size);
43
+ height: var(--co-inphoto-image-history-button-size);
44
+ padding: var(--co-inphoto-image-history-zero);
45
+ cursor: pointer;
46
+ z-index: var(--co-inphoto-image-history-button-z-index);
47
+
48
+ &-left {
49
+ left: var(--co-inphoto-image-history-button-edge-offset);
50
+ }
51
+
52
+ &-right {
53
+ right: var(--co-inphoto-image-history-button-edge-offset);
54
+ }
55
+ }
56
+ }
57
+ }
@@ -1,20 +1,20 @@
1
- .co-image-history {
2
- --co-inphoto-image-history-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-image-history-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-image-history-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
5
- --co-inphoto-image-history-container-bottom: 10px;
6
- --co-inphoto-image-history-container-left: 115px;
7
- --co-inphoto-image-history-position-absolute: absolute;
8
- --co-inphoto-image-history-position-relative: relative;
9
- --co-inphoto-image-history-card-max-width: 675px;
10
- --co-inphoto-image-history-gap: 10px;
11
- --co-inphoto-image-history-button-size: 30px;
12
- --co-inphoto-image-history-button-radius: 50%;
13
- --co-inphoto-image-history-button-border: none;
14
- --co-inphoto-image-history-zero: 0;
15
- --co-inphoto-image-history-button-z-index: 2;
16
- --co-inphoto-image-history-vertical-center: 50%;
17
- --co-inphoto-image-history-vertical-translate: translateY(-50%);
18
- --co-inphoto-image-history-button-edge-offset: -6px;
19
- --co-inphoto-image-history-dialog-offset: 20px;
20
- }
1
+ .co-image-history {
2
+ --co-inphoto-image-history-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-image-history-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-image-history-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
5
+ --co-inphoto-image-history-container-bottom: 10px;
6
+ --co-inphoto-image-history-container-left: 115px;
7
+ --co-inphoto-image-history-position-absolute: absolute;
8
+ --co-inphoto-image-history-position-relative: relative;
9
+ --co-inphoto-image-history-card-max-width: 675px;
10
+ --co-inphoto-image-history-gap: 10px;
11
+ --co-inphoto-image-history-button-size: 30px;
12
+ --co-inphoto-image-history-button-radius: 50%;
13
+ --co-inphoto-image-history-button-border: none;
14
+ --co-inphoto-image-history-zero: 0;
15
+ --co-inphoto-image-history-button-z-index: 2;
16
+ --co-inphoto-image-history-vertical-center: 50%;
17
+ --co-inphoto-image-history-vertical-translate: translateY(-50%);
18
+ --co-inphoto-image-history-button-edge-offset: -6px;
19
+ --co-inphoto-image-history-dialog-offset: 20px;
20
+ }
@@ -1,25 +1,25 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-history-theme') {
4
- .co-image-history {
5
- font-family: var(--co-inphoto-image-history-font-family);
6
- font-size: var(--co-inphoto-image-history-font-size-text);
7
-
8
- .image-history-container {
9
- background: var(--co-inphoto-dialog-background-color);
10
- border-radius: var(--co-inphoto-border-radius);
11
- }
12
-
13
- .image-history-card {
14
- border-radius: var(--co-inphoto-border-radius);
15
- }
16
-
17
- .scroll-btn {
18
- background: var(--co-inphoto-background-white);
19
- box-shadow: var(--co-inphoto-image-history-box-shadow);
20
- border: var(--co-inphoto-image-history-button-border);
21
- border-radius: var(--co-inphoto-image-history-button-radius);
22
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
23
- }
24
- }
25
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-history-theme') {
4
+ .co-image-history {
5
+ font-family: var(--co-inphoto-image-history-font-family);
6
+ font-size: var(--co-inphoto-image-history-font-size-text);
7
+
8
+ .image-history-container {
9
+ background: var(--co-inphoto-dialog-background-color);
10
+ border-radius: var(--co-inphoto-border-radius);
11
+ }
12
+
13
+ .image-history-card {
14
+ border-radius: var(--co-inphoto-border-radius);
15
+ }
16
+
17
+ .scroll-btn {
18
+ background: var(--co-inphoto-background-white);
19
+ box-shadow: var(--co-inphoto-image-history-box-shadow);
20
+ border: var(--co-inphoto-image-history-button-border);
21
+ border-radius: var(--co-inphoto-image-history-button-radius);
22
+ @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color));
23
+ }
24
+ }
25
+ }
@@ -1,53 +1,53 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-history-tile-layout') {
4
- .co-image-history-tile {
5
- flex: 0 0 auto;
6
- width: var(--co-inphoto-image-history-tile-width);
7
-
8
- .image-history-item {
9
- position: var(--co-inphoto-image-history-tile-position-relative);
10
- width: var(--co-inphoto-image-history-tile-item-full-width);
11
- height: var(--co-inphoto-image-history-tile-item-height);
12
- overflow: hidden;
13
- cursor: pointer;
14
-
15
- img {
16
- display: block;
17
- width: var(--co-inphoto-image-history-tile-item-full-width);
18
- height: var(--co-inphoto-image-history-tile-item-full-width);
19
- object-fit: cover;
20
- }
21
-
22
- .tile-action {
23
- position: absolute;
24
- display: flex;
25
- align-items: center;
26
- justify-content: center;
27
- width: var(--co-inphoto-image-history-tile-action-size);
28
- height: var(--co-inphoto-image-history-tile-action-size);
29
- opacity: var(--co-inphoto-image-history-tile-action-hidden-opacity);
30
- z-index: var(--co-inphoto-image-history-tile-action-z-index);
31
- }
32
-
33
- &:hover .tile-action, .tile-action-select {
34
- opacity: var(--co-inphoto-image-history-tile-action-visible-opacity);
35
- }
36
-
37
- .tile-action-select {
38
- top: var(--co-inphoto-image-history-tile-action-offset);
39
- right: var(--co-inphoto-image-history-tile-action-offset);
40
- }
41
-
42
- .tile-action-download {
43
- bottom: var(--co-inphoto-image-history-tile-action-offset);
44
- left: var(--co-inphoto-image-history-tile-action-offset);
45
- }
46
-
47
- .tile-action-remove {
48
- bottom: var(--co-inphoto-image-history-tile-action-offset);
49
- right: var(--co-inphoto-image-history-tile-action-offset);
50
- }
51
- }
52
- }
53
- }
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-history-tile-layout') {
4
+ .co-image-history-tile {
5
+ flex: 0 0 auto;
6
+ width: var(--co-inphoto-image-history-tile-width);
7
+
8
+ .image-history-item {
9
+ position: var(--co-inphoto-image-history-tile-position-relative);
10
+ width: var(--co-inphoto-image-history-tile-item-full-width);
11
+ height: var(--co-inphoto-image-history-tile-item-height);
12
+ overflow: hidden;
13
+ cursor: pointer;
14
+
15
+ img {
16
+ display: block;
17
+ width: var(--co-inphoto-image-history-tile-item-full-width);
18
+ height: var(--co-inphoto-image-history-tile-item-full-width);
19
+ object-fit: cover;
20
+ }
21
+
22
+ .tile-action {
23
+ position: absolute;
24
+ display: flex;
25
+ align-items: center;
26
+ justify-content: center;
27
+ width: var(--co-inphoto-image-history-tile-action-size);
28
+ height: var(--co-inphoto-image-history-tile-action-size);
29
+ opacity: var(--co-inphoto-image-history-tile-action-hidden-opacity);
30
+ z-index: var(--co-inphoto-image-history-tile-action-z-index);
31
+ }
32
+
33
+ &:hover .tile-action, .tile-action-select {
34
+ opacity: var(--co-inphoto-image-history-tile-action-visible-opacity);
35
+ }
36
+
37
+ .tile-action-select {
38
+ top: var(--co-inphoto-image-history-tile-action-offset);
39
+ right: var(--co-inphoto-image-history-tile-action-offset);
40
+ }
41
+
42
+ .tile-action-download {
43
+ bottom: var(--co-inphoto-image-history-tile-action-offset);
44
+ left: var(--co-inphoto-image-history-tile-action-offset);
45
+ }
46
+
47
+ .tile-action-remove {
48
+ bottom: var(--co-inphoto-image-history-tile-action-offset);
49
+ right: var(--co-inphoto-image-history-tile-action-offset);
50
+ }
51
+ }
52
+ }
53
+ }
@@ -1,15 +1,15 @@
1
- .co-image-history-tile {
2
- --co-inphoto-image-history-tile-font-size-text: var(--co-inphoto-font-size-text);
3
- --co-inphoto-image-history-tile-font-family: var(--co-inphoto-font-family);
4
- --co-inphoto-image-history-tile-width: 160px;
5
- --co-inphoto-image-history-tile-position-relative: relative;
6
- --co-inphoto-image-history-tile-item-full-width: 100%;
7
- --co-inphoto-image-history-tile-item-height: 115px;
8
- --co-inphoto-image-history-tile-action-size: 26px;
9
- --co-inphoto-image-history-tile-action-radius: 50%;
10
- --co-inphoto-image-history-tile-action-hidden-opacity: 0;
11
- --co-inphoto-image-history-tile-action-visible-opacity: 1;
12
- --co-inphoto-image-history-tile-action-transition: opacity 0.15s ease;
13
- --co-inphoto-image-history-tile-action-z-index: 1;
14
- --co-inphoto-image-history-tile-action-offset: 6px;
15
- }
1
+ .co-image-history-tile {
2
+ --co-inphoto-image-history-tile-font-size-text: var(--co-inphoto-font-size-text);
3
+ --co-inphoto-image-history-tile-font-family: var(--co-inphoto-font-family);
4
+ --co-inphoto-image-history-tile-width: 160px;
5
+ --co-inphoto-image-history-tile-position-relative: relative;
6
+ --co-inphoto-image-history-tile-item-full-width: 100%;
7
+ --co-inphoto-image-history-tile-item-height: 115px;
8
+ --co-inphoto-image-history-tile-action-size: 26px;
9
+ --co-inphoto-image-history-tile-action-radius: 50%;
10
+ --co-inphoto-image-history-tile-action-hidden-opacity: 0;
11
+ --co-inphoto-image-history-tile-action-visible-opacity: 1;
12
+ --co-inphoto-image-history-tile-action-transition: opacity 0.15s ease;
13
+ --co-inphoto-image-history-tile-action-z-index: 1;
14
+ --co-inphoto-image-history-tile-action-offset: 6px;
15
+ }