@appartmint/mint 2.6.5 → 2.6.7

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.5",
4
+ "version": "2.6.7",
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 {
@@ -149,27 +150,29 @@
149
150
  padding: 0;
150
151
  transition: all css-var(delay-default);
151
152
 
152
- button {
153
- width: 100%;
154
- border: none;
155
- color: inherit;
156
- background: transparent;
157
-
153
+ & > * {
158
154
  &:first-child {
159
- padding: $btn-padding-v 0 $btn-padding-v $btn-padding-h;
160
- border-top-left-radius: $pill-radius;
161
- border-bottom-left-radius: $pill-radius;
155
+ &, & button {
156
+ padding: $btn-padding-v 0 $btn-padding-v $btn-padding-h;
157
+ border-top-left-radius: $pill-radius;
158
+ border-bottom-left-radius: $pill-radius;
159
+ }
162
160
  }
163
161
 
164
162
  &:last-child {
165
- padding: $btn-padding-v $btn-padding-h $btn-padding-v 0;
166
- border-top-right-radius: $pill-radius;
167
- border-bottom-right-radius: $pill-radius;
163
+ &, & button {
164
+ padding: $btn-padding-v $btn-padding-h $btn-padding-v 0;
165
+ border-top-right-radius: $pill-radius;
166
+ border-bottom-right-radius: $pill-radius;
167
+ }
168
168
  }
169
+ }
169
170
 
170
- &[disabled] {
171
- pointer-events: none;
172
- }
171
+ button {
172
+ width: 100%;
173
+ border: none;
174
+ color: inherit;
175
+ background: transparent;
173
176
 
174
177
  @include states(hover, focus, active, mint-active) {
175
178
  background: css-var(brand-5);
@@ -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 {
@@ -240,6 +248,7 @@
240
248
  width: 100%;
241
249
  height: 100%;
242
250
  opacity: 0.75;
251
+ mask-image: none;
243
252
  background: linear-gradient(0deg, black, rgba(0,0,0,70%) 66%, css-var(shadow-0));
244
253
  transition: opacity delay(default) ease-in-out;
245
254
  z-index: -1;
@@ -261,7 +270,11 @@
261
270
  left: 0;
262
271
  width: 100%;
263
272
  height: 100%;
264
- object-fit: cover;
273
+
274
+ img {
275
+ height: 100%;
276
+ object-fit: cover;
277
+ }
265
278
  }
266
279
 
267
280
  #{class(content)} {
@@ -272,7 +285,6 @@
272
285
  margin-top: 0 !important;
273
286
  }
274
287
  }
275
-
276
288
  }
277
289
  }
278
290
 
@@ -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
  }