ghost 4.26.0 → 4.27.2
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/content/themes/casper/assets/built/screen.css +1 -1
- package/content/themes/casper/assets/built/screen.css.map +1 -1
- package/content/themes/casper/assets/css/screen.css +29 -4
- package/content/themes/casper/package.json +1 -1
- package/core/built/assets/{chunk.3.8f95b516d88ff4eec64c.js → chunk.3.e54be01b5124e4e27958.js} +7 -7
- package/core/built/assets/ghost-dark-485081d359d3ce1412ccd09a8f5b83d9.css +1 -0
- package/core/built/assets/{ghost.min-f3c6886e191d34450e9ffca0c8fa056e.js → ghost.min-3224fe43ca0ca4d6184f579d165ad801.js} +132 -129
- package/core/built/assets/ghost.min-e272e8cd67577087cee1c853694e2852.css +1 -0
- package/core/built/assets/icons/audio-file.svg +5 -0
- package/core/built/assets/icons/film-camera.svg +4 -0
- package/core/built/assets/icons/mute.svg +3 -0
- package/core/built/assets/icons/pause.svg +4 -0
- package/core/built/assets/icons/play.svg +3 -0
- package/core/built/assets/icons/unmute.svg +3 -0
- package/core/built/assets/{vendor.min-b6b8d2a31d61830c2d8f65c5ba54236a.js → vendor.min-08ca94a205555a22db64e8d595062c63.js} +680 -591
- package/core/frontend/helpers/ghost_head.js +1 -1
- package/core/frontend/src/cards/css/audio.css +228 -128
- package/core/frontend/src/cards/css/blockquote.css +6 -10
- package/core/frontend/src/cards/css/button.css +4 -4
- package/core/frontend/src/cards/css/nft.css +7 -6
- package/core/frontend/src/cards/css/product.css +109 -0
- package/core/frontend/src/cards/css/toggle.css +8 -8
- package/core/frontend/src/cards/css/video.css +4 -0
- package/core/frontend/src/cards/js/audio.js +120 -111
- package/core/frontend/src/cards/js/gallery.js +10 -8
- package/core/frontend/src/cards/js/toggle.js +16 -14
- package/core/server/services/mega/post-email-serializer.js +3 -1
- package/core/server/services/mega/template.js +2 -2
- package/core/server/services/twitter-embed.js +2 -1
- package/core/server/web/admin/views/default-prod.html +4 -4
- package/core/server/web/admin/views/default.html +4 -4
- package/core/shared/labs.js +5 -3
- package/package.json +20 -17
- package/yarn.lock +2561 -2120
- package/core/built/assets/ghost-dark-ef86e3bc7f0fb83d39d3d6a49bff8dd5.css +0 -1
- package/core/built/assets/ghost.min-57c1e677f42d596942d317ce93e8a62c.css +0 -1
|
@@ -199,7 +199,7 @@ module.exports = function ghost_head(options) { // eslint-disable-line camelcase
|
|
|
199
199
|
|
|
200
200
|
// @TODO do this in a more "frameworky" way
|
|
201
201
|
if (cardAssetService.hasFile('js')) {
|
|
202
|
-
head.push(`<script
|
|
202
|
+
head.push(`<script defer src="${getAssetUrl('public/cards.min.js')}"></script>`);
|
|
203
203
|
}
|
|
204
204
|
if (cardAssetService.hasFile('css')) {
|
|
205
205
|
head.push(`<link rel="stylesheet" type="text/css" href="${getAssetUrl('public/cards.min.css')}">`);
|
|
@@ -1,186 +1,286 @@
|
|
|
1
1
|
.kg-audio-card {
|
|
2
|
-
|
|
2
|
+
display: flex;
|
|
3
|
+
width: 100%;
|
|
4
|
+
min-height: 96px;
|
|
5
|
+
box-shadow: inset 0 0 0 1px rgba(124, 139, 154, 0.25);
|
|
3
6
|
}
|
|
4
7
|
|
|
5
|
-
.kg-audio-
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
8
|
+
.kg-audio-thumbnail {
|
|
9
|
+
display: flex;
|
|
10
|
+
justify-content: center;
|
|
11
|
+
align-items: center;
|
|
12
|
+
width: 80px;
|
|
13
|
+
min-width: 80px;
|
|
14
|
+
margin: 8px;
|
|
15
|
+
background: var(--ghost-accent-color);
|
|
16
|
+
object-fit: cover;
|
|
17
|
+
aspect-ratio: 1/1;
|
|
18
|
+
border-radius: 3px;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.kg-audio-thumbnail svg {
|
|
22
|
+
width: 24px;
|
|
23
|
+
height: 24px;
|
|
24
|
+
fill: white;
|
|
14
25
|
}
|
|
15
26
|
|
|
16
|
-
.kg-
|
|
27
|
+
.kg-player-container {
|
|
17
28
|
position: relative;
|
|
18
|
-
|
|
29
|
+
display: flex;
|
|
30
|
+
flex-direction: column;
|
|
31
|
+
justify-content: space-between;
|
|
19
32
|
width: 100%;
|
|
20
|
-
/* max-width: 500px; */
|
|
21
|
-
height: 132px;
|
|
22
|
-
background: #fff;
|
|
23
|
-
font-family: Arial, Helvetica, sans-serif;
|
|
24
33
|
--seek-before-width: 0%;
|
|
25
34
|
--volume-before-width: 100%;
|
|
26
35
|
--buffered-width: 0%;
|
|
27
|
-
letter-spacing: -0.5px;
|
|
28
36
|
}
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
.kg-audio-player-container p {
|
|
40
|
-
position: absolute;
|
|
41
|
-
top: -18px;
|
|
42
|
-
right: 5%;
|
|
43
|
-
padding: 0 5px;
|
|
44
|
-
margin: 0;
|
|
45
|
-
font-size: 24px;
|
|
46
|
-
background: #fff;
|
|
47
|
-
}
|
|
48
|
-
.kg-audio-play-icon {
|
|
49
|
-
margin: 20px 2.5% 10px 2.5%;
|
|
37
|
+
|
|
38
|
+
.kg-audio-title {
|
|
39
|
+
width: 100%;
|
|
40
|
+
margin: 8px 0 0 0;
|
|
41
|
+
padding: 8px 12px 0;
|
|
42
|
+
border: none;
|
|
43
|
+
font-family: inherit;
|
|
44
|
+
font-size: 1em;
|
|
45
|
+
font-weight: 700;
|
|
46
|
+
background: transparent;
|
|
50
47
|
}
|
|
51
|
-
|
|
52
|
-
|
|
48
|
+
|
|
49
|
+
.kg-player {
|
|
50
|
+
display: flex;
|
|
51
|
+
flex-grow: 1;
|
|
52
|
+
align-items: center;
|
|
53
|
+
padding: 8px 12px;
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
+
|
|
55
56
|
.kg-audio-current-time {
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
font-size:
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
.kg-audio-player-container output {
|
|
64
|
-
display: inline-block;
|
|
65
|
-
width: 32px;
|
|
66
|
-
text-align: center;
|
|
67
|
-
font-size: 20px;
|
|
68
|
-
margin: 10px 2.5% 0 5%;
|
|
69
|
-
float: left;
|
|
70
|
-
clear: left;
|
|
57
|
+
min-width: 38px;
|
|
58
|
+
padding: 0 4px;
|
|
59
|
+
font-family: inherit;
|
|
60
|
+
font-size: .85em;
|
|
61
|
+
font-weight: 500;
|
|
62
|
+
line-height: 1.4em;
|
|
63
|
+
white-space: nowrap;
|
|
71
64
|
}
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
65
|
+
|
|
66
|
+
.kg-audio-time {
|
|
67
|
+
color: #ababab;
|
|
68
|
+
font-family: inherit;
|
|
69
|
+
font-size: .85em;
|
|
70
|
+
font-weight: 500;
|
|
71
|
+
line-height: 1.4em;
|
|
72
|
+
white-space: nowrap;
|
|
75
73
|
}
|
|
76
|
-
|
|
77
|
-
|
|
74
|
+
|
|
75
|
+
.kg-audio-duration {
|
|
76
|
+
padding: 0 4px;
|
|
78
77
|
}
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
|
|
79
|
+
.kg-audio-play-icon,
|
|
80
|
+
.kg-audio-pause-icon {
|
|
81
|
+
position: relative;
|
|
82
|
+
bottom: 1px;
|
|
83
|
+
padding: 0px 4px 0 0;
|
|
84
|
+
font-size: 0;
|
|
85
|
+
background: transparent;
|
|
81
86
|
}
|
|
82
|
-
|
|
83
|
-
|
|
87
|
+
|
|
88
|
+
.kg-audio-hide {
|
|
89
|
+
display: none !important;
|
|
84
90
|
}
|
|
85
|
-
|
|
86
|
-
|
|
91
|
+
|
|
92
|
+
.kg-audio-play-icon svg,
|
|
93
|
+
.kg-audio-pause-icon svg {
|
|
94
|
+
width: 14px;
|
|
95
|
+
height: 14px;
|
|
96
|
+
fill: currentColor;
|
|
87
97
|
}
|
|
88
|
-
|
|
89
|
-
|
|
98
|
+
|
|
99
|
+
.kg-audio-seek-slider {
|
|
100
|
+
flex-grow: 1;
|
|
101
|
+
margin: 0 4px;
|
|
90
102
|
}
|
|
91
|
-
|
|
103
|
+
|
|
104
|
+
.kg-audio-playback-rate {
|
|
105
|
+
min-width: 37px;
|
|
106
|
+
padding: 0 4px;
|
|
107
|
+
font-family: inherit;
|
|
108
|
+
font-size: .85em;
|
|
109
|
+
font-weight: 600;
|
|
110
|
+
line-height: 1.4em;
|
|
111
|
+
text-align: left;
|
|
112
|
+
background: transparent;
|
|
113
|
+
white-space: nowrap;
|
|
114
|
+
}
|
|
115
|
+
|
|
116
|
+
.kg-audio-mute-icon,
|
|
117
|
+
.kg-audio-unmute-icon {
|
|
92
118
|
position: relative;
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
height: 19px;
|
|
98
|
-
margin: 30px 2.5% 20px 2.5%;
|
|
99
|
-
float: left;
|
|
100
|
-
outline: none;
|
|
119
|
+
bottom: 1px;
|
|
120
|
+
padding: 0 4px;
|
|
121
|
+
font-size: 0;
|
|
122
|
+
background: transparent;
|
|
101
123
|
}
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
124
|
+
|
|
125
|
+
.kg-audio-mute-icon svg,
|
|
126
|
+
.kg-audio-unmute-icon svg {
|
|
127
|
+
width: 16px;
|
|
128
|
+
height: 16px;
|
|
129
|
+
fill: currentColor;
|
|
130
|
+
}
|
|
131
|
+
|
|
132
|
+
.kg-audio-volume-slider {
|
|
133
|
+
width: 80px;
|
|
107
134
|
}
|
|
108
|
-
|
|
135
|
+
|
|
136
|
+
.kg-audio-seek-slider::before {
|
|
137
|
+
content: "";
|
|
109
138
|
position: absolute;
|
|
139
|
+
left: 0;
|
|
140
|
+
width: var(--seek-before-width) !important;
|
|
141
|
+
height: 4px;
|
|
142
|
+
cursor: pointer;
|
|
143
|
+
background-color: currentColor;
|
|
144
|
+
border-radius: 2px;
|
|
145
|
+
}
|
|
146
|
+
|
|
147
|
+
.kg-audio-volume-slider::before {
|
|
110
148
|
content: "";
|
|
111
|
-
|
|
149
|
+
position: absolute;
|
|
112
150
|
left: 0;
|
|
113
|
-
width: var(--
|
|
114
|
-
height:
|
|
115
|
-
background-color: #007db5;
|
|
151
|
+
width: var(--volume-before-width) !important;
|
|
152
|
+
height: 4px;
|
|
116
153
|
cursor: pointer;
|
|
154
|
+
background-color: currentColor;
|
|
155
|
+
border-radius: 2px;
|
|
117
156
|
}
|
|
118
|
-
|
|
157
|
+
|
|
158
|
+
/* Resetting browser styles
|
|
159
|
+
/* --------------------------------------------------------------- */
|
|
160
|
+
|
|
161
|
+
.kg-player-container input[type=range] {
|
|
119
162
|
position: relative;
|
|
120
163
|
-webkit-appearance: none;
|
|
164
|
+
background: transparent;
|
|
165
|
+
}
|
|
166
|
+
|
|
167
|
+
.kg-player-container input[type=range]:focus {
|
|
168
|
+
outline: none;
|
|
169
|
+
}
|
|
170
|
+
|
|
171
|
+
.kg-player-container input[type=range]::-webkit-slider-thumb {
|
|
172
|
+
-webkit-appearance: none;
|
|
173
|
+
}
|
|
174
|
+
|
|
175
|
+
.kg-player-container input[type=range]::-ms-track {
|
|
176
|
+
cursor: pointer;
|
|
177
|
+
border-color: transparent;
|
|
178
|
+
color: transparent;
|
|
179
|
+
background: transparent;
|
|
180
|
+
}
|
|
181
|
+
|
|
182
|
+
.kg-player-container button {
|
|
183
|
+
display: flex;
|
|
184
|
+
align-items: center;
|
|
185
|
+
border: 0;
|
|
186
|
+
}
|
|
187
|
+
|
|
188
|
+
.kg-player-container input[type="range"] {
|
|
189
|
+
height: auto;
|
|
190
|
+
padding: 0;
|
|
191
|
+
border: 0;
|
|
192
|
+
}
|
|
193
|
+
|
|
194
|
+
/* Chrome & Safari styles
|
|
195
|
+
/* --------------------------------------------------------------- */
|
|
196
|
+
|
|
197
|
+
.kg-player-container input[type="range"]::-webkit-slider-runnable-track {
|
|
198
|
+
width: 100%;
|
|
199
|
+
height: 4px;
|
|
200
|
+
cursor: pointer;
|
|
201
|
+
background: rgba(124, 139, 154, 0.25);
|
|
202
|
+
border-radius: 2px;
|
|
203
|
+
}
|
|
204
|
+
|
|
205
|
+
.kg-player-container input[type="range"]::-webkit-slider-thumb {
|
|
206
|
+
position: relative;
|
|
121
207
|
box-sizing: content-box;
|
|
122
|
-
|
|
123
|
-
height:
|
|
124
|
-
|
|
125
|
-
border
|
|
126
|
-
background-color: #fff;
|
|
208
|
+
width: 12px;
|
|
209
|
+
height: 12px;
|
|
210
|
+
margin: -5px 0 0 0;
|
|
211
|
+
border: 0;
|
|
127
212
|
cursor: pointer;
|
|
128
|
-
|
|
213
|
+
background: #fff;
|
|
214
|
+
border-radius: 50%;
|
|
215
|
+
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
129
216
|
}
|
|
130
|
-
|
|
217
|
+
|
|
218
|
+
.kg-player-container input[type="range"]:active::-webkit-slider-thumb {
|
|
131
219
|
transform: scale(1.2);
|
|
132
|
-
background: #007db5;
|
|
133
220
|
}
|
|
134
|
-
|
|
221
|
+
|
|
222
|
+
/* Firefox styles
|
|
223
|
+
/* --------------------------------------------------------------- */
|
|
224
|
+
|
|
225
|
+
.kg-player-container input[type="range"]::-moz-range-track {
|
|
135
226
|
width: 100%;
|
|
136
|
-
height:
|
|
227
|
+
height: 4px;
|
|
137
228
|
cursor: pointer;
|
|
138
|
-
background:
|
|
139
|
-
|
|
140
|
-
.kg-audio-player-container input[type="range"]::-moz-range-progress {
|
|
141
|
-
background-color: #007db5;
|
|
229
|
+
background: rgba(124, 139, 154, 0.25);
|
|
230
|
+
border-radius: 2px;
|
|
142
231
|
}
|
|
143
|
-
|
|
144
|
-
|
|
232
|
+
|
|
233
|
+
.kg-player-container input[type="range"]::-moz-range-progress {
|
|
234
|
+
background: currentColor;
|
|
235
|
+
border-radius: 2px;
|
|
145
236
|
}
|
|
146
|
-
|
|
237
|
+
|
|
238
|
+
.kg-player-container input[type="range"]::-moz-range-thumb {
|
|
147
239
|
box-sizing: content-box;
|
|
148
|
-
|
|
149
|
-
height:
|
|
150
|
-
|
|
151
|
-
border-radius: 50%;
|
|
152
|
-
background-color: #fff;
|
|
240
|
+
width: 12px;
|
|
241
|
+
height: 12px;
|
|
242
|
+
border: 0;
|
|
153
243
|
cursor: pointer;
|
|
244
|
+
background: #fff;
|
|
245
|
+
border-radius: 50%;
|
|
246
|
+
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
154
247
|
}
|
|
155
|
-
|
|
248
|
+
|
|
249
|
+
.kg-player-container input[type="range"]:active::-moz-range-thumb {
|
|
156
250
|
transform: scale(1.2);
|
|
157
|
-
background: #007db5;
|
|
158
251
|
}
|
|
159
252
|
|
|
160
|
-
|
|
253
|
+
/* Edge & IE styles
|
|
254
|
+
/* --------------------------------------------------------------- */
|
|
255
|
+
|
|
256
|
+
.kg-player-container input[type="range"]::-ms-track {
|
|
161
257
|
width: 100%;
|
|
162
258
|
height: 3px;
|
|
163
|
-
cursor: pointer;
|
|
164
|
-
background: transparent;
|
|
165
259
|
border: solid transparent;
|
|
166
260
|
color: transparent;
|
|
261
|
+
cursor: pointer;
|
|
262
|
+
background: transparent;
|
|
167
263
|
}
|
|
168
|
-
|
|
169
|
-
|
|
264
|
+
|
|
265
|
+
.kg-player-container input[type="range"]::-ms-fill-lower {
|
|
266
|
+
background: #fff;
|
|
170
267
|
}
|
|
171
|
-
|
|
172
|
-
|
|
268
|
+
|
|
269
|
+
.kg-player-container input[type="range"]::-ms-fill-upper {
|
|
270
|
+
background: currentColor;
|
|
173
271
|
}
|
|
174
|
-
|
|
272
|
+
|
|
273
|
+
.kg-player-container input[type="range"]::-ms-thumb {
|
|
175
274
|
box-sizing: content-box;
|
|
176
|
-
|
|
177
|
-
height:
|
|
178
|
-
|
|
179
|
-
border-radius: 50%;
|
|
180
|
-
background-color: #fff;
|
|
275
|
+
width: 12px;
|
|
276
|
+
height: 12px;
|
|
277
|
+
border: 0;
|
|
181
278
|
cursor: pointer;
|
|
279
|
+
background: #fff;
|
|
280
|
+
border-radius: 50%;
|
|
281
|
+
box-shadow: 0 0 0 1px rgba(0,0,0,.08), 0 1px 4px rgba(0,0,0,0.24);
|
|
182
282
|
}
|
|
183
|
-
|
|
283
|
+
|
|
284
|
+
.kg-player-container input[type="range"]:active::-ms-thumb {
|
|
184
285
|
transform: scale(1.2);
|
|
185
|
-
background: #007db5;
|
|
186
286
|
}
|
|
@@ -1,17 +1,13 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
font-
|
|
1
|
+
.kg-blockquote-alt {
|
|
2
|
+
font-size: 1.5em;
|
|
3
|
+
font-style: italic;
|
|
4
4
|
line-height: 1.7em;
|
|
5
5
|
text-align: center;
|
|
6
|
-
padding: 0
|
|
7
|
-
}
|
|
8
|
-
|
|
9
|
-
blockquote.kg-blockquote-alt::before {
|
|
10
|
-
display: none;
|
|
6
|
+
padding: 0 2.5em;
|
|
11
7
|
}
|
|
12
8
|
|
|
13
9
|
@media (max-width: 800px) {
|
|
14
|
-
|
|
10
|
+
.kg-blockquote-alt {
|
|
15
11
|
font-size: 1.4em;
|
|
16
12
|
padding-left: 2em;
|
|
17
13
|
padding-right: 2em;
|
|
@@ -19,7 +15,7 @@ blockquote.kg-blockquote-alt::before {
|
|
|
19
15
|
}
|
|
20
16
|
|
|
21
17
|
@media (max-width: 600px) {
|
|
22
|
-
|
|
18
|
+
.kg-blockquote-alt {
|
|
23
19
|
font-size: 1.2em;
|
|
24
20
|
padding-left: 1.75em;
|
|
25
21
|
padding-right: 1.75em;
|
|
@@ -14,10 +14,10 @@ a.kg-btn {
|
|
|
14
14
|
display: flex;
|
|
15
15
|
position: static;
|
|
16
16
|
align-items: center;
|
|
17
|
-
padding: 0
|
|
18
|
-
height:
|
|
19
|
-
line-height:
|
|
20
|
-
font-size:
|
|
17
|
+
padding: 0 1.2em;
|
|
18
|
+
height: 2.4em;
|
|
19
|
+
line-height: 1em;
|
|
20
|
+
font-size: 0.95em;
|
|
21
21
|
font-weight: 600;
|
|
22
22
|
text-decoration: none;
|
|
23
23
|
border-radius: 5px;
|
|
@@ -3,6 +3,7 @@
|
|
|
3
3
|
flex-direction: column;
|
|
4
4
|
align-items: center;
|
|
5
5
|
width: 100%;
|
|
6
|
+
margin: 0 auto;
|
|
6
7
|
}
|
|
7
8
|
|
|
8
9
|
.kg-nft-card-container {
|
|
@@ -18,7 +19,7 @@
|
|
|
18
19
|
roboto, noto,
|
|
19
20
|
'segoe ui', arial,
|
|
20
21
|
sans-serif;
|
|
21
|
-
font-size:
|
|
22
|
+
font-size: 14px;
|
|
22
23
|
font-weight: 400;
|
|
23
24
|
box-shadow: 0 2px 6px -2px rgb(0 0 0 / 10%), 0 0 1px rgb(0 0 0 / 40%);
|
|
24
25
|
width: 100%;
|
|
@@ -40,7 +41,7 @@
|
|
|
40
41
|
}
|
|
41
42
|
|
|
42
43
|
.kg-nft-metadata {
|
|
43
|
-
padding:
|
|
44
|
+
padding: 20px;
|
|
44
45
|
width: 100%;
|
|
45
46
|
}
|
|
46
47
|
|
|
@@ -58,7 +59,7 @@
|
|
|
58
59
|
|
|
59
60
|
.kg-nft-header h4.kg-nft-title {
|
|
60
61
|
font-family: inherit;
|
|
61
|
-
font-size:
|
|
62
|
+
font-size: 19px;
|
|
62
63
|
font-weight: 700;
|
|
63
64
|
line-height: 1.3em;
|
|
64
65
|
min-width: unset;
|
|
@@ -76,7 +77,7 @@
|
|
|
76
77
|
.kg-nft-creator {
|
|
77
78
|
font-family: inherit;
|
|
78
79
|
line-height: 1.4em;
|
|
79
|
-
margin:
|
|
80
|
+
margin: 4px 0 0;
|
|
80
81
|
color: #ababab;
|
|
81
82
|
}
|
|
82
83
|
|
|
@@ -87,8 +88,8 @@
|
|
|
87
88
|
|
|
88
89
|
.kg-nft-card p.kg-nft-description {
|
|
89
90
|
font-family: inherit;
|
|
90
|
-
font-size:
|
|
91
|
+
font-size: 14px;
|
|
91
92
|
line-height: 1.4em;
|
|
92
|
-
margin:
|
|
93
|
+
margin: 20px 0 0;
|
|
93
94
|
color: #222;
|
|
94
95
|
}
|
|
@@ -0,0 +1,109 @@
|
|
|
1
|
+
.kg-product-card-container {
|
|
2
|
+
display: flex;
|
|
3
|
+
background: transparent;
|
|
4
|
+
box-shadow: inset 0 0 0 1px rgb(124 139 154 / 25%);
|
|
5
|
+
border-radius: 5px;
|
|
6
|
+
flex-direction: column;
|
|
7
|
+
text-decoration: none;
|
|
8
|
+
max-width: 550px;
|
|
9
|
+
padding: 20px;
|
|
10
|
+
width: 100%;
|
|
11
|
+
align-items: center;
|
|
12
|
+
}
|
|
13
|
+
|
|
14
|
+
.kg-product-card {
|
|
15
|
+
align-items: center;
|
|
16
|
+
display: flex;
|
|
17
|
+
flex-direction: column;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
|
|
21
|
+
.kg-product-card-image {
|
|
22
|
+
margin-bottom: 1.6rem;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
.kg-product-card-header {
|
|
26
|
+
display: flex;
|
|
27
|
+
align-items: flex-start;
|
|
28
|
+
gap: 8px;
|
|
29
|
+
flex-wrap: wrap;
|
|
30
|
+
justify-content: space-between;
|
|
31
|
+
width: 100%;
|
|
32
|
+
}
|
|
33
|
+
|
|
34
|
+
.kg-product-card-title-container {
|
|
35
|
+
flex: 2 1 250px;
|
|
36
|
+
}
|
|
37
|
+
|
|
38
|
+
.kg-product-card-title {
|
|
39
|
+
text-decoration: none;
|
|
40
|
+
font-weight: 700;
|
|
41
|
+
font-size: 1.4em;
|
|
42
|
+
margin-top: 0;
|
|
43
|
+
margin-bottom: 0;
|
|
44
|
+
line-height: 1.25em;
|
|
45
|
+
}
|
|
46
|
+
|
|
47
|
+
.kg-product-card-description {
|
|
48
|
+
font-size: 1em;
|
|
49
|
+
line-height: 1.4em;
|
|
50
|
+
opacity: .7;
|
|
51
|
+
margin-top: 8px;
|
|
52
|
+
width: 100%;
|
|
53
|
+
}
|
|
54
|
+
|
|
55
|
+
.kg-product-card-description p+p {
|
|
56
|
+
margin-top: 1em;
|
|
57
|
+
}
|
|
58
|
+
|
|
59
|
+
.kg-product-card-button {
|
|
60
|
+
width: 100%;
|
|
61
|
+
margin-top: 16px;
|
|
62
|
+
}
|
|
63
|
+
|
|
64
|
+
.kg-product-card-rating {
|
|
65
|
+
display: flex;
|
|
66
|
+
align-items: center;
|
|
67
|
+
flex: 0 0 100px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
.kg-product-card-rating-star {
|
|
71
|
+
display: flex;
|
|
72
|
+
align-items: center;
|
|
73
|
+
justify-content: center;
|
|
74
|
+
height: 32px;
|
|
75
|
+
width: 20px;
|
|
76
|
+
}
|
|
77
|
+
|
|
78
|
+
.kg-product-card-rating-star svg {
|
|
79
|
+
width: 16px;
|
|
80
|
+
height: 16px;
|
|
81
|
+
fill: #fff;
|
|
82
|
+
}
|
|
83
|
+
|
|
84
|
+
.kg-product-card-rating-edit .kg-product-card-rating-star:hover {
|
|
85
|
+
opacity: 0.7;
|
|
86
|
+
}
|
|
87
|
+
|
|
88
|
+
.kg-product-card-rating-edit {
|
|
89
|
+
background: none;
|
|
90
|
+
display: flex;
|
|
91
|
+
align-items: center;
|
|
92
|
+
}
|
|
93
|
+
|
|
94
|
+
.kg-product-card-rating-preview {
|
|
95
|
+
display: flex;
|
|
96
|
+
}
|
|
97
|
+
|
|
98
|
+
.kg-product-card-rating-star svg {
|
|
99
|
+
fill: currentColor;
|
|
100
|
+
opacity: 0.15;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
.kg-product-card-rating-active.kg-product-card-rating-star svg {
|
|
104
|
+
opacity: 1;
|
|
105
|
+
}
|
|
106
|
+
|
|
107
|
+
.kg-product-card-button {
|
|
108
|
+
justify-content: center;
|
|
109
|
+
}
|
|
@@ -3,14 +3,6 @@
|
|
|
3
3
|
}
|
|
4
4
|
|
|
5
5
|
.kg-toggle-card[data-kg-toggle-state="close"] .kg-toggle-content{
|
|
6
|
-
height: auto;
|
|
7
|
-
opacity: 1;
|
|
8
|
-
transition: opacity 1s ease, top .35s ease;
|
|
9
|
-
top: 0;
|
|
10
|
-
position: relative;
|
|
11
|
-
}
|
|
12
|
-
|
|
13
|
-
.kg-toggle-content {
|
|
14
6
|
height: 0;
|
|
15
7
|
overflow: hidden;
|
|
16
8
|
transition: opacity .5s ease, top .35s ease;
|
|
@@ -19,6 +11,14 @@
|
|
|
19
11
|
position: relative;
|
|
20
12
|
}
|
|
21
13
|
|
|
14
|
+
.kg-toggle-content {
|
|
15
|
+
height: auto;
|
|
16
|
+
opacity: 1;
|
|
17
|
+
transition: opacity 1s ease, top .35s ease;
|
|
18
|
+
top: 0;
|
|
19
|
+
position: relative;
|
|
20
|
+
}
|
|
21
|
+
|
|
22
22
|
.kg-toggle-content p:first-of-type {
|
|
23
23
|
margin-top: 0.5em;
|
|
24
24
|
}
|