@colijnit/inphoto 300.1.7 → 300.1.8

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 (100) hide show
  1. package/assets/inphoto-add-products-tile.jpg +0 -0
  2. package/assets/inphoto-change-floorl.jpg +0 -0
  3. package/assets/inphoto-change-wall.jpg +0 -0
  4. package/fesm2022/colijnit-inphoto.mjs +1344 -492
  5. package/fesm2022/colijnit-inphoto.mjs.map +1 -1
  6. package/icons/layer_group_sharp_solid.svg +1 -0
  7. package/icons/paint_roller_sharp_solid.svg +1 -0
  8. package/index.d.ts +198 -49
  9. package/lib/component/ai-prompt/style/_layout.scss +76 -86
  10. package/lib/component/ai-prompt/style/_material-definition.scss +38 -6
  11. package/lib/component/ai-prompt/style/_theme.scss +78 -67
  12. package/lib/component/canvas-tool-bar/style/_layout.scss +63 -65
  13. package/lib/component/canvas-tool-bar/style/_material-definition.scss +37 -11
  14. package/lib/component/canvas-tool-bar/style/_theme.scss +108 -106
  15. package/lib/component/catalog/style/_layout.scss +68 -55
  16. package/lib/component/catalog/style/_material-definition.scss +22 -4
  17. package/lib/component/catalog/style/_theme.scss +43 -59
  18. package/lib/component/configuration-side-bar-menu/style/_layout.scss +33 -33
  19. package/lib/component/configuration-side-bar-menu/style/_material-definition.scss +10 -6
  20. package/lib/component/configuration-side-bar-menu/style/_theme.scss +4 -1
  21. package/lib/component/edit-canvas/style/_layout.scss +85 -75
  22. package/lib/component/edit-canvas/style/_material-definition.scss +25 -3
  23. package/lib/component/edit-canvas/style/_theme.scss +61 -46
  24. package/lib/component/error-dialog/style/_layout.scss +36 -39
  25. package/lib/component/error-dialog/style/_material-definition.scss +12 -3
  26. package/lib/component/error-dialog/style/_theme.scss +17 -10
  27. package/lib/component/header/style/_layout.scss +20 -21
  28. package/lib/component/header/style/_material-definition.scss +8 -6
  29. package/lib/component/header/style/_theme.scss +7 -0
  30. package/lib/component/image-enhancer/style/_layout.scss +37 -38
  31. package/lib/component/image-enhancer/style/_material-definition.scss +13 -6
  32. package/lib/component/image-enhancer/style/_theme.scss +45 -43
  33. package/lib/component/image-enhancer-style/style/_layout.scss +65 -107
  34. package/lib/component/image-enhancer-style/style/_material-definition.scss +16 -3
  35. package/lib/component/image-enhancer-style/style/_theme.scss +120 -72
  36. package/lib/component/image-enhancer-upload/style/_layout.scss +48 -11
  37. package/lib/component/image-enhancer-upload/style/_material-definition.scss +14 -3
  38. package/lib/component/image-enhancer-upload/style/_theme.scss +66 -87
  39. package/lib/component/image-history/style/_layout.scss +57 -127
  40. package/lib/component/image-history/style/_material-definition.scss +20 -5
  41. package/lib/component/image-history/style/_theme.scss +25 -46
  42. package/lib/component/image-history-tile/style/_layout.scss +53 -56
  43. package/lib/component/image-history-tile/style/_material-definition.scss +15 -3
  44. package/lib/component/image-history-tile/style/_theme.scss +32 -28
  45. package/lib/component/image-overlay/style/_layout.scss +84 -0
  46. package/lib/component/image-overlay/style/_material-definition.scss +21 -0
  47. package/lib/component/image-overlay/style/_theme.scss +40 -0
  48. package/lib/component/image-overlay/style/material.scss +3 -0
  49. package/lib/component/image-process-complete/style/_layout.scss +42 -33
  50. package/lib/component/image-process-complete/style/_material-definition.scss +13 -5
  51. package/lib/component/image-process-complete/style/_theme.scss +24 -18
  52. package/lib/component/image-tile/components/color-palette-option/style/_layout.scss +15 -17
  53. package/lib/component/image-tile/components/color-palette-option/style/_material-definition.scss +9 -3
  54. package/lib/component/image-tile/components/color-palette-option/style/_theme.scss +15 -12
  55. package/lib/component/image-tile/style/_layout.scss +102 -101
  56. package/lib/component/image-tile/style/_material-definition.scss +18 -3
  57. package/lib/component/image-tile/style/_theme.scss +58 -53
  58. package/lib/component/image-upload/style/_layout.scss +93 -103
  59. package/lib/component/image-upload/style/_material-definition.scss +35 -9
  60. package/lib/component/image-upload/style/_theme.scss +103 -80
  61. package/lib/component/inphoto/style/_layout.scss +11 -0
  62. package/lib/component/inphoto/style/_material-definition.scss +3 -1
  63. package/lib/component/inphoto/style/_theme.scss +2 -1
  64. package/lib/component/marker/style/_layout.scss +30 -0
  65. package/lib/component/marker/style/_material-definition.scss +12 -0
  66. package/lib/component/marker/style/_theme.scss +30 -0
  67. package/lib/component/marker/style/material.scss +3 -0
  68. package/lib/component/photo-editor/style/_layout.scss +38 -29
  69. package/lib/component/photo-editor/style/_material-definition.scss +8 -3
  70. package/lib/component/photo-editor/style/_theme.scss +2 -1
  71. package/lib/component/prepare-starting-image/style/_layout.scss +34 -26
  72. package/lib/component/prepare-starting-image/style/_material-definition.scss +11 -4
  73. package/lib/component/prepare-starting-image/style/_theme.scss +7 -0
  74. package/lib/component/process-loader/style/_layout.scss +74 -92
  75. package/lib/component/process-loader/style/_material-definition.scss +24 -6
  76. package/lib/component/process-loader/style/_theme.scss +128 -103
  77. package/lib/component/scene-context-menu/style/_layout.scss +59 -66
  78. package/lib/component/scene-context-menu/style/_material-definition.scss +27 -4
  79. package/lib/component/scene-context-menu/style/_theme.scss +57 -44
  80. package/lib/component/segment-inpaint/style/_layout.scss +51 -32
  81. package/lib/component/segment-inpaint/style/_material-definition.scss +11 -3
  82. package/lib/component/segment-inpaint/style/_theme.scss +29 -19
  83. package/lib/component/side-bar-menu/style/_layout.scss +26 -45
  84. package/lib/component/side-bar-menu/style/_material-definition.scss +12 -3
  85. package/lib/component/side-bar-menu/style/_theme.scss +32 -6
  86. package/lib/component/side-panel/style/_layout.scss +45 -40
  87. package/lib/component/side-panel/style/_material-definition.scss +16 -6
  88. package/lib/component/side-panel/style/_theme.scss +39 -44
  89. package/lib/component/step-tile/style/_layout.scss +50 -53
  90. package/lib/component/step-tile/style/_material-definition.scss +20 -6
  91. package/lib/component/step-tile/style/_theme.scss +78 -72
  92. package/lib/component/threedscene/style/_layout.scss +57 -35
  93. package/lib/component/threedscene/style/_material-definition.scss +12 -3
  94. package/lib/component/threedscene/style/_theme.scss +17 -8
  95. package/lib/component/upload-starting-image/style/_layout.scss +58 -51
  96. package/lib/component/upload-starting-image/style/_material-definition.scss +18 -3
  97. package/lib/component/upload-starting-image/style/_theme.scss +39 -46
  98. package/lib/style/_index.scss +0 -1
  99. package/lib/style/_variables.scss +5 -2
  100. package/package.json +1 -1
