@oslokommune/punkt-css 11.13.13 → 11.14.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/dist/css/pkt.css CHANGED
@@ -13568,7 +13568,7 @@ a:active, a.pkt-link--active,
13568
13568
  .pkt-link--external::after {
13569
13569
  display: inline-block;
13570
13570
  content: " ";
13571
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/new-window-small.svg);
13571
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.14/icons/new-window-small.svg);
13572
13572
  background-image: var(--svg);
13573
13573
  background-repeat: no-repeat;
13574
13574
  background-size: 18px 18px;
@@ -17434,7 +17434,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17434
17434
  outline-color: var(--pkt-color-input-border-hover);
17435
17435
  }
17436
17436
  .pkt-input-check__input-checkbox:checked[type=checkbox] {
17437
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/check-medium.svg);
17437
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.14/icons/check-medium.svg);
17438
17438
  position: relative;
17439
17439
  background-color: var(--pkt-color-input-border-normal);
17440
17440
  }
@@ -17494,7 +17494,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
17494
17494
  cursor: not-allowed;
17495
17495
  }
17496
17496
  .pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
17497
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/check-medium.svg);
17497
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.14/icons/check-medium.svg);
17498
17498
  --pkt-color-input-check-border: var(
17499
17499
  --pkt-color-input-border-normal
17500
17500
  );
@@ -17737,7 +17737,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
17737
17737
  }
17738
17738
  .pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
17739
17739
  .pkt-select:is(select):not([multiple]) {
17740
- --svg: url(https://punkt-cdn.oslo.kommune.no/11.13/icons/chevron-thin-down.svg);
17740
+ --svg: url(https://punkt-cdn.oslo.kommune.no/11.14/icons/chevron-thin-down.svg);
17741
17741
  background-image: var(--svg);
17742
17742
  background-repeat: no-repeat;
17743
17743
  background-position: right 0.7rem top 50%;
@@ -20337,4 +20337,62 @@ pkt-el-icon--large {
20337
20337
  -webkit-box-orient: vertical;
20338
20338
  overflow: hidden;
20339
20339
  hyphens: auto;
20340
+ }
20341
+
20342
+ .pkt-progressbar {
20343
+ --pkt-progress-width: 0%;
20344
+ --pkt-progress-label-width: 5rem;
20345
+ }
20346
+ .pkt-progressbar__container {
20347
+ margin: 0;
20348
+ }
20349
+ .pkt-progressbar__title {
20350
+ display: block;
20351
+ margin: 0;
20352
+ margin-bottom: 8px;
20353
+ text-align: left;
20354
+ font-weight: 500;
20355
+ font-size: 0.875rem;
20356
+ }
20357
+ .pkt-progressbar__title-center {
20358
+ text-align: center;
20359
+ }
20360
+ .pkt-progressbar__bar-wrapper {
20361
+ background-color: var(--pkt-color-grays-gray-100);
20362
+ height: 8px;
20363
+ overflow: hidden;
20364
+ }
20365
+ .pkt-progressbar__bar {
20366
+ background-color: var(--pkt-color-brand-dark-blue-1000);
20367
+ display: block;
20368
+ width: var(--pkt-progress-width);
20369
+ height: 100%;
20370
+ transition: width 0.5s ease;
20371
+ }
20372
+ .pkt-progressbar__bar--dark-blue {
20373
+ background-color: var(--pkt-color-brand-dark-blue-1000);
20374
+ }
20375
+ .pkt-progressbar__bar--green {
20376
+ background-color: var(--pkt-color-brand-green-1000);
20377
+ }
20378
+ .pkt-progressbar__bar--light-blue {
20379
+ background-color: var(--pkt-color-brand-blue-1000);
20380
+ }
20381
+ .pkt-progressbar__bar--red {
20382
+ background-color: var(--pkt-color-brand-red-1000);
20383
+ }
20384
+ .pkt-progressbar__status {
20385
+ margin-top: 8px;
20386
+ position: relative;
20387
+ white-space: nowrap;
20388
+ font-weight: 400;
20389
+ font-size: 0.75rem;
20390
+ }
20391
+ .pkt-progressbar__status--center {
20392
+ width: 100% !important;
20393
+ text-align: center;
20394
+ }
20395
+ .pkt-progressbar__status-placement--following {
20396
+ margin-left: max(0%, min(100% - var(--pkt-progress-label-width), var(--pkt-progress-width) - var(--pkt-progress-label-width) / 2));
20397
+ transition: margin-left 0.5s ease;
20340
20398
  }