@oslokommune/punkt-css 7.1.7 → 7.2.0
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 +18 -0
- package/dist/css/components/breadcrumbs.css +22 -38
- package/dist/css/components/breadcrumbs.min.css +1 -1
- package/dist/css/pkt-base.css +1 -1
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +22 -38
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +2 -2
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +25 -41
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/base/_typography.scss +1 -1
- package/dist/scss/components/_breadcrumbs.scss +24 -47
- package/dist/scss/elements/_checkbox-radio.scss +1 -1
- package/dist/scss/elements/_select.scss +1 -1
- package/package.json +2 -2
|
@@ -143,7 +143,7 @@ a,
|
|
|
143
143
|
|
|
144
144
|
&--external::after {
|
|
145
145
|
content: ' ';
|
|
146
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/7.
|
|
146
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/7.2/icons/new-window-small.svg);
|
|
147
147
|
background-image: var(--svg);
|
|
148
148
|
background-repeat: no-repeat;
|
|
149
149
|
background-size: 18px 18px;
|
|
@@ -5,55 +5,32 @@
|
|
|
5
5
|
@use 'sass:map';
|
|
6
6
|
@use '../abstracts/variables';
|
|
7
7
|
@use '../abstracts/mixins/breakpoints' as *;
|
|
8
|
+
@use '../abstracts/mixins/typography';
|
|
8
9
|
|
|
9
10
|
.pkt-breadcrumbs {
|
|
10
11
|
position: relative;
|
|
11
|
-
|
|
12
|
-
padding: 0 map.get(variables.$spacing, 'size-16');
|
|
12
|
+
@include typography.get-text('pkt-txt-14-light');
|
|
13
13
|
|
|
14
|
-
@include bp('tablet-up') {
|
|
15
|
-
margin-bottom: map.get(variables.$spacing, 'size-16');
|
|
16
|
-
}
|
|
17
|
-
|
|
18
|
-
@include bp('laptop-up') {
|
|
19
|
-
padding: 0 map.get(variables.$spacing, 'size-64');
|
|
20
|
-
}
|
|
21
14
|
|
|
22
15
|
&__list {
|
|
23
16
|
display: flex;
|
|
24
17
|
flex-direction: column;
|
|
25
18
|
height: auto;
|
|
26
|
-
overflow: hidden;
|
|
27
19
|
list-style-type: none;
|
|
28
20
|
border-bottom: 1px solid transparent;
|
|
29
21
|
transition: all 0.4s ease-in-out;
|
|
30
22
|
|
|
31
23
|
@include bp('phablet-up') {
|
|
32
24
|
flex-direction: row;
|
|
33
|
-
padding: 0 1rem;
|
|
34
25
|
border-bottom-color: transparent !important;
|
|
35
26
|
}
|
|
36
|
-
|
|
37
|
-
&.expanded {
|
|
38
|
-
align-items: flex-start;
|
|
39
|
-
max-height: 25rem;
|
|
40
|
-
border-bottom-color: var(--color-gray);
|
|
41
|
-
transition: all 0.4s ease-in-out;
|
|
42
|
-
|
|
43
|
-
& > .pkt-breadcrumbs__item {
|
|
44
|
-
display: block;
|
|
45
|
-
}
|
|
46
|
-
|
|
47
|
-
& > .pkt-breadcrumbs__item:last-child {
|
|
48
|
-
display: block;
|
|
49
|
-
}
|
|
50
|
-
}
|
|
51
27
|
}
|
|
52
28
|
|
|
53
29
|
&__item {
|
|
54
30
|
position: relative;
|
|
55
31
|
display: none;
|
|
56
32
|
width: 100%;
|
|
33
|
+
text-decoration: underline;
|
|
57
34
|
|
|
58
35
|
@include bp('phablet-up') {
|
|
59
36
|
display: block;
|
|
@@ -62,6 +39,7 @@
|
|
|
62
39
|
|
|
63
40
|
&:last-child {
|
|
64
41
|
display: block;
|
|
42
|
+
text-decoration: none;
|
|
65
43
|
|
|
66
44
|
@include bp('tablet-up') {
|
|
67
45
|
max-width: 300px;
|
|
@@ -73,31 +51,11 @@
|
|
|
73
51
|
}
|
|
74
52
|
}
|
|
75
53
|
|
|
76
|
-
&__link {
|
|
77
|
-
text-decoration: none;
|
|
78
|
-
color: var(--color-blue-dark);
|
|
79
|
-
|
|
80
|
-
&:visited,
|
|
81
|
-
&:focus,
|
|
82
|
-
&:hover,
|
|
83
|
-
&:active {
|
|
84
|
-
color: var(--color-blue-dark);
|
|
85
|
-
}
|
|
86
|
-
|
|
87
|
-
&:hover {
|
|
88
|
-
text-decoration: underline;
|
|
89
|
-
}
|
|
90
|
-
}
|
|
91
|
-
|
|
92
54
|
&__label {
|
|
93
55
|
display: flex;
|
|
94
56
|
align-items: center;
|
|
95
|
-
justify-content: flex-start;
|
|
96
57
|
width: 100%;
|
|
97
58
|
white-space: nowrap;
|
|
98
|
-
padding: map.get(variables.$spacing, 'size-12')
|
|
99
|
-
map.get(variables.$spacing, 'size-16')
|
|
100
|
-
map.get(variables.$spacing, 'size-16') 0;
|
|
101
59
|
}
|
|
102
60
|
|
|
103
61
|
&__text {
|
|
@@ -110,9 +68,11 @@
|
|
|
110
68
|
@include bp('phablet-up') {
|
|
111
69
|
max-width: 120px;
|
|
112
70
|
}
|
|
71
|
+
|
|
113
72
|
@include bp('tablet-up') {
|
|
114
73
|
max-width: 200px;
|
|
115
74
|
}
|
|
75
|
+
|
|
116
76
|
@include bp('tablet-big-up') {
|
|
117
77
|
max-width: 300px;
|
|
118
78
|
}
|
|
@@ -121,6 +81,23 @@
|
|
|
121
81
|
&__icon {
|
|
122
82
|
width: 1rem;
|
|
123
83
|
height: 1rem;
|
|
124
|
-
margin-
|
|
84
|
+
margin-left: map.get(variables.$spacing, 'size-8');
|
|
85
|
+
}
|
|
86
|
+
|
|
87
|
+
|
|
88
|
+
&--desktop {
|
|
89
|
+
display: none !important;
|
|
90
|
+
|
|
91
|
+
@include bp('phablet-up') {
|
|
92
|
+
display: inline-flex !important;
|
|
93
|
+
}
|
|
94
|
+
}
|
|
95
|
+
|
|
96
|
+
&--mobile {
|
|
97
|
+
display: inline-flex !important;
|
|
98
|
+
|
|
99
|
+
@include bp('phablet-up') {
|
|
100
|
+
display: none !important;
|
|
101
|
+
}
|
|
125
102
|
}
|
|
126
103
|
}
|
|
@@ -81,7 +81,7 @@ $-module-name: 'pkt-form-check-input';
|
|
|
81
81
|
}
|
|
82
82
|
|
|
83
83
|
&[type='checkbox'] {
|
|
84
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/7.
|
|
84
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/7.2/icons/check-medium.svg);
|
|
85
85
|
position: relative;
|
|
86
86
|
background-color: blue;
|
|
87
87
|
}
|
|
@@ -10,7 +10,7 @@
|
|
|
10
10
|
@use '../abstracts/functions';
|
|
11
11
|
|
|
12
12
|
.pkt-select {
|
|
13
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/7.
|
|
13
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/7.2/icons/chevron-thin-down.svg);
|
|
14
14
|
|
|
15
15
|
display: block;
|
|
16
16
|
background-color: var(--color-white);
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "@oslokommune/punkt-css",
|
|
3
|
-
"version": "7.
|
|
3
|
+
"version": "7.2.0",
|
|
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": "f66d7532315a855442edf9e19cf883d7862a787f"
|
|
59
59
|
}
|