@oslokommune/punkt-css 17.1.3 → 18.3.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/calendar.css +2 -2
- package/dist/css/components/calendar.min.css +1 -1
- package/dist/css/components/card.css +3 -3
- package/dist/css/components/card.min.css +1 -1
- package/dist/css/components/fileupload.css +7 -7
- package/dist/css/components/fileupload.min.css +1 -1
- package/dist/css/components/footer.css +1 -1
- package/dist/css/components/footer.min.css +1 -1
- package/dist/css/components/header.css +1 -1
- package/dist/css/components/header.min.css +1 -1
- package/dist/css/components/inputwrapper.css +1 -1
- package/dist/css/components/inputwrapper.min.css +1 -1
- package/dist/css/components/listbox.css +2 -2
- package/dist/css/components/listbox.min.css +1 -1
- package/dist/css/components/loader.css +4 -4
- package/dist/css/components/loader.min.css +1 -1
- package/dist/css/components/modal.css +1 -1
- package/dist/css/components/modal.min.css +1 -1
- package/dist/css/components/progressbar.css +1 -1
- package/dist/css/components/progressbar.min.css +1 -1
- package/dist/css/components/stepper.css +5 -5
- package/dist/css/components/stepper.min.css +1 -1
- package/dist/css/components/tag.css +4 -18
- package/dist/css/components/tag.min.css +1 -1
- package/dist/css/elements/button.css +70 -48
- package/dist/css/elements/button.min.css +1 -1
- package/dist/css/elements/checkbox-radio.css +3 -3
- package/dist/css/elements/checkbox-radio.min.css +1 -1
- package/dist/css/elements/form.css +4 -4
- package/dist/css/elements/form.min.css +1 -1
- package/dist/css/elements/hr.css +1 -1
- package/dist/css/elements/hr.min.css +1 -1
- package/dist/css/elements/input.css +1 -1
- package/dist/css/elements/input.min.css +1 -1
- package/dist/css/elements/list.css +1 -1
- package/dist/css/elements/list.min.css +1 -1
- package/dist/css/elements/section.css +11 -108
- package/dist/css/elements/section.min.css +1 -1
- package/dist/css/pkt-base.css +708 -75
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +32 -88
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-docs.css +832 -330
- package/dist/css/pkt-docs.min.css +1 -1
- package/dist/css/pkt-elements.css +91 -166
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt-tokens.css +113 -68
- package/dist/css/pkt-tokens.min.css +1 -1
- package/dist/css/pkt-utilities.css +594 -6
- package/dist/css/pkt-utilities.min.css +1 -1
- package/dist/css/pkt.css +831 -329
- package/dist/css/pkt.layer.css +684 -322
- package/dist/css/pkt.layer.min.css +1 -1
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/functions/_index.scss +25 -0
- package/dist/scss/abstracts/variables/_colors.scss +155 -68
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/base/_colors-tokens.scss +9 -75
- package/dist/scss/components/_calendar.scss +2 -2
- package/dist/scss/components/_card.scss +3 -3
- package/dist/scss/components/_fileupload.scss +8 -7
- package/dist/scss/components/_footer.scss +6 -5
- package/dist/scss/components/_header-service-mobile.scss +3 -2
- package/dist/scss/components/_header-shared.scss +3 -2
- package/dist/scss/components/_header.scss +1 -1
- package/dist/scss/components/_index.scss +0 -1
- package/dist/scss/components/_inputwrapper.scss +1 -1
- package/dist/scss/components/_listbox.scss +4 -2
- package/dist/scss/components/_loader.scss +5 -4
- package/dist/scss/components/_modal.scss +2 -1
- package/dist/scss/components/_progressbar.scss +1 -1
- package/dist/scss/components/_stepper.scss +5 -5
- package/dist/scss/components/_tag.scss +5 -17
- package/dist/scss/elements/_button.scss +71 -67
- package/dist/scss/elements/_form.scss +4 -4
- package/dist/scss/elements/_hr.scss +1 -1
- package/dist/scss/elements/_list.scss +3 -3
- package/dist/scss/elements/_section.scss +12 -40
- package/dist/scss/pkt-docs.scss +3 -1
- package/package.json +3 -3
- package/dist/css/components/badge.css +0 -41
- package/dist/css/components/badge.min.css +0 -1
- package/dist/scss/components/_badge.scss +0 -60
|
@@ -34,41 +34,41 @@
|
|
|
34
34
|
}
|
|
35
35
|
|
|
36
36
|
.pkt-btn {
|
|
37
|
-
--pkt-color-button-background-normal: var(--pkt-color-
|
|
37
|
+
--pkt-color-button-background-normal: var(--pkt-color-button-primary-background-normal);
|
|
38
38
|
--pkt-color-button-border-normal: var(--pkt-color-brand-dark-blue-1000);
|
|
39
|
-
--pkt-color-button-text-normal: var(--pkt-color-
|
|
40
|
-
--pkt-color-button-background-focus: var(--pkt-color-
|
|
41
|
-
--pkt-color-button-border-focus: var(--pkt-color-
|
|
42
|
-
--pkt-color-button-text-focus: var(--pkt-color-
|
|
39
|
+
--pkt-color-button-text-normal: var(--pkt-color-button-primary-text-normal);
|
|
40
|
+
--pkt-color-button-background-focus: var(--pkt-color-button-primary-background-focus);
|
|
41
|
+
--pkt-color-button-border-focus: var(--pkt-color-button-primary-border-focus);
|
|
42
|
+
--pkt-color-button-text-focus: var(--pkt-color-button-primary-text-focus);
|
|
43
43
|
--pkt-color-border-states-focus: var(--pkt-color-brand-purple-1000);
|
|
44
|
-
--pkt-color-button-background-hover: var(--pkt-color-
|
|
44
|
+
--pkt-color-button-background-hover: var(--pkt-color-button-primary-background-hover);
|
|
45
45
|
--pkt-color-button-border-hover: var(--pkt-color-brand-warm-blue-1000);
|
|
46
|
-
--pkt-color-button-text-hover: var(--pkt-color-
|
|
47
|
-
--pkt-color-button-background-active: var(--pkt-color-
|
|
46
|
+
--pkt-color-button-text-hover: var(--pkt-color-button-primary-text-hover);
|
|
47
|
+
--pkt-color-button-background-active: var(--pkt-color-button-primary-background-active);
|
|
48
48
|
--pkt-color-button-border-active: var(--pkt-color-brand-warm-blue-1000);
|
|
49
|
-
--pkt-color-button-text-active: var(--pkt-color-
|
|
50
|
-
--pkt-color-button-background-disabled: var(--pkt-color-
|
|
51
|
-
--pkt-color-button-border-disabled: var(--pkt-color-
|
|
52
|
-
--pkt-color-button-text-disabled: var(--pkt-color-
|
|
49
|
+
--pkt-color-button-text-active: var(--pkt-color-button-primary-text-active);
|
|
50
|
+
--pkt-color-button-background-disabled: var(--pkt-color-button-primary-background-disabled);
|
|
51
|
+
--pkt-color-button-border-disabled: var(--pkt-color-button-primary-background-disabled);
|
|
52
|
+
--pkt-color-button-text-disabled: var(--pkt-color-button-primary-text-disabled);
|
|
53
53
|
}
|
|
54
54
|
|
|
55
55
|
[data-mode=dark] .pkt-btn {
|
|
56
|
-
--pkt-color-button-background-normal: var(--pkt-color-
|
|
56
|
+
--pkt-color-button-background-normal: var(--pkt-color-button-primary-background-normal);
|
|
57
57
|
--pkt-color-button-border-normal: var(--pkt-color-brand-blue-500);
|
|
58
|
-
--pkt-color-button-text-normal: var(--pkt-color-
|
|
59
|
-
--pkt-color-button-background-focus: var(--pkt-color-
|
|
60
|
-
--pkt-color-button-border-focus: var(--pkt-color-
|
|
61
|
-
--pkt-color-button-text-focus: var(--pkt-color-
|
|
58
|
+
--pkt-color-button-text-normal: var(--pkt-color-button-primary-text-normal);
|
|
59
|
+
--pkt-color-button-background-focus: var(--pkt-color-button-primary-background-focus);
|
|
60
|
+
--pkt-color-button-border-focus: var(--pkt-color-button-primary-border-focus);
|
|
61
|
+
--pkt-color-button-text-focus: var(--pkt-color-button-primary-text-focus);
|
|
62
62
|
--pkt-color-border-states-focus: var(--pkt-color-brand-purple-1000);
|
|
63
|
-
--pkt-color-button-background-hover: var(--pkt-color-
|
|
63
|
+
--pkt-color-button-background-hover: var(--pkt-color-button-primary-background-hover);
|
|
64
64
|
--pkt-color-button-border-hover: var(--pkt-color-brand-blue-1000);
|
|
65
|
-
--pkt-color-button-text-hover: var(--pkt-color-
|
|
66
|
-
--pkt-color-button-background-active: var(--pkt-color-
|
|
65
|
+
--pkt-color-button-text-hover: var(--pkt-color-button-primary-text-hover);
|
|
66
|
+
--pkt-color-button-background-active: var(--pkt-color-button-primary-background-active);
|
|
67
67
|
--pkt-color-button-border-active: var(--pkt-color-brand-blue-1000);
|
|
68
|
-
--pkt-color-button-text-active: var(--pkt-color-
|
|
69
|
-
--pkt-color-button-background-disabled: var(--pkt-color-
|
|
70
|
-
--pkt-color-button-border-disabled: var(--pkt-color-
|
|
71
|
-
--pkt-color-button-text-disabled: var(--pkt-color-
|
|
68
|
+
--pkt-color-button-text-active: var(--pkt-color-button-primary-text-active);
|
|
69
|
+
--pkt-color-button-background-disabled: var(--pkt-color-button-primary-background-disabled);
|
|
70
|
+
--pkt-color-button-border-disabled: var(--pkt-color-button-primary-background-disabled);
|
|
71
|
+
--pkt-color-button-text-disabled: var(--pkt-color-button-primary-text-disabled);
|
|
72
72
|
}
|
|
73
73
|
[data-mode=dark] .pkt-btn--green-dark {
|
|
74
74
|
--pkt-color-button-background-normal: var(--pkt-color-brand-dark-green-1000);
|
|
@@ -133,22 +133,36 @@
|
|
|
133
133
|
|
|
134
134
|
.pkt-btn--secondary {
|
|
135
135
|
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
136
|
-
--pkt-color-button-
|
|
137
|
-
--pkt-color-button-text-
|
|
136
|
+
--pkt-color-button-border-normal: var(--pkt-color-button-secondary-border-normal);
|
|
137
|
+
--pkt-color-button-text-normal: var(--pkt-color-button-secondary-text-normal);
|
|
138
|
+
--pkt-color-button-background-focus: var(--pkt-color-brand-warm-blue-1000);
|
|
139
|
+
--pkt-color-button-border-focus: var(--pkt-color-button-secondary-border-focus);
|
|
140
|
+
--pkt-color-button-text-focus: var(--pkt-color-brand-neutrals-white);
|
|
141
|
+
--pkt-color-button-background-hover: var(--pkt-color-button-secondary-background-hover);
|
|
142
|
+
--pkt-color-button-text-hover: var(--pkt-color-button-secondary-text-hover);
|
|
143
|
+
--pkt-color-button-background-active: var(--pkt-color-button-secondary-background-active);
|
|
144
|
+
--pkt-color-button-text-active: var(--pkt-color-button-secondary-text-active);
|
|
145
|
+
--pkt-color-button-background-disabled: var(--pkt-color-button-secondary-background-disabled);
|
|
146
|
+
--pkt-color-button-border-disabled: var(--pkt-color-button-secondary-background-disabled);
|
|
147
|
+
--pkt-color-button-text-disabled: var(--pkt-color-button-secondary-text-disabled);
|
|
138
148
|
}
|
|
139
149
|
|
|
140
150
|
[data-mode=dark] .pkt-btn--secondary {
|
|
141
151
|
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
142
|
-
--pkt-color-button-border-normal: var(--pkt-color-
|
|
143
|
-
--pkt-color-button-text-normal: var(--pkt-color-
|
|
152
|
+
--pkt-color-button-border-normal: var(--pkt-color-button-secondary-border-normal);
|
|
153
|
+
--pkt-color-button-text-normal: var(--pkt-color-button-secondary-text-normal);
|
|
144
154
|
--pkt-color-button-background-focus: var(--pkt-color-brand-blue-500);
|
|
145
|
-
--pkt-color-button-border-focus: var(--pkt-color-
|
|
146
|
-
--pkt-color-button-
|
|
155
|
+
--pkt-color-button-border-focus: var(--pkt-color-button-secondary-border-focus);
|
|
156
|
+
--pkt-color-button-text-focus: var(--pkt-color-brand-dark-blue-1000);
|
|
157
|
+
--pkt-color-button-background-hover: var(--pkt-color-button-secondary-background-hover);
|
|
147
158
|
--pkt-color-button-border-hover: var(--pkt-color-brand-blue-500);
|
|
148
|
-
--pkt-color-button-
|
|
159
|
+
--pkt-color-button-text-hover: var(--pkt-color-button-secondary-text-hover);
|
|
160
|
+
--pkt-color-button-background-active: var(--pkt-color-button-secondary-background-active);
|
|
149
161
|
--pkt-color-button-border-active: var(--pkt-color-brand-blue-500);
|
|
150
|
-
--pkt-color-button-
|
|
151
|
-
--pkt-color-button-
|
|
162
|
+
--pkt-color-button-text-active: var(--pkt-color-button-secondary-text-active);
|
|
163
|
+
--pkt-color-button-background-disabled: var(--pkt-color-button-secondary-background-disabled);
|
|
164
|
+
--pkt-color-button-border-disabled: var(--pkt-color-button-secondary-background-disabled);
|
|
165
|
+
--pkt-color-button-text-disabled: var(--pkt-color-button-secondary-text-disabled);
|
|
152
166
|
}
|
|
153
167
|
[data-mode=dark] .pkt-btn--secondary--green-dark {
|
|
154
168
|
--pkt-color-button-background-normal: var(--pkt-color-brand-dark-green-1000);
|
|
@@ -214,28 +228,36 @@
|
|
|
214
228
|
.pkt-btn--tertiary {
|
|
215
229
|
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
216
230
|
--pkt-color-button-border-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
217
|
-
--pkt-color-button-text-normal: var(--pkt-color-
|
|
218
|
-
--pkt-color-button-background-focus: var(--pkt-color-
|
|
219
|
-
--pkt-color-button-
|
|
220
|
-
--pkt-color-button-
|
|
221
|
-
--pkt-color-button-
|
|
222
|
-
--pkt-color-button-
|
|
223
|
-
--pkt-color-button-text-
|
|
231
|
+
--pkt-color-button-text-normal: var(--pkt-color-button-tertiary-text-normal);
|
|
232
|
+
--pkt-color-button-background-focus: var(--pkt-color-button-tertiary-background-focus);
|
|
233
|
+
--pkt-color-button-border-focus: var(--pkt-color-button-tertiary-border-focus);
|
|
234
|
+
--pkt-color-button-text-focus: var(--pkt-color-button-tertiary-text-focus);
|
|
235
|
+
--pkt-color-button-background-hover: var(--pkt-color-button-tertiary-background-hover);
|
|
236
|
+
--pkt-color-button-border-hover: var(--pkt-color-brand-neutrals-100);
|
|
237
|
+
--pkt-color-button-text-hover: var(--pkt-color-button-tertiary-text-hover);
|
|
238
|
+
--pkt-color-button-background-active: var(--pkt-color-button-tertiary-background-active);
|
|
239
|
+
--pkt-color-button-text-active: var(--pkt-color-button-tertiary-text-active);
|
|
240
|
+
--pkt-color-button-background-disabled: var(--pkt-color-button-tertiary-background-disabled);
|
|
241
|
+
--pkt-color-button-border-disabled: var(--pkt-color-button-tertiary-background-disabled);
|
|
242
|
+
--pkt-color-button-text-disabled: var(--pkt-color-button-tertiary-text-disabled);
|
|
224
243
|
}
|
|
225
244
|
|
|
226
245
|
[data-mode=dark] .pkt-btn--tertiary {
|
|
227
246
|
--pkt-color-button-background-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
228
247
|
--pkt-color-button-border-normal: var(--pkt-color-brand-neutrals-transparent);
|
|
229
|
-
--pkt-color-button-text-normal: var(--pkt-color-
|
|
230
|
-
--pkt-color-button-background-focus: var(--pkt-color-
|
|
231
|
-
--pkt-color-button-border-focus: var(--pkt-color-
|
|
232
|
-
--pkt-color-button-text-focus: var(--pkt-color-
|
|
233
|
-
--pkt-color-button-background-hover: var(--pkt-color-
|
|
248
|
+
--pkt-color-button-text-normal: var(--pkt-color-button-tertiary-text-normal);
|
|
249
|
+
--pkt-color-button-background-focus: var(--pkt-color-button-tertiary-background-focus);
|
|
250
|
+
--pkt-color-button-border-focus: var(--pkt-color-button-tertiary-border-focus);
|
|
251
|
+
--pkt-color-button-text-focus: var(--pkt-color-button-tertiary-text-focus);
|
|
252
|
+
--pkt-color-button-background-hover: var(--pkt-color-button-tertiary-background-hover);
|
|
234
253
|
--pkt-color-button-border-hover: var(--pkt-color-brand-dark-blue-700);
|
|
235
|
-
--pkt-color-button-text-hover: var(--pkt-color-
|
|
236
|
-
--pkt-color-button-background-active: var(--pkt-color-
|
|
254
|
+
--pkt-color-button-text-hover: var(--pkt-color-button-tertiary-text-hover);
|
|
255
|
+
--pkt-color-button-background-active: var(--pkt-color-button-tertiary-background-active);
|
|
237
256
|
--pkt-color-button-border-active: var(--pkt-color-brand-dark-blue-700);
|
|
238
|
-
--pkt-color-button-text-active: var(--pkt-color-
|
|
257
|
+
--pkt-color-button-text-active: var(--pkt-color-button-tertiary-text-active);
|
|
258
|
+
--pkt-color-button-background-disabled: var(--pkt-color-button-tertiary-background-disabled);
|
|
259
|
+
--pkt-color-button-border-disabled: var(--pkt-color-button-tertiary-background-disabled);
|
|
260
|
+
--pkt-color-button-text-disabled: var(--pkt-color-button-tertiary-text-disabled);
|
|
239
261
|
}
|
|
240
262
|
[data-mode=dark] .pkt-btn--tertiary--green-dark {
|
|
241
263
|
--pkt-color-button-background-normal: var(--pkt-color-brand-dark-green-1000);
|
|
@@ -624,7 +646,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
|
|
|
624
646
|
*/
|
|
625
647
|
}
|
|
626
648
|
.pkt-form-input::placeholder, .pkt-form-textarea::placeholder {
|
|
627
|
-
color: var(--pkt-color-
|
|
649
|
+
color: var(--pkt-color-brand-neutrals-400);
|
|
628
650
|
opacity: 1;
|
|
629
651
|
/* 1 */
|
|
630
652
|
}
|
|
@@ -638,9 +660,9 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
|
|
|
638
660
|
display: inherit;
|
|
639
661
|
}
|
|
640
662
|
.pkt-form-input:disabled, .pkt-form-input[readonly], .pkt-form-textarea:disabled, .pkt-form-textarea[readonly] {
|
|
641
|
-
background-color: var(--pkt-color-brand-neutrals-
|
|
642
|
-
border-color: var(--pkt-color-
|
|
643
|
-
color: var(--pkt-color-
|
|
663
|
+
background-color: var(--pkt-color-brand-neutrals-100);
|
|
664
|
+
border-color: var(--pkt-color-brand-neutrals-400);
|
|
665
|
+
color: var(--pkt-color-brand-neutrals-400);
|
|
644
666
|
cursor: inherit;
|
|
645
667
|
}
|
|
646
668
|
/*
|
|
@@ -742,7 +764,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
|
|
|
742
764
|
box-shadow: 0px 0px 0px 0.125rem var(--pkt-color-input-border-active), 0px 0px 0px 0.375rem var(--pkt-color-border-states-focus);
|
|
743
765
|
}
|
|
744
766
|
.pkt-input-check__input-checkbox:indeterminate[type=checkbox]:not([role=switch]) {
|
|
745
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
767
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/18.3/icons/minus-sign.svg);
|
|
746
768
|
position: relative;
|
|
747
769
|
background-color: var(--pkt-color-input-border-normal);
|
|
748
770
|
}
|
|
@@ -768,7 +790,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
|
|
|
768
790
|
filter: brightness(0) saturate(100%) invert(100%) sepia(0%) saturate(0%) hue-rotate(271deg) brightness(105%) contrast(101%);
|
|
769
791
|
}
|
|
770
792
|
.pkt-input-check__input-checkbox:checked[type=checkbox] {
|
|
771
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
793
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/18.3/icons/check-medium.svg);
|
|
772
794
|
position: relative;
|
|
773
795
|
background-color: var(--pkt-color-input-border-normal);
|
|
774
796
|
}
|
|
@@ -826,7 +848,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
|
|
|
826
848
|
cursor: not-allowed;
|
|
827
849
|
}
|
|
828
850
|
.pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
|
|
829
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
851
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/18.3/icons/check-medium.svg);
|
|
830
852
|
--pkt-color-input-check-border: var(--pkt-color-input-border-normal);
|
|
831
853
|
filter: grayscale(100%) brightness(400%);
|
|
832
854
|
}
|
|
@@ -948,7 +970,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn:activ
|
|
|
948
970
|
.pkt-hr {
|
|
949
971
|
border: 0;
|
|
950
972
|
width: 100%;
|
|
951
|
-
border-top: 1px solid var(--pkt-color-
|
|
973
|
+
border-top: 1px solid var(--pkt-color-brand-neutrals-300);
|
|
952
974
|
}
|
|
953
975
|
|
|
954
976
|
/*
|
|
@@ -1089,7 +1111,7 @@ pkt-select {
|
|
|
1089
1111
|
padding-right: 3rem;
|
|
1090
1112
|
}
|
|
1091
1113
|
.pkt-input:is(select):not([multiple]) {
|
|
1092
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
1114
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/18.3/icons/chevron-thin-down.svg);
|
|
1093
1115
|
background-image: var(--svg);
|
|
1094
1116
|
background-repeat: no-repeat;
|
|
1095
1117
|
background-position: right 0.7rem top 50%;
|
|
@@ -1425,7 +1447,7 @@ pkt-select {
|
|
|
1425
1447
|
padding-inline-end: 0;
|
|
1426
1448
|
}
|
|
1427
1449
|
.pkt-list-horizontal.bordered li + li {
|
|
1428
|
-
border-left: 1px solid var(--pkt-color-
|
|
1450
|
+
border-left: 1px solid var(--pkt-color-brand-neutrals-700);
|
|
1429
1451
|
}
|
|
1430
1452
|
|
|
1431
1453
|
.pkt-dl,
|
|
@@ -1499,10 +1521,10 @@ pkt-select {
|
|
|
1499
1521
|
}
|
|
1500
1522
|
|
|
1501
1523
|
.pkt-section--dark {
|
|
1502
|
-
color:
|
|
1524
|
+
color: var(--pkt-color-text-body-light, #ffffff);
|
|
1503
1525
|
margin: 1rem 0;
|
|
1504
1526
|
padding: 0.75rem;
|
|
1505
|
-
background-color: #2a2859;
|
|
1527
|
+
background-color: var(--pkt-color-surface-strong-dark-blue, #2a2859);
|
|
1506
1528
|
}
|
|
1507
1529
|
@media screen and (min-width: 36rem) {
|
|
1508
1530
|
.pkt-section--dark {
|
|
@@ -1514,27 +1536,12 @@ pkt-select {
|
|
|
1514
1536
|
padding: 1.5rem;
|
|
1515
1537
|
}
|
|
1516
1538
|
}
|
|
1517
|
-
.pkt-section--dark {
|
|
1518
|
-
/*
|
|
1519
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1520
|
-
color: white;
|
|
1521
|
-
|
|
1522
|
-
a:not([class^='ok-btn']) {
|
|
1523
|
-
color: white;
|
|
1524
|
-
text-decoration: underline;
|
|
1525
|
-
}
|
|
1526
|
-
}
|
|
1527
|
-
*/
|
|
1528
|
-
}
|
|
1529
|
-
.pkt-section--dark a.pkt-btn--ter {
|
|
1530
|
-
color: white;
|
|
1531
|
-
}
|
|
1532
1539
|
|
|
1533
1540
|
.pkt-section--danger {
|
|
1534
|
-
color:
|
|
1541
|
+
color: var(--pkt-color-text-body-dark, #2a2859);
|
|
1535
1542
|
margin: 1rem 0;
|
|
1536
1543
|
padding: 0.75rem;
|
|
1537
|
-
background-color: #ff8274;
|
|
1544
|
+
background-color: var(--pkt-color-surface-strong-red, #ff8274);
|
|
1538
1545
|
}
|
|
1539
1546
|
@media screen and (min-width: 36rem) {
|
|
1540
1547
|
.pkt-section--danger {
|
|
@@ -1546,27 +1553,12 @@ pkt-select {
|
|
|
1546
1553
|
padding: 1.5rem;
|
|
1547
1554
|
}
|
|
1548
1555
|
}
|
|
1549
|
-
.pkt-section--danger {
|
|
1550
|
-
/*
|
|
1551
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1552
|
-
color: white;
|
|
1553
|
-
|
|
1554
|
-
a:not([class^='ok-btn']) {
|
|
1555
|
-
color: white;
|
|
1556
|
-
text-decoration: underline;
|
|
1557
|
-
}
|
|
1558
|
-
}
|
|
1559
|
-
*/
|
|
1560
|
-
}
|
|
1561
|
-
.pkt-section--danger a.pkt-btn--ter {
|
|
1562
|
-
color: black;
|
|
1563
|
-
}
|
|
1564
1556
|
|
|
1565
1557
|
.pkt-section--gray,
|
|
1566
1558
|
.pkt-section--grey {
|
|
1567
1559
|
margin: 1rem 0;
|
|
1568
1560
|
padding: 0.75rem;
|
|
1569
|
-
background-color: #f2f2f2;
|
|
1561
|
+
background-color: var(--pkt-color-surface-default-gray, #f2f2f2);
|
|
1570
1562
|
}
|
|
1571
1563
|
@media screen and (min-width: 36rem) {
|
|
1572
1564
|
.pkt-section--gray,
|
|
@@ -1580,25 +1572,12 @@ pkt-select {
|
|
|
1580
1572
|
padding: 1.5rem;
|
|
1581
1573
|
}
|
|
1582
1574
|
}
|
|
1583
|
-
.pkt-section--gray,
|
|
1584
|
-
.pkt-section--grey {
|
|
1585
|
-
/*
|
|
1586
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1587
|
-
color: white;
|
|
1588
|
-
|
|
1589
|
-
a:not([class^='ok-btn']) {
|
|
1590
|
-
color: white;
|
|
1591
|
-
text-decoration: underline;
|
|
1592
|
-
}
|
|
1593
|
-
}
|
|
1594
|
-
*/
|
|
1595
|
-
}
|
|
1596
1575
|
|
|
1597
1576
|
.pkt-section--success {
|
|
1598
|
-
color:
|
|
1577
|
+
color: var(--pkt-color-text-body-dark, #2a2859);
|
|
1599
1578
|
margin: 1rem 0;
|
|
1600
1579
|
padding: 0.75rem;
|
|
1601
|
-
background-color: #43f8b6;
|
|
1580
|
+
background-color: var(--pkt-color-surface-strong-green, #43f8b6);
|
|
1602
1581
|
}
|
|
1603
1582
|
@media screen and (min-width: 36rem) {
|
|
1604
1583
|
.pkt-section--success {
|
|
@@ -1610,26 +1589,11 @@ pkt-select {
|
|
|
1610
1589
|
padding: 1.5rem;
|
|
1611
1590
|
}
|
|
1612
1591
|
}
|
|
1613
|
-
.pkt-section--success {
|
|
1614
|
-
/*
|
|
1615
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1616
|
-
color: white;
|
|
1617
|
-
|
|
1618
|
-
a:not([class^='ok-btn']) {
|
|
1619
|
-
color: white;
|
|
1620
|
-
text-decoration: underline;
|
|
1621
|
-
}
|
|
1622
|
-
}
|
|
1623
|
-
*/
|
|
1624
|
-
}
|
|
1625
|
-
.pkt-section--success a.pkt-btn--ter {
|
|
1626
|
-
color: black;
|
|
1627
|
-
}
|
|
1628
1592
|
|
|
1629
1593
|
.pkt-section--warning {
|
|
1630
1594
|
margin: 1rem 0;
|
|
1631
1595
|
padding: 0.75rem;
|
|
1632
|
-
background-color: #f9c66b;
|
|
1596
|
+
background-color: var(--pkt-color-surface-strong-yellow, #f9c66b);
|
|
1633
1597
|
}
|
|
1634
1598
|
@media screen and (min-width: 36rem) {
|
|
1635
1599
|
.pkt-section--warning {
|
|
@@ -1641,23 +1605,11 @@ pkt-select {
|
|
|
1641
1605
|
padding: 1.5rem;
|
|
1642
1606
|
}
|
|
1643
1607
|
}
|
|
1644
|
-
.pkt-section--warning {
|
|
1645
|
-
/*
|
|
1646
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1647
|
-
color: white;
|
|
1648
|
-
|
|
1649
|
-
a:not([class^='ok-btn']) {
|
|
1650
|
-
color: white;
|
|
1651
|
-
text-decoration: underline;
|
|
1652
|
-
}
|
|
1653
|
-
}
|
|
1654
|
-
*/
|
|
1655
|
-
}
|
|
1656
1608
|
|
|
1657
1609
|
.pkt-section--info {
|
|
1658
1610
|
margin: 1rem 0;
|
|
1659
1611
|
padding: 0.75rem;
|
|
1660
|
-
background-color: #b3f5ff;
|
|
1612
|
+
background-color: var(--pkt-color-surface-default-light-blue, #b3f5ff);
|
|
1661
1613
|
}
|
|
1662
1614
|
@media screen and (min-width: 36rem) {
|
|
1663
1615
|
.pkt-section--info {
|
|
@@ -1669,27 +1621,12 @@ pkt-select {
|
|
|
1669
1621
|
padding: 1.5rem;
|
|
1670
1622
|
}
|
|
1671
1623
|
}
|
|
1672
|
-
.pkt-section--info {
|
|
1673
|
-
/*
|
|
1674
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1675
|
-
color: white;
|
|
1676
|
-
|
|
1677
|
-
a:not([class^='ok-btn']) {
|
|
1678
|
-
color: white;
|
|
1679
|
-
text-decoration: underline;
|
|
1680
|
-
}
|
|
1681
|
-
}
|
|
1682
|
-
*/
|
|
1683
|
-
}
|
|
1684
|
-
.pkt-section--info a.pkt-btn--ter {
|
|
1685
|
-
color: black;
|
|
1686
|
-
}
|
|
1687
1624
|
|
|
1688
1625
|
.pkt-section--frame {
|
|
1689
|
-
border: 1px solid #2c2c2c;
|
|
1626
|
+
border: 1px solid var(--pkt-color-brand-neutrals-1000, #2c2c2c);
|
|
1690
1627
|
margin: 1rem 0;
|
|
1691
1628
|
padding: 0.75rem;
|
|
1692
|
-
background-color: white;
|
|
1629
|
+
background-color: var(--pkt-color-surface-subtle-white, #ffffff);
|
|
1693
1630
|
}
|
|
1694
1631
|
@media screen and (min-width: 36rem) {
|
|
1695
1632
|
.pkt-section--frame {
|
|
@@ -1701,18 +1638,6 @@ pkt-select {
|
|
|
1701
1638
|
padding: 1.5rem;
|
|
1702
1639
|
}
|
|
1703
1640
|
}
|
|
1704
|
-
.pkt-section--frame {
|
|
1705
|
-
/*
|
|
1706
|
-
@if luminance($backgroundColor) < 0.4 {
|
|
1707
|
-
color: white;
|
|
1708
|
-
|
|
1709
|
-
a:not([class^='ok-btn']) {
|
|
1710
|
-
color: white;
|
|
1711
|
-
text-decoration: underline;
|
|
1712
|
-
}
|
|
1713
|
-
}
|
|
1714
|
-
*/
|
|
1715
|
-
}
|
|
1716
1641
|
|
|
1717
1642
|
[class*=ok-section-] > [class^=ok-title-] {
|
|
1718
1643
|
margin-block-start: 0;
|