@oslokommune/punkt-css 6.0.3 → 7.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 +41 -0
- package/README.md +3 -3
- package/dist/css/components/inputwrapper.css +120 -0
- package/dist/css/components/inputwrapper.min.css +1 -0
- package/dist/css/components/textinput.css +39 -129
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/pkt-base.css +7 -7
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +160 -129
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +2 -2
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt.css +169 -138
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_typography.scss +1 -1
- package/dist/scss/base/_typography.scss +1 -1
- package/dist/scss/components/_index.scss +1 -0
- package/dist/scss/components/_inputwrapper.scss +140 -0
- package/dist/scss/components/_textinput.scss +23 -130
- package/dist/scss/elements/_checkbox-radio.scss +1 -1
- package/dist/scss/elements/_select.scss +1 -1
- package/package.json +3 -3
package/dist/css/pkt.css
CHANGED
|
@@ -227,42 +227,42 @@ textarea {
|
|
|
227
227
|
font-family: Oslo Sans;
|
|
228
228
|
font-style: normal;
|
|
229
229
|
font-weight: 400;
|
|
230
|
-
src: url("
|
|
230
|
+
src: url("../fonts/OsloSans-Regular.woff2") format("woff2"), url("../fonts/OsloSans-Regular.woff") format("woff");
|
|
231
231
|
}
|
|
232
232
|
@font-face {
|
|
233
233
|
font-display: swap;
|
|
234
234
|
font-family: Oslo Sans;
|
|
235
235
|
font-style: italic;
|
|
236
236
|
font-weight: 400;
|
|
237
|
-
src: url("
|
|
237
|
+
src: url("../fonts/OsloSans-RegularItalic.woff2") format("woff2"), url("../fonts/OsloSans-RegularItalic.woff") format("woff");
|
|
238
238
|
}
|
|
239
239
|
@font-face {
|
|
240
240
|
font-display: swap;
|
|
241
241
|
font-family: Oslo Sans;
|
|
242
242
|
font-style: normal;
|
|
243
243
|
font-weight: 300;
|
|
244
|
-
src: url("
|
|
244
|
+
src: url("../fonts/OsloSans-Light.woff2") format("woff2"), url("../fonts/OsloSans-Light.woff") format("woff");
|
|
245
245
|
}
|
|
246
246
|
@font-face {
|
|
247
247
|
font-display: swap;
|
|
248
248
|
font-family: Oslo Sans;
|
|
249
249
|
font-style: normal;
|
|
250
250
|
font-weight: 500;
|
|
251
|
-
src: url("
|
|
251
|
+
src: url("../fonts/OsloSans-Medium.woff2") format("woff2"), url("../fonts/OsloSans-Medium.woff") format("woff");
|
|
252
252
|
}
|
|
253
253
|
@font-face {
|
|
254
254
|
font-display: swap;
|
|
255
255
|
font-family: Oslo Sans;
|
|
256
256
|
font-style: normal;
|
|
257
257
|
font-weight: 700;
|
|
258
|
-
src: url("
|
|
258
|
+
src: url("../fonts/OsloSans-Bold.woff2") format("woff2"), url("../fonts/OsloSans-Bold.woff") format("woff");
|
|
259
259
|
}
|
|
260
260
|
@font-face {
|
|
261
261
|
font-display: swap;
|
|
262
262
|
font-family: Oslo Icons;
|
|
263
263
|
font-style: normal;
|
|
264
264
|
font-weight: 400;
|
|
265
|
-
src: url("
|
|
265
|
+
src: url("../fonts/OsloIcons.woff2") format("woff2"), url("../fonts/OsloIcons.woff") format("woff");
|
|
266
266
|
}
|
|
267
267
|
/*
|
|
268
268
|
* Colors
|
|
@@ -11539,7 +11539,7 @@ a:active, a.pkt-link--active,
|
|
|
11539
11539
|
}
|
|
11540
11540
|
.pkt-link--external::after {
|
|
11541
11541
|
content: " ";
|
|
11542
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
11542
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/7.0/icons/new-window-small.svg);
|
|
11543
11543
|
background-image: var(--svg);
|
|
11544
11544
|
background-repeat: no-repeat;
|
|
11545
11545
|
background-size: 18px 18px;
|
|
@@ -12555,7 +12555,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
12555
12555
|
border: 6px solid var(--choice-checked-rb-bc);
|
|
12556
12556
|
}
|
|
12557
12557
|
.pkt-form-check-input:checked[type=checkbox] {
|
|
12558
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
12558
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/7.0/icons/check-medium.svg);
|
|
12559
12559
|
position: relative;
|
|
12560
12560
|
background-color: blue;
|
|
12561
12561
|
}
|
|
@@ -12986,7 +12986,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
12986
12986
|
* så dette må refaktoreres ved anledning.
|
|
12987
12987
|
*/
|
|
12988
12988
|
.pkt-select {
|
|
12989
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/
|
|
12989
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/7.0/icons/chevron-thin-down.svg);
|
|
12990
12990
|
display: block;
|
|
12991
12991
|
background-color: var(--color-white);
|
|
12992
12992
|
background-image: var(--svg);
|
|
@@ -14000,6 +14000,127 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14000
14000
|
width: 4rem;
|
|
14001
14001
|
}
|
|
14002
14002
|
|
|
14003
|
+
/* inputwrapper */
|
|
14004
|
+
.pkt-inputwrapper__label {
|
|
14005
|
+
font-size: 1.125rem;
|
|
14006
|
+
font-weight: 500;
|
|
14007
|
+
letter-spacing: -0.2px;
|
|
14008
|
+
line-height: 1.75rem;
|
|
14009
|
+
display: flex;
|
|
14010
|
+
flex-direction: column;
|
|
14011
|
+
align-items: flex-start;
|
|
14012
|
+
gap: 0.5rem;
|
|
14013
|
+
}
|
|
14014
|
+
.pkt-inputwrapper__label > h2 {
|
|
14015
|
+
font-size: inherit;
|
|
14016
|
+
font-weight: inherit;
|
|
14017
|
+
letter-spacing: inherit;
|
|
14018
|
+
line-height: inherit;
|
|
14019
|
+
display: inline;
|
|
14020
|
+
margin-bottom: 0;
|
|
14021
|
+
}
|
|
14022
|
+
.pkt-inputwrapper__helptext {
|
|
14023
|
+
display: flex;
|
|
14024
|
+
flex-direction: column;
|
|
14025
|
+
align-items: flex-start;
|
|
14026
|
+
gap: 0.25rem;
|
|
14027
|
+
font-size: 0.875rem;
|
|
14028
|
+
font-weight: 300;
|
|
14029
|
+
letter-spacing: -0.2px;
|
|
14030
|
+
line-height: 1.375rem;
|
|
14031
|
+
}
|
|
14032
|
+
.pkt-inputwrapper__helptext-expandable {
|
|
14033
|
+
display: inline-flex;
|
|
14034
|
+
text-align: left;
|
|
14035
|
+
align-items: center;
|
|
14036
|
+
}
|
|
14037
|
+
.pkt-inputwrapper__helptext-expandable-heading {
|
|
14038
|
+
font-size: 1.125rem;
|
|
14039
|
+
font-weight: 500;
|
|
14040
|
+
letter-spacing: -0.2px;
|
|
14041
|
+
line-height: 1.75rem;
|
|
14042
|
+
margin: 0;
|
|
14043
|
+
}
|
|
14044
|
+
.pkt-inputwrapper__helptext-expandable-open {
|
|
14045
|
+
width: 100%;
|
|
14046
|
+
display: block;
|
|
14047
|
+
}
|
|
14048
|
+
.pkt-inputwrapper__helptext-expandable-closed {
|
|
14049
|
+
display: none;
|
|
14050
|
+
}
|
|
14051
|
+
.pkt-inputwrapper--disabled {
|
|
14052
|
+
color: var(--color-disabled);
|
|
14053
|
+
cursor: inherit;
|
|
14054
|
+
}
|
|
14055
|
+
.pkt-inputwrapper--disabled .pkt-tag {
|
|
14056
|
+
background-color: var(--color-disabled-light);
|
|
14057
|
+
}
|
|
14058
|
+
.pkt-inputwrapper--disabled .pkt-alert {
|
|
14059
|
+
background-color: var(--color-disabled-light);
|
|
14060
|
+
border-color: var(--color-disabled);
|
|
14061
|
+
}
|
|
14062
|
+
.pkt-inputwrapper--inline {
|
|
14063
|
+
display: inline-block;
|
|
14064
|
+
vertical-align: middle;
|
|
14065
|
+
margin-right: 8px;
|
|
14066
|
+
}
|
|
14067
|
+
.pkt-inputwrapper .pkt-alert {
|
|
14068
|
+
width: 100%;
|
|
14069
|
+
padding: 0.75rem 1rem 0.75rem 4px;
|
|
14070
|
+
margin: 0 0 0.5rem 0;
|
|
14071
|
+
}
|
|
14072
|
+
.pkt-inputwrapper .pkt-alert--error {
|
|
14073
|
+
margin: 0.5rem 0 0.5rem 0;
|
|
14074
|
+
}
|
|
14075
|
+
.pkt-inputwrapper .pkt-alert__icon {
|
|
14076
|
+
width: 1.375rem;
|
|
14077
|
+
height: 1.375rem;
|
|
14078
|
+
top: 0.81rem;
|
|
14079
|
+
left: 1.25rem;
|
|
14080
|
+
}
|
|
14081
|
+
.pkt-inputwrapper .pkt-alert__text {
|
|
14082
|
+
font-size: 1rem;
|
|
14083
|
+
font-weight: 300;
|
|
14084
|
+
letter-spacing: -0.2px;
|
|
14085
|
+
line-height: 1.5rem;
|
|
14086
|
+
margin: 0 0 0 2.875rem;
|
|
14087
|
+
}
|
|
14088
|
+
.pkt-inputwrapper .pkt-tag {
|
|
14089
|
+
margin-left: 8px;
|
|
14090
|
+
}
|
|
14091
|
+
.pkt-inputwrapper .pkt-btn {
|
|
14092
|
+
font-size: 0.875rem;
|
|
14093
|
+
font-weight: 300;
|
|
14094
|
+
letter-spacing: -0.2px;
|
|
14095
|
+
line-height: 1.375rem;
|
|
14096
|
+
padding: 0;
|
|
14097
|
+
}
|
|
14098
|
+
.pkt-inputwrapper--error .pkt-textinput__input,
|
|
14099
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix,
|
|
14100
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix,
|
|
14101
|
+
.pkt-inputwrapper--error .pkt-textinput__input-icon {
|
|
14102
|
+
border-color: var(--color-red);
|
|
14103
|
+
}
|
|
14104
|
+
.pkt-inputwrapper--error .pkt-textinput__input:hover,
|
|
14105
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix-wrapper:hover .pkt-textinput__input,
|
|
14106
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input,
|
|
14107
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix-wrapper:hover .pkt-textinput__input-prefix,
|
|
14108
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input-suffix,
|
|
14109
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input-icon {
|
|
14110
|
+
border-color: var(--color-red);
|
|
14111
|
+
}
|
|
14112
|
+
.pkt-inputwrapper--error .pkt-textinput__input:focus-within,
|
|
14113
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input-icon,
|
|
14114
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input,
|
|
14115
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input-prefix,
|
|
14116
|
+
.pkt-inputwrapper--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input-icon,
|
|
14117
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input-icon,
|
|
14118
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input,
|
|
14119
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input-suffix,
|
|
14120
|
+
.pkt-inputwrapper--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input-icon {
|
|
14121
|
+
border-color: var(--color-red);
|
|
14122
|
+
}
|
|
14123
|
+
|
|
14003
14124
|
/*
|
|
14004
14125
|
* Header element
|
|
14005
14126
|
*/
|
|
@@ -14197,53 +14318,6 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14197
14318
|
}
|
|
14198
14319
|
|
|
14199
14320
|
/* textinput */
|
|
14200
|
-
.pkt-textinput__label {
|
|
14201
|
-
font-size: 1.125rem;
|
|
14202
|
-
font-weight: 500;
|
|
14203
|
-
letter-spacing: -0.2px;
|
|
14204
|
-
line-height: 1.75rem;
|
|
14205
|
-
display: flex;
|
|
14206
|
-
flex-direction: column;
|
|
14207
|
-
align-items: flex-start;
|
|
14208
|
-
gap: 0.5rem;
|
|
14209
|
-
}
|
|
14210
|
-
.pkt-textinput__label > h2 {
|
|
14211
|
-
font-size: inherit;
|
|
14212
|
-
font-weight: inherit;
|
|
14213
|
-
letter-spacing: inherit;
|
|
14214
|
-
line-height: inherit;
|
|
14215
|
-
display: inline;
|
|
14216
|
-
margin-bottom: 0;
|
|
14217
|
-
}
|
|
14218
|
-
.pkt-textinput__helptext {
|
|
14219
|
-
display: flex;
|
|
14220
|
-
flex-direction: column;
|
|
14221
|
-
align-items: flex-start;
|
|
14222
|
-
gap: 0.25rem;
|
|
14223
|
-
font-size: 0.875rem;
|
|
14224
|
-
font-weight: 300;
|
|
14225
|
-
letter-spacing: -0.2px;
|
|
14226
|
-
line-height: 1.375rem;
|
|
14227
|
-
}
|
|
14228
|
-
.pkt-textinput__helptext-expandable {
|
|
14229
|
-
display: inline-flex;
|
|
14230
|
-
text-align: left;
|
|
14231
|
-
align-items: center;
|
|
14232
|
-
}
|
|
14233
|
-
.pkt-textinput__helptext-expandable-heading {
|
|
14234
|
-
font-size: 1.125rem;
|
|
14235
|
-
font-weight: 500;
|
|
14236
|
-
letter-spacing: -0.2px;
|
|
14237
|
-
line-height: 1.75rem;
|
|
14238
|
-
margin: 0;
|
|
14239
|
-
}
|
|
14240
|
-
.pkt-textinput__helptext-expandable-open {
|
|
14241
|
-
width: 100%;
|
|
14242
|
-
display: block;
|
|
14243
|
-
}
|
|
14244
|
-
.pkt-textinput__helptext-expandable-closed {
|
|
14245
|
-
display: none;
|
|
14246
|
-
}
|
|
14247
14321
|
.pkt-textinput__input {
|
|
14248
14322
|
font-size: 1.125rem;
|
|
14249
14323
|
font-weight: 300;
|
|
@@ -14260,6 +14334,9 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14260
14334
|
padding: 0.5rem 1rem;
|
|
14261
14335
|
width: 100%;
|
|
14262
14336
|
}
|
|
14337
|
+
.pkt-textinput__input:is(textarea) {
|
|
14338
|
+
min-height: 8rem;
|
|
14339
|
+
}
|
|
14263
14340
|
.pkt-textinput__input::placeholder {
|
|
14264
14341
|
color: var(--color-grayscale-50);
|
|
14265
14342
|
opacity: 1;
|
|
@@ -14393,110 +14470,64 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
14393
14470
|
height: 1.5rem;
|
|
14394
14471
|
margin-left: 0.5rem;
|
|
14395
14472
|
}
|
|
14396
|
-
.pkt-
|
|
14397
|
-
color: var(--color-
|
|
14398
|
-
|
|
14473
|
+
.pkt-textinput__input--counter-error, .pkt-textinput__input--counter-error:focus {
|
|
14474
|
+
border-color: var(--color-red);
|
|
14475
|
+
background-color: var(--color-red-30);
|
|
14399
14476
|
}
|
|
14400
|
-
.pkt-
|
|
14401
|
-
|
|
14477
|
+
.pkt-textinput__input--counter-error:focus {
|
|
14478
|
+
box-shadow: 0 0 0 2px var(--color-red);
|
|
14402
14479
|
}
|
|
14403
|
-
.pkt-
|
|
14404
|
-
|
|
14405
|
-
|
|
14480
|
+
.pkt-textinput__counter {
|
|
14481
|
+
font-size: 0.875rem;
|
|
14482
|
+
font-weight: 300;
|
|
14483
|
+
letter-spacing: -0.2px;
|
|
14484
|
+
line-height: 1.375rem;
|
|
14485
|
+
width: 100%;
|
|
14486
|
+
text-align: right;
|
|
14406
14487
|
}
|
|
14407
|
-
.pkt-
|
|
14408
|
-
|
|
14409
|
-
|
|
14410
|
-
|
|
14488
|
+
.pkt-textinput__counter--error {
|
|
14489
|
+
font-size: 0.875rem;
|
|
14490
|
+
font-weight: 500;
|
|
14491
|
+
letter-spacing: -0.2px;
|
|
14492
|
+
line-height: 1.375rem;
|
|
14493
|
+
color: var(--color-red);
|
|
14494
|
+
}
|
|
14495
|
+
.pkt-inputwrapper--disabled {
|
|
14496
|
+
color: var(--color-disabled);
|
|
14497
|
+
cursor: inherit;
|
|
14498
|
+
}
|
|
14499
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input,
|
|
14500
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-prefix,
|
|
14501
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-suffix,
|
|
14502
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-icon {
|
|
14411
14503
|
border-color: var(--color-disabled);
|
|
14412
14504
|
background-color: var(--color-disabled-light);
|
|
14413
14505
|
}
|
|
14414
|
-
.pkt-
|
|
14415
|
-
.pkt-
|
|
14416
|
-
.pkt-
|
|
14417
|
-
.pkt-
|
|
14418
|
-
.pkt-
|
|
14506
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-prefix-wrapper:hover .pkt-textinput__input,
|
|
14507
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input,
|
|
14508
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-prefix-wrapper:hover .pkt-textinput__input-prefix,
|
|
14509
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input-suffix,
|
|
14510
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input-icon {
|
|
14419
14511
|
border-color: var(--color-disabled);
|
|
14420
14512
|
}
|
|
14421
|
-
.pkt-
|
|
14513
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input:hover {
|
|
14422
14514
|
border-color: var(--color-disabled);
|
|
14423
14515
|
box-shadow: none;
|
|
14424
14516
|
}
|
|
14425
|
-
.pkt-
|
|
14517
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input:focus {
|
|
14426
14518
|
border-color: var(--color-disabled);
|
|
14427
14519
|
box-shadow: none;
|
|
14428
14520
|
outline: none;
|
|
14429
14521
|
}
|
|
14430
|
-
.pkt-
|
|
14522
|
+
.pkt-inputwrapper--disabled .pkt-textinput__input-suffix-wrapper:active .pkt-textinput__input {
|
|
14431
14523
|
border-right: none;
|
|
14432
14524
|
box-shadow: none;
|
|
14433
14525
|
outline: none;
|
|
14434
14526
|
}
|
|
14435
|
-
|
|
14436
|
-
.pkt-textinput--error .pkt-textinput__input-prefix,
|
|
14437
|
-
.pkt-textinput--error .pkt-textinput__input-suffix,
|
|
14438
|
-
.pkt-textinput--error .pkt-textinput__input-icon {
|
|
14439
|
-
border-color: var(--color-red);
|
|
14440
|
-
}
|
|
14441
|
-
.pkt-textinput--error .pkt-textinput__input:hover,
|
|
14442
|
-
.pkt-textinput--error .pkt-textinput__input-prefix-wrapper:hover .pkt-textinput__input,
|
|
14443
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input,
|
|
14444
|
-
.pkt-textinput--error .pkt-textinput__input-prefix-wrapper:hover .pkt-textinput__input-prefix,
|
|
14445
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input-suffix,
|
|
14446
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:hover .pkt-textinput__input-icon {
|
|
14447
|
-
border-color: var(--color-red);
|
|
14448
|
-
}
|
|
14449
|
-
.pkt-textinput--error .pkt-textinput__input:focus-within,
|
|
14450
|
-
.pkt-textinput--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input-icon,
|
|
14451
|
-
.pkt-textinput--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input,
|
|
14452
|
-
.pkt-textinput--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input-prefix,
|
|
14453
|
-
.pkt-textinput--error .pkt-textinput__input-prefix-wrapper:focus-within .pkt-textinput__input-icon,
|
|
14454
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input-icon,
|
|
14455
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input,
|
|
14456
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input-suffix,
|
|
14457
|
-
.pkt-textinput--error .pkt-textinput__input-suffix-wrapper:focus-within .pkt-textinput__input-icon {
|
|
14458
|
-
border-color: var(--color-red);
|
|
14459
|
-
}
|
|
14460
|
-
.pkt-textinput--inline {
|
|
14461
|
-
display: inline-block;
|
|
14462
|
-
vertical-align: middle;
|
|
14463
|
-
margin-right: 8px;
|
|
14464
|
-
}
|
|
14527
|
+
|
|
14465
14528
|
[data-mode=dark] .pkt-textinput__input-prefix,
|
|
14466
14529
|
[data-mode=dark] .pkt-textinput__input-suffix,
|
|
14467
14530
|
[data-mode=dark] .pkt-textinput__input-icon {
|
|
14468
14531
|
background-color: var(--color-white);
|
|
14469
14532
|
color: var(--color-blue-dark);
|
|
14470
|
-
}
|
|
14471
|
-
|
|
14472
|
-
.pkt-textinput .pkt-alert {
|
|
14473
|
-
width: 100%;
|
|
14474
|
-
padding: 0.75rem 1rem 0.75rem 4px;
|
|
14475
|
-
margin: 0 0 0.5rem 0;
|
|
14476
|
-
}
|
|
14477
|
-
.pkt-textinput .pkt-alert--error {
|
|
14478
|
-
margin: 0.5rem 0 0.5rem 0;
|
|
14479
|
-
}
|
|
14480
|
-
.pkt-textinput .pkt-alert__icon {
|
|
14481
|
-
width: 1.375rem;
|
|
14482
|
-
height: 1.375rem;
|
|
14483
|
-
top: 0.81rem;
|
|
14484
|
-
left: 1.25rem;
|
|
14485
|
-
}
|
|
14486
|
-
.pkt-textinput .pkt-alert__text {
|
|
14487
|
-
font-size: 1rem;
|
|
14488
|
-
font-weight: 300;
|
|
14489
|
-
letter-spacing: -0.2px;
|
|
14490
|
-
line-height: 1.5rem;
|
|
14491
|
-
margin: 0 0 0 2.875rem;
|
|
14492
|
-
}
|
|
14493
|
-
.pkt-textinput .pkt-tag {
|
|
14494
|
-
margin-left: 8px;
|
|
14495
|
-
}
|
|
14496
|
-
.pkt-textinput .pkt-btn {
|
|
14497
|
-
font-size: 0.875rem;
|
|
14498
|
-
font-weight: 300;
|
|
14499
|
-
letter-spacing: -0.2px;
|
|
14500
|
-
line-height: 1.375rem;
|
|
14501
|
-
padding: 0;
|
|
14502
14533
|
}
|