@appartmint/mint 2.6.4 → 2.6.6

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/package.json CHANGED
@@ -1,7 +1,7 @@
1
1
  {
2
2
  "name": "@appartmint/mint",
3
3
  "author": "App Art Mint LLC",
4
- "version": "2.6.4",
4
+ "version": "2.6.6",
5
5
  "license": "MIT",
6
6
  "description": "The front-end TS/SCSS framework of App Art Mint",
7
7
  "keywords": [
@@ -103,6 +103,7 @@
103
103
  /// Default buttons
104
104
  #{class(btn)} {
105
105
  padding: $btn-padding-v $btn-padding-h + $btn-padding-adjust;
106
+ cursor: pointer;
106
107
 
107
108
  /// Icon buttons
108
109
  &-icon {
@@ -27,6 +27,14 @@
27
27
  }
28
28
  }
29
29
 
30
+ &:has(#{prefix(widget-carousel)}) {
31
+ box-shadow: none;
32
+
33
+ #{class(content)} {
34
+ box-shadow: $card-shadow-size #{css-var($card-shadow-color)};
35
+ }
36
+ }
37
+
30
38
  &#{class(center)} {
31
39
 
32
40
  @mixin title {
@@ -216,6 +224,64 @@
216
224
  text-align: left;
217
225
  }
218
226
  }
227
+
228
+ &-grid {
229
+ position: relative;
230
+ background: css-var($card-bg-color);
231
+
232
+ &:has(#{class(image)}) {
233
+ #{class(content)} {
234
+ margin-top: 25%;
235
+ padding-top: 25%;
236
+ background: none;
237
+ border: none;
238
+
239
+ &::before {
240
+ opacity: 0;
241
+ }
242
+
243
+ &::after {
244
+ content: '';
245
+ position: absolute;
246
+ top: 0;
247
+ left: 0;
248
+ width: 100%;
249
+ height: 100%;
250
+ opacity: 0.75;
251
+ background: linear-gradient(0deg, black, rgba(0,0,0,70%) 66%, css-var(shadow-0));
252
+ transition: opacity delay(default) ease-in-out;
253
+ z-index: -1;
254
+ }
255
+ }
256
+ }
257
+
258
+ @include states(hover) {
259
+ #{class(content)} {
260
+ &::after {
261
+ opacity: 1;
262
+ }
263
+ }
264
+ }
265
+
266
+ #{class(image)} {
267
+ position: absolute;
268
+ top: 0;
269
+ left: 0;
270
+ width: 100%;
271
+ height: 100%;
272
+ object-fit: cover;
273
+ }
274
+
275
+ #{class(content)} {
276
+ justify-content: flex-end;
277
+ background: css-var(shadow-0);
278
+
279
+ #{class(buttons)} {
280
+ margin-top: 0 !important;
281
+ }
282
+ }
283
+
284
+ }
219
285
  }
220
286
 
221
287
  #{class(grid)}#{class('3')},
@@ -25,6 +25,10 @@ $arrows-size: 2rem;
25
25
  }
26
26
 
27
27
  &-slide {
28
+ display: flex;
29
+ align-items: center;
30
+ justify-content: center;
31
+
28
32
  @include break(xs) {
29
33
  padding: $arrows-offset + $arrows-size;
30
34
  }