@oslokommune/punkt-css 13.15.6 → 13.15.8
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 +36 -0
- package/dist/css/components/accordion.css +2 -2
- package/dist/css/components/accordion.min.css +1 -1
- package/dist/css/elements/table.css +19 -10
- package/dist/css/elements/table.min.css +1 -1
- package/dist/css/pkt-components.css +2 -2
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-docs.css +21 -12
- package/dist/css/pkt-docs.min.css +1 -1
- package/dist/css/pkt-elements.css +19 -10
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +21 -12
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/components/_accordion.scss +2 -2
- package/dist/scss/elements/_table.scss +48 -37
- package/package.json +2 -2
|
@@ -95,7 +95,7 @@ pkt-accordion[skin='blue'] {
|
|
|
95
95
|
|
|
96
96
|
> .pkt-accordion-item:nth-of-type(odd),
|
|
97
97
|
pkt-accordion-item:nth-of-type(odd) > .pkt-accordion-item {
|
|
98
|
-
background-color: var(--pkt-color-surface-
|
|
98
|
+
background-color: var(--pkt-color-surface-subtle-pale-blue);
|
|
99
99
|
}
|
|
100
100
|
}
|
|
101
101
|
|
|
@@ -206,7 +206,7 @@ pkt-accordion[compact] {
|
|
|
206
206
|
|
|
207
207
|
&--blue,
|
|
208
208
|
pkt-accordion-item[skin='blue'] {
|
|
209
|
-
background-color: var(--pkt-color-surface-
|
|
209
|
+
background-color: var(--pkt-color-surface-subtle-pale-blue);
|
|
210
210
|
}
|
|
211
211
|
}
|
|
212
212
|
|
|
@@ -110,54 +110,65 @@ $-spacing-size-16: map.get(variables.$spacing, 'size-16');
|
|
|
110
110
|
|
|
111
111
|
@media screen and (max-width: map.get(variables.$breakpoints, 'tablet')) {
|
|
112
112
|
.pkt-table.pkt-table--responsive {
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
113
|
+
&__label-padding {
|
|
114
|
+
.pkt-table__data-cell,
|
|
115
|
+
td {
|
|
116
|
+
&::before {
|
|
117
|
+
padding-top: 1rem;
|
|
118
|
+
}
|
|
117
119
|
}
|
|
120
|
+
}
|
|
121
|
+
.pkt-table__header,
|
|
122
|
+
thead {
|
|
123
|
+
border-bottom: none;
|
|
124
|
+
height: 0;
|
|
125
|
+
}
|
|
118
126
|
|
|
119
|
-
|
|
120
|
-
|
|
121
|
-
|
|
122
|
-
|
|
123
|
-
|
|
124
|
-
|
|
125
|
-
|
|
126
|
-
|
|
127
|
-
|
|
128
|
-
|
|
129
|
-
}
|
|
127
|
+
.pkt-table__row,
|
|
128
|
+
tr {
|
|
129
|
+
display: grid;
|
|
130
|
+
grid-template-columns: max-content 1fr;
|
|
131
|
+
gap: $-spacing-size-16;
|
|
132
|
+
padding: $-spacing-size-16 $-spacing-size-16;
|
|
133
|
+
|
|
134
|
+
.pkt-table__header-cell,
|
|
135
|
+
th {
|
|
136
|
+
display: none;
|
|
130
137
|
}
|
|
138
|
+
}
|
|
139
|
+
|
|
140
|
+
.pkt-table__cell-wrapper {
|
|
141
|
+
grid-column: 2/3;
|
|
142
|
+
}
|
|
131
143
|
|
|
132
|
-
|
|
144
|
+
.pkt-table__data-cell,
|
|
145
|
+
td {
|
|
146
|
+
padding: $-spacing-size-8 $-spacing-size-16;
|
|
147
|
+
display: contents;
|
|
148
|
+
|
|
149
|
+
:only-child {
|
|
133
150
|
grid-column: 2/3;
|
|
134
151
|
}
|
|
135
152
|
|
|
136
|
-
|
|
137
|
-
|
|
138
|
-
|
|
139
|
-
|
|
140
|
-
|
|
141
|
-
&::before {
|
|
142
|
-
grid-column: 1/2;
|
|
143
|
-
content: attr(data-label);
|
|
144
|
-
font-weight: map.get(variables.$font-weight, 'medium');
|
|
145
|
-
}
|
|
153
|
+
&::before {
|
|
154
|
+
grid-column: 1/2;
|
|
155
|
+
content: attr(data-label);
|
|
156
|
+
font-weight: map.get(variables.$font-weight, 'medium');
|
|
146
157
|
}
|
|
158
|
+
}
|
|
147
159
|
|
|
148
|
-
|
|
149
|
-
|
|
150
|
-
|
|
151
|
-
|
|
152
|
-
|
|
153
|
-
}
|
|
160
|
+
&.pkt-table__compact {
|
|
161
|
+
.pkt-table__row,
|
|
162
|
+
tr {
|
|
163
|
+
padding: $-spacing-size-8 $-spacing-size-8;
|
|
164
|
+
gap: $-spacing-size-8;
|
|
154
165
|
}
|
|
166
|
+
}
|
|
155
167
|
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
}
|
|
168
|
+
&.pkt-table__zebra-blue {
|
|
169
|
+
.pkt-table__row:nth-child(odd),
|
|
170
|
+
tr:nth-child(odd) {
|
|
171
|
+
background: var(--pkt-color-surface-subtle-pale-blue);
|
|
161
172
|
}
|
|
162
173
|
}
|
|
163
174
|
}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-css",
|
|
3
|
-
"version": "13.15.
|
|
3
|
+
"version": "13.15.8",
|
|
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",
|
|
@@ -55,5 +55,5 @@
|
|
|
55
55
|
"url": "https://github.com/oslokommune/punkt/issues"
|
|
56
56
|
},
|
|
57
57
|
"license": "MIT",
|
|
58
|
-
"gitHead": "
|
|
58
|
+
"gitHead": "6ec5ff09aa5e2f57714264dcd4cd77e95c370cce"
|
|
59
59
|
}
|