@oslokommune/punkt-css 11.17.0 → 11.19.2

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.
@@ -6,7 +6,7 @@
6
6
  @forward 'spacing';
7
7
 
8
8
  // Default icon path
9
- $icon-path: 'https://punkt-cdn.oslo.kommune.no/11.17/icons' !default;
9
+ $icon-path: 'https://punkt-cdn.oslo.kommune.no/11.19/icons' !default;
10
10
 
11
11
  // Borders
12
12
  $border-width: (
@@ -45,6 +45,7 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
45
45
  }
46
46
 
47
47
  &__title {
48
+ grid-column: 2;
48
49
  @include get-text('pkt-txt-20-medium');
49
50
 
50
51
  & > p {
@@ -63,7 +64,7 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
63
64
  background-size: 1.5rem 1.5rem;
64
65
  background-position: center;
65
66
  margin-left: 0.5rem;
66
- flex: 1 0 auto;
67
+ flex: 0 0 auto;
67
68
  align-self: flex-start;
68
69
  }
69
70
  }
@@ -87,7 +88,7 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
87
88
 
88
89
  // Modifiers
89
90
  &--beige {
90
- background-color: var(--pkt-color-surface-default-light-beige);
91
+ background-color: var(--pkt-color-surface-default-light-beige) !important;
91
92
  color: var(--pkt-color-text-body-dark) !important;
92
93
 
93
94
  &:hover,
@@ -99,11 +100,11 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
99
100
  }
100
101
 
101
102
  &--blue {
102
- background-color: var(--pkt-color-surface-subtle-pale-blue);
103
+ background-color: var(--pkt-color-surface-subtle-pale-blue) !important;
103
104
  color: var(--pkt-color-text-body-dark) !important;
104
105
 
105
106
  &:hover {
106
- background-color: var(--pkt-color-surface-default-light-blue);
107
+ background-color: var(--pkt-color-surface-default-light-blue) !important;
107
108
  }
108
109
 
109
110
  &:hover,
@@ -115,11 +116,11 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
115
116
  }
116
117
 
117
118
  &--grey {
118
- background-color: var(--pkt-color-surface-default-gray);
119
+ background-color: var(--pkt-color-surface-default-gray) !important;
119
120
  color: var(--pkt-color-text-body-dark) !important;
120
121
 
121
122
  &:hover {
122
- background-color: var(--pkt-color-surface-strong-gray);
123
+ background-color: var(--pkt-color-surface-strong-gray) !important;
123
124
  }
124
125
 
125
126
  &:hover,
@@ -131,11 +132,11 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
131
132
  }
132
133
 
133
134
  &--green {
134
- background-color: var(--pkt-color-surface-default-faded-green);
135
+ background-color: var(--pkt-color-surface-default-faded-green) !important;
135
136
  color: var(--pkt-color-text-body-dark) !important;
136
137
 
137
138
  &:hover {
138
- background-color: var(--pkt-color-surface-strong-light-green);
139
+ background-color: var(--pkt-color-surface-strong-light-green) !important;
139
140
  }
140
141
 
141
142
  &:hover,
@@ -147,11 +148,11 @@ $-linkcard-spacing-big: map.get(variables.$spacing, 'size-24');
147
148
  }
148
149
 
149
150
  &--grey-outline {
150
- border: 4px solid var(--pkt-color-border-subtle);
151
+ border: 4px solid var(--pkt-color-border-subtle) !important;
151
152
  }
152
153
 
153
154
  &--beige-outline {
154
- border: 4px solid var(--pkt-color-border-light-beige);
155
+ border: 4px solid var(--pkt-color-border-light-beige) !important;
155
156
  }
156
157
  }
157
158
 
@@ -18,11 +18,14 @@
18
18
  justify-content: space-around;
19
19
  align-items: center;
20
20
  min-height: 10rem;
21
- padding: 1rem;
21
+ padding: 3rem 1rem;
22
22
  margin: 1rem 0 0;
23
23
  border: 0.25rem solid var(--pkt-color-surface-default-gray);
24
24
  background-color: var(--pkt-color-background-default);
25
25
  transition: background-color 0.2s linear;
26
+ &--fullwidth > div {
27
+ width: 100%;
28
+ }
26
29
  }
27
30
  &__opts {
28
31
  padding: 1rem;
@@ -63,6 +63,12 @@
63
63
  height: fit-content;
64
64
  }
65
65
  }
66
+
67
+ &__nav-wrapper {
68
+ display: flex;
69
+ gap: 20px;
70
+ margin-top: map.get(variables.$spacing, 'size-16');
71
+ }
66
72
  }
67
73
  }
68
74
 
@@ -84,6 +90,9 @@
84
90
  padding: map-get(variables.$spacing, 'size-16') map-get(variables.$spacing, 'size-24');
85
91
  background-color: var(--pkt-color-surface-subtle-pale-blue);
86
92
  }
93
+ .pkt-step__content {
94
+ padding-top: 0;
95
+ }
87
96
 
88
97
  .pkt-step__wrapper {
89
98
  margin-bottom: map-get(variables.$spacing, 'size-24');
@@ -115,6 +124,10 @@
115
124
  min-height: map.get(variables.$spacing, 'size-64');
116
125
  }
117
126
  }
127
+
128
+ &__nav-wrapper {
129
+ flex-direction: row;
130
+ }
118
131
  }
119
132
  }
120
133
 
@@ -124,7 +137,7 @@
124
137
 
125
138
  .pkt-step {
126
139
  grid-template-areas: 'indicator line' 'title title' 'content content';
127
- grid-template-columns: var(--pkt-steps-indicator-width) auto;
140
+ grid-template-columns: var(--pkt-steps-indicator-width) minmax(60px, max-content);
128
141
  grid-template-rows: var(--pkt-steps-indicator-width) min-content min-content;
129
142
  justify-items: flex-start;
130
143
 
@@ -164,6 +177,10 @@
164
177
  min-width: map.get(variables.$spacing, 'size-80');
165
178
  }
166
179
  }
180
+
181
+ &__nav-wrapper {
182
+ flex-direction: column;
183
+ }
167
184
  }
168
185
  }
169
186
 
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@oslokommune/punkt-css",
3
- "version": "11.17.0",
3
+ "version": "11.19.2",
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": "998d0193afd61f095d84f824b087cbff62d87782"
58
+ "gitHead": "0ca7c50fc32c471a63615349ecee431fd30f7a72"
59
59
  }