@oslokommune/punkt-css 11.12.8 → 11.13.1
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 +39 -0
- package/dist/css/components/linkcard.css +14 -1
- package/dist/css/components/linkcard.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 +5 -2
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +15 -2
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +5 -17
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +24 -20
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/base/_typography.scss +10 -13
- package/dist/scss/components/_linkcard.scss +23 -5
- package/dist/scss/elements/_table.scss +2 -19
- package/package.json +2 -2
package/dist/css/pkt.css
CHANGED
|
@@ -13544,7 +13544,7 @@ a:active, a.pkt-link--active,
|
|
|
13544
13544
|
}
|
|
13545
13545
|
|
|
13546
13546
|
.pkt-link {
|
|
13547
|
-
display: inline
|
|
13547
|
+
display: inline;
|
|
13548
13548
|
text-align: left;
|
|
13549
13549
|
align-items: center;
|
|
13550
13550
|
}
|
|
@@ -13556,16 +13556,19 @@ a:active, a.pkt-link--active,
|
|
|
13556
13556
|
margin-right: 0.5rem;
|
|
13557
13557
|
}
|
|
13558
13558
|
.pkt-link--icon-left {
|
|
13559
|
+
display: inline-flex;
|
|
13559
13560
|
flex-direction: row;
|
|
13560
13561
|
text-decoration: none;
|
|
13561
13562
|
}
|
|
13562
13563
|
.pkt-link--icon-right {
|
|
13564
|
+
display: inline-flex;
|
|
13563
13565
|
flex-direction: row-reverse;
|
|
13564
13566
|
text-decoration: none;
|
|
13565
13567
|
}
|
|
13566
13568
|
.pkt-link--external::after {
|
|
13569
|
+
display: inline-block;
|
|
13567
13570
|
content: " ";
|
|
13568
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
13571
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/new-window-small.svg);
|
|
13569
13572
|
background-image: var(--svg);
|
|
13570
13573
|
background-repeat: no-repeat;
|
|
13571
13574
|
background-size: 18px 18px;
|
|
@@ -17431,7 +17434,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17431
17434
|
outline-color: var(--pkt-color-input-border-hover);
|
|
17432
17435
|
}
|
|
17433
17436
|
.pkt-input-check__input-checkbox:checked[type=checkbox] {
|
|
17434
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
17437
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/check-medium.svg);
|
|
17435
17438
|
position: relative;
|
|
17436
17439
|
background-color: var(--pkt-color-input-border-normal);
|
|
17437
17440
|
}
|
|
@@ -17491,7 +17494,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17491
17494
|
cursor: not-allowed;
|
|
17492
17495
|
}
|
|
17493
17496
|
.pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
|
|
17494
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
17497
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/check-medium.svg);
|
|
17495
17498
|
--pkt-color-input-check-border: var(
|
|
17496
17499
|
--pkt-color-input-border-normal
|
|
17497
17500
|
);
|
|
@@ -17734,7 +17737,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
17734
17737
|
}
|
|
17735
17738
|
.pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
|
|
17736
17739
|
.pkt-select:is(select):not([multiple]) {
|
|
17737
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
17740
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/chevron-thin-down.svg);
|
|
17738
17741
|
background-image: var(--svg);
|
|
17739
17742
|
background-repeat: no-repeat;
|
|
17740
17743
|
background-position: right 0.7rem top 50%;
|
|
@@ -18254,10 +18257,12 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
18254
18257
|
.pkt-table__header-cell,
|
|
18255
18258
|
.pkt-table th {
|
|
18256
18259
|
padding: 1rem;
|
|
18260
|
+
border-bottom: none;
|
|
18257
18261
|
}
|
|
18258
18262
|
.pkt-table__data-cell,
|
|
18259
18263
|
.pkt-table td {
|
|
18260
18264
|
padding: 1rem;
|
|
18265
|
+
border-bottom: none;
|
|
18261
18266
|
}
|
|
18262
18267
|
|
|
18263
18268
|
.pkt-table__cell-wrapper {
|
|
@@ -18283,16 +18288,6 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
18283
18288
|
border-bottom: 2px solid var(--pkt-color-surface-strong-gray);
|
|
18284
18289
|
}
|
|
18285
18290
|
|
|
18286
|
-
/**
|
|
18287
|
-
* Skin: zebra-grey
|
|
18288
|
-
*/
|
|
18289
|
-
.pkt-table.pkt-table--zebra-grey .pkt-table__body .pkt-table__row:nth-child(odd),
|
|
18290
|
-
.pkt-table.pkt-table--zebra-grey .pkt-table__body tr:nth-child(odd),
|
|
18291
|
-
.pkt-table.pkt-table--zebra-grey tbody .pkt-table__row:nth-child(odd),
|
|
18292
|
-
.pkt-table.pkt-table--zebra-grey tbody tr:nth-child(odd) {
|
|
18293
|
-
background: var(--pkt-color-surface-default-gray);
|
|
18294
|
-
}
|
|
18295
|
-
|
|
18296
18291
|
/**
|
|
18297
18292
|
* Skin: zebra blue
|
|
18298
18293
|
*/
|
|
@@ -18339,10 +18334,6 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
18339
18334
|
padding: 0.5rem 0.5rem;
|
|
18340
18335
|
gap: 0.5rem;
|
|
18341
18336
|
}
|
|
18342
|
-
.pkt-table.pkt-table--responsive .pkt-table__zebra-grey .pkt-table__row:nth-child(odd),
|
|
18343
|
-
.pkt-table.pkt-table--responsive .pkt-table__zebra-grey tr:nth-child(odd) {
|
|
18344
|
-
background: var(--pkt-color-surface-subtle-pale-gray);
|
|
18345
|
-
}
|
|
18346
18337
|
.pkt-table.pkt-table--responsive .pkt-table__zebra-blue .pkt-table__row:nth-child(odd),
|
|
18347
18338
|
.pkt-table.pkt-table--responsive .pkt-table__zebra-blue tr:nth-child(odd) {
|
|
18348
18339
|
background: var(--pkt-color-surface-subtle-pale-blue);
|
|
@@ -20030,11 +20021,17 @@ pkt-el-icon--large {
|
|
|
20030
20021
|
line-height: 2.25rem;
|
|
20031
20022
|
}
|
|
20032
20023
|
}
|
|
20024
|
+
.pkt-linkcard__title.pkt-link--external {
|
|
20025
|
+
display: inline-flex;
|
|
20026
|
+
}
|
|
20033
20027
|
.pkt-linkcard__title.pkt-link--external::after {
|
|
20034
|
-
height:
|
|
20028
|
+
height: 2.25rem;
|
|
20035
20029
|
width: 1.5rem;
|
|
20036
20030
|
background-size: 1.5rem 1.5rem;
|
|
20031
|
+
background-position: center;
|
|
20037
20032
|
margin-left: 0.5rem;
|
|
20033
|
+
flex: 1 0 auto;
|
|
20034
|
+
align-self: flex-start;
|
|
20038
20035
|
}
|
|
20039
20036
|
.pkt-linkcard.pkt-link .pkt-icon.pkt-link__icon,
|
|
20040
20037
|
.pkt-linkcard.pkt-link pkt-icon.pkt-link__icon {
|
|
@@ -20066,6 +20063,13 @@ pkt-el-icon--large {
|
|
|
20066
20063
|
.pkt-linkcard--blue:hover, .pkt-linkcard--blue:focus, .pkt-linkcard--blue:focus-visible, .pkt-linkcard--blue:active {
|
|
20067
20064
|
color: var(--pkt-color-brand-warm-blue-1000) !important;
|
|
20068
20065
|
}
|
|
20066
|
+
.pkt-linkcard--green {
|
|
20067
|
+
background-color: var(--pkt-color-surface-strong-light-green);
|
|
20068
|
+
color: var(--pkt-color-text-body-dark) !important;
|
|
20069
|
+
}
|
|
20070
|
+
.pkt-linkcard--green:hover, .pkt-linkcard--green:focus, .pkt-linkcard--green:focus-visible, .pkt-linkcard--green:active {
|
|
20071
|
+
color: var(--pkt-color-brand-warm-blue-1000) !important;
|
|
20072
|
+
}
|
|
20069
20073
|
.pkt-linkcard--grey-outline {
|
|
20070
20074
|
border: 4px solid var(--pkt-color-border-subtle);
|
|
20071
20075
|
}
|