@@ -1,87 +1,66 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-enhancer-upload-theme') {
4
- .co-image-enhancer-upload {
5
- .image-enhancer-upload {
6
-
7
- .tool-explainer {
8
- background: var(--co-inphoto-background-white);
9
- border-radius: var(--co-inphoto-border-radius);
10
- padding: 15px;
11
- margin: 20px auto 0;
12
-
13
- .header-with-icon {
14
- display: flex;
15
- align-items: center;
16
- justify-content: flex-start;
17
- padding-bottom: 5px;
18
-
19
- .co-icon {
20
- margin-right: 10px;
21
- }
22
-
23
- .tool-explainer-header {
24
- font-size: var(--co-inphoto-font-size-text);
25
- font-weight: bold;
26
- }
27
- }
28
-
29
- .tool-explainer-text {
30
- font-size: var(--co-inphoto-font-size-text);
31
- }
32
- }
33
-
34
- .button-container {
35
- margin-top: 20px;
36
-
37
- .generate-button {
38
- margin-bottom: 30px;
39
- @include cfg.action-button(
40
- var(--co-inphoto-active-button-background),
41
- var(--co-inphoto-active-button-background),
42
- var(--co-inphoto-active-button-color),
43
- var(--co-inphoto-button-font-size),
44
- var(--co-inphoto-button-icon-size),
45
- var(--co-inphoto-active-button-color),
46
- var(--co-inphoto-button-border),
47
- var(--co-inphoto-button-radius),
48
- var(--co-inphoto-button-padding)
49
- );
50
-
51
- .label {
52
- margin-left: 15px;
53
- font-weight: bold;
54
- }
55
- }
56
-
57
- .restart-button {
58
- @include cfg.action-button(
59
- var(--co-inphoto-button-background),
60
- var(--co-inphoto-button-background),
61
- var(--co-inphoto-button-color),
62
- var(--co-inphoto-button-font-size),
63
- var(--co-inphoto-button-icon-size),
64
- var(--co-inphoto-button-icon-color),
65
- var(--co-inphoto-button-border),
66
- var(--co-inphoto-button-radius),
67
- var(--co-inphoto-button-padding)
68
- );
69
-
70
- .label {
71
- margin-left: 15px;
72
- font-weight: bold;
73
- }
74
- }
75
- }
76
-
77
- .uploaded-image-container {
78
- grid-template-columns: repeat(3, 1fr);
79
- margin: 20px 0;
80
- }
81
- }
82
-
83
- }
84
- }
85
-
86
-
87
-
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,127 +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: absolute;
7
- bottom: var(--co-inphoto-history-image-history-container-position-bottom);
8
- left: var(--co-inphoto-history-image-history-container-position-left);
9
- }
10
-
11
- .image-history-card {
12
- position: relative;
13
- display: flex;
14
- align-items: center;
15
- max-width: 675px;
16
- }
17
-
18
- .image-history-tiles {
19
- flex: 1 1 auto;
20
- min-width: 0;
21
- display: flex;
22
- gap: 10px;
23
- overflow-x: auto;
24
- overflow-y: hidden;
25
- scroll-behavior: smooth;
26
- scrollbar-width: none;
27
- -ms-overflow-style: none;
28
-
29
- &::-webkit-scrollbar {
30
- display: none;
31
- }
32
- }
33
-
34
- .scroll-btn {
35
- position: absolute;
36
- top: 50%;
37
- transform: translateY(-50%);
38
- display: flex;
39
- align-items: center;
40
- justify-content: center;
41
- width: 30px;
42
- height: 30px;
43
- padding: 0;
44
- border: none;
45
- border-radius: 50%;
46
- cursor: pointer;
47
- z-index: 2;
48
-
49
- &-left {
50
- left: -6px;
51
- }
52
-
53
- &-right {
54
- right: -6px;
55
- }
56
- }
57
-
58
- .larger-image-dialog {
59
- position: fixed;
60
- inset: 0;
61
- z-index: 1000;
62
- display: flex;
63
- flex-direction: column;
64
- justify-content: center;
65
- align-items: center;
66
-
67
- .dialog-container {
68
- position: relative;
69
-
70
- .close-dialog-button, .dialog-prev-button, .dialog-next-button {
71
- position: absolute;
72
- cursor: pointer;
73
- width: 30px;
74
- height: 30px;
75
- border-radius: 50%;
76
- display: flex;
77
- align-items: center;
78
- justify-content: space-around;
79
-
80
- .co-icon {
81
- flex: 1
82
- }
83
- }
84
-
85
- .close-dialog-button {
86
- top: 20px;
87
- right: 20px;
88
- }
89
-
90
- .dialog-prev-button {
91
- left: 20px;
92
- top: 50%;
93
- }
94
-
95
- .dialog-next-button {
96
- right: 20px;
97
- top: 50%;
98
- }
99
-
100
- .dialog-toolbar {
101
- position: absolute;
102
- bottom: 20px;
103
- right: 20px;
104
- display: flex;
105
- gap: 10px;
106
-
107
- .co-button {
108
- display: flex;
109
- cursor: pointer;
110
- padding: 8px 15px;
111
-
112
- .label {
113
- margin-left: 10px;
114
- }
115
- }
116
- }
117
- }
118
-
119
- .large-image {
120
- max-width: 100vw;
121
- max-height: 90vh;
122
- object-fit: contain;
123
- border-radius: var(--co-inphoto-border-radius);
124
- }
125
- }
126
- }
127
- }
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,5 +1,20 @@
1
- :root {
2
- --co-inphoto-history-box-shadow: 0 2px 6px rgba(0, 0, 0, 0.2);
3
- --co-inphoto-history-image-history-container-position-bottom: 10px;
4
- --co-inphoto-history-image-history-container-position-left: 115px;
5
- }
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,46 +1,25 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-history-theme') {
4
- .co-image-history {
5
- .image-history-container {
6
- background: var(--co-inphoto-dialog-background-color);
7
- padding: 20px;
8
- border-radius: var(--co-inphoto-border-radius);
9
- }
10
-
11
- .image-history-card {
12
- border-radius: var(--co-inphoto-border-radius);
13
- }
14
-
15
- .scroll-btn {
16
- background: var(--co-inphoto-background-white);
17
- box-shadow:var(--co-inphoto-history-box-shadow);
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
- .larger-image-dialog {
22
- background: var(--co-inphoto-loader-background-dark);
23
-
24
- .dialog-container {
25
- .close-dialog-button, .dialog-prev-button, .dialog-next-button {
26
- background: var(--co-inphoto-loader-background-dark);
27
- @include cfg.default-icon(var(--co-inphoto-icon-size), var(--co-inphoto-icon-size), var(--co-inphoto-icon-color-light));
28
- }
29
-
30
- .dialog-toolbar {
31
- .co-button {
32
- background: var(--co-inphoto-loader-background-dark);
33
- color: var(--co-inphoto-color-light);
34
- border-radius: var(--co-inphoto-border-radius);
35
- font-size: var(--co-inphoto-font-size-label);
36
-
37
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
38
- }
39
- }
40
- }
41
- }
42
- }
43
- }
44
-
45
-
46
-
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,56 +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: 160px;
7
-
8
- .image-history-item {
9
- position: relative;
10
- width: 100%;
11
- height: 115px;
12
- border-radius: var(--co-inphoto-border-radius);
13
- overflow: hidden;
14
- cursor: pointer;
15
-
16
- img {
17
- display: block;
18
- width: 100%;
19
- height: 100%;
20
- object-fit: cover;
21
- }
22
-
23
- .tile-action {
24
- position: absolute;
25
- display: flex;
26
- align-items: center;
27
- justify-content: center;
28
- width: 26px;
29
- height: 26px;
30
- border-radius: 50%;
31
- opacity: 0;
32
- transition: opacity 0.15s ease;
33
- z-index: 1;
34
- }
35
-
36
- &:hover .tile-action, .tile-action-select {
37
- opacity: 1;
38
- }
39
-
40
- .tile-action-select {
41
- top: 6px;
42
- right: 6px;
43
- }
44
-
45
- .tile-action-download {
46
- bottom: 6px;
47
- left: 6px;
48
- }
49
-
50
- .tile-action-remove {
51
- bottom: 6px;
52
- right: 6px;
53
- }
54
- }
55
- }
56
- }
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,3 +1,15 @@
1
- :root {
2
-
3
- }
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,28 +1,32 @@
1
- @use '../../../style' as cfg;
2
-
3
- @include cfg.export-module('co-image-history-tile-theme') {
4
-
5
- .co-image-history-tile {
6
- .image-history-item {
7
- .tile-action {
8
- color: var(--co-inphoto-background-white);
9
- background: var(--co-inphoto-loader-background-light);
10
- @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
11
-
12
- &:hover {
13
- background: var(--co-inphoto-accent-color);
14
- }
15
- }
16
-
17
- &-selected {
18
- .tile-action-select {
19
- opacity: 1;
20
- background: var(--co-inphoto-accent-color);
21
- }
22
- }
23
- }
24
- }
25
- }
26
-
27
-
28
-
1
+ @use '../../../style' as cfg;
2
+
3
+ @include cfg.export-module('co-image-history-tile-theme') {
4
+
5
+ .co-image-history-tile {
6
+ font-family: var(--co-inphoto-image-history-tile-font-family);
7
+ font-size: var(--co-inphoto-image-history-tile-font-size-text);
8
+
9
+ .image-history-item {
10
+ border-radius: var(--co-inphoto-border-radius);
11
+
12
+ .tile-action {
13
+ color: var(--co-inphoto-background-white);
14
+ background: var(--co-inphoto-loader-background-light);
15
+ border-radius: var(--co-inphoto-image-history-tile-action-radius);
16
+ transition: var(--co-inphoto-image-history-tile-action-transition);
17
+ @include cfg.default-icon(var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-size-small), var(--co-inphoto-icon-color-light));
18
+
19
+ &:hover {
20
+ background: var(--co-inphoto-accent-color);
21
+ }
22
+ }
23
+
24
+ &-selected {
25
+ .tile-action-select {
26
+ opacity: var(--co-inphoto-image-history-tile-action-visible-opacity);
27
+ background: var(--co-inphoto-accent-color);
28
+ }
29
+ }
30
+ }
31
+ }
32
+ }