@qhealth-design-system/core 1.10.3 → 1.10.4
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/CHANGELOG.md
CHANGED
package/package.json
CHANGED
|
@@ -154,8 +154,8 @@
|
|
|
154
154
|
@include QLD-space(min-height, 27.5unit);
|
|
155
155
|
}
|
|
156
156
|
|
|
157
|
-
.qld__card__image-
|
|
158
|
-
|
|
157
|
+
.qld__card__image-wrapper,
|
|
158
|
+
.qld__card__image-link{
|
|
159
159
|
@include QLD-media(md) {
|
|
160
160
|
flex: 1;
|
|
161
161
|
@include QLD-space(padding-bottom, 0unit);
|
|
@@ -164,7 +164,9 @@
|
|
|
164
164
|
@include QLD-media(lg) {
|
|
165
165
|
flex: 2;
|
|
166
166
|
}
|
|
167
|
+
}
|
|
167
168
|
|
|
169
|
+
.qld__card__image-link {
|
|
168
170
|
&:focus {
|
|
169
171
|
outline: none;
|
|
170
172
|
box-shadow: inset 0 0 3px var(--QLD-color-light__focus);
|
|
@@ -221,3 +223,4 @@
|
|
|
221
223
|
}
|
|
222
224
|
|
|
223
225
|
|
|
226
|
+
|
|
@@ -43,11 +43,10 @@
|
|
|
43
43
|
<div class="qld__card__icon"><i class="{{metadata.card_icon.value}}"></i></div>
|
|
44
44
|
{{/ifCond}}
|
|
45
45
|
{{#ifCond metadata.show_icon_image.value '==' 'image'}}
|
|
46
|
-
<
|
|
47
|
-
|
|
46
|
+
<div class="qld__card__image-wrapper">
|
|
48
47
|
<div class="qld__responsive-media-img--bg" style="background-image: url('./?a={{metadata.card_image.value}}');" {{#if ../component.image_alt}}role="img" aria-label="{{../component.image_alt}}"{{/if}}></div>
|
|
49
48
|
|
|
50
|
-
</
|
|
49
|
+
</div>
|
|
51
50
|
{{/ifCond}}
|
|
52
51
|
|
|
53
52
|
<div class="qld__card__inner">
|
|
@@ -122,4 +121,4 @@
|
|
|
122
121
|
|
|
123
122
|
</div>
|
|
124
123
|
</section>
|
|
125
|
-
{{/with}}
|
|
124
|
+
{{/with}}
|
|
@@ -27,6 +27,7 @@
|
|
|
27
27
|
}
|
|
28
28
|
}
|
|
29
29
|
|
|
30
|
+
.qld__card__image-wrapper,
|
|
30
31
|
.qld__card__image-link {
|
|
31
32
|
display: flex;
|
|
32
33
|
position: relative;
|
|
@@ -35,7 +36,7 @@
|
|
|
35
36
|
border-bottom-right-radius: 6.0882800608828% 10.81081081081081%;
|
|
36
37
|
border-bottom-left-radius: 0px;
|
|
37
38
|
max-width: 100%;
|
|
38
|
-
|
|
39
|
+
|
|
39
40
|
&::before {
|
|
40
41
|
content: "";
|
|
41
42
|
background-color: var(--QLD-color-dark__background);
|
|
@@ -51,7 +52,8 @@
|
|
|
51
52
|
border-bottom-left-radius: 0px;
|
|
52
53
|
z-index: 1;
|
|
53
54
|
}
|
|
54
|
-
|
|
55
|
+
}
|
|
56
|
+
.qld__card__image-link {
|
|
55
57
|
&:hover,
|
|
56
58
|
&:focus {
|
|
57
59
|
&::before {
|
|
@@ -65,6 +67,8 @@
|
|
|
65
67
|
}
|
|
66
68
|
}
|
|
67
69
|
|
|
70
|
+
|
|
71
|
+
|
|
68
72
|
a.qld__card--clickable__link{
|
|
69
73
|
//remove hit area entire card
|
|
70
74
|
|
|
@@ -269,3 +273,4 @@
|
|
|
269
273
|
}
|
|
270
274
|
|
|
271
275
|
|
|
276
|
+
|