@oslokommune/punkt-css 7.1.7 → 8.0.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 +38 -0
- package/dist/css/components/breadcrumbs.css +22 -38
- package/dist/css/components/breadcrumbs.min.css +1 -1
- package/dist/css/components/inputwrapper.css +31 -31
- package/dist/css/components/inputwrapper.min.css +1 -1
- package/dist/css/components/textinput.css +65 -34
- 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 +118 -103
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +191 -57
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +251 -273
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/base/_typography.scss +1 -1
- package/dist/scss/components/_breadcrumbs.scss +24 -47
- package/dist/scss/components/_inputwrapper.scss +34 -34
- package/dist/scss/components/_textinput.scss +8 -175
- package/dist/scss/elements/_checkbox-radio.scss +1 -1
- package/dist/scss/elements/_index.scss +1 -0
- package/dist/scss/elements/_input.scss +208 -0
- package/dist/scss/elements/_select.scss +6 -66
- package/package.json +3 -3
package/dist/css/pkt.css
CHANGED
|
@@ -12361,7 +12361,7 @@ a:active, a.pkt-link--active,
|
|
|
12361
12361
|
}
|
|
12362
12362
|
.pkt-link--external::after {
|
|
12363
12363
|
content: " ";
|
|
12364
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
12364
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/8.0/icons/new-window-small.svg);
|
|
12365
12365
|
background-image: var(--svg);
|
|
12366
12366
|
background-repeat: no-repeat;
|
|
12367
12367
|
background-size: 18px 18px;
|
|
@@ -13377,7 +13377,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
13377
13377
|
border: 6px solid var(--choice-checked-rb-bc);
|
|
13378
13378
|
}
|
|
13379
13379
|
.pkt-form-check-input:checked[type=checkbox] {
|
|
13380
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
13380
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/8.0/icons/check-medium.svg);
|
|
13381
13381
|
position: relative;
|
|
13382
13382
|
background-color: blue;
|
|
13383
13383
|
}
|
|
@@ -13476,6 +13476,194 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13476
13476
|
display: inline-block;
|
|
13477
13477
|
}
|
|
13478
13478
|
|
|
13479
|
+
/* Common styles for all inputs */
|
|
13480
|
+
.pkt-input, .pkt-textinput__input, .pkt-select select,
|
|
13481
|
+
.pkt-select:is(select) {
|
|
13482
|
+
font-size: 1.125rem;
|
|
13483
|
+
font-weight: 300;
|
|
13484
|
+
letter-spacing: -0.2px;
|
|
13485
|
+
line-height: 1.75rem;
|
|
13486
|
+
display: flex;
|
|
13487
|
+
align-items: center;
|
|
13488
|
+
appearance: none;
|
|
13489
|
+
background-color: var(--color-white);
|
|
13490
|
+
border: 2px solid var(--color-blue-dark);
|
|
13491
|
+
border-radius: 0;
|
|
13492
|
+
color: var(--color-blue-dark);
|
|
13493
|
+
margin: 0;
|
|
13494
|
+
padding: 0.5rem 1rem;
|
|
13495
|
+
width: 100%;
|
|
13496
|
+
}
|
|
13497
|
+
.pkt-input:is(textarea), .pkt-textinput__input:is(textarea), .pkt-select select:is(textarea),
|
|
13498
|
+
.pkt-select:is(textarea):is(select) {
|
|
13499
|
+
min-height: 8rem;
|
|
13500
|
+
}
|
|
13501
|
+
.pkt-input:is(select), .pkt-textinput__input:is(select), .pkt-select select:is(select),
|
|
13502
|
+
.pkt-select:is(select) {
|
|
13503
|
+
appearance: none;
|
|
13504
|
+
-moz-appearance: none;
|
|
13505
|
+
-webkit-appearance: none;
|
|
13506
|
+
padding-right: 3rem;
|
|
13507
|
+
}
|
|
13508
|
+
.pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
|
|
13509
|
+
.pkt-select:is(select):not([multiple]) {
|
|
13510
|
+
background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 32 32'%3E%3Cpath fill='var(--fg-color %232A2859)' fill-rule='evenodd' d='M16 19.41 6.33 10 5 11.29 16 22l11-10.71L25.67 10 16 19.41z'/%3E%3C/svg%3E");
|
|
13511
|
+
background-repeat: no-repeat;
|
|
13512
|
+
background-position: right 0.7rem top 50%;
|
|
13513
|
+
background-size: 1.5rem auto, 100%;
|
|
13514
|
+
}
|
|
13515
|
+
.pkt-input:is(select) option, .pkt-textinput__input:is(select) option, .pkt-select select:is(select) option,
|
|
13516
|
+
.pkt-select:is(select) option {
|
|
13517
|
+
background-color: var(--color-white);
|
|
13518
|
+
color: var(--color-blue-dark);
|
|
13519
|
+
font-weight: normal;
|
|
13520
|
+
}
|
|
13521
|
+
.pkt-input::placeholder, .pkt-textinput__input::placeholder, .pkt-select select::placeholder,
|
|
13522
|
+
.pkt-select:is(select)::placeholder {
|
|
13523
|
+
color: var(--color-grayscale-50);
|
|
13524
|
+
opacity: 1;
|
|
13525
|
+
}
|
|
13526
|
+
.pkt-input:hover, .pkt-textinput__input:hover, .pkt-select select:hover,
|
|
13527
|
+
.pkt-select:hover:is(select), .pkt-input.pkt-input--hover, .pkt-input--hover.pkt-textinput__input, .pkt-select select.pkt-input--hover,
|
|
13528
|
+
.pkt-input--hover.pkt-select:is(select) {
|
|
13529
|
+
border-color: var(--color-hover);
|
|
13530
|
+
}
|
|
13531
|
+
.pkt-input:focus-visible + .pkt-input-suffix, .pkt-textinput__input:focus-visible + .pkt-input-suffix, .pkt-select select:focus-visible + .pkt-input-suffix,
|
|
13532
|
+
.pkt-select:focus-visible:is(select) + .pkt-input-suffix, .pkt-input.pkt-input__textinput--focus, .pkt-input__textinput--focus.pkt-textinput__input, .pkt-select select.pkt-input__textinput--focus,
|
|
13533
|
+
.pkt-input__textinput--focus.pkt-select:is(select) {
|
|
13534
|
+
box-shadow: 0 0 0 2px var(--color-active);
|
|
13535
|
+
border-color: var(--color-active);
|
|
13536
|
+
}
|
|
13537
|
+
.pkt-input:focus, .pkt-textinput__input:focus, .pkt-select select:focus,
|
|
13538
|
+
.pkt-select:focus:is(select) {
|
|
13539
|
+
outline: none;
|
|
13540
|
+
box-shadow: 0 0 0 2px var(--color-active);
|
|
13541
|
+
border-color: var(--color-active);
|
|
13542
|
+
}
|
|
13543
|
+
.pkt-input:disabled, .pkt-textinput__input:disabled, .pkt-select select:disabled,
|
|
13544
|
+
.pkt-select:disabled:is(select), .pkt-input:disabled::placeholder, .pkt-textinput__input:disabled::placeholder, .pkt-select select:disabled::placeholder,
|
|
13545
|
+
.pkt-select:disabled:is(select)::placeholder, .pkt-input[readonly], [readonly].pkt-textinput__input, .pkt-select select[readonly],
|
|
13546
|
+
[readonly].pkt-select:is(select) {
|
|
13547
|
+
opacity: 1;
|
|
13548
|
+
background-color: var(--color-disabled-light);
|
|
13549
|
+
border-color: var(--color-disabled);
|
|
13550
|
+
cursor: inherit;
|
|
13551
|
+
}
|
|
13552
|
+
.pkt-input:disabled:active, .pkt-textinput__input:disabled:active, .pkt-select select:disabled:active,
|
|
13553
|
+
.pkt-select:disabled:active:is(select) {
|
|
13554
|
+
border: 2px solid var(--color-disabled);
|
|
13555
|
+
}
|
|
13556
|
+
.pkt-input-prefix, .pkt-input-suffix, .pkt-input-icon {
|
|
13557
|
+
font-size: 1.125rem;
|
|
13558
|
+
font-weight: 300;
|
|
13559
|
+
letter-spacing: -0.2px;
|
|
13560
|
+
line-height: 1.75rem;
|
|
13561
|
+
display: flex;
|
|
13562
|
+
align-items: center;
|
|
13563
|
+
width: auto;
|
|
13564
|
+
height: 3rem;
|
|
13565
|
+
border: 2px solid var(--color-blue-dark);
|
|
13566
|
+
flex-shrink: 0;
|
|
13567
|
+
}
|
|
13568
|
+
.pkt-input-prefix {
|
|
13569
|
+
padding: 0.5rem 0rem 0.5rem 1rem;
|
|
13570
|
+
}
|
|
13571
|
+
.pkt-input-prefix::after {
|
|
13572
|
+
content: "";
|
|
13573
|
+
width: 1px;
|
|
13574
|
+
margin-left: 0.5rem;
|
|
13575
|
+
height: 100%;
|
|
13576
|
+
background-color: var(--color-blue-dark);
|
|
13577
|
+
}
|
|
13578
|
+
.pkt-input-suffix {
|
|
13579
|
+
padding: 0.5rem 1rem 0.5rem 0rem;
|
|
13580
|
+
}
|
|
13581
|
+
.pkt-input-suffix svg {
|
|
13582
|
+
width: 1.5rem;
|
|
13583
|
+
height: 1.5rem;
|
|
13584
|
+
margin-left: 0.5rem;
|
|
13585
|
+
}
|
|
13586
|
+
.pkt-input-suffix::before {
|
|
13587
|
+
content: "";
|
|
13588
|
+
width: 1px;
|
|
13589
|
+
margin-right: 0.5rem;
|
|
13590
|
+
height: 1.5rem;
|
|
13591
|
+
background-color: var(--color-blue-dark);
|
|
13592
|
+
}
|
|
13593
|
+
.pkt-input-icon {
|
|
13594
|
+
padding: 0.5rem 1rem;
|
|
13595
|
+
align-self: stretch;
|
|
13596
|
+
}
|
|
13597
|
+
.pkt-input-icon svg {
|
|
13598
|
+
width: 1.5rem;
|
|
13599
|
+
height: 1.5rem;
|
|
13600
|
+
margin-left: 0.5rem;
|
|
13601
|
+
}
|
|
13602
|
+
.pkt-input--counter-error, .pkt-input--counter-error:focus {
|
|
13603
|
+
border-color: var(--color-red);
|
|
13604
|
+
background-color: var(--color-red-30);
|
|
13605
|
+
}
|
|
13606
|
+
.pkt-input--counter-error:focus {
|
|
13607
|
+
box-shadow: 0 0 0 2px var(--color-red);
|
|
13608
|
+
}
|
|
13609
|
+
.pkt-input__container {
|
|
13610
|
+
display: flex;
|
|
13611
|
+
align-items: center;
|
|
13612
|
+
align-self: stretch;
|
|
13613
|
+
}
|
|
13614
|
+
.pkt-input__container :first-child:not(:only-child) {
|
|
13615
|
+
border-right: none;
|
|
13616
|
+
}
|
|
13617
|
+
.pkt-input__container :last-child:not(:only-child) {
|
|
13618
|
+
border-left: none;
|
|
13619
|
+
}
|
|
13620
|
+
.pkt-input__container :not(:first-child):not(:last-child) {
|
|
13621
|
+
border-left: none;
|
|
13622
|
+
border-right: none;
|
|
13623
|
+
}
|
|
13624
|
+
.pkt-input__container p {
|
|
13625
|
+
margin: 0;
|
|
13626
|
+
}
|
|
13627
|
+
.pkt-input__container input:focus {
|
|
13628
|
+
box-shadow: none;
|
|
13629
|
+
}
|
|
13630
|
+
.pkt-input__container:hover .pkt-input, .pkt-input__container:hover .pkt-textinput__input, .pkt-input__container:hover .pkt-select select, .pkt-select .pkt-input__container:hover select,
|
|
13631
|
+
.pkt-input__container:hover .pkt-select:is(select), .pkt-input__container:hover .pkt-input-prefix, .pkt-input__container:hover .pkt-input-suffix, .pkt-input__container:hover .pkt-input-icon {
|
|
13632
|
+
border-color: var(--color-hover);
|
|
13633
|
+
}
|
|
13634
|
+
.pkt-input__container:focus-within {
|
|
13635
|
+
outline: 2px solid var(--color-active);
|
|
13636
|
+
}
|
|
13637
|
+
.pkt-input__container:focus-within .pkt-input, .pkt-input__container:focus-within .pkt-textinput__input, .pkt-input__container:focus-within .pkt-select select, .pkt-select .pkt-input__container:focus-within select,
|
|
13638
|
+
.pkt-input__container:focus-within .pkt-select:is(select),
|
|
13639
|
+
.pkt-input__container:focus-within .pkt-input-prefix,
|
|
13640
|
+
.pkt-input__container:focus-within .pkt-input-suffix,
|
|
13641
|
+
.pkt-input__container:focus-within .pkt-input-icon {
|
|
13642
|
+
border-color: var(--color-active);
|
|
13643
|
+
}
|
|
13644
|
+
.pkt-input__counter {
|
|
13645
|
+
font-size: 0.875rem;
|
|
13646
|
+
font-weight: 300;
|
|
13647
|
+
letter-spacing: -0.2px;
|
|
13648
|
+
line-height: 1.375rem;
|
|
13649
|
+
width: 100%;
|
|
13650
|
+
text-align: right;
|
|
13651
|
+
}
|
|
13652
|
+
.pkt-input__counter--error {
|
|
13653
|
+
font-size: 0.875rem;
|
|
13654
|
+
font-weight: 500;
|
|
13655
|
+
letter-spacing: -0.2px;
|
|
13656
|
+
line-height: 1.375rem;
|
|
13657
|
+
color: var(--color-red);
|
|
13658
|
+
}
|
|
13659
|
+
|
|
13660
|
+
[data-mode=dark] .pkt-input-prefix,
|
|
13661
|
+
[data-mode=dark] .pkt-input-suffix,
|
|
13662
|
+
[data-mode=dark] .pkt-input-icon {
|
|
13663
|
+
background-color: var(--color-white);
|
|
13664
|
+
color: var(--color-blue-dark);
|
|
13665
|
+
}
|
|
13666
|
+
|
|
13479
13667
|
/*
|
|
13480
13668
|
* List elements
|
|
13481
13669
|
*/
|
|
@@ -13804,63 +13992,9 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
13804
13992
|
/*
|
|
13805
13993
|
* Select component
|
|
13806
13994
|
*
|
|
13807
|
-
*
|
|
13808
|
-
*
|
|
13995
|
+
* Denne blir stilsatt av .pkt-input
|
|
13996
|
+
* Ikke bruk klassen .pkt-select
|
|
13809
13997
|
*/
|
|
13810
|
-
.pkt-select {
|
|
13811
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/7.1/icons/chevron-thin-down.svg);
|
|
13812
|
-
display: block;
|
|
13813
|
-
background-color: var(--color-white);
|
|
13814
|
-
background-image: var(--svg);
|
|
13815
|
-
background-repeat: no-repeat;
|
|
13816
|
-
background-position: right 0.7rem top 50%;
|
|
13817
|
-
background-size: 2rem auto, 100%;
|
|
13818
|
-
border: 2px solid var(--color-blue-dark);
|
|
13819
|
-
border-radius: 0;
|
|
13820
|
-
color: var(--color-blue-dark);
|
|
13821
|
-
font-family: inherit;
|
|
13822
|
-
font-size: 1rem;
|
|
13823
|
-
font-weight: normal;
|
|
13824
|
-
height: 3.125rem;
|
|
13825
|
-
line-height: 2rem;
|
|
13826
|
-
margin: 0;
|
|
13827
|
-
max-width: 100%;
|
|
13828
|
-
padding: 0.4375rem 3rem 0.4375rem 0.5rem;
|
|
13829
|
-
width: 100%;
|
|
13830
|
-
appearance: none;
|
|
13831
|
-
-moz-appearance: none;
|
|
13832
|
-
-webkit-appearance: none;
|
|
13833
|
-
}
|
|
13834
|
-
.pkt-select::-ms-expand {
|
|
13835
|
-
display: none;
|
|
13836
|
-
}
|
|
13837
|
-
.pkt-select:enabled:focus {
|
|
13838
|
-
border-color: var(--color-active);
|
|
13839
|
-
outline: 2px solid var(--color-active);
|
|
13840
|
-
}
|
|
13841
|
-
.pkt-select:enabled:hover {
|
|
13842
|
-
--fg-color: var(--color-active);
|
|
13843
|
-
border-color: var(--color-active);
|
|
13844
|
-
color: var(--color-active);
|
|
13845
|
-
}
|
|
13846
|
-
.pkt-select:enabled:active {
|
|
13847
|
-
border-color: var(--color-active);
|
|
13848
|
-
outline: none;
|
|
13849
|
-
}
|
|
13850
|
-
.pkt-select:-moz-focusring {
|
|
13851
|
-
color: transparent;
|
|
13852
|
-
text-shadow: 0 0 0 var(--color-active);
|
|
13853
|
-
}
|
|
13854
|
-
.pkt-select:disabled {
|
|
13855
|
-
filter: grayscale(1) brightness(4.16);
|
|
13856
|
-
font-weight: 500;
|
|
13857
|
-
}
|
|
13858
|
-
.pkt-select option {
|
|
13859
|
-
background-color: var(--color-white);
|
|
13860
|
-
color: var(--color-blue-dark);
|
|
13861
|
-
font-weight: normal;
|
|
13862
|
-
}
|
|
13863
|
-
|
|
13864
13998
|
/*
|
|
13865
13999
|
* Table elements
|
|
13866
14000
|
*/
|
|
@@ -14229,23 +14363,14 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14229
14363
|
.pkt-breadcrumbs {
|
|
14230
14364
|
position: relative;
|
|
14231
14365
|
font-size: 0.875rem;
|
|
14232
|
-
|
|
14233
|
-
|
|
14234
|
-
|
|
14235
|
-
.pkt-breadcrumbs {
|
|
14236
|
-
margin-bottom: 1rem;
|
|
14237
|
-
}
|
|
14238
|
-
}
|
|
14239
|
-
@media screen and (min-width: 80rem) {
|
|
14240
|
-
.pkt-breadcrumbs {
|
|
14241
|
-
padding: 0 4rem;
|
|
14242
|
-
}
|
|
14366
|
+
font-weight: 300;
|
|
14367
|
+
letter-spacing: -0.2px;
|
|
14368
|
+
line-height: 1.375rem;
|
|
14243
14369
|
}
|
|
14244
14370
|
.pkt-breadcrumbs__list {
|
|
14245
14371
|
display: flex;
|
|
14246
14372
|
flex-direction: column;
|
|
14247
14373
|
height: auto;
|
|
14248
|
-
overflow: hidden;
|
|
14249
14374
|
list-style-type: none;
|
|
14250
14375
|
border-bottom: 1px solid transparent;
|
|
14251
14376
|
transition: all 0.4s ease-in-out;
|
|
@@ -14253,26 +14378,14 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14253
14378
|
@media screen and (min-width: 35.938rem) {
|
|
14254
14379
|
.pkt-breadcrumbs__list {
|
|
14255
14380
|
flex-direction: row;
|
|
14256
|
-
padding: 0 1rem;
|
|
14257
14381
|
border-bottom-color: transparent !important;
|
|
14258
14382
|
}
|
|
14259
14383
|
}
|
|
14260
|
-
.pkt-breadcrumbs__list.expanded {
|
|
14261
|
-
align-items: flex-start;
|
|
14262
|
-
max-height: 25rem;
|
|
14263
|
-
border-bottom-color: var(--color-gray);
|
|
14264
|
-
transition: all 0.4s ease-in-out;
|
|
14265
|
-
}
|
|
14266
|
-
.pkt-breadcrumbs__list.expanded > .pkt-breadcrumbs__item {
|
|
14267
|
-
display: block;
|
|
14268
|
-
}
|
|
14269
|
-
.pkt-breadcrumbs__list.expanded > .pkt-breadcrumbs__item:last-child {
|
|
14270
|
-
display: block;
|
|
14271
|
-
}
|
|
14272
14384
|
.pkt-breadcrumbs__item {
|
|
14273
14385
|
position: relative;
|
|
14274
14386
|
display: none;
|
|
14275
14387
|
width: 100%;
|
|
14388
|
+
text-decoration: underline;
|
|
14276
14389
|
}
|
|
14277
14390
|
@media screen and (min-width: 35.938rem) {
|
|
14278
14391
|
.pkt-breadcrumbs__item {
|
|
@@ -14282,6 +14395,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14282
14395
|
}
|
|
14283
14396
|
.pkt-breadcrumbs__item:last-child {
|
|
14284
14397
|
display: block;
|
|
14398
|
+
text-decoration: none;
|
|
14285
14399
|
}
|
|
14286
14400
|
@media screen and (min-width: 48rem) {
|
|
14287
14401
|
.pkt-breadcrumbs__item:last-child {
|
|
@@ -14291,23 +14405,11 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14291
14405
|
.pkt-breadcrumbs__item:last-child .pkt-breadcrumbs__text {
|
|
14292
14406
|
max-width: 200px;
|
|
14293
14407
|
}
|
|
14294
|
-
.pkt-breadcrumbs__link {
|
|
14295
|
-
text-decoration: none;
|
|
14296
|
-
color: var(--color-blue-dark);
|
|
14297
|
-
}
|
|
14298
|
-
.pkt-breadcrumbs__link:visited, .pkt-breadcrumbs__link:focus, .pkt-breadcrumbs__link:hover, .pkt-breadcrumbs__link:active {
|
|
14299
|
-
color: var(--color-blue-dark);
|
|
14300
|
-
}
|
|
14301
|
-
.pkt-breadcrumbs__link:hover {
|
|
14302
|
-
text-decoration: underline;
|
|
14303
|
-
}
|
|
14304
14408
|
.pkt-breadcrumbs__label {
|
|
14305
14409
|
display: flex;
|
|
14306
14410
|
align-items: center;
|
|
14307
|
-
justify-content: flex-start;
|
|
14308
14411
|
width: 100%;
|
|
14309
14412
|
white-space: nowrap;
|
|
14310
|
-
padding: 0.75rem 1rem 1rem 0;
|
|
14311
14413
|
}
|
|
14312
14414
|
.pkt-breadcrumbs__text {
|
|
14313
14415
|
display: block;
|
|
@@ -14334,7 +14436,23 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14334
14436
|
.pkt-breadcrumbs__icon {
|
|
14335
14437
|
width: 1rem;
|
|
14336
14438
|
height: 1rem;
|
|
14337
|
-
margin-
|
|
14439
|
+
margin-left: 0.5rem;
|
|
14440
|
+
}
|
|
14441
|
+
.pkt-breadcrumbs--desktop {
|
|
14442
|
+
display: none !important;
|
|
14443
|
+
}
|
|
14444
|
+
@media screen and (min-width: 35.938rem) {
|
|
14445
|
+
.pkt-breadcrumbs--desktop {
|
|
14446
|
+
display: inline-flex !important;
|
|
14447
|
+
}
|
|
14448
|
+
}
|
|
14449
|
+
.pkt-breadcrumbs--mobile {
|
|
14450
|
+
display: inline-flex !important;
|
|
14451
|
+
}
|
|
14452
|
+
@media screen and (min-width: 35.938rem) {
|
|
14453
|
+
.pkt-breadcrumbs--mobile {
|
|
14454
|
+
display: none !important;
|
|
14455
|
+
}
|
|
14338
14456
|
}
|
|
14339
14457
|
|
|
14340
14458
|
/*
|
|
@@ -14825,6 +14943,12 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14825
14943
|
letter-spacing: -0.2px;
|
|
14826
14944
|
line-height: 1.375rem;
|
|
14827
14945
|
}
|
|
14946
|
+
.pkt-inputwrapper__helptext > *:first-child {
|
|
14947
|
+
margin-top: 0;
|
|
14948
|
+
}
|
|
14949
|
+
.pkt-inputwrapper__helptext > *:last-child {
|
|
14950
|
+
margin-bottom: 0;
|
|
14951
|
+
}
|
|
14828
14952
|
.pkt-inputwrapper__helptext-expandable {
|
|
14829
14953
|
display: inline-flex;
|
|
14830
14954
|
text-align: left;
|
|
@@ -14895,63 +15019,57 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14895
15019
|
padding: 0;
|
|
14896
15020
|
height: auto;
|
|
14897
15021
|
}
|
|
14898
|
-
.pkt-inputwrapper--error .pkt-
|
|
14899
|
-
.pkt-inputwrapper--error .pkt-
|
|
14900
|
-
.pkt-inputwrapper--error .pkt-
|
|
14901
|
-
.pkt-inputwrapper--error .pkt-
|
|
15022
|
+
.pkt-inputwrapper--error .pkt-input,
|
|
15023
|
+
.pkt-inputwrapper--error .pkt-input-prefix,
|
|
15024
|
+
.pkt-inputwrapper--error .pkt-input-suffix,
|
|
15025
|
+
.pkt-inputwrapper--error .pkt-input-icon {
|
|
14902
15026
|
border-color: var(--color-red);
|
|
14903
15027
|
}
|
|
14904
|
-
.pkt-inputwrapper--error .pkt-
|
|
14905
|
-
.pkt-inputwrapper--error .pkt-
|
|
14906
|
-
.pkt-inputwrapper--error .pkt-
|
|
14907
|
-
.pkt-inputwrapper--error .pkt-
|
|
14908
|
-
.pkt-inputwrapper--error .pkt-
|
|
15028
|
+
.pkt-inputwrapper--error .pkt-input:hover,
|
|
15029
|
+
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input,
|
|
15030
|
+
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-prefix,
|
|
15031
|
+
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-suffix,
|
|
15032
|
+
.pkt-inputwrapper--error .pkt-input__container:hover .pkt-input-icon {
|
|
14909
15033
|
border-color: var(--color-red);
|
|
14910
15034
|
}
|
|
14911
|
-
.pkt-inputwrapper--error .pkt-
|
|
14912
|
-
.pkt-inputwrapper--error .pkt-
|
|
14913
|
-
.pkt-inputwrapper--error .pkt-
|
|
14914
|
-
.pkt-inputwrapper--error .pkt-
|
|
14915
|
-
.pkt-inputwrapper--error .pkt-
|
|
15035
|
+
.pkt-inputwrapper--error .pkt-input:focus-within,
|
|
15036
|
+
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input,
|
|
15037
|
+
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input-prefix,
|
|
15038
|
+
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input-suffix,
|
|
15039
|
+
.pkt-inputwrapper--error .pkt-input__container:focus-within .pkt-input-icon {
|
|
14916
15040
|
border-color: var(--color-red);
|
|
14917
15041
|
}
|
|
14918
15042
|
.pkt-inputwrapper--disabled {
|
|
14919
15043
|
color: var(--color-disabled);
|
|
14920
15044
|
cursor: inherit;
|
|
14921
15045
|
}
|
|
14922
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
14923
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
14924
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
14925
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
15046
|
+
.pkt-inputwrapper--disabled .pkt-input,
|
|
15047
|
+
.pkt-inputwrapper--disabled .pkt-input-prefix,
|
|
15048
|
+
.pkt-inputwrapper--disabled .pkt-input-suffix,
|
|
15049
|
+
.pkt-inputwrapper--disabled .pkt-input-icon {
|
|
14926
15050
|
border-color: var(--color-disabled);
|
|
14927
15051
|
background-color: var(--color-disabled-light);
|
|
14928
15052
|
}
|
|
14929
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
14930
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
14931
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
14932
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
15053
|
+
.pkt-inputwrapper--disabled .pkt-input__container:hover .pkt-input,
|
|
15054
|
+
.pkt-inputwrapper--disabled .pkt-input__container:hover .pkt-input-prefix,
|
|
15055
|
+
.pkt-inputwrapper--disabled .pkt-input__container:hover .pkt-input-suffix,
|
|
15056
|
+
.pkt-inputwrapper--disabled .pkt-input__container:hover .pkt-input-icon {
|
|
14933
15057
|
border-color: var(--color-disabled);
|
|
14934
15058
|
}
|
|
14935
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
15059
|
+
.pkt-inputwrapper--disabled .pkt-input:hover {
|
|
14936
15060
|
border-color: var(--color-disabled);
|
|
14937
15061
|
box-shadow: none;
|
|
14938
15062
|
}
|
|
14939
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
15063
|
+
.pkt-inputwrapper--disabled .pkt-input:focus {
|
|
14940
15064
|
border-color: var(--color-disabled);
|
|
14941
15065
|
box-shadow: none;
|
|
14942
15066
|
outline: none;
|
|
14943
15067
|
}
|
|
14944
|
-
.pkt-inputwrapper--disabled .pkt-
|
|
15068
|
+
.pkt-inputwrapper--disabled .pkt-input__container:active .pkt-input {
|
|
14945
15069
|
border-right: none;
|
|
14946
15070
|
box-shadow: none;
|
|
14947
15071
|
outline: none;
|
|
14948
15072
|
}
|
|
14949
|
-
[data-mode=dark] .pkt-textinput__input-prefix,
|
|
14950
|
-
[data-mode=dark] .pkt-textinput__input-suffix,
|
|
14951
|
-
[data-mode=dark] .pkt-textinput__input-icon {
|
|
14952
|
-
background-color: var(--color-white);
|
|
14953
|
-
color: var(--color-blue-dark);
|
|
14954
|
-
}
|
|
14955
15073
|
|
|
14956
15074
|
/*
|
|
14957
15075
|
* Header element
|
|
@@ -15149,149 +15267,9 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
15149
15267
|
color: var(--color-hover) !important;
|
|
15150
15268
|
}
|
|
15151
15269
|
|
|
15152
|
-
/*
|
|
15153
|
-
|
|
15154
|
-
|
|
15155
|
-
|
|
15156
|
-
|
|
15157
|
-
|
|
15158
|
-
display: flex;
|
|
15159
|
-
align-items: center;
|
|
15160
|
-
appearance: none;
|
|
15161
|
-
background-color: var(--color-white);
|
|
15162
|
-
border: 2px solid var(--color-blue-dark);
|
|
15163
|
-
border-radius: 0;
|
|
15164
|
-
color: var(--color-blue-dark);
|
|
15165
|
-
margin: 0;
|
|
15166
|
-
padding: 0.5rem 1rem;
|
|
15167
|
-
width: 100%;
|
|
15168
|
-
}
|
|
15169
|
-
.pkt-textinput__input:is(textarea) {
|
|
15170
|
-
min-height: 8rem;
|
|
15171
|
-
}
|
|
15172
|
-
.pkt-textinput__input::placeholder {
|
|
15173
|
-
color: var(--color-grayscale-50);
|
|
15174
|
-
opacity: 1;
|
|
15175
|
-
}
|
|
15176
|
-
.pkt-textinput__input:hover, .pkt-textinput__input.pkt-textinput__textinput--hover {
|
|
15177
|
-
border-color: var(--color-hover);
|
|
15178
|
-
}
|
|
15179
|
-
.pkt-textinput__input:focus-visible + .pkt-textinput-suffix, .pkt-textinput__input.pkt-textinput__textinput--focus {
|
|
15180
|
-
box-shadow: 0 0 0 2px var(--color-active);
|
|
15181
|
-
border-color: var(--color-active);
|
|
15182
|
-
}
|
|
15183
|
-
.pkt-textinput__input:focus {
|
|
15184
|
-
outline: none;
|
|
15185
|
-
box-shadow: 0 0 0 2px var(--color-active);
|
|
15186
|
-
border-color: var(--color-active);
|
|
15187
|
-
}
|
|
15188
|
-
.pkt-textinput__input:disabled, .pkt-textinput__input:disabled::placeholder, .pkt-textinput__input[readonly] {
|
|
15189
|
-
opacity: 1;
|
|
15190
|
-
background-color: var(--color-disabled-light);
|
|
15191
|
-
border-color: var(--color-disabled);
|
|
15192
|
-
cursor: inherit;
|
|
15193
|
-
}
|
|
15194
|
-
.pkt-textinput__input:disabled:active {
|
|
15195
|
-
border: 2px solid var(--color-disabled);
|
|
15196
|
-
}
|
|
15197
|
-
.pkt-textinput__input-prefix, .pkt-textinput__input-suffix, .pkt-textinput__input-icon {
|
|
15198
|
-
font-size: 1.125rem;
|
|
15199
|
-
font-weight: 300;
|
|
15200
|
-
letter-spacing: -0.2px;
|
|
15201
|
-
line-height: 1.75rem;
|
|
15202
|
-
display: flex;
|
|
15203
|
-
align-items: center;
|
|
15204
|
-
width: auto;
|
|
15205
|
-
height: 3rem;
|
|
15206
|
-
border: 2px solid var(--color-blue-dark);
|
|
15207
|
-
flex-shrink: 0;
|
|
15208
|
-
}
|
|
15209
|
-
.pkt-textinput__input-prefix {
|
|
15210
|
-
padding: 0.5rem 0rem 0.5rem 1rem;
|
|
15211
|
-
}
|
|
15212
|
-
.pkt-textinput__input-prefix::after {
|
|
15213
|
-
content: "";
|
|
15214
|
-
width: 1px;
|
|
15215
|
-
margin-left: 0.5rem;
|
|
15216
|
-
height: 100%;
|
|
15217
|
-
background-color: var(--color-blue-dark);
|
|
15218
|
-
}
|
|
15219
|
-
.pkt-textinput__input-suffix {
|
|
15220
|
-
padding: 0.5rem 1rem 0.5rem 0rem;
|
|
15221
|
-
}
|
|
15222
|
-
.pkt-textinput__input-suffix svg {
|
|
15223
|
-
width: 1.5rem;
|
|
15224
|
-
height: 1.5rem;
|
|
15225
|
-
margin-left: 0.5rem;
|
|
15226
|
-
}
|
|
15227
|
-
.pkt-textinput__input-suffix::before {
|
|
15228
|
-
content: "";
|
|
15229
|
-
width: 1px;
|
|
15230
|
-
margin-right: 0.5rem;
|
|
15231
|
-
height: 1.5rem;
|
|
15232
|
-
background-color: var(--color-blue-dark);
|
|
15233
|
-
}
|
|
15234
|
-
.pkt-textinput__input-icon {
|
|
15235
|
-
padding: 0.5rem 1rem;
|
|
15236
|
-
align-self: stretch;
|
|
15237
|
-
}
|
|
15238
|
-
.pkt-textinput__input-icon svg {
|
|
15239
|
-
width: 1.5rem;
|
|
15240
|
-
height: 1.5rem;
|
|
15241
|
-
margin-left: 0.5rem;
|
|
15242
|
-
}
|
|
15243
|
-
.pkt-textinput__input--counter-error, .pkt-textinput__input--counter-error:focus {
|
|
15244
|
-
border-color: var(--color-red);
|
|
15245
|
-
background-color: var(--color-red-30);
|
|
15246
|
-
}
|
|
15247
|
-
.pkt-textinput__input--counter-error:focus {
|
|
15248
|
-
box-shadow: 0 0 0 2px var(--color-red);
|
|
15249
|
-
}
|
|
15250
|
-
.pkt-textinput__container {
|
|
15251
|
-
display: flex;
|
|
15252
|
-
align-items: center;
|
|
15253
|
-
align-self: stretch;
|
|
15254
|
-
}
|
|
15255
|
-
.pkt-textinput__container :first-child:not(:only-child) {
|
|
15256
|
-
border-right: none;
|
|
15257
|
-
}
|
|
15258
|
-
.pkt-textinput__container :last-child:not(:only-child) {
|
|
15259
|
-
border-left: none;
|
|
15260
|
-
}
|
|
15261
|
-
.pkt-textinput__container :not(:first-child):not(:last-child) {
|
|
15262
|
-
border-left: none;
|
|
15263
|
-
border-right: none;
|
|
15264
|
-
}
|
|
15265
|
-
.pkt-textinput__container p {
|
|
15266
|
-
margin: 0;
|
|
15267
|
-
}
|
|
15268
|
-
.pkt-textinput__container input:focus {
|
|
15269
|
-
box-shadow: none;
|
|
15270
|
-
}
|
|
15271
|
-
.pkt-textinput__container:hover .pkt-textinput__input, .pkt-textinput__container:hover .pkt-textinput__input-prefix, .pkt-textinput__container:hover .pkt-textinput__input-suffix, .pkt-textinput__container:hover .pkt-textinput__input-icon {
|
|
15272
|
-
border-color: var(--color-hover);
|
|
15273
|
-
}
|
|
15274
|
-
.pkt-textinput__container:focus-within {
|
|
15275
|
-
outline: 2px solid var(--color-active);
|
|
15276
|
-
}
|
|
15277
|
-
.pkt-textinput__container:focus-within .pkt-textinput__input,
|
|
15278
|
-
.pkt-textinput__container:focus-within .pkt-textinput__input-prefix,
|
|
15279
|
-
.pkt-textinput__container:focus-within .pkt-textinput__input-suffix,
|
|
15280
|
-
.pkt-textinput__container:focus-within .pkt-textinput__input-icon {
|
|
15281
|
-
border-color: var(--color-active);
|
|
15282
|
-
}
|
|
15283
|
-
.pkt-textinput__counter {
|
|
15284
|
-
font-size: 0.875rem;
|
|
15285
|
-
font-weight: 300;
|
|
15286
|
-
letter-spacing: -0.2px;
|
|
15287
|
-
line-height: 1.375rem;
|
|
15288
|
-
width: 100%;
|
|
15289
|
-
text-align: right;
|
|
15290
|
-
}
|
|
15291
|
-
.pkt-textinput__counter--error {
|
|
15292
|
-
font-size: 0.875rem;
|
|
15293
|
-
font-weight: 500;
|
|
15294
|
-
letter-spacing: -0.2px;
|
|
15295
|
-
line-height: 1.375rem;
|
|
15296
|
-
color: var(--color-red);
|
|
15297
|
-
}
|
|
15270
|
+
/*
|
|
15271
|
+
* Textinput component
|
|
15272
|
+
*
|
|
15273
|
+
* Denne blir stilsatt av .pkt-input
|
|
15274
|
+
* Ikke bruk klassen .pkt-textinput
|
|
15275
|
+
*/
|