@oslokommune/punkt-css 12.40.0 → 12.40.3
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 +39 -0
- package/dist/css/components/card.css +15 -14
- package/dist/css/components/card.min.css +1 -1
- package/dist/css/pkt-components.css +15 -14
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-docs.css +15 -14
- package/dist/css/pkt-docs.min.css +1 -1
- package/dist/css/pkt.css +15 -14
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_card.scss +9 -8
- package/package.json +2 -2
|
@@ -92,7 +92,7 @@ pkt-card {
|
|
|
92
92
|
|
|
93
93
|
// DIRECTION
|
|
94
94
|
|
|
95
|
-
&.pkt-card--
|
|
95
|
+
&.pkt-card--horizontal {
|
|
96
96
|
flex-direction: row;
|
|
97
97
|
|
|
98
98
|
@media screen and (max-width: map.get(variables.$breakpoints, 'phablet')) {
|
|
@@ -100,7 +100,7 @@ pkt-card {
|
|
|
100
100
|
}
|
|
101
101
|
}
|
|
102
102
|
|
|
103
|
-
&.pkt-card--
|
|
103
|
+
&.pkt-card--vertical {
|
|
104
104
|
flex-direction: column;
|
|
105
105
|
min-width: 12.5rem;
|
|
106
106
|
}
|
|
@@ -129,8 +129,8 @@ pkt-card {
|
|
|
129
129
|
}
|
|
130
130
|
}
|
|
131
131
|
|
|
132
|
-
//
|
|
133
|
-
&.pkt-card--
|
|
132
|
+
//horizontal image styles
|
|
133
|
+
&.pkt-card--horizontal {
|
|
134
134
|
.pkt-card__image {
|
|
135
135
|
max-width: 400px;
|
|
136
136
|
margin-right: 2rem;
|
|
@@ -150,7 +150,7 @@ pkt-card {
|
|
|
150
150
|
}
|
|
151
151
|
|
|
152
152
|
// portait image styles
|
|
153
|
-
&.pkt-card--
|
|
153
|
+
&.pkt-card--vertical {
|
|
154
154
|
.pkt-card__image {
|
|
155
155
|
margin-bottom: 2rem;
|
|
156
156
|
max-height: 400px;
|
|
@@ -159,13 +159,13 @@ pkt-card {
|
|
|
159
159
|
|
|
160
160
|
// Padding none variants
|
|
161
161
|
&.pkt-card--padding-none {
|
|
162
|
-
&.pkt-card--
|
|
162
|
+
&.pkt-card--vertical {
|
|
163
163
|
.pkt-card__image-square {
|
|
164
164
|
aspect-ratio: 19 / 10;
|
|
165
165
|
}
|
|
166
166
|
}
|
|
167
167
|
|
|
168
|
-
&.pkt-card--
|
|
168
|
+
&.pkt-card--horizontal {
|
|
169
169
|
.pkt-card__image-square {
|
|
170
170
|
@media screen and (max-width: map.get(variables.$breakpoints, 'phablet')) {
|
|
171
171
|
aspect-ratio: 19 / 10;
|
|
@@ -223,6 +223,7 @@ pkt-card {
|
|
|
223
223
|
|
|
224
224
|
.pkt-card__wrapper .pkt-card__link:focus-visible::before {
|
|
225
225
|
box-shadow: 0px 0px 0px 4px var(--pkt-color-brand-purple-1000);
|
|
226
|
+
outline-color: var(--pkt-color-brand-warm-blue-1000);
|
|
226
227
|
}
|
|
227
228
|
|
|
228
229
|
// SKIN VARIANTS FOR NO PADDING
|
|
@@ -231,7 +232,7 @@ pkt-card {
|
|
|
231
232
|
outline: none;
|
|
232
233
|
background-color: transparent;
|
|
233
234
|
|
|
234
|
-
&.pkt-card--
|
|
235
|
+
&.pkt-card--horizontal {
|
|
235
236
|
&.pkt-card--gray {
|
|
236
237
|
background-color: var(--pkt-color-brand-neutrals-100);
|
|
237
238
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-css",
|
|
3
|
-
"version": "12.40.
|
|
3
|
+
"version": "12.40.3",
|
|
4
4
|
"description": "CSS-rammeverket til Punkt, et designsystem laget av Oslo Origo",
|
|
5
5
|
"homepage": "https://punkt.oslo.kommune.no",
|
|
6
6
|
"author": "Team Designsystem, Oslo Origo",
|
|
@@ -57,5 +57,5 @@
|
|
|
57
57
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
58
58
|
},
|
|
59
59
|
"license": "MIT",
|
|
60
|
-
"gitHead": "
|
|
60
|
+
"gitHead": "ed16d8e18201f36c905e47b96d62d29278595ba8"
|
|
61
61
|
}
|