@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/dist/css/mint.css +23 -10
- package/dist/css/mint.css.map +1 -1
- package/dist/css/mint.min.css +1 -1
- package/dist/css/mint.min.css.map +1 -1
- package/package.json +1 -1
- package/src/scss/imports/components/widget/_button.scss +18 -15
- package/src/scss/imports/components/widget/_card.scss +14 -2
- package/src/scss/imports/overrides/_swiper.scss +4 -0
package/package.json
CHANGED
|
@@ -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
|
-
|
|
153
|
-
width: 100%;
|
|
154
|
-
border: none;
|
|
155
|
-
color: inherit;
|
|
156
|
-
background: transparent;
|
|
157
|
-
|
|
153
|
+
& > * {
|
|
158
154
|
&:first-child {
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
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
|
-
|
|
166
|
-
|
|
167
|
-
|
|
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
|
-
|
|
171
|
-
|
|
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
|
-
|
|
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
|
|