@oslokommune/punkt-css 11.8.1 → 11.9.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 +50 -0
- package/dist/css/components/alert.css +44 -0
- package/dist/css/components/alert.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 +45 -1
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +5 -4
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +49 -5
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/components/_alert.scss +53 -6
- package/dist/scss/elements/_hr.scss +2 -1
- package/package.json +2 -2
package/dist/css/pkt.css
CHANGED
|
@@ -13565,7 +13565,7 @@ a:active, a.pkt-link--active,
|
|
|
13565
13565
|
}
|
|
13566
13566
|
.pkt-link--external::after {
|
|
13567
13567
|
content: " ";
|
|
13568
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
13568
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.9/icons/new-window-small.svg);
|
|
13569
13569
|
background-image: var(--svg);
|
|
13570
13570
|
background-repeat: no-repeat;
|
|
13571
13571
|
background-size: 18px 18px;
|
|
@@ -17495,7 +17495,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17495
17495
|
outline-color: var(--pkt-color-input-border-hover);
|
|
17496
17496
|
}
|
|
17497
17497
|
.pkt-input-check__input-checkbox:checked[type=checkbox] {
|
|
17498
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
17498
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.9/icons/check-medium.svg);
|
|
17499
17499
|
position: relative;
|
|
17500
17500
|
background-color: var(--pkt-color-input-border-normal);
|
|
17501
17501
|
}
|
|
@@ -17555,7 +17555,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17555
17555
|
cursor: not-allowed;
|
|
17556
17556
|
}
|
|
17557
17557
|
.pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
|
|
17558
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
17558
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.9/icons/check-medium.svg);
|
|
17559
17559
|
--pkt-color-input-check-border: var(
|
|
17560
17560
|
--pkt-color-input-border-normal
|
|
17561
17561
|
);
|
|
@@ -17671,11 +17671,12 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17671
17671
|
border-color: var(--pkt-color-input-border-error);
|
|
17672
17672
|
}
|
|
17673
17673
|
|
|
17674
|
-
/*
|
|
17674
|
+
/*
|
|
17675
17675
|
* Horisontal divider <hr>
|
|
17676
17676
|
*/
|
|
17677
17677
|
.pkt-hr {
|
|
17678
17678
|
border: 0;
|
|
17679
|
+
width: 100%;
|
|
17679
17680
|
border-top: 1px solid var(--pkt-color-grays-gray-200);
|
|
17680
17681
|
}
|
|
17681
17682
|
|
|
@@ -17782,7 +17783,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
17782
17783
|
}
|
|
17783
17784
|
.pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
|
|
17784
17785
|
.pkt-select:is(select):not([multiple]) {
|
|
17785
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/11.
|
|
17786
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/11.9/icons/chevron-thin-down.svg);
|
|
17786
17787
|
background-image: var(--svg);
|
|
17787
17788
|
background-repeat: no-repeat;
|
|
17788
17789
|
background-position: right 0.7rem top 50%;
|
|
@@ -18360,6 +18361,49 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
18360
18361
|
--pkt-color-alert-bg: var(--pkt-color-surface-default-yellow);
|
|
18361
18362
|
}
|
|
18362
18363
|
|
|
18364
|
+
.pkt-alert--🐣 {
|
|
18365
|
+
--pkt-color-alert-bc: var(--pkt-color-border-yellow);
|
|
18366
|
+
--pkt-color-alert-bg: white;
|
|
18367
|
+
--angle: 0deg;
|
|
18368
|
+
border: 0.25rem solid var(--pkt-color-alert-bc);
|
|
18369
|
+
border-image: conic-gradient(from var(--angle), red, yellow, lime, aqua, blue, magenta, red) 1;
|
|
18370
|
+
animation: 1s 🐣 linear infinite;
|
|
18371
|
+
}
|
|
18372
|
+
.pkt-alert--🐣 .pkt-alert__icon {
|
|
18373
|
+
animation: 0.5s 🐰 linear infinite;
|
|
18374
|
+
font-size: 2rem;
|
|
18375
|
+
}
|
|
18376
|
+
.pkt-alert--🐣.pkt-alert--compact .pkt-alert__icon {
|
|
18377
|
+
font-size: 1.5rem;
|
|
18378
|
+
}
|
|
18379
|
+
|
|
18380
|
+
@keyframes 🐣 {
|
|
18381
|
+
to {
|
|
18382
|
+
--angle: 360deg;
|
|
18383
|
+
}
|
|
18384
|
+
}
|
|
18385
|
+
@keyframes 🐰 {
|
|
18386
|
+
0% {
|
|
18387
|
+
transform: rotate(0deg);
|
|
18388
|
+
}
|
|
18389
|
+
25% {
|
|
18390
|
+
transform: rotate(10deg);
|
|
18391
|
+
}
|
|
18392
|
+
50% {
|
|
18393
|
+
transform: rotate(0eg);
|
|
18394
|
+
}
|
|
18395
|
+
75% {
|
|
18396
|
+
transform: rotate(-10deg);
|
|
18397
|
+
}
|
|
18398
|
+
100% {
|
|
18399
|
+
transform: rotate(0deg);
|
|
18400
|
+
}
|
|
18401
|
+
}
|
|
18402
|
+
@property --angle {
|
|
18403
|
+
syntax: "<angle>";
|
|
18404
|
+
initial-value: 0deg;
|
|
18405
|
+
inherits: false;
|
|
18406
|
+
}
|
|
18363
18407
|
.pkt-alert {
|
|
18364
18408
|
padding: 1.5rem 1.5rem 1.5rem 1.25rem;
|
|
18365
18409
|
display: block;
|