cloudcommerce 0.0.82 → 0.0.84
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.
- package/.vscode/extensions.json +1 -1
- package/.vscode/settings.json +2 -3
- package/CHANGELOG.md +33 -0
- package/package.json +9 -9
- package/packages/api/lib/api.d.ts +8 -0
- package/packages/api/lib/api.js +24 -3
- package/packages/api/lib/api.js.map +1 -1
- package/packages/api/lib/types.d.ts +2 -0
- package/packages/api/package.json +5 -1
- package/packages/api/src/api.ts +31 -3
- package/packages/api/src/types.ts +2 -0
- package/packages/api/types.ts +2 -0
- package/packages/apps/correios/package.json +1 -1
- package/packages/apps/custom-shipping/package.json +1 -1
- package/packages/apps/discounts/package.json +1 -1
- package/packages/apps/frenet/package.json +1 -1
- package/packages/apps/tiny-erp/package.json +1 -1
- package/packages/cli/package.json +1 -1
- package/packages/config/package.json +1 -1
- package/packages/events/package.json +1 -1
- package/packages/firebase/package.json +2 -2
- package/packages/modules/package.json +1 -1
- package/packages/passport/package.json +1 -1
- package/packages/ssr/package.json +1 -1
- package/packages/storefront/astro.config.mjs +122 -5
- package/packages/storefront/client.d.ts +27 -0
- package/packages/storefront/content/header.json +3 -1
- package/packages/storefront/dist/client/admin/config.json +1 -0
- package/packages/storefront/dist/client/assets/_...2fc8f657.css +1 -0
- package/packages/storefront/dist/client/assets/{_...11681504.css → _...7af61807.css} +1 -1
- package/packages/storefront/dist/client/assets/cms-preview.css +274 -0
- package/packages/storefront/dist/client/assets/cms.css +114 -0
- package/packages/storefront/dist/client/assets/cvv.png +0 -0
- package/packages/storefront/dist/client/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/dist/client/assets/img-placeholder.png +0 -0
- package/packages/storefront/dist/client/assets/payments.png +0 -0
- package/packages/storefront/dist/client/assets/ssl-safe.png +0 -0
- package/packages/storefront/dist/client/chunks/workbox-window.prod.es5.4b654ae6.js +2 -0
- package/packages/storefront/dist/client/hoisted.46e058d2.js +271 -0
- package/packages/storefront/dist/client/img/icon.png +0 -0
- package/packages/storefront/dist/client/img/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner1.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner2.png +0 -0
- package/packages/storefront/dist/client/img/uploads/banner2.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/favicon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headless.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headphone.png +0 -0
- package/packages/storefront/dist/client/img/uploads/headphone.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/large-icon.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.png +0 -0
- package/packages/storefront/dist/client/img/uploads/logo.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/og-image.png +0 -0
- package/packages/storefront/dist/client/img/uploads/passion.png +0 -0
- package/packages/storefront/dist/client/img/uploads/passion.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/pwa-reliable.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect8589.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect859.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect89.png +0 -0
- package/packages/storefront/dist/client/img/uploads/rect89.webp +0 -0
- package/packages/storefront/dist/client/img/uploads/ssl-safe.png +0 -0
- package/packages/storefront/dist/client/manifest.webmanifest +1 -1
- package/packages/storefront/dist/client/robots.txt +8 -0
- package/packages/storefront/dist/client/sw.js +1 -1
- package/packages/storefront/dist/client/workbox-361aba39.js +1 -0
- package/packages/storefront/dist/server/entry.mjs +608 -103
- package/packages/storefront/dist/server/manifest.webmanifest +1 -1
- package/packages/storefront/package.json +13 -12
- package/packages/storefront/public/admin/config.json +1 -0
- package/packages/storefront/public/assets/cms-preview.css +274 -0
- package/packages/storefront/public/assets/cms.css +114 -0
- package/packages/storefront/public/assets/cvv.png +0 -0
- package/packages/storefront/public/assets/icons/bootstrap-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/public/assets/icons/feather-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/public/assets/icons/font-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/public/assets/icons/line-awesome/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/public/assets/icons/tabler-icons/font/storefront-icons.woff2 +0 -0
- package/packages/storefront/public/assets/img-placeholder.png +0 -0
- package/packages/storefront/public/assets/payments.png +0 -0
- package/packages/storefront/public/assets/ssl-safe.png +0 -0
- package/packages/storefront/public/img/icon.png +0 -0
- package/packages/storefront/public/img/large-icon.png +0 -0
- package/packages/storefront/public/img/uploads/banner1.png +0 -0
- package/packages/storefront/public/img/uploads/banner2.png +0 -0
- package/packages/storefront/public/img/uploads/banner2.webp +0 -0
- package/packages/storefront/public/img/uploads/favicon.png +0 -0
- package/packages/storefront/public/img/uploads/headless.png +0 -0
- package/packages/storefront/public/img/uploads/headphone.png +0 -0
- package/packages/storefront/public/img/uploads/headphone.webp +0 -0
- package/packages/storefront/public/img/uploads/icon.png +0 -0
- package/packages/storefront/public/img/uploads/large-icon.png +0 -0
- package/packages/storefront/public/img/uploads/logo.png +0 -0
- package/packages/storefront/public/img/uploads/logo.webp +0 -0
- package/packages/storefront/public/img/uploads/og-image.png +0 -0
- package/packages/storefront/public/img/uploads/passion.png +0 -0
- package/packages/storefront/public/img/uploads/passion.webp +0 -0
- package/packages/storefront/public/img/uploads/pwa-reliable.png +0 -0
- package/packages/storefront/public/img/uploads/rect8589.png +0 -0
- package/packages/storefront/public/img/uploads/rect859.png +0 -0
- package/packages/storefront/public/img/uploads/rect89.png +0 -0
- package/packages/storefront/public/img/uploads/rect89.webp +0 -0
- package/packages/storefront/public/img/uploads/ssl-safe.png +0 -0
- package/packages/storefront/public/robots.txt +8 -0
- package/packages/storefront/scripts/prepare-monorepo.sh +4 -0
- package/packages/storefront/scripts/prerelease.sh +4 -0
- package/packages/storefront/src/env.d.ts +3 -1
- package/packages/storefront/src/lib/components/TheHeader.vue +15 -0
- package/packages/storefront/src/lib/components/TopBar.vue +141 -0
- package/packages/storefront/src/lib/helpers/image.ts +36 -0
- package/packages/storefront/src/lib/layouts/Base.astro +26 -25
- package/packages/storefront/src/lib/layouts/{meta/Head.astro → BaseHead.astro} +5 -3
- package/packages/storefront/src/lib/layouts/{meta/Json.astro → BaseStateJson.astro} +1 -1
- package/packages/storefront/src/lib/layouts/Pages.astro +2 -7
- package/packages/storefront/src/lib/layouts/PagesHeader.astro +92 -0
- package/packages/storefront/src/lib/ssr-context.ts +6 -4
- package/packages/storefront/src/pages/[...slug].astro +4 -0
- package/packages/storefront/src/types/cms-code.d.ts +5 -0
- package/packages/storefront/src/types/cms-contacts.d.ts +5 -0
- package/packages/storefront/src/types/cms-header.d.ts +5 -0
- package/packages/storefront/src/types/cms-settings.d.ts +5 -0
- package/packages/storefront/src/types/cms-social.d.ts +5 -0
- package/packages/storefront/tailwind.config.cjs +78 -0
- package/packages/storefront/uno.config.ts +55 -30
- package/packages/types/index.ts +1 -1
- package/packages/types/package.json +1 -1
- package/tsconfig.json +2 -1
- package/packages/storefront/dist/client/assets/_...65ca64e2.css +0 -1
- package/packages/storefront/dist/client/favicon.ico +0 -0
- package/packages/storefront/dist/client/hoisted.f0efb207.js +0 -272
- package/packages/storefront/dist/client/workbox-70b8fbb9.js +0 -1
- package/packages/storefront/public/favicon.ico +0 -0
- package/packages/storefront/src/html.d.ts +0 -23
- package/packages/storefront/src/vite-env.d.ts +0 -13
- package/packages/storefront/tailwind.config.ts +0 -30
|
@@ -1 +1 @@
|
|
|
1
|
-
{"name":"
|
|
1
|
+
{"name":"My Shop","short_name":"MyShop","start_url":"/","display":"standalone","background_color":"#f5f6fa","lang":"en","scope":"/","description":"My PWA Shop","theme_color":"#20c997","crossorigin":"use-credentials","icons":[{"src":"/img/icon.png","sizes":"192x192","type":"image/png"},{"src":"/img/large-icon.png","sizes":"512x512","type":"image/png"},{"src":"/img/large-icon.png","sizes":"512x512","type":"image/png","purpose":"any maskable"}]}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@cloudcommerce/storefront",
|
|
3
3
|
"type": "module",
|
|
4
|
-
"version": "0.0.
|
|
4
|
+
"version": "0.0.84",
|
|
5
5
|
"description": "E-Com Plus Cloud Commerce storefront with Astro",
|
|
6
6
|
"main": "src/index.js",
|
|
7
7
|
"repository": {
|
|
@@ -21,11 +21,11 @@
|
|
|
21
21
|
"build": "astro build",
|
|
22
22
|
"preview": "astro preview",
|
|
23
23
|
"astro": "astro",
|
|
24
|
-
"prepare-monorepo": "
|
|
25
|
-
"prerelease": "
|
|
24
|
+
"prepare-monorepo": "sh scripts/prepare-monorepo.sh",
|
|
25
|
+
"prerelease": "sh scripts/prerelease.sh"
|
|
26
26
|
},
|
|
27
27
|
"dependencies": {
|
|
28
|
-
"@astrojs/image": "^0.7.
|
|
28
|
+
"@astrojs/image": "^0.7.1",
|
|
29
29
|
"@astrojs/node": "^1.0.1",
|
|
30
30
|
"@astrojs/partytown": "^1.0.0",
|
|
31
31
|
"@astrojs/prefetch": "^0.0.7",
|
|
@@ -34,21 +34,22 @@
|
|
|
34
34
|
"@cloudcommerce/api": "workspace:*",
|
|
35
35
|
"@cloudcommerce/config": "workspace:*",
|
|
36
36
|
"@ecomplus/utils": "^1.4.1",
|
|
37
|
+
"@iconify-json/bxl": "^1.1.4",
|
|
37
38
|
"@iconify-json/heroicons": "^1.1.4",
|
|
38
39
|
"@iconify-json/logos": "^1.1.16",
|
|
39
40
|
"@nanostores/vue": "^0.6.0",
|
|
40
41
|
"@picocss/pico": "^1.5.5",
|
|
41
|
-
"@unocss/preset-
|
|
42
|
-
"
|
|
43
|
-
"astro": "^1.2.6",
|
|
42
|
+
"@unocss/preset-icons": "^0.45.22",
|
|
43
|
+
"astro": "^1.3.0",
|
|
44
44
|
"color": "^4.2.3",
|
|
45
45
|
"dotenv": "^16.0.2",
|
|
46
46
|
"firebase": "^9.10.0",
|
|
47
|
-
"
|
|
48
|
-
"
|
|
49
|
-
"
|
|
50
|
-
"
|
|
51
|
-
"vite
|
|
47
|
+
"image-size": "^1.0.2",
|
|
48
|
+
"nanostores": "^0.7.0",
|
|
49
|
+
"rollup": "^2.79.1",
|
|
50
|
+
"unocss": "^0.45.22",
|
|
51
|
+
"vite": "^3.1.3",
|
|
52
|
+
"vite-plugin-pwa": "^0.12.8",
|
|
52
53
|
"vue": "^3.2.39"
|
|
53
54
|
}
|
|
54
55
|
}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{}
|
|
@@ -0,0 +1,274 @@
|
|
|
1
|
+
.ec-search-engine__count {
|
|
2
|
+
padding-left: .5rem;
|
|
3
|
+
position: relative;
|
|
4
|
+
line-height: 2.5;
|
|
5
|
+
}
|
|
6
|
+
|
|
7
|
+
.ec-search-engine__spinner {
|
|
8
|
+
position: absolute;
|
|
9
|
+
top: .4rem;
|
|
10
|
+
right: -3rem;
|
|
11
|
+
color: var(--secondary);
|
|
12
|
+
margin-left: 1.5rem;
|
|
13
|
+
width: 1.75rem;
|
|
14
|
+
height: 1.75rem;
|
|
15
|
+
}
|
|
16
|
+
|
|
17
|
+
.ec-search-engine__toggle {
|
|
18
|
+
color: inherit;
|
|
19
|
+
display: inline-block;
|
|
20
|
+
text-decoration: none;
|
|
21
|
+
-webkit-transition: opacity .15s,color .2s;
|
|
22
|
+
transition:opacity .15s,color .2s;
|
|
23
|
+
padding: 0 .5rem;
|
|
24
|
+
opacity: .75;
|
|
25
|
+
line-height: 2.5;
|
|
26
|
+
border: none;
|
|
27
|
+
}
|
|
28
|
+
|
|
29
|
+
.ec-search-engine__toggle i,
|
|
30
|
+
.ec-search-engine__toggle svg {
|
|
31
|
+
font-size: .825rem;
|
|
32
|
+
color: var(--gray-dark);
|
|
33
|
+
margin-right: .15rem;
|
|
34
|
+
}
|
|
35
|
+
|
|
36
|
+
.ec-search-engine__toggle:focus,
|
|
37
|
+
.ec-search-engine__toggle:hover {
|
|
38
|
+
opacity: 1;
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
color: inherit;
|
|
41
|
+
box-shadow: none;
|
|
42
|
+
}
|
|
43
|
+
|
|
44
|
+
.ec-search-engine__toggle[aria-expanded=true] {
|
|
45
|
+
color: var(--gray-dark);
|
|
46
|
+
opacity: 1;
|
|
47
|
+
}
|
|
48
|
+
|
|
49
|
+
.ec-search-engine__results {
|
|
50
|
+
-webkit-transition:opacity .25s;
|
|
51
|
+
transition:opacity .25s;
|
|
52
|
+
}
|
|
53
|
+
|
|
54
|
+
.ec-search-engine__info {
|
|
55
|
+
margin-bottom: 1.5rem;
|
|
56
|
+
padding-top: 1rem;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.ec-search-engine__terms {
|
|
60
|
+
display: -webkit-box;
|
|
61
|
+
display: flex;
|
|
62
|
+
-webkit-box-pack: justify;
|
|
63
|
+
-ms-box-pack: justify;
|
|
64
|
+
-moz-box-pack: justify;
|
|
65
|
+
justify-content: space-between;
|
|
66
|
+
-webkit-box-align: center;
|
|
67
|
+
-moz-box-align: center;
|
|
68
|
+
-ms-box-align: center;
|
|
69
|
+
align-items: center;
|
|
70
|
+
}
|
|
71
|
+
|
|
72
|
+
.ec-search-engine__terms small {
|
|
73
|
+
font-size: .95rem;
|
|
74
|
+
color: var(--gray);
|
|
75
|
+
}
|
|
76
|
+
|
|
77
|
+
.ec-search-engine__retail {
|
|
78
|
+
padding-top: .5rem;
|
|
79
|
+
}
|
|
80
|
+
|
|
81
|
+
.ec-search-engine__item {
|
|
82
|
+
margin-bottom: 1rem;
|
|
83
|
+
}
|
|
84
|
+
|
|
85
|
+
.ec-search-engine__sidebar {
|
|
86
|
+
position: fixed;
|
|
87
|
+
width: 280px;
|
|
88
|
+
max-width: 100%;
|
|
89
|
+
height: 100%;
|
|
90
|
+
top: 0;
|
|
91
|
+
right: 0;
|
|
92
|
+
z-index: 1100;
|
|
93
|
+
border-radius: 0;
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
.ec-search-engine__sidebar .card-body {
|
|
97
|
+
overflow-y: auto;
|
|
98
|
+
}
|
|
99
|
+
|
|
100
|
+
.ec-search-engine__filter:not(:first-child) {
|
|
101
|
+
margin-top: 1rem;
|
|
102
|
+
}
|
|
103
|
+
|
|
104
|
+
.ec-search-engine__filter:last-child {
|
|
105
|
+
margin-bottom: 1.5rem;
|
|
106
|
+
}
|
|
107
|
+
|
|
108
|
+
.ec-search-engine__filter__btn {
|
|
109
|
+
padding-left: 0;
|
|
110
|
+
color: var(--secondary);
|
|
111
|
+
font-size: 1.2rem;
|
|
112
|
+
font-weight: 300;
|
|
113
|
+
}
|
|
114
|
+
|
|
115
|
+
.ec-search-engine__filter__btn i,
|
|
116
|
+
.ec-search-engine__filter__btn svg {
|
|
117
|
+
margin-right: .25rem;
|
|
118
|
+
color: var(--gray);
|
|
119
|
+
opacity: .6;
|
|
120
|
+
}
|
|
121
|
+
|
|
122
|
+
.ec-search-engine__filter__btn:focus {
|
|
123
|
+
box-shadow: none;
|
|
124
|
+
}
|
|
125
|
+
|
|
126
|
+
.ec-search-engine__option small {
|
|
127
|
+
color: var(--gray);
|
|
128
|
+
}
|
|
129
|
+
|
|
130
|
+
.ec-product-card {
|
|
131
|
+
position: relative;
|
|
132
|
+
padding-bottom: .1rem;
|
|
133
|
+
margin-bottom: 0;
|
|
134
|
+
}
|
|
135
|
+
|
|
136
|
+
.ec-product-card--inactive,
|
|
137
|
+
.ec-product-card--inactive img {
|
|
138
|
+
opacity: .7;
|
|
139
|
+
}
|
|
140
|
+
|
|
141
|
+
.ec-product-card__offer-stamp {
|
|
142
|
+
background-color: var(--success);
|
|
143
|
+
color: var(--success-yiq);
|
|
144
|
+
min-width: 40px;
|
|
145
|
+
font-size: .78rem;
|
|
146
|
+
line-height: 1.8;
|
|
147
|
+
text-align: center;
|
|
148
|
+
position: absolute;
|
|
149
|
+
z-index: 9;
|
|
150
|
+
top: .35rem;
|
|
151
|
+
right: .35rem;
|
|
152
|
+
border-radius: .125rem;
|
|
153
|
+
opacity: .9;
|
|
154
|
+
}
|
|
155
|
+
|
|
156
|
+
.ec-product-card__link:hover h3 {
|
|
157
|
+
text-decoration: underline;
|
|
158
|
+
}
|
|
159
|
+
|
|
160
|
+
.ec-product-card__name {
|
|
161
|
+
margin-top: .5rem;
|
|
162
|
+
font-size: .88rem;
|
|
163
|
+
line-height: 1.2;
|
|
164
|
+
height: 3.168rem;
|
|
165
|
+
overflow: hidden;
|
|
166
|
+
font-weight: 400;
|
|
167
|
+
display: block;
|
|
168
|
+
z-index: 1;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.ec-product-card__pictures {
|
|
172
|
+
display: -webkit-box;
|
|
173
|
+
display: flex;
|
|
174
|
+
background-color: var(--body-bg);
|
|
175
|
+
-webkit-box-align: center;
|
|
176
|
+
-moz-box-align: center;
|
|
177
|
+
-ms-box-align: center;
|
|
178
|
+
align-items: center;
|
|
179
|
+
text-align: center;
|
|
180
|
+
overflow: hidden;
|
|
181
|
+
}
|
|
182
|
+
|
|
183
|
+
@media (max-width:575.98px) {
|
|
184
|
+
.ec-product-card__pictures {
|
|
185
|
+
height: 180px;
|
|
186
|
+
}
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
@media (min-width:576px) and (max-width:991.98px) {
|
|
190
|
+
.ec-product-card__pictures {
|
|
191
|
+
height: 200px;
|
|
192
|
+
}
|
|
193
|
+
}
|
|
194
|
+
|
|
195
|
+
@media (min-width: 992px) {
|
|
196
|
+
.ec-product-card__pictures {
|
|
197
|
+
height: 250px;
|
|
198
|
+
}
|
|
199
|
+
}
|
|
200
|
+
|
|
201
|
+
.ec-product-card__picture {
|
|
202
|
+
display: block;
|
|
203
|
+
-webkit-box-flex: 0;
|
|
204
|
+
-ms-box-flex: 0;
|
|
205
|
+
-moz-box-flex: 0;
|
|
206
|
+
flex: 0 0 100%;
|
|
207
|
+
opacity: 0;
|
|
208
|
+
-webkit-transition:opacity .25s;
|
|
209
|
+
transition:opacity .25s;
|
|
210
|
+
}
|
|
211
|
+
|
|
212
|
+
.ec-product-card__picture:first-child {
|
|
213
|
+
opacity: 1;
|
|
214
|
+
}
|
|
215
|
+
|
|
216
|
+
@media (max-width: 300px) {
|
|
217
|
+
.ec-product-card__picture {
|
|
218
|
+
max-width: 100px;
|
|
219
|
+
}
|
|
220
|
+
}
|
|
221
|
+
|
|
222
|
+
@media (max-width: 575.98px) {
|
|
223
|
+
.ec-product-card__picture img {
|
|
224
|
+
max-height: 180px;
|
|
225
|
+
}
|
|
226
|
+
}
|
|
227
|
+
|
|
228
|
+
@media (min-width: 576px) and (max-width: 991.98px) {
|
|
229
|
+
.ec-product-card__picture img {
|
|
230
|
+
max-height: 200px;
|
|
231
|
+
}
|
|
232
|
+
}
|
|
233
|
+
|
|
234
|
+
@media (min-width: 992px) {
|
|
235
|
+
.ec-product-card__picture img {
|
|
236
|
+
max-height:250px;
|
|
237
|
+
}
|
|
238
|
+
}
|
|
239
|
+
|
|
240
|
+
.ec-product-card__prices {
|
|
241
|
+
margin-bottom: .15rem;
|
|
242
|
+
height: 4.95rem;
|
|
243
|
+
overflow: hidden;
|
|
244
|
+
white-space: nowrap;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
.ec-product-card__prices .ec-prices__value:first-child {
|
|
248
|
+
margin-top: 1.14rem;
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
.ec-product-card:hover .ec-product-card__picture {
|
|
252
|
+
display: none;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
.ec-product-card:hover .ec-product-card__picture:last-child {
|
|
256
|
+
display: block;
|
|
257
|
+
opacity: 1;
|
|
258
|
+
}
|
|
259
|
+
|
|
260
|
+
.ec-product-card:hover .ec-product-card__buy {
|
|
261
|
+
opacity: 1;
|
|
262
|
+
}
|
|
263
|
+
|
|
264
|
+
svg:not(:root).svg-inline--fa {
|
|
265
|
+
overflow: visible;
|
|
266
|
+
}
|
|
267
|
+
|
|
268
|
+
.svg-inline--fa {
|
|
269
|
+
display: inline-block;
|
|
270
|
+
font-size: inherit;
|
|
271
|
+
height: 1em;
|
|
272
|
+
overflow: visible;
|
|
273
|
+
vertical-align: -0.125em;
|
|
274
|
+
}
|
|
@@ -0,0 +1,114 @@
|
|
|
1
|
+
.loading {
|
|
2
|
+
position: fixed;
|
|
3
|
+
z-index: 9999;
|
|
4
|
+
height: 2em;
|
|
5
|
+
width: 2em;
|
|
6
|
+
overflow: show;
|
|
7
|
+
margin: auto;
|
|
8
|
+
top: 0;
|
|
9
|
+
left: 0;
|
|
10
|
+
bottom: 0;
|
|
11
|
+
right: 0;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.loading:before {
|
|
15
|
+
content: '';
|
|
16
|
+
display: block;
|
|
17
|
+
position: fixed;
|
|
18
|
+
top: 0;
|
|
19
|
+
left: 0;
|
|
20
|
+
width: 100%;
|
|
21
|
+
height: 100%;
|
|
22
|
+
background: radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0, .8));
|
|
23
|
+
background: -webkit-radial-gradient(rgba(20, 20, 20,.8), rgba(0, 0, 0,.8));
|
|
24
|
+
}
|
|
25
|
+
|
|
26
|
+
.loading:not(:required) {
|
|
27
|
+
font: 0/0 a;
|
|
28
|
+
color: transparent;
|
|
29
|
+
text-shadow: none;
|
|
30
|
+
background-color: transparent;
|
|
31
|
+
border: 0;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.loading:not(:required):after {
|
|
35
|
+
content: '';
|
|
36
|
+
display: block;
|
|
37
|
+
font-size: 10px;
|
|
38
|
+
width: 1em;
|
|
39
|
+
height: 1em;
|
|
40
|
+
margin-top: -0.5em;
|
|
41
|
+
-webkit-animation: spinner 150ms infinite linear;
|
|
42
|
+
-moz-animation: spinner 150ms infinite linear;
|
|
43
|
+
-ms-animation: spinner 150ms infinite linear;
|
|
44
|
+
-o-animation: spinner 150ms infinite linear;
|
|
45
|
+
animation: spinner 150ms infinite linear;
|
|
46
|
+
border-radius: 0.5em;
|
|
47
|
+
-webkit-box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
|
|
48
|
+
box-shadow: rgba(255,255,255, 0.75) 1.5em 0 0 0, rgba(255,255,255, 0.75) 1.1em 1.1em 0 0, rgba(255,255,255, 0.75) 0 1.5em 0 0, rgba(255,255,255, 0.75) -1.1em 1.1em 0 0, rgba(255,255,255, 0.75) -1.5em 0 0 0, rgba(255,255,255, 0.75) -1.1em -1.1em 0 0, rgba(255,255,255, 0.75) 0 -1.5em 0 0, rgba(255,255,255, 0.75) 1.1em -1.1em 0 0;
|
|
49
|
+
}
|
|
50
|
+
|
|
51
|
+
@-webkit-keyframes spinner {
|
|
52
|
+
0% {
|
|
53
|
+
-webkit-transform: rotate(0deg);
|
|
54
|
+
-moz-transform: rotate(0deg);
|
|
55
|
+
-ms-transform: rotate(0deg);
|
|
56
|
+
-o-transform: rotate(0deg);
|
|
57
|
+
transform: rotate(0deg);
|
|
58
|
+
}
|
|
59
|
+
100% {
|
|
60
|
+
-webkit-transform: rotate(360deg);
|
|
61
|
+
-moz-transform: rotate(360deg);
|
|
62
|
+
-ms-transform: rotate(360deg);
|
|
63
|
+
-o-transform: rotate(360deg);
|
|
64
|
+
transform: rotate(360deg);
|
|
65
|
+
}
|
|
66
|
+
}
|
|
67
|
+
@-moz-keyframes spinner {
|
|
68
|
+
0% {
|
|
69
|
+
-webkit-transform: rotate(0deg);
|
|
70
|
+
-moz-transform: rotate(0deg);
|
|
71
|
+
-ms-transform: rotate(0deg);
|
|
72
|
+
-o-transform: rotate(0deg);
|
|
73
|
+
transform: rotate(0deg);
|
|
74
|
+
}
|
|
75
|
+
100% {
|
|
76
|
+
-webkit-transform: rotate(360deg);
|
|
77
|
+
-moz-transform: rotate(360deg);
|
|
78
|
+
-ms-transform: rotate(360deg);
|
|
79
|
+
-o-transform: rotate(360deg);
|
|
80
|
+
transform: rotate(360deg);
|
|
81
|
+
}
|
|
82
|
+
}
|
|
83
|
+
@-o-keyframes spinner {
|
|
84
|
+
0% {
|
|
85
|
+
-webkit-transform: rotate(0deg);
|
|
86
|
+
-moz-transform: rotate(0deg);
|
|
87
|
+
-ms-transform: rotate(0deg);
|
|
88
|
+
-o-transform: rotate(0deg);
|
|
89
|
+
transform: rotate(0deg);
|
|
90
|
+
}
|
|
91
|
+
100% {
|
|
92
|
+
-webkit-transform: rotate(360deg);
|
|
93
|
+
-moz-transform: rotate(360deg);
|
|
94
|
+
-ms-transform: rotate(360deg);
|
|
95
|
+
-o-transform: rotate(360deg);
|
|
96
|
+
transform: rotate(360deg);
|
|
97
|
+
}
|
|
98
|
+
}
|
|
99
|
+
@keyframes spinner {
|
|
100
|
+
0% {
|
|
101
|
+
-webkit-transform: rotate(0deg);
|
|
102
|
+
-moz-transform: rotate(0deg);
|
|
103
|
+
-ms-transform: rotate(0deg);
|
|
104
|
+
-o-transform: rotate(0deg);
|
|
105
|
+
transform: rotate(0deg);
|
|
106
|
+
}
|
|
107
|
+
100% {
|
|
108
|
+
-webkit-transform: rotate(360deg);
|
|
109
|
+
-moz-transform: rotate(360deg);
|
|
110
|
+
-ms-transform: rotate(360deg);
|
|
111
|
+
-o-transform: rotate(360deg);
|
|
112
|
+
transform: rotate(360deg);
|
|
113
|
+
}
|
|
114
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
<script lang="ts" setup>
|
|
2
|
+
export interface Props {
|
|
3
|
+
}
|
|
4
|
+
</script>
|
|
5
|
+
|
|
6
|
+
<template>
|
|
7
|
+
<header class="header bg-surface bg-opacity-70 sticky py-1 sm:py-2">
|
|
8
|
+
<div class="container">
|
|
9
|
+
<div class="grid items-center">
|
|
10
|
+
<div class="i-bars-3-bottom-left md:hidden"></div>
|
|
11
|
+
<slot name="logo"></slot>
|
|
12
|
+
</div>
|
|
13
|
+
</div>
|
|
14
|
+
</header>
|
|
15
|
+
</template>
|