@oslokommune/punkt-css 12.6.6 → 12.7.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 +6 -0
- package/dist/css/components/calendar.min.css +1 -1
- package/dist/css/components/textinput.css +1 -1
- package/dist/css/components/textinput.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 +7 -1
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +3 -3
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt-normalise.css +0 -9
- package/dist/css/pkt-normalise.min.css +1 -1
- package/dist/css/pkt.css +10 -13
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/components/_calendar.scss +5 -0
- package/dist/scss/normalise/_index.scss +0 -8
- package/package.json +3 -3
|
@@ -1 +1 @@
|
|
|
1
|
-
*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}pre,code,kbd,samp{font-family:monospace,monospace;font-size:1em}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{border-radius:0;-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:none;-moz-appearance:none;appearance:none}input::-webkit-datetime-edit{margin-bottom:-4px}
|
|
1
|
+
*,*::before,*::after{box-sizing:border-box}html{-moz-text-size-adjust:none;-webkit-text-size-adjust:none;text-size-adjust:none}pre,code,kbd,samp{font-family:monospace,monospace;font-size:1em}b,strong{font-weight:bolder}small{font-size:80%}sub,sup{font-size:75%;line-height:0;position:relative;vertical-align:baseline}sub{bottom:-0.25em}sup{top:-0.5em}button,input,optgroup,select,textarea{font-family:inherit;font-size:100%;line-height:1.15;margin:0}button,input{overflow:visible}button,select{text-transform:none}button,[type=button],[type=reset],[type=submit]{border-radius:0;-webkit-appearance:button}button::-moz-focus-inner,[type=button]::-moz-focus-inner,[type=reset]::-moz-focus-inner,[type=submit]::-moz-focus-inner{border-style:none;padding:0}button:-moz-focusring,[type=button]:-moz-focusring,[type=reset]:-moz-focusring,[type=submit]:-moz-focusring{outline:1px dotted ButtonText}fieldset{padding:.35em .75em .625em}legend{box-sizing:border-box;color:inherit;display:table;max-width:100%;padding:0;white-space:normal}progress{vertical-align:baseline}textarea{overflow:auto;resize:vertical}[type=number]::-webkit-inner-spin-button,[type=number]::-webkit-outer-spin-button{height:auto}input[type=date],input[type=time],input[type=datetime-local],input[type=month]{-webkit-appearance:none;-moz-appearance:none;appearance:none}input::-webkit-datetime-edit{margin-bottom:-4px}[type=search]{-webkit-appearance:textfield;outline-offset:-2px}[type=search]::-webkit-search-decoration{-webkit-appearance:none}::-webkit-file-upload-button{-webkit-appearance:button;font:inherit}@media(prefers-reduced-motion: reduce){*{transition-duration:.01ms !important;animation-duration:.01ms !important;animation-iteration-count:1 !important;scroll-behavior:auto !important}}
|
package/dist/css/pkt.css
CHANGED
|
@@ -201,15 +201,6 @@ input::-webkit-datetime-edit {
|
|
|
201
201
|
margin-bottom: -4px;
|
|
202
202
|
}
|
|
203
203
|
|
|
204
|
-
/**
|
|
205
|
-
* Remove the calendar icon in date inputs
|
|
206
|
-
*/
|
|
207
|
-
input[type=date]::-webkit-inner-spin-button,
|
|
208
|
-
input[type=date]::-webkit-calendar-picker-indicator {
|
|
209
|
-
display: none;
|
|
210
|
-
-webkit-appearance: none;
|
|
211
|
-
}
|
|
212
|
-
|
|
213
204
|
/**
|
|
214
205
|
* 1. Correct the odd appearance in Chrome and Safari.
|
|
215
206
|
* 2. Correct the outline style in Safari.
|
|
@@ -14218,7 +14209,7 @@ a:active, a.pkt-link--active,
|
|
|
14218
14209
|
.pkt-link--external::after {
|
|
14219
14210
|
display: inline-block;
|
|
14220
14211
|
content: " ";
|
|
14221
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
14212
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.7/icons/new-window-small.svg);
|
|
14222
14213
|
background-image: var(--svg);
|
|
14223
14214
|
background-repeat: no-repeat;
|
|
14224
14215
|
background-size: 18px 18px;
|
|
@@ -18096,7 +18087,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn.pkt-b
|
|
|
18096
18087
|
outline-color: var(--pkt-color-input-border-hover);
|
|
18097
18088
|
}
|
|
18098
18089
|
.pkt-input-check__input-checkbox:checked[type=checkbox] {
|
|
18099
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
18090
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.7/icons/check-medium.svg);
|
|
18100
18091
|
position: relative;
|
|
18101
18092
|
background-color: var(--pkt-color-input-border-normal);
|
|
18102
18093
|
}
|
|
@@ -18156,7 +18147,7 @@ div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn.pkt-b
|
|
|
18156
18147
|
cursor: not-allowed;
|
|
18157
18148
|
}
|
|
18158
18149
|
.pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
|
|
18159
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
18150
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.7/icons/check-medium.svg);
|
|
18160
18151
|
--pkt-color-input-check-border: var(
|
|
18161
18152
|
--pkt-color-input-border-normal
|
|
18162
18153
|
);
|
|
@@ -18403,7 +18394,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
18403
18394
|
}
|
|
18404
18395
|
.pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
|
|
18405
18396
|
.pkt-select:is(select):not([multiple]) {
|
|
18406
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
18397
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.7/icons/chevron-thin-down.svg);
|
|
18407
18398
|
background-image: var(--svg);
|
|
18408
18399
|
background-repeat: no-repeat;
|
|
18409
18400
|
background-position: right 0.7rem top 50%;
|
|
@@ -19620,6 +19611,12 @@ pkt-datepicker .pkt-datepicker__tags .pkt-tag {
|
|
|
19620
19611
|
box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
19621
19612
|
}
|
|
19622
19613
|
|
|
19614
|
+
.pkt-datepicker__input::-webkit-inner-spin-button,
|
|
19615
|
+
.pkt-datepicker__input::-webkit-calendar-picker-indicator {
|
|
19616
|
+
display: none;
|
|
19617
|
+
-webkit-appearance: none;
|
|
19618
|
+
}
|
|
19619
|
+
|
|
19623
19620
|
/*
|
|
19624
19621
|
* Cardcomponent
|
|
19625
19622
|
*/
|