@oslokommune/punkt-css 12.15.0 → 12.18.7

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.
Files changed (45) hide show
  1. package/CHANGELOG.md +36 -0
  2. package/dist/css/components/alert.css +4 -0
  3. package/dist/css/components/alert.min.css +1 -1
  4. package/dist/css/components/card.css +4 -0
  5. package/dist/css/components/card.min.css +1 -1
  6. package/dist/css/components/linkcard.css +4 -0
  7. package/dist/css/components/linkcard.min.css +1 -1
  8. package/dist/css/components/messagebox.css +4 -0
  9. package/dist/css/components/messagebox.min.css +1 -1
  10. package/dist/css/components/textinput.css +1 -1
  11. package/dist/css/components/textinput.min.css +1 -1
  12. package/dist/css/elements/button.css +488 -0
  13. package/dist/css/elements/button.min.css +1 -0
  14. package/dist/css/elements/checkbox-radio.css +287 -0
  15. package/dist/css/elements/checkbox-radio.min.css +1 -0
  16. package/dist/css/elements/form.css +104 -0
  17. package/dist/css/elements/form.min.css +1 -0
  18. package/dist/css/elements/hr.css +8 -0
  19. package/dist/css/elements/hr.min.css +1 -0
  20. package/dist/css/elements/image.css +25 -0
  21. package/dist/css/elements/image.min.css +1 -0
  22. package/dist/css/elements/input.css +269 -0
  23. package/dist/css/elements/input.min.css +1 -0
  24. package/dist/css/elements/list.css +110 -0
  25. package/dist/css/elements/list.min.css +1 -0
  26. package/dist/css/elements/section.css +216 -0
  27. package/dist/css/elements/section.min.css +1 -0
  28. package/dist/css/elements/select.css +302 -0
  29. package/dist/css/elements/select.min.css +1 -0
  30. package/dist/css/elements/table.css +110 -0
  31. package/dist/css/elements/table.min.css +1 -0
  32. package/dist/css/pkt-base.css +1 -1
  33. package/dist/css/pkt-base.min.css +1 -1
  34. package/dist/css/pkt-components.css +17 -1
  35. package/dist/css/pkt-components.min.css +1 -1
  36. package/dist/css/pkt-elements.css +3 -3
  37. package/dist/css/pkt-elements.min.css +1 -1
  38. package/dist/css/pkt.css +20 -4
  39. package/dist/css/pkt.min.css +1 -1
  40. package/dist/scss/abstracts/variables/_index.scss +1 -1
  41. package/dist/scss/components/_alert.scss +4 -0
  42. package/dist/scss/components/_card.scss +4 -0
  43. package/dist/scss/components/_linkcard.scss +4 -0
  44. package/dist/scss/components/_messagebox.scss +4 -0
  45. package/package.json +2 -2
@@ -0,0 +1,269 @@
1
+ /* Common styles for all inputs */
2
+ .pkt-input,
3
+ .pkt-input-prefix,
4
+ .pkt-input-suffix,
5
+ .pkt-input-icon,
6
+ .pkt-input__container {
7
+ --pkt-color-input-background-normal: var(--pkt-color-brand-neutrals-white);
8
+ --pkt-color-input-border-active: var(--pkt-color-brand-warm-blue-1000);
9
+ --pkt-color-input-border-disabled: var(--pkt-color-grays-gray-300);
10
+ --pkt-color-input-border-error: var(--pkt-color-brand-red-1000);
11
+ --pkt-color-input-border-hover: var(--pkt-color-brand-warm-blue-1000);
12
+ --pkt-color-input-border-normal: var(--pkt-color-brand-dark-blue-1000);
13
+ --pkt-color-input-text-active: var(--pkt-color-brand-warm-blue-1000);
14
+ --pkt-color-input-text-disabled: var(--pkt-color-grays-gray-500);
15
+ --pkt-color-input-text-hover: var(--pkt-color-brand-warm-blue-1000);
16
+ --pkt-color-input-text-normal: var(--pkt-color-brand-dark-blue-1000);
17
+ --pkt-color-input-text-error: var(--pkt-color-brand-red-1000);
18
+ --pkt-color-input-text-open: var(--pkt-color-brand-neutrals-white);
19
+ }
20
+
21
+ [data-mode=dark] .pkt-input,
22
+ [data-mode=dark] .pkt-input-prefix,
23
+ [data-mode=dark] .pkt-input-suffix,
24
+ [data-mode=dark] .pkt-input-icon,
25
+ [data-mode=dark] .pkt-input__container {
26
+ --pkt-color-input-background-normal: var(--pkt-color-brand-neutrals-white);
27
+ --pkt-color-input-border-active: var(--pkt-color-brand-blue-500);
28
+ --pkt-color-input-border-disabled: var(--pkt-color-grays-gray-200);
29
+ --pkt-color-input-border-error: var(--pkt-color-brand-red-1000);
30
+ --pkt-color-input-border-hover: var(--pkt-color-brand-blue-500);
31
+ --pkt-color-input-border-normal: var(--pkt-color-brand-neutrals-white);
32
+ --pkt-color-input-text-active: var(--pkt-color-brand-warm-blue-1000);
33
+ --pkt-color-input-text-disabled: var(--pkt-color-grays-gray-200);
34
+ --pkt-color-input-text-hover: var(--pkt-color-brand-warm-blue-1000);
35
+ --pkt-color-input-text-normal: var(--pkt-color-brand-dark-blue-1000);
36
+ --pkt-color-input-text-error: var(--pkt-color-brand-red-1000);
37
+ --pkt-color-input-text-open: var(--pkt-color-brand-dark-blue-1000);
38
+ }
39
+
40
+ .pkt-input {
41
+ display: flex;
42
+ align-items: center;
43
+ appearance: none;
44
+ background-color: var(--pkt-color-input-background-normal);
45
+ border: 2px solid var(--pkt-color-input-border-normal);
46
+ border-radius: 0;
47
+ color: var(--pkt-color-input-text-normal);
48
+ margin: 0;
49
+ padding: 0.5rem 1rem;
50
+ letter-spacing: -0.2px;
51
+ font-weight: 300;
52
+ font-size: 1.125rem;
53
+ line-height: 1.75rem;
54
+ }
55
+ .pkt-input:not(.pkt-input-compact) {
56
+ min-height: 3rem;
57
+ }
58
+ .pkt-input-compact.pkt-input {
59
+ border: 0;
60
+ border-bottom: 1px solid var(--pkt-color-input-border-normal);
61
+ padding: 0 0 0.1rem 0;
62
+ letter-spacing: -0.2px;
63
+ font-weight: 300;
64
+ font-size: 1rem;
65
+ line-height: 1.5rem;
66
+ }
67
+ .pkt-input-compact.pkt-input:is(select):not([multiple]) {
68
+ background-position: right 0 top 50%;
69
+ padding-right: 2rem;
70
+ }
71
+ .pkt-input:not(textarea[cols]):not(input[size]):not(.pkt-input--fullwidth):not(.pkt-datepicker__input:not(.pkt-datepicker--multiple)), .pkt-input__container:not(:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple)))):not(:is(:has(textarea[cols]))):not(:is(:has(input[size]))):not(:is(:has(.pkt-input--fullwidth))) {
72
+ width: min(31rem, 100%);
73
+ }
74
+ .pkt-input__container:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple))):not(:is(:has(.pkt-input--fullwidth))) {
75
+ width: fit-content;
76
+ }
77
+ .pkt-input--fullwidth, .pkt-input--fullwidth + .pkt-input__counter {
78
+ width: 100%;
79
+ }
80
+ .pkt-input:is(textarea) {
81
+ min-height: 8rem;
82
+ }
83
+ .pkt-input:is(select) {
84
+ appearance: none;
85
+ -moz-appearance: none;
86
+ -webkit-appearance: none;
87
+ padding-right: 3rem;
88
+ }
89
+ .pkt-input:is(select):not([multiple]) {
90
+ --svg: url(https://punkt-cdn.oslo.kommune.no/12.18/icons/chevron-thin-down.svg);
91
+ background-image: var(--svg);
92
+ background-repeat: no-repeat;
93
+ background-position: right 0.7rem top 50%;
94
+ background-size: 1.5rem auto, 100%;
95
+ }
96
+ .pkt-input:is(select) option {
97
+ background-color: var(--pkt-color-input-background-normal);
98
+ color: var(--pkt-color-input-text-normal);
99
+ font-weight: normal;
100
+ }
101
+ .pkt-input::placeholder {
102
+ color: var(--pkt-color-text-placeholder);
103
+ opacity: 1;
104
+ }
105
+ .pkt-input:hover, .pkt-input.pkt-input--hover {
106
+ border-color: var(--pkt-color-input-border-hover);
107
+ }
108
+ .pkt-input:focus-visible, .pkt-input.pkt-input__textinput--focus {
109
+ box-shadow: 0 0 0 2px var(--pkt-color-input-border-active);
110
+ border-color: var(--pkt-color-input-border-active);
111
+ }
112
+ .pkt-input:focus {
113
+ outline: none;
114
+ box-shadow: 0 0 0 2px var(--pkt-color-input-border-active);
115
+ border-color: var(--pkt-color-input-border-active);
116
+ }
117
+ .pkt-input:disabled, .pkt-input:disabled::placeholder, .pkt-input[readonly] {
118
+ opacity: 1;
119
+ background-color: var(--pkt-color-surface-default-gray);
120
+ border-color: var(--pkt-color-input-border-disabled);
121
+ cursor: inherit;
122
+ }
123
+ .pkt-input:disabled:active {
124
+ border: 2px solid var(--pkt-color-input-border-disabled);
125
+ }
126
+ .pkt-input-prefix, .pkt-input-suffix, .pkt-input-icon, .pkt-input-separator {
127
+ letter-spacing: -0.2px;
128
+ font-weight: 300;
129
+ font-size: 1.125rem;
130
+ line-height: 1.75rem;
131
+ }
132
+ .pkt-input-prefix, .pkt-input-suffix, .pkt-input-icon, .pkt-input-separator {
133
+ display: flex;
134
+ align-items: center;
135
+ width: auto;
136
+ height: 3rem;
137
+ border: 2px solid var(--pkt-color-input-border-normal);
138
+ flex-shrink: 0;
139
+ color: var(--pkt-color-brand-dark-blue-1000);
140
+ background-color: var(--pkt-color-input-background-normal);
141
+ }
142
+ .pkt-input-prefix {
143
+ padding: 0.5rem 0rem 0.5rem 1rem;
144
+ }
145
+ .pkt-input-prefix::after {
146
+ content: "";
147
+ width: 1px;
148
+ margin-left: 0.5rem;
149
+ height: 100%;
150
+ background-color: var(--pkt-color-brand-dark-blue-1000);
151
+ }
152
+ .pkt-input-suffix {
153
+ padding: 0.5rem 1rem 0.5rem 0rem;
154
+ }
155
+ .pkt-input-suffix svg {
156
+ width: 1.5rem;
157
+ height: 1.5rem;
158
+ margin-left: 0.5rem;
159
+ }
160
+ .pkt-input-suffix::before {
161
+ content: "";
162
+ width: 1px;
163
+ margin-right: 0.5rem;
164
+ height: 1.5rem;
165
+ background-color: var(--pkt-color-brand-dark-blue-1000);
166
+ }
167
+ .pkt-input-icon {
168
+ padding: 0.5rem 1rem;
169
+ align-self: stretch;
170
+ }
171
+ .pkt-input-icon svg {
172
+ width: 1.5rem;
173
+ height: 1.5rem;
174
+ }
175
+ .pkt-input-icon:not(button) svg {
176
+ margin-left: 0.5rem;
177
+ }
178
+ .pkt-input-separator {
179
+ padding: 0.5rem 0;
180
+ }
181
+ .pkt-input--counter-error, .pkt-input--counter-error:focus {
182
+ border-color: var(--pkt-color-input-border-error);
183
+ background-color: var(--pkt-color-surface-default-faded-red);
184
+ }
185
+ .pkt-input--counter-error:focus {
186
+ box-shadow: 0 0 0 2px var(--pkt-color-input-border-error);
187
+ }
188
+ .pkt-input__container {
189
+ display: flex;
190
+ align-items: center;
191
+ align-self: stretch;
192
+ }
193
+ .pkt-input__container:is(:has(input[size])), .pkt-input__container:is(:has(textarea[cols])) {
194
+ align-self: flex-start;
195
+ }
196
+ .pkt-input__container :first-child:not(:only-child) {
197
+ border-right-width: 0;
198
+ }
199
+ .pkt-input__container :last-child:not(:only-child) {
200
+ border-left-width: 0;
201
+ }
202
+ .pkt-input__container :not(:first-child):not(:last-child) {
203
+ border-left-width: 0;
204
+ border-right-width: 0;
205
+ }
206
+ .pkt-input__container p {
207
+ margin: 0;
208
+ }
209
+ .pkt-input__container input:focus {
210
+ outline: none;
211
+ box-shadow: none;
212
+ }
213
+ .pkt-input__container:hover .pkt-input, .pkt-input__container:hover .pkt-input-prefix, .pkt-input__container:hover .pkt-input-suffix, .pkt-input__container:hover .pkt-input-icon {
214
+ border-color: var(--pkt-color-input-border-active);
215
+ }
216
+ .pkt-input__container:hover .pkt-input:disabled, .pkt-input__container:hover .pkt-input-prefix:disabled, .pkt-input__container:hover .pkt-input-suffix:disabled, .pkt-input__container:hover .pkt-input-icon:disabled {
217
+ border-color: var(--pkt-color-input-border-disabled);
218
+ }
219
+ .pkt-input__container:focus-within {
220
+ outline: 2px solid var(--pkt-color-input-border-active);
221
+ }
222
+ .pkt-input__container:focus-within .pkt-input,
223
+ .pkt-input__container:focus-within .pkt-input-prefix,
224
+ .pkt-input__container:focus-within .pkt-input-suffix,
225
+ .pkt-input__container:focus-within .pkt-input-icon {
226
+ border-color: var(--pkt-color-input-border-active);
227
+ }
228
+ .pkt-input__counter {
229
+ letter-spacing: -0.2px;
230
+ font-weight: 300;
231
+ font-size: 0.875rem;
232
+ line-height: 1.375rem;
233
+ }
234
+ .pkt-input__counter {
235
+ width: min(100%, 31rem);
236
+ text-align: right;
237
+ }
238
+ .pkt-input__counter--error {
239
+ letter-spacing: -0.2px;
240
+ font-weight: 500;
241
+ font-size: 0.875rem;
242
+ line-height: 1.375rem;
243
+ }
244
+ .pkt-input__counter--error {
245
+ color: var(--pkt-color-input-text-error);
246
+ }
247
+ .pkt-input__range-inputs {
248
+ min-width: 17rem;
249
+ container: range/inline-size;
250
+ }
251
+
252
+ @container range (width < 30rem) {
253
+ .pkt-input__container {
254
+ border: 2px solid var(--pkt-color-input-border-normal);
255
+ display: grid;
256
+ grid-template-rows: auto auto;
257
+ grid-template-columns: min-content auto 4rem;
258
+ gap: 0;
259
+ }
260
+ .pkt-input__container > :nth-child(2) {
261
+ grid-column-start: span 2;
262
+ }
263
+ .pkt-input__container .pkt-input-prefix,
264
+ .pkt-input__container .pkt-input-suffix,
265
+ .pkt-input__container .pkt-input-icon,
266
+ .pkt-input__container .pkt-input {
267
+ border: 0;
268
+ }
269
+ }
@@ -0,0 +1 @@
1
+ .pkt-input,.pkt-input-prefix,.pkt-input-suffix,.pkt-input-icon,.pkt-input__container{--pkt-color-input-background-normal: var(--pkt-color-brand-neutrals-white);--pkt-color-input-border-active: var(--pkt-color-brand-warm-blue-1000);--pkt-color-input-border-disabled: var(--pkt-color-grays-gray-300);--pkt-color-input-border-error: var(--pkt-color-brand-red-1000);--pkt-color-input-border-hover: var(--pkt-color-brand-warm-blue-1000);--pkt-color-input-border-normal: var(--pkt-color-brand-dark-blue-1000);--pkt-color-input-text-active: var(--pkt-color-brand-warm-blue-1000);--pkt-color-input-text-disabled: var(--pkt-color-grays-gray-500);--pkt-color-input-text-hover: var(--pkt-color-brand-warm-blue-1000);--pkt-color-input-text-normal: var(--pkt-color-brand-dark-blue-1000);--pkt-color-input-text-error: var(--pkt-color-brand-red-1000);--pkt-color-input-text-open: var(--pkt-color-brand-neutrals-white)}[data-mode=dark] .pkt-input,[data-mode=dark] .pkt-input-prefix,[data-mode=dark] .pkt-input-suffix,[data-mode=dark] .pkt-input-icon,[data-mode=dark] .pkt-input__container{--pkt-color-input-background-normal: var(--pkt-color-brand-neutrals-white);--pkt-color-input-border-active: var(--pkt-color-brand-blue-500);--pkt-color-input-border-disabled: var(--pkt-color-grays-gray-200);--pkt-color-input-border-error: var(--pkt-color-brand-red-1000);--pkt-color-input-border-hover: var(--pkt-color-brand-blue-500);--pkt-color-input-border-normal: var(--pkt-color-brand-neutrals-white);--pkt-color-input-text-active: var(--pkt-color-brand-warm-blue-1000);--pkt-color-input-text-disabled: var(--pkt-color-grays-gray-200);--pkt-color-input-text-hover: var(--pkt-color-brand-warm-blue-1000);--pkt-color-input-text-normal: var(--pkt-color-brand-dark-blue-1000);--pkt-color-input-text-error: var(--pkt-color-brand-red-1000);--pkt-color-input-text-open: var(--pkt-color-brand-dark-blue-1000)}.pkt-input{display:flex;align-items:center;appearance:none;background-color:var(--pkt-color-input-background-normal);border:2px solid var(--pkt-color-input-border-normal);border-radius:0;color:var(--pkt-color-input-text-normal);margin:0;padding:.5rem 1rem;letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}.pkt-input:not(.pkt-input-compact){min-height:3rem}.pkt-input-compact.pkt-input{border:0;border-bottom:1px solid var(--pkt-color-input-border-normal);padding:0 0 .1rem 0;letter-spacing:-0.2px;font-weight:300;font-size:1rem;line-height:1.5rem}.pkt-input-compact.pkt-input:is(select):not([multiple]){background-position:right 0 top 50%;padding-right:2rem}.pkt-input:not(textarea[cols]):not(input[size]):not(.pkt-input--fullwidth):not(.pkt-datepicker__input:not(.pkt-datepicker--multiple)),.pkt-input__container:not(:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple)))):not(:is(:has(textarea[cols]))):not(:is(:has(input[size]))):not(:is(:has(.pkt-input--fullwidth))){width:min(31rem,100%)}.pkt-input__container:is(:has(.pkt-datepicker__input:not(.pkt-datepicker--multiple))):not(:is(:has(.pkt-input--fullwidth))){width:fit-content}.pkt-input--fullwidth,.pkt-input--fullwidth+.pkt-input__counter{width:100%}.pkt-input:is(textarea){min-height:8rem}.pkt-input:is(select){appearance:none;-moz-appearance:none;-webkit-appearance:none;padding-right:3rem}.pkt-input:is(select):not([multiple]){--svg: url(https://punkt-cdn.oslo.kommune.no/12.18/icons/chevron-thin-down.svg);background-image:var(--svg);background-repeat:no-repeat;background-position:right .7rem top 50%;background-size:1.5rem auto,100%}.pkt-input:is(select) option{background-color:var(--pkt-color-input-background-normal);color:var(--pkt-color-input-text-normal);font-weight:normal}.pkt-input::placeholder{color:var(--pkt-color-text-placeholder);opacity:1}.pkt-input:hover,.pkt-input.pkt-input--hover{border-color:var(--pkt-color-input-border-hover)}.pkt-input:focus-visible,.pkt-input.pkt-input__textinput--focus{box-shadow:0 0 0 2px var(--pkt-color-input-border-active);border-color:var(--pkt-color-input-border-active)}.pkt-input:focus{outline:none;box-shadow:0 0 0 2px var(--pkt-color-input-border-active);border-color:var(--pkt-color-input-border-active)}.pkt-input:disabled,.pkt-input:disabled::placeholder,.pkt-input[readonly]{opacity:1;background-color:var(--pkt-color-surface-default-gray);border-color:var(--pkt-color-input-border-disabled);cursor:inherit}.pkt-input:disabled:active{border:2px solid var(--pkt-color-input-border-disabled)}.pkt-input-prefix,.pkt-input-suffix,.pkt-input-icon,.pkt-input-separator{letter-spacing:-0.2px;font-weight:300;font-size:1.125rem;line-height:1.75rem}.pkt-input-prefix,.pkt-input-suffix,.pkt-input-icon,.pkt-input-separator{display:flex;align-items:center;width:auto;height:3rem;border:2px solid var(--pkt-color-input-border-normal);flex-shrink:0;color:var(--pkt-color-brand-dark-blue-1000);background-color:var(--pkt-color-input-background-normal)}.pkt-input-prefix{padding:.5rem 0rem .5rem 1rem}.pkt-input-prefix::after{content:"";width:1px;margin-left:.5rem;height:100%;background-color:var(--pkt-color-brand-dark-blue-1000)}.pkt-input-suffix{padding:.5rem 1rem .5rem 0rem}.pkt-input-suffix svg{width:1.5rem;height:1.5rem;margin-left:.5rem}.pkt-input-suffix::before{content:"";width:1px;margin-right:.5rem;height:1.5rem;background-color:var(--pkt-color-brand-dark-blue-1000)}.pkt-input-icon{padding:.5rem 1rem;align-self:stretch}.pkt-input-icon svg{width:1.5rem;height:1.5rem}.pkt-input-icon:not(button) svg{margin-left:.5rem}.pkt-input-separator{padding:.5rem 0}.pkt-input--counter-error,.pkt-input--counter-error:focus{border-color:var(--pkt-color-input-border-error);background-color:var(--pkt-color-surface-default-faded-red)}.pkt-input--counter-error:focus{box-shadow:0 0 0 2px var(--pkt-color-input-border-error)}.pkt-input__container{display:flex;align-items:center;align-self:stretch}.pkt-input__container:is(:has(input[size])),.pkt-input__container:is(:has(textarea[cols])){align-self:flex-start}.pkt-input__container :first-child:not(:only-child){border-right-width:0}.pkt-input__container :last-child:not(:only-child){border-left-width:0}.pkt-input__container :not(:first-child):not(:last-child){border-left-width:0;border-right-width:0}.pkt-input__container p{margin:0}.pkt-input__container input:focus{outline:none;box-shadow:none}.pkt-input__container:hover .pkt-input,.pkt-input__container:hover .pkt-input-prefix,.pkt-input__container:hover .pkt-input-suffix,.pkt-input__container:hover .pkt-input-icon{border-color:var(--pkt-color-input-border-active)}.pkt-input__container:hover .pkt-input:disabled,.pkt-input__container:hover .pkt-input-prefix:disabled,.pkt-input__container:hover .pkt-input-suffix:disabled,.pkt-input__container:hover .pkt-input-icon:disabled{border-color:var(--pkt-color-input-border-disabled)}.pkt-input__container:focus-within{outline:2px solid var(--pkt-color-input-border-active)}.pkt-input__container:focus-within .pkt-input,.pkt-input__container:focus-within .pkt-input-prefix,.pkt-input__container:focus-within .pkt-input-suffix,.pkt-input__container:focus-within .pkt-input-icon{border-color:var(--pkt-color-input-border-active)}.pkt-input__counter{letter-spacing:-0.2px;font-weight:300;font-size:.875rem;line-height:1.375rem}.pkt-input__counter{width:min(100%,31rem);text-align:right}.pkt-input__counter--error{letter-spacing:-0.2px;font-weight:500;font-size:.875rem;line-height:1.375rem}.pkt-input__counter--error{color:var(--pkt-color-input-text-error)}.pkt-input__range-inputs{min-width:17rem;container:range/inline-size}@container range (width < 30rem){.pkt-input__container{border:2px solid var(--pkt-color-input-border-normal);display:grid;grid-template-rows:auto auto;grid-template-columns:min-content auto 4rem;gap:0}.pkt-input__container>:nth-child(2){grid-column-start:span 2}.pkt-input__container .pkt-input-prefix,.pkt-input__container .pkt-input-suffix,.pkt-input__container .pkt-input-icon,.pkt-input__container .pkt-input{border:0}}
@@ -0,0 +1,110 @@
1
+ /*
2
+ * List elements
3
+ */
4
+ .pkt-list {
5
+ display: grid;
6
+ grid-template-columns: auto;
7
+ grid-template-rows: auto;
8
+ list-style: none;
9
+ padding: 0;
10
+ position: relative;
11
+ row-gap: 1.5rem;
12
+ }
13
+ @media screen and (min-width: 48rem) {
14
+ .pkt-list.two-cols-tablet-up {
15
+ column-gap: 1.5rem;
16
+ grid-template-columns: 1fr 1fr;
17
+ grid-template-rows: auto;
18
+ }
19
+ }
20
+ @media screen and (min-width: 80rem) {
21
+ .pkt-list.three-cols-laptop-up {
22
+ column-gap: 1.5rem;
23
+ grid-template-columns: 1fr 1fr 1fr;
24
+ }
25
+ }
26
+ .pkt-list li > a {
27
+ display: grid;
28
+ grid-template-columns: 2rem auto;
29
+ column-gap: 1rem;
30
+ }
31
+
32
+ .pkt-list-horizontal {
33
+ display: flex;
34
+ list-style: none;
35
+ padding: 0;
36
+ }
37
+ .pkt-list-horizontal li {
38
+ padding-right: 1rem;
39
+ }
40
+ .pkt-list-horizontal li + li {
41
+ padding-left: 1rem;
42
+ }
43
+ .pkt-list-horizontal li:last-child {
44
+ padding-right: 0;
45
+ }
46
+ .pkt-list-horizontal.bordered li + li {
47
+ border-left: 1px solid var(--pkt-color-grays-gray-600);
48
+ }
49
+
50
+ .pkt-dl,
51
+ .pkt-dl--narrow {
52
+ display: flex;
53
+ flex-direction: column;
54
+ }
55
+ @supports (display: grid) {
56
+ .pkt-dl,
57
+ .pkt-dl--narrow {
58
+ display: grid;
59
+ flex-direction: column;
60
+ grid-template-columns: 1fr;
61
+ margin: 0.5rem 0;
62
+ }
63
+ }
64
+
65
+ @media screen and (min-width: 48rem) {
66
+ .pkt-dl {
67
+ grid-template-columns: minmax(9rem, auto) 1fr;
68
+ border-bottom: 0;
69
+ }
70
+ }
71
+
72
+ .pkt-dt {
73
+ padding: 0.5em 0 0;
74
+ font-size: 0.875rem;
75
+ border-bottom: none;
76
+ }
77
+ @media screen and (min-width: 48rem) {
78
+ .pkt-dt {
79
+ font-size: inherit;
80
+ }
81
+ }
82
+
83
+ .pkt-dl--narrow > .pkt-dt {
84
+ padding: 0.5em 0 0;
85
+ font-size: 0.875rem;
86
+ border-bottom: none;
87
+ }
88
+
89
+ .pkt-dd {
90
+ padding: 0 0 0.5em;
91
+ font-weight: 500;
92
+ border-bottom: 1px solid rgba(0, 0, 0, 0.15);
93
+ }
94
+ @media screen and (min-width: 48rem) {
95
+ .pkt-dd {
96
+ border-bottom: 1px solid rgba(0, 0, 0, 0.15);
97
+ }
98
+ @supports (display: grid) {
99
+ .pkt-dd {
100
+ padding: 0.25em 0 0.25em 1.25em;
101
+ border-bottom: 0;
102
+ }
103
+ }
104
+ }
105
+
106
+ .pkt-dl--narrow > .pkt-dd {
107
+ padding: 0 0 0.5em;
108
+ font-weight: 500;
109
+ border-bottom: 1px solid rgba(0, 0, 0, 0.15);
110
+ }
@@ -0,0 +1 @@
1
+ .pkt-list{display:grid;grid-template-columns:auto;grid-template-rows:auto;list-style:none;padding:0;position:relative;row-gap:1.5rem}@media screen and (min-width: 48rem){.pkt-list.two-cols-tablet-up{column-gap:1.5rem;grid-template-columns:1fr 1fr;grid-template-rows:auto}}@media screen and (min-width: 80rem){.pkt-list.three-cols-laptop-up{column-gap:1.5rem;grid-template-columns:1fr 1fr 1fr}}.pkt-list li>a{display:grid;grid-template-columns:2rem auto;column-gap:1rem}.pkt-list-horizontal{display:flex;list-style:none;padding:0}.pkt-list-horizontal li{padding-right:1rem}.pkt-list-horizontal li+li{padding-left:1rem}.pkt-list-horizontal li:last-child{padding-right:0}.pkt-list-horizontal.bordered li+li{border-left:1px solid var(--pkt-color-grays-gray-600)}.pkt-dl,.pkt-dl--narrow{display:flex;flex-direction:column}@supports(display: grid){.pkt-dl,.pkt-dl--narrow{display:grid;flex-direction:column;grid-template-columns:1fr;margin:.5rem 0}}@media screen and (min-width: 48rem){.pkt-dl{grid-template-columns:minmax(9rem, auto) 1fr;border-bottom:0}}.pkt-dt{padding:.5em 0 0;font-size:.875rem;border-bottom:none}@media screen and (min-width: 48rem){.pkt-dt{font-size:inherit}}.pkt-dl--narrow>.pkt-dt{padding:.5em 0 0;font-size:.875rem;border-bottom:none}.pkt-dd{padding:0 0 .5em;font-weight:500;border-bottom:1px solid rgba(0,0,0,.15)}@media screen and (min-width: 48rem){.pkt-dd{border-bottom:1px solid rgba(0,0,0,.15)}@supports(display: grid){.pkt-dd{padding:.25em 0 .25em 1.25em;border-bottom:0}}}.pkt-dl--narrow>.pkt-dd{padding:0 0 .5em;font-weight:500;border-bottom:1px solid rgba(0,0,0,.15)}
@@ -0,0 +1,216 @@
1
+ /*
2
+ * Section elements
3
+ *
4
+ */
5
+ .pkt-section {
6
+ margin: 1rem 0;
7
+ }
8
+
9
+ .pkt-section--dark {
10
+ color: white;
11
+ margin: 1rem 0;
12
+ padding: 0.75rem;
13
+ background-color: #2a2859;
14
+ /*
15
+ @if luminance($backgroundColor) < 0.4 {
16
+ color: white;
17
+
18
+ a:not([class^='ok-btn']) {
19
+ color: white;
20
+ text-decoration: underline;
21
+ }
22
+ }
23
+ */
24
+ }
25
+ @media screen and (min-width: 35.938rem) {
26
+ .pkt-section--dark {
27
+ padding: 1rem;
28
+ }
29
+ }
30
+ @media screen and (min-width: 48rem) {
31
+ .pkt-section--dark {
32
+ padding: 1.5rem;
33
+ }
34
+ }
35
+ .pkt-section--dark a.pkt-btn--ter {
36
+ color: white;
37
+ }
38
+
39
+ .pkt-section--danger {
40
+ color: black;
41
+ margin: 1rem 0;
42
+ padding: 0.75rem;
43
+ background-color: #ff8274;
44
+ /*
45
+ @if luminance($backgroundColor) < 0.4 {
46
+ color: white;
47
+
48
+ a:not([class^='ok-btn']) {
49
+ color: white;
50
+ text-decoration: underline;
51
+ }
52
+ }
53
+ */
54
+ }
55
+ @media screen and (min-width: 35.938rem) {
56
+ .pkt-section--danger {
57
+ padding: 1rem;
58
+ }
59
+ }
60
+ @media screen and (min-width: 48rem) {
61
+ .pkt-section--danger {
62
+ padding: 1.5rem;
63
+ }
64
+ }
65
+ .pkt-section--danger a.pkt-btn--ter {
66
+ color: black;
67
+ }
68
+
69
+ .pkt-section--gray,
70
+ .pkt-section--grey {
71
+ margin: 1rem 0;
72
+ padding: 0.75rem;
73
+ background-color: #f2f2f2;
74
+ /*
75
+ @if luminance($backgroundColor) < 0.4 {
76
+ color: white;
77
+
78
+ a:not([class^='ok-btn']) {
79
+ color: white;
80
+ text-decoration: underline;
81
+ }
82
+ }
83
+ */
84
+ }
85
+ @media screen and (min-width: 35.938rem) {
86
+ .pkt-section--gray,
87
+ .pkt-section--grey {
88
+ padding: 1rem;
89
+ }
90
+ }
91
+ @media screen and (min-width: 48rem) {
92
+ .pkt-section--gray,
93
+ .pkt-section--grey {
94
+ padding: 1.5rem;
95
+ }
96
+ }
97
+
98
+ .pkt-section--success {
99
+ color: black;
100
+ margin: 1rem 0;
101
+ padding: 0.75rem;
102
+ background-color: #43f8b6;
103
+ /*
104
+ @if luminance($backgroundColor) < 0.4 {
105
+ color: white;
106
+
107
+ a:not([class^='ok-btn']) {
108
+ color: white;
109
+ text-decoration: underline;
110
+ }
111
+ }
112
+ */
113
+ }
114
+ @media screen and (min-width: 35.938rem) {
115
+ .pkt-section--success {
116
+ padding: 1rem;
117
+ }
118
+ }
119
+ @media screen and (min-width: 48rem) {
120
+ .pkt-section--success {
121
+ padding: 1.5rem;
122
+ }
123
+ }
124
+ .pkt-section--success a.pkt-btn--ter {
125
+ color: black;
126
+ }
127
+
128
+ .pkt-section--warning {
129
+ margin: 1rem 0;
130
+ padding: 0.75rem;
131
+ background-color: #f9c66b;
132
+ /*
133
+ @if luminance($backgroundColor) < 0.4 {
134
+ color: white;
135
+
136
+ a:not([class^='ok-btn']) {
137
+ color: white;
138
+ text-decoration: underline;
139
+ }
140
+ }
141
+ */
142
+ }
143
+ @media screen and (min-width: 35.938rem) {
144
+ .pkt-section--warning {
145
+ padding: 1rem;
146
+ }
147
+ }
148
+ @media screen and (min-width: 48rem) {
149
+ .pkt-section--warning {
150
+ padding: 1.5rem;
151
+ }
152
+ }
153
+
154
+ .pkt-section--info {
155
+ margin: 1rem 0;
156
+ padding: 0.75rem;
157
+ background-color: #b3f5ff;
158
+ /*
159
+ @if luminance($backgroundColor) < 0.4 {
160
+ color: white;
161
+
162
+ a:not([class^='ok-btn']) {
163
+ color: white;
164
+ text-decoration: underline;
165
+ }
166
+ }
167
+ */
168
+ }
169
+ @media screen and (min-width: 35.938rem) {
170
+ .pkt-section--info {
171
+ padding: 1rem;
172
+ }
173
+ }
174
+ @media screen and (min-width: 48rem) {
175
+ .pkt-section--info {
176
+ padding: 1.5rem;
177
+ }
178
+ }
179
+ .pkt-section--info a.pkt-btn--ter {
180
+ color: black;
181
+ }
182
+
183
+ .pkt-section--frame {
184
+ border: 1px solid #2c2c2c;
185
+ margin: 1rem 0;
186
+ padding: 0.75rem;
187
+ background-color: white;
188
+ /*
189
+ @if luminance($backgroundColor) < 0.4 {
190
+ color: white;
191
+
192
+ a:not([class^='ok-btn']) {
193
+ color: white;
194
+ text-decoration: underline;
195
+ }
196
+ }
197
+ */
198
+ }
199
+ @media screen and (min-width: 35.938rem) {
200
+ .pkt-section--frame {
201
+ padding: 1rem;
202
+ }
203
+ }
204
+ @media screen and (min-width: 48rem) {
205
+ .pkt-section--frame {
206
+ padding: 1.5rem;
207
+ }
208
+ }
209
+
210
+ [class*=ok-section-] > [class^=ok-title-] {
211
+ margin-top: 0;
212
+ }
213
+
214
+ .pkt-section--margin-top {
215
+ margin-top: 2.5rem;
216
+ }
@@ -0,0 +1 @@
1
+ .pkt-section{margin:1rem 0}.pkt-section--dark{color:#fff;margin:1rem 0;padding:.75rem;background-color:#2a2859}@media screen and (min-width: 35.938rem){.pkt-section--dark{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--dark{padding:1.5rem}}.pkt-section--dark a.pkt-btn--ter{color:#fff}.pkt-section--danger{color:#000;margin:1rem 0;padding:.75rem;background-color:#ff8274}@media screen and (min-width: 35.938rem){.pkt-section--danger{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--danger{padding:1.5rem}}.pkt-section--danger a.pkt-btn--ter{color:#000}.pkt-section--gray,.pkt-section--grey{margin:1rem 0;padding:.75rem;background-color:#f2f2f2}@media screen and (min-width: 35.938rem){.pkt-section--gray,.pkt-section--grey{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--gray,.pkt-section--grey{padding:1.5rem}}.pkt-section--success{color:#000;margin:1rem 0;padding:.75rem;background-color:#43f8b6}@media screen and (min-width: 35.938rem){.pkt-section--success{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--success{padding:1.5rem}}.pkt-section--success a.pkt-btn--ter{color:#000}.pkt-section--warning{margin:1rem 0;padding:.75rem;background-color:#f9c66b}@media screen and (min-width: 35.938rem){.pkt-section--warning{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--warning{padding:1.5rem}}.pkt-section--info{margin:1rem 0;padding:.75rem;background-color:#b3f5ff}@media screen and (min-width: 35.938rem){.pkt-section--info{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--info{padding:1.5rem}}.pkt-section--info a.pkt-btn--ter{color:#000}.pkt-section--frame{border:1px solid #2c2c2c;margin:1rem 0;padding:.75rem;background-color:#fff}@media screen and (min-width: 35.938rem){.pkt-section--frame{padding:1rem}}@media screen and (min-width: 48rem){.pkt-section--frame{padding:1.5rem}}[class*=ok-section-]>[class^=ok-title-]{margin-top:0}.pkt-section--margin-top{margin-top:2.5rem}