@oslokommune/punkt-css 12.2.0 → 12.3.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 +24 -0
- package/README.md +4 -12
- package/dist/css/components/calendar.css +106 -75
- package/dist/css/components/calendar.min.css +1 -1
- package/dist/css/components/card.css +70 -0
- package/dist/css/components/card.min.css +1 -0
- package/dist/css/components/icon.css +6 -8
- package/dist/css/components/icon.min.css +1 -1
- package/dist/css/components/preview.css +4 -0
- package/dist/css/components/preview.min.css +1 -1
- package/dist/css/components/tabs.css +2 -2
- package/dist/css/components/tabs.min.css +1 -1
- package/dist/css/components/textinput.css +27 -1
- package/dist/css/components/textinput.min.css +1 -1
- package/dist/css/pkt-base.css +26 -8
- package/dist/css/pkt-base.min.css +1 -1
- package/dist/css/pkt-components.css +216 -86
- package/dist/css/pkt-components.min.css +1 -1
- package/dist/css/pkt-elements.css +43 -12
- package/dist/css/pkt-elements.min.css +1 -1
- package/dist/css/pkt-normalise.css +23 -0
- package/dist/css/pkt-normalise.min.css +1 -1
- package/dist/css/pkt.css +282 -105
- package/dist/css/pkt.min.css +1 -1
- package/dist/scss/abstracts/variables/_index.scss +1 -1
- package/dist/scss/base/_typography.scss +31 -8
- package/dist/scss/components/_calendar.scss +61 -32
- package/dist/scss/components/_card.scss +92 -0
- package/dist/scss/components/_icon.scss +3 -1
- package/dist/scss/components/_index.scss +1 -0
- package/dist/scss/components/_preview.scss +4 -0
- package/dist/scss/components/_tabs.scss +1 -1
- package/dist/scss/elements/_button.scss +11 -4
- package/dist/scss/elements/_input.scss +29 -1
- package/dist/scss/normalise/_index.scss +24 -0
- package/package.json +2 -2
package/dist/css/pkt.css
CHANGED
|
@@ -185,6 +185,29 @@ textarea {
|
|
|
185
185
|
height: auto;
|
|
186
186
|
}
|
|
187
187
|
|
|
188
|
+
/**
|
|
189
|
+
* Remove the default appearance of date and time inputs
|
|
190
|
+
*/
|
|
191
|
+
input[type=date],
|
|
192
|
+
input[type=time],
|
|
193
|
+
input[type=datetime-local],
|
|
194
|
+
input[type=month] {
|
|
195
|
+
-webkit-appearance: textfield;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
input::-webkit-datetime-edit {
|
|
199
|
+
margin-bottom: -4px;
|
|
200
|
+
}
|
|
201
|
+
|
|
202
|
+
/**
|
|
203
|
+
* Remove the calendar icon in date inputs
|
|
204
|
+
*/
|
|
205
|
+
input[type=date]::-webkit-inner-spin-button,
|
|
206
|
+
input[type=date]::-webkit-calendar-picker-indicator {
|
|
207
|
+
display: none;
|
|
208
|
+
-webkit-appearance: none;
|
|
209
|
+
}
|
|
210
|
+
|
|
188
211
|
/**
|
|
189
212
|
* 1. Correct the odd appearance in Chrome and Safari.
|
|
190
213
|
* 2. Correct the outline style in Safari.
|
|
@@ -13514,6 +13537,11 @@ a,
|
|
|
13514
13537
|
word-wrap: break-word;
|
|
13515
13538
|
cursor: pointer;
|
|
13516
13539
|
}
|
|
13540
|
+
a span,
|
|
13541
|
+
.pkt-link-button span {
|
|
13542
|
+
color: inherit;
|
|
13543
|
+
text-decoration: inherit;
|
|
13544
|
+
}
|
|
13517
13545
|
a:visited:not(.pkt-linkcard):not(.pkt-btn):not(.pkt-tabs__link),
|
|
13518
13546
|
.pkt-link-button:visited:not(.pkt-linkcard):not(.pkt-btn):not(.pkt-tabs__link) {
|
|
13519
13547
|
color: inherit;
|
|
@@ -13546,37 +13574,42 @@ a:active, a.pkt-link--active,
|
|
|
13546
13574
|
.pkt-link {
|
|
13547
13575
|
display: inline;
|
|
13548
13576
|
text-align: left;
|
|
13549
|
-
align-items:
|
|
13577
|
+
align-items: baseline;
|
|
13550
13578
|
}
|
|
13579
|
+
|
|
13551
13580
|
.pkt-link__icon {
|
|
13552
13581
|
--fg-color: currentColor;
|
|
13553
13582
|
width: 1.5rem;
|
|
13554
13583
|
height: 1.5rem;
|
|
13555
13584
|
flex-shrink: 0;
|
|
13556
|
-
margin-right: 0.
|
|
13585
|
+
margin-right: 0.25rem;
|
|
13586
|
+
margin-left: 0.25rem;
|
|
13587
|
+
align-self: center;
|
|
13557
13588
|
}
|
|
13558
|
-
.pkt-link--icon-left {
|
|
13589
|
+
.pkt-link--icon-left, .pkt-link--icon-right {
|
|
13559
13590
|
display: inline-flex;
|
|
13560
|
-
flex-direction: row;
|
|
13561
13591
|
text-decoration: none;
|
|
13592
|
+
align-items: baseline;
|
|
13593
|
+
}
|
|
13594
|
+
.pkt-link--icon-left {
|
|
13595
|
+
flex-direction: row;
|
|
13562
13596
|
}
|
|
13563
13597
|
.pkt-link--icon-right {
|
|
13564
|
-
display: inline-flex;
|
|
13565
13598
|
flex-direction: row-reverse;
|
|
13566
|
-
text-decoration: none;
|
|
13567
13599
|
}
|
|
13568
13600
|
.pkt-link--external::after {
|
|
13569
13601
|
display: inline-block;
|
|
13570
13602
|
content: " ";
|
|
13571
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
13603
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/new-window-small.svg);
|
|
13572
13604
|
background-image: var(--svg);
|
|
13573
13605
|
background-repeat: no-repeat;
|
|
13574
13606
|
background-size: 18px 18px;
|
|
13575
13607
|
width: 1.125rem;
|
|
13576
13608
|
height: 1.125rem;
|
|
13577
13609
|
vertical-align: middle;
|
|
13610
|
+
align-self: center;
|
|
13578
13611
|
}
|
|
13579
|
-
.pkt-link--external:hover::after {
|
|
13612
|
+
.pkt-link--external:hover::after, .pkt-link:hover pkt-icon {
|
|
13580
13613
|
filter: brightness(0) saturate(100%) invert(16%) sepia(99%) saturate(2420%) hue-rotate(222deg) brightness(93%) contrast(90%);
|
|
13581
13614
|
}
|
|
13582
13615
|
|
|
@@ -16621,6 +16654,14 @@ button.pkt-link {
|
|
|
16621
16654
|
white-space: nowrap;
|
|
16622
16655
|
}
|
|
16623
16656
|
|
|
16657
|
+
/*
|
|
16658
|
+
* Display contents and disregard layout
|
|
16659
|
+
*/
|
|
16660
|
+
.pkt-display-contents,
|
|
16661
|
+
.pkt-contents {
|
|
16662
|
+
display: contents;
|
|
16663
|
+
}
|
|
16664
|
+
|
|
16624
16665
|
/*
|
|
16625
16666
|
* Visibility
|
|
16626
16667
|
*/
|
|
@@ -16752,11 +16793,11 @@ button.pkt-link {
|
|
|
16752
16793
|
* Variant: label-only, icon-left, icon-right, icon-only
|
|
16753
16794
|
* Background: light, dark
|
|
16754
16795
|
*/
|
|
16755
|
-
.pkt-btn__icon
|
|
16796
|
+
.pkt-btn__icon svg {
|
|
16756
16797
|
--ring-color: var(--pkt-color-brand-dark-blue-700);
|
|
16757
16798
|
--spinner-color: var(--pkt-color-brand-blue-1000);
|
|
16758
16799
|
}
|
|
16759
|
-
[data-mode=dark] .pkt-btn__icon
|
|
16800
|
+
[data-mode=dark] .pkt-btn__icon svg {
|
|
16760
16801
|
--ring-color: var(--pkt-color-brand-neutrals-white);
|
|
16761
16802
|
--spinner-color: var(--pkt-color-brand-dark-blue-1000);
|
|
16762
16803
|
}
|
|
@@ -17063,14 +17104,14 @@ button.pkt-link {
|
|
|
17063
17104
|
line-height: 1.1;
|
|
17064
17105
|
padding: 0 0.5rem;
|
|
17065
17106
|
}
|
|
17066
|
-
.pkt-btn--small .pkt-btn__icon {
|
|
17107
|
+
.pkt-btn--small .pkt-btn__icon, .pkt-btn--small .pkt-btn__icon .pkt-icon {
|
|
17067
17108
|
height: 1.25rem;
|
|
17068
17109
|
width: 1.25rem;
|
|
17069
17110
|
}
|
|
17070
17111
|
.pkt-btn--small.pkt-btn--icon-only {
|
|
17071
17112
|
padding: 0 0.5625rem;
|
|
17072
17113
|
}
|
|
17073
|
-
.pkt-btn__icon {
|
|
17114
|
+
.pkt-btn__icon, .pkt-btn__icon .pkt-icon {
|
|
17074
17115
|
height: 1.5rem;
|
|
17075
17116
|
width: 1.5rem;
|
|
17076
17117
|
}
|
|
@@ -17098,7 +17139,7 @@ button.pkt-link {
|
|
|
17098
17139
|
line-height: 1.1;
|
|
17099
17140
|
padding: 0 1rem;
|
|
17100
17141
|
}
|
|
17101
|
-
.pkt-btn--large .pkt-btn__icon {
|
|
17142
|
+
.pkt-btn--large .pkt-btn__icon, .pkt-btn--large .pkt-btn__icon .pkt-icon {
|
|
17102
17143
|
height: 2rem;
|
|
17103
17144
|
width: 2rem;
|
|
17104
17145
|
}
|
|
@@ -17116,7 +17157,8 @@ button.pkt-link {
|
|
|
17116
17157
|
.pkt-btn:link, .pkt-btn:visited {
|
|
17117
17158
|
color: var(--pkt-color-button-text-normal);
|
|
17118
17159
|
}
|
|
17119
|
-
a.pkt-btn:focus,
|
|
17160
|
+
a.pkt-btn:focus,
|
|
17161
|
+
div.pkt-btn:not([data-disabled]):focus, .pkt-btn:enabled:focus, .pkt-btn.pkt-btn--focus {
|
|
17120
17162
|
background-color: var(--pkt-color-button-background-focus);
|
|
17121
17163
|
color: var(--pkt-color-button-text-focus);
|
|
17122
17164
|
border-color: var(--pkt-color-button-border-focus);
|
|
@@ -17124,7 +17166,8 @@ a.pkt-btn:focus, .pkt-btn:enabled:focus, .pkt-btn.pkt-btn--focus {
|
|
|
17124
17166
|
text-decoration: none;
|
|
17125
17167
|
}
|
|
17126
17168
|
|
|
17127
|
-
a.pkt-btn:hover,
|
|
17169
|
+
a.pkt-btn:hover,
|
|
17170
|
+
div.pkt-btn:not([data-disabled]):hover, .pkt-btn:enabled:hover, .pkt-btn.pkt-btn--hover {
|
|
17128
17171
|
background-color: var(--pkt-color-button-background-hover);
|
|
17129
17172
|
border-color: var(--pkt-color-button-border-hover);
|
|
17130
17173
|
color: var(--pkt-color-button-text-hover);
|
|
@@ -17132,7 +17175,8 @@ a.pkt-btn:hover, .pkt-btn:enabled:hover, .pkt-btn.pkt-btn--hover {
|
|
|
17132
17175
|
text-decoration: underline;
|
|
17133
17176
|
}
|
|
17134
17177
|
|
|
17135
|
-
a.pkt-btn:active,
|
|
17178
|
+
a.pkt-btn:active,
|
|
17179
|
+
div.pkt-btn:not([data-disabled]):active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pkt-btn--active:hover {
|
|
17136
17180
|
background-color: var(--pkt-color-button-background-active);
|
|
17137
17181
|
border-color: var(--pkt-color-button-border-active);
|
|
17138
17182
|
color: var(--pkt-color-button-text-active);
|
|
@@ -17140,7 +17184,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17140
17184
|
text-decoration: none;
|
|
17141
17185
|
}
|
|
17142
17186
|
|
|
17143
|
-
.pkt-btn:disabled {
|
|
17187
|
+
.pkt-btn:disabled, .pkt-btn[disabled], .pkt-btn[data-disabled] {
|
|
17144
17188
|
background-color: var(--pkt-color-button-background-disabled);
|
|
17145
17189
|
border-color: var(--pkt-color-button-border-disabled);
|
|
17146
17190
|
color: var(--pkt-color-button-text-disabled);
|
|
@@ -17434,7 +17478,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17434
17478
|
outline-color: var(--pkt-color-input-border-hover);
|
|
17435
17479
|
}
|
|
17436
17480
|
.pkt-input-check__input-checkbox:checked[type=checkbox] {
|
|
17437
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
17481
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/check-medium.svg);
|
|
17438
17482
|
position: relative;
|
|
17439
17483
|
background-color: var(--pkt-color-input-border-normal);
|
|
17440
17484
|
}
|
|
@@ -17494,7 +17538,7 @@ a.pkt-btn:active, .pkt-btn:enabled:active, .pkt-btn.pkt-btn--active, .pkt-btn.pk
|
|
|
17494
17538
|
cursor: not-allowed;
|
|
17495
17539
|
}
|
|
17496
17540
|
.pkt-input-check__input-checkbox:disabled[type=checkbox][role=switch]:checked:after {
|
|
17497
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
17541
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/check-medium.svg);
|
|
17498
17542
|
--pkt-color-input-check-border: var(
|
|
17499
17543
|
--pkt-color-input-border-normal
|
|
17500
17544
|
);
|
|
@@ -17702,6 +17746,10 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
17702
17746
|
margin: 0;
|
|
17703
17747
|
padding: 0.5rem 1rem;
|
|
17704
17748
|
}
|
|
17749
|
+
.pkt-input:not(.pkt-input-compact), .pkt-textinput__input:not(.pkt-input-compact), .pkt-select select:not(.pkt-input-compact),
|
|
17750
|
+
.pkt-select:not(.pkt-input-compact):is(select) {
|
|
17751
|
+
min-height: 3rem;
|
|
17752
|
+
}
|
|
17705
17753
|
.pkt-input-compact.pkt-input, .pkt-input-compact.pkt-textinput__input, .pkt-select select.pkt-input-compact,
|
|
17706
17754
|
.pkt-input-compact.pkt-select:is(select) {
|
|
17707
17755
|
border: 0;
|
|
@@ -17737,7 +17785,7 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
17737
17785
|
}
|
|
17738
17786
|
.pkt-input:is(select):not([multiple]), .pkt-textinput__input:is(select):not([multiple]), .pkt-select select:is(select):not([multiple]),
|
|
17739
17787
|
.pkt-select:is(select):not([multiple]) {
|
|
17740
|
-
--svg: url(https://punkt-cdn.oslo.kommune.no/12.
|
|
17788
|
+
--svg: url(https://punkt-cdn.oslo.kommune.no/12.3/icons/chevron-thin-down.svg);
|
|
17741
17789
|
background-image: var(--svg);
|
|
17742
17790
|
background-repeat: no-repeat;
|
|
17743
17791
|
background-position: right 0.7rem top 50%;
|
|
@@ -17897,7 +17945,32 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
17897
17945
|
line-height: 1.375rem;
|
|
17898
17946
|
color: var(--pkt-color-input-text-error);
|
|
17899
17947
|
}
|
|
17948
|
+
.pkt-input__range-inputs {
|
|
17949
|
+
container: range/inline-size;
|
|
17950
|
+
}
|
|
17900
17951
|
|
|
17952
|
+
@container range (width < 30rem) {
|
|
17953
|
+
.pkt-input__container {
|
|
17954
|
+
border: 2px solid var(--pkt-color-input-border-normal);
|
|
17955
|
+
display: grid;
|
|
17956
|
+
grid-template-rows: auto auto;
|
|
17957
|
+
grid-template-columns: min-content auto 4rem;
|
|
17958
|
+
gap: 0;
|
|
17959
|
+
}
|
|
17960
|
+
.pkt-input__container > :nth-child(2) {
|
|
17961
|
+
grid-column-start: span 2;
|
|
17962
|
+
}
|
|
17963
|
+
.pkt-input__container .pkt-input-prefix,
|
|
17964
|
+
.pkt-input__container .pkt-input-suffix,
|
|
17965
|
+
.pkt-input__container .pkt-input-icon,
|
|
17966
|
+
.pkt-input__container .pkt-input,
|
|
17967
|
+
.pkt-input__container .pkt-textinput__input,
|
|
17968
|
+
.pkt-input__container .pkt-select select,
|
|
17969
|
+
.pkt-select .pkt-input__container select,
|
|
17970
|
+
.pkt-input__container .pkt-select:is(select) {
|
|
17971
|
+
border: 0;
|
|
17972
|
+
}
|
|
17973
|
+
}
|
|
17901
17974
|
/*
|
|
17902
17975
|
* List elements
|
|
17903
17976
|
*/
|
|
@@ -18735,180 +18808,282 @@ Therefore, this is removed from the reset here, and images who need to be fluid
|
|
|
18735
18808
|
}
|
|
18736
18809
|
|
|
18737
18810
|
.pkt-calendar,
|
|
18738
|
-
pkt-
|
|
18811
|
+
pkt-calendar {
|
|
18812
|
+
z-index: 2;
|
|
18813
|
+
display: block;
|
|
18814
|
+
position: relative;
|
|
18739
18815
|
max-width: 25rem;
|
|
18740
18816
|
}
|
|
18741
18817
|
.pkt-calendar .pkt-cal-month-nav,
|
|
18742
|
-
pkt-
|
|
18818
|
+
pkt-calendar .pkt-cal-month-nav {
|
|
18743
18819
|
display: flex;
|
|
18744
18820
|
justify-content: space-between;
|
|
18745
18821
|
align-items: center;
|
|
18746
18822
|
margin-bottom: 1rem;
|
|
18747
18823
|
}
|
|
18748
18824
|
.pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker,
|
|
18749
|
-
pkt-
|
|
18825
|
+
pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker {
|
|
18750
18826
|
display: flex;
|
|
18751
18827
|
gap: 0.5rem;
|
|
18752
18828
|
}
|
|
18753
18829
|
.pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input,
|
|
18754
|
-
pkt-
|
|
18830
|
+
pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input {
|
|
18755
18831
|
font-size: 1rem;
|
|
18756
18832
|
font-weight: 500;
|
|
18757
18833
|
letter-spacing: -0.2px;
|
|
18758
18834
|
line-height: 1.5rem;
|
|
18759
18835
|
}
|
|
18760
18836
|
.pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input:is(select),
|
|
18761
|
-
pkt-
|
|
18837
|
+
pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker .pkt-input:is(select) {
|
|
18762
18838
|
text-align: right;
|
|
18763
18839
|
}
|
|
18764
18840
|
.pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker > .pkt-cal-input-year,
|
|
18765
|
-
pkt-
|
|
18841
|
+
pkt-calendar .pkt-cal-month-nav .pkt-cal-month-picker > .pkt-cal-input-year {
|
|
18766
18842
|
max-width: 4.5rem;
|
|
18767
18843
|
}
|
|
18844
|
+
.pkt-calendar .pkt-cal-month-nav td,
|
|
18845
|
+
.pkt-calendar .pkt-cal-days td,
|
|
18846
|
+
pkt-calendar .pkt-cal-month-nav td,
|
|
18847
|
+
pkt-calendar .pkt-cal-days td {
|
|
18848
|
+
border: 0;
|
|
18849
|
+
}
|
|
18768
18850
|
.pkt-calendar .pkt-cal-month-nav .pkt-btn,
|
|
18769
|
-
.pkt-calendar .pkt-cal-month-nav
|
|
18851
|
+
.pkt-calendar .pkt-cal-month-nav td > div,
|
|
18770
18852
|
.pkt-calendar .pkt-cal-days .pkt-btn,
|
|
18771
|
-
.pkt-calendar .pkt-cal-days
|
|
18772
|
-
pkt-
|
|
18773
|
-
pkt-
|
|
18774
|
-
pkt-
|
|
18775
|
-
pkt-
|
|
18853
|
+
.pkt-calendar .pkt-cal-days td > div,
|
|
18854
|
+
pkt-calendar .pkt-cal-month-nav .pkt-btn,
|
|
18855
|
+
pkt-calendar .pkt-cal-month-nav td > div,
|
|
18856
|
+
pkt-calendar .pkt-cal-days .pkt-btn,
|
|
18857
|
+
pkt-calendar .pkt-cal-days td > div {
|
|
18776
18858
|
font: inherit;
|
|
18777
18859
|
aspect-ratio: 1/1;
|
|
18778
18860
|
display: flex;
|
|
18779
18861
|
justify-content: center;
|
|
18780
18862
|
align-items: center;
|
|
18863
|
+
border: 0;
|
|
18781
18864
|
}
|
|
18782
18865
|
.pkt-calendar .pkt-cal-month-nav .pkt-btn,
|
|
18783
18866
|
.pkt-calendar .pkt-cal-days .pkt-btn,
|
|
18784
|
-
pkt-
|
|
18785
|
-
pkt-
|
|
18786
|
-
margin:
|
|
18787
|
-
z-index: 1;
|
|
18867
|
+
pkt-calendar .pkt-cal-month-nav .pkt-btn,
|
|
18868
|
+
pkt-calendar .pkt-cal-days .pkt-btn {
|
|
18869
|
+
margin: 0;
|
|
18788
18870
|
border-radius: 50%;
|
|
18789
18871
|
}
|
|
18790
18872
|
.pkt-calendar .pkt-cal-month-nav .pkt-btn:focus, .pkt-calendar .pkt-cal-month-nav .pkt-btn:active,
|
|
18791
18873
|
.pkt-calendar .pkt-cal-days .pkt-btn:focus,
|
|
18792
18874
|
.pkt-calendar .pkt-cal-days .pkt-btn:active,
|
|
18793
|
-
pkt-
|
|
18794
|
-
pkt-
|
|
18795
|
-
pkt-
|
|
18796
|
-
pkt-
|
|
18875
|
+
pkt-calendar .pkt-cal-month-nav .pkt-btn:focus,
|
|
18876
|
+
pkt-calendar .pkt-cal-month-nav .pkt-btn:active,
|
|
18877
|
+
pkt-calendar .pkt-cal-days .pkt-btn:focus,
|
|
18878
|
+
pkt-calendar .pkt-cal-days .pkt-btn:active {
|
|
18797
18879
|
outline: 0;
|
|
18798
18880
|
border: 0;
|
|
18799
18881
|
}
|
|
18800
|
-
.pkt-calendar .pkt-cal-month-nav .pkt-btn:disabled,
|
|
18801
|
-
.pkt-calendar .pkt-cal-days .pkt-btn:disabled,
|
|
18802
|
-
pkt-el-calendar .pkt-cal-month-nav .pkt-btn:disabled,
|
|
18803
|
-
pkt-el-calendar .pkt-cal-days .pkt-btn:disabled {
|
|
18804
|
-
background-color: transparent;
|
|
18805
|
-
border: 0;
|
|
18806
|
-
cursor: not-allowed;
|
|
18807
|
-
}
|
|
18808
18882
|
.pkt-calendar .pkt-cal-days,
|
|
18809
|
-
pkt-
|
|
18810
|
-
list-style: none;
|
|
18811
|
-
display: grid;
|
|
18812
|
-
grid-template-columns: repeat(7, 14.285%);
|
|
18883
|
+
pkt-calendar .pkt-cal-days {
|
|
18813
18884
|
margin: 0;
|
|
18814
18885
|
padding-left: 0;
|
|
18815
|
-
|
|
18816
|
-
align-items: center;
|
|
18886
|
+
border-spacing: 0;
|
|
18817
18887
|
}
|
|
18818
|
-
.pkt-calendar .pkt-cal-days
|
|
18819
|
-
pkt-
|
|
18888
|
+
.pkt-calendar .pkt-cal-days td,
|
|
18889
|
+
pkt-calendar .pkt-cal-days td {
|
|
18890
|
+
padding: 0;
|
|
18891
|
+
}
|
|
18892
|
+
.pkt-calendar .pkt-cal-days div,
|
|
18893
|
+
pkt-calendar .pkt-cal-days div {
|
|
18820
18894
|
aspect-ratio: 1/1;
|
|
18821
18895
|
justify-content: center;
|
|
18822
18896
|
align-items: center;
|
|
18823
18897
|
position: relative;
|
|
18824
18898
|
text-align: center;
|
|
18825
|
-
z-index: 1;
|
|
18826
18899
|
}
|
|
18827
|
-
.pkt-calendar .pkt-cal-days
|
|
18828
|
-
pkt-
|
|
18829
|
-
pkt-
|
|
18900
|
+
.pkt-calendar .pkt-cal-days div:before, .pkt-calendar .pkt-cal-days div:after,
|
|
18901
|
+
pkt-calendar .pkt-cal-days div:before,
|
|
18902
|
+
pkt-calendar .pkt-cal-days div:after {
|
|
18830
18903
|
content: "";
|
|
18831
18904
|
display: block;
|
|
18832
18905
|
position: absolute;
|
|
18833
18906
|
top: 0;
|
|
18834
18907
|
bottom: 0;
|
|
18835
|
-
z-index:
|
|
18908
|
+
z-index: -1;
|
|
18836
18909
|
}
|
|
18837
|
-
.pkt-calendar .pkt-cal-days
|
|
18838
|
-
pkt-
|
|
18910
|
+
.pkt-calendar .pkt-cal-days div:before,
|
|
18911
|
+
pkt-calendar .pkt-cal-days div:before {
|
|
18839
18912
|
left: 0;
|
|
18840
18913
|
right: 50%;
|
|
18841
18914
|
}
|
|
18842
|
-
.pkt-calendar .pkt-cal-days
|
|
18843
|
-
pkt-
|
|
18915
|
+
.pkt-calendar .pkt-cal-days div:after,
|
|
18916
|
+
pkt-calendar .pkt-cal-days div:after {
|
|
18844
18917
|
left: 50%;
|
|
18845
18918
|
right: 0;
|
|
18846
18919
|
}
|
|
18847
18920
|
.pkt-calendar.pkt-cal-weeknumbers .pkt-cal-day-names, .pkt-calendar.pkt-cal-weeknumbers .pkt-cal-days,
|
|
18848
|
-
pkt-
|
|
18849
|
-
pkt-
|
|
18921
|
+
pkt-calendar.pkt-cal-weeknumbers .pkt-cal-day-names,
|
|
18922
|
+
pkt-calendar.pkt-cal-weeknumbers .pkt-cal-days {
|
|
18850
18923
|
grid-template-columns: repeat(8, 12.5%);
|
|
18851
18924
|
}
|
|
18852
18925
|
.pkt-calendar .pkt-cal-other,
|
|
18853
|
-
pkt-
|
|
18926
|
+
.pkt-calendar .pkt-cal-days [data-disabled],
|
|
18927
|
+
pkt-calendar .pkt-cal-other,
|
|
18928
|
+
pkt-calendar .pkt-cal-days [data-disabled] {
|
|
18929
|
+
cursor: not-allowed;
|
|
18854
18930
|
color: var(--pkt-color-grays-gray-200);
|
|
18855
18931
|
}
|
|
18856
18932
|
.pkt-calendar .pkt-cal-other .pkt-btn,
|
|
18857
|
-
pkt-
|
|
18933
|
+
.pkt-calendar .pkt-cal-days [data-disabled] .pkt-btn,
|
|
18934
|
+
pkt-calendar .pkt-cal-other .pkt-btn,
|
|
18935
|
+
pkt-calendar .pkt-cal-days [data-disabled] .pkt-btn {
|
|
18858
18936
|
color: inherit;
|
|
18859
18937
|
background: transparent;
|
|
18860
18938
|
border: none;
|
|
18861
18939
|
}
|
|
18862
18940
|
.pkt-calendar .pkt-cal-today .pkt-btn,
|
|
18863
|
-
pkt-
|
|
18864
|
-
z-index: 2;
|
|
18941
|
+
pkt-calendar .pkt-cal-today .pkt-btn {
|
|
18865
18942
|
text-decoration: underline;
|
|
18866
18943
|
outline: 1px solid var(--pkt-color-border-default);
|
|
18944
|
+
outline-offset: -1px;
|
|
18867
18945
|
}
|
|
18868
18946
|
.pkt-calendar .pkt-cal-selected .pkt-btn,
|
|
18869
18947
|
.pkt-calendar .pkt-cal-selected .pkt-btn:focus,
|
|
18870
|
-
pkt-
|
|
18871
|
-
pkt-
|
|
18948
|
+
.pkt-calendar .pkt-cal-selected .pkt-btn:hover,
|
|
18949
|
+
pkt-calendar .pkt-cal-selected .pkt-btn,
|
|
18950
|
+
pkt-calendar .pkt-cal-selected .pkt-btn:focus,
|
|
18951
|
+
pkt-calendar .pkt-cal-selected .pkt-btn:hover {
|
|
18872
18952
|
background-color: var(--pkt-color-surface-strong-blue);
|
|
18873
18953
|
}
|
|
18874
|
-
.pkt-calendar .pkt-cal-
|
|
18875
|
-
.pkt-calendar .pkt-cal-
|
|
18876
|
-
pkt-
|
|
18877
|
-
pkt-
|
|
18878
|
-
|
|
18879
|
-
|
|
18880
|
-
.pkt-calendar .pkt-cal-in-range:before, .pkt-calendar .pkt-cal-in-range:after, .pkt-calendar .pkt-cal-in-range-first:after, .pkt-calendar .pkt-cal-in-range-last:before,
|
|
18881
|
-
pkt-el-calendar .pkt-cal-in-range:before,
|
|
18882
|
-
pkt-el-calendar .pkt-cal-in-range:after,
|
|
18883
|
-
pkt-el-calendar .pkt-cal-in-range-first:after,
|
|
18884
|
-
pkt-el-calendar .pkt-cal-in-range-last:before {
|
|
18954
|
+
.pkt-calendar .pkt-cal-in-range :before,
|
|
18955
|
+
.pkt-calendar .pkt-cal-in-range :after, .pkt-calendar .pkt-cal-in-range-first :after, .pkt-calendar .pkt-cal-in-range-last :before,
|
|
18956
|
+
pkt-calendar .pkt-cal-in-range :before,
|
|
18957
|
+
pkt-calendar .pkt-cal-in-range :after,
|
|
18958
|
+
pkt-calendar .pkt-cal-in-range-first :after,
|
|
18959
|
+
pkt-calendar .pkt-cal-in-range-last :before {
|
|
18885
18960
|
background-color: var(--pkt-color-surface-default-light-blue);
|
|
18886
18961
|
}
|
|
18887
|
-
.pkt-calendar .pkt-cal-in-range-first:before, .pkt-calendar .pkt-cal-in-range-last:after,
|
|
18888
|
-
pkt-
|
|
18889
|
-
pkt-
|
|
18962
|
+
.pkt-calendar .pkt-cal-in-range-first :before, .pkt-calendar .pkt-cal-in-range-last :after,
|
|
18963
|
+
pkt-calendar .pkt-cal-in-range-first :before,
|
|
18964
|
+
pkt-calendar .pkt-cal-in-range-last :after {
|
|
18890
18965
|
background-color: transparent;
|
|
18891
18966
|
}
|
|
18892
|
-
.pkt-calendar .pkt-cal-range-hover:before,
|
|
18967
|
+
.pkt-calendar .pkt-cal-range-hover :before,
|
|
18893
18968
|
.pkt-calendar .pkt-cal-range-hover .pkt-btn,
|
|
18894
|
-
pkt-
|
|
18895
|
-
pkt-
|
|
18969
|
+
pkt-calendar .pkt-cal-range-hover :before,
|
|
18970
|
+
pkt-calendar .pkt-cal-range-hover .pkt-btn {
|
|
18896
18971
|
background-color: var(--pkt-color-surface-default-light-blue);
|
|
18897
18972
|
}
|
|
18898
18973
|
.pkt-calendar .pkt-cal-range-hover .pkt-btn,
|
|
18899
|
-
pkt-
|
|
18974
|
+
pkt-calendar .pkt-cal-range-hover .pkt-btn {
|
|
18900
18975
|
border-color: var(--pkt-color-surface-default-light-blue);
|
|
18901
18976
|
}
|
|
18902
18977
|
.pkt-calendar .pkt-cal-excluded,
|
|
18903
|
-
pkt-
|
|
18978
|
+
pkt-calendar .pkt-cal-excluded {
|
|
18904
18979
|
background-color: var(--pkt-color-brand-neutrals-100);
|
|
18905
18980
|
}
|
|
18906
|
-
.pkt-calendar .pkt-cal-excluded:before,
|
|
18907
|
-
pkt-
|
|
18908
|
-
pkt-
|
|
18981
|
+
.pkt-calendar .pkt-cal-excluded :before,
|
|
18982
|
+
.pkt-calendar .pkt-cal-excluded :after,
|
|
18983
|
+
pkt-calendar .pkt-cal-excluded :before,
|
|
18984
|
+
pkt-calendar .pkt-cal-excluded :after {
|
|
18909
18985
|
background-color: transparent;
|
|
18910
18986
|
}
|
|
18911
18987
|
|
|
18988
|
+
pkt-datepicker {
|
|
18989
|
+
display: block;
|
|
18990
|
+
position: relative;
|
|
18991
|
+
}
|
|
18992
|
+
pkt-datepicker .pkt-datepicker {
|
|
18993
|
+
position: relative;
|
|
18994
|
+
}
|
|
18995
|
+
pkt-datepicker .pkt-datepicker__tags .pkt-tag {
|
|
18996
|
+
margin: 0 0.25rem 0.5rem 0;
|
|
18997
|
+
}
|
|
18998
|
+
|
|
18999
|
+
.pkt-datepicker__inputs {
|
|
19000
|
+
width: 100%;
|
|
19001
|
+
position: relative;
|
|
19002
|
+
}
|
|
19003
|
+
|
|
19004
|
+
.pkt-calendar-popup {
|
|
19005
|
+
top: 100%;
|
|
19006
|
+
left: 0;
|
|
19007
|
+
z-index: 2;
|
|
19008
|
+
margin: 0;
|
|
19009
|
+
padding: 0.5rem;
|
|
19010
|
+
position: absolute;
|
|
19011
|
+
width: max-content;
|
|
19012
|
+
background: var(--pkt-color-background-default);
|
|
19013
|
+
box-shadow: 0px 2px 4px -2px rgba(0, 0, 0, 0.1), 0px 4px 6px -1px rgba(0, 0, 0, 0.1);
|
|
19014
|
+
}
|
|
19015
|
+
|
|
19016
|
+
/*
|
|
19017
|
+
* Cardcomponent
|
|
19018
|
+
*/
|
|
19019
|
+
.pkt-card {
|
|
19020
|
+
padding: 2rem;
|
|
19021
|
+
display: flex;
|
|
19022
|
+
gap: 3rem;
|
|
19023
|
+
}
|
|
19024
|
+
.pkt-card__wrapper {
|
|
19025
|
+
display: flex;
|
|
19026
|
+
flex-direction: column;
|
|
19027
|
+
gap: 1rem;
|
|
19028
|
+
}
|
|
19029
|
+
.pkt-card__tags {
|
|
19030
|
+
display: flex;
|
|
19031
|
+
gap: 1rem;
|
|
19032
|
+
}
|
|
19033
|
+
.pkt-card--landscape {
|
|
19034
|
+
flex-direction: row;
|
|
19035
|
+
max-width: 950px;
|
|
19036
|
+
}
|
|
19037
|
+
.pkt-card--landscape .pkt-card__image {
|
|
19038
|
+
min-width: 320px;
|
|
19039
|
+
overflow: hidden;
|
|
19040
|
+
}
|
|
19041
|
+
.pkt-card--landscape .pkt-card__image img {
|
|
19042
|
+
height: 100%;
|
|
19043
|
+
width: 100%;
|
|
19044
|
+
object-fit: cover;
|
|
19045
|
+
object-position: center;
|
|
19046
|
+
}
|
|
19047
|
+
.pkt-card--portrait {
|
|
19048
|
+
flex-direction: column;
|
|
19049
|
+
max-width: 500px;
|
|
19050
|
+
}
|
|
19051
|
+
.pkt-card--portrait .pkt-card__image {
|
|
19052
|
+
max-height: 400px;
|
|
19053
|
+
overflow: hidden;
|
|
19054
|
+
}
|
|
19055
|
+
.pkt-card--portrait .pkt-card__image img {
|
|
19056
|
+
width: 100%;
|
|
19057
|
+
height: 100%;
|
|
19058
|
+
object-fit: cover;
|
|
19059
|
+
object-position: center;
|
|
19060
|
+
}
|
|
19061
|
+
.pkt-card--outlined {
|
|
19062
|
+
border: 3px solid var(--pkt-color-grays-gray-100);
|
|
19063
|
+
background-color: var(--pkt-color-background-default);
|
|
19064
|
+
}
|
|
19065
|
+
.pkt-card--gray {
|
|
19066
|
+
background-color: var(--pkt-color-background-subtle);
|
|
19067
|
+
}
|
|
19068
|
+
.pkt-card--blue {
|
|
19069
|
+
background-color: var(--pkt-color-brand-blue-300);
|
|
19070
|
+
}
|
|
19071
|
+
.pkt-card--green {
|
|
19072
|
+
background-color: var(--pkt-color-brand-light-green-400);
|
|
19073
|
+
}
|
|
19074
|
+
.pkt-card--beige {
|
|
19075
|
+
background-color: var(--pkt-color-brand-light-beige-1000);
|
|
19076
|
+
}
|
|
19077
|
+
.pkt-card h1,
|
|
19078
|
+
.pkt-card h2,
|
|
19079
|
+
.pkt-card h3,
|
|
19080
|
+
.pkt-card h4,
|
|
19081
|
+
.pkt-card h5,
|
|
19082
|
+
.pkt-card p {
|
|
19083
|
+
padding: 0;
|
|
19084
|
+
margin: 0;
|
|
19085
|
+
}
|
|
19086
|
+
|
|
18912
19087
|
/*
|
|
18913
19088
|
* Footer element
|
|
18914
19089
|
*/
|
|
@@ -19354,30 +19529,28 @@ pkt-el-calendar .pkt-cal-excluded:after {
|
|
|
19354
19529
|
* TODO: use SVG icons instead
|
|
19355
19530
|
*/
|
|
19356
19531
|
.pkt-icon,
|
|
19357
|
-
pkt-
|
|
19532
|
+
pkt-icon {
|
|
19358
19533
|
display: inline-flex;
|
|
19359
19534
|
min-height: 1rem;
|
|
19360
19535
|
min-width: 1rem;
|
|
19361
19536
|
}
|
|
19362
19537
|
.pkt-icon > svg,
|
|
19363
|
-
pkt-
|
|
19538
|
+
pkt-icon > svg {
|
|
19364
19539
|
min-height: 1rem;
|
|
19365
19540
|
min-width: 1rem;
|
|
19366
19541
|
max-height: 100%;
|
|
19367
19542
|
max-width: 100%;
|
|
19368
19543
|
}
|
|
19369
|
-
|
|
19370
|
-
pkt-
|
|
19544
|
+
|
|
19545
|
+
.pkt-icon--small {
|
|
19371
19546
|
height: 1rem;
|
|
19372
19547
|
width: 1rem;
|
|
19373
19548
|
}
|
|
19374
|
-
.pkt-icon--medium
|
|
19375
|
-
pkt-el-icon--medium {
|
|
19549
|
+
.pkt-icon--medium {
|
|
19376
19550
|
height: 1.5rem;
|
|
19377
19551
|
width: 1.5rem;
|
|
19378
19552
|
}
|
|
19379
|
-
.pkt-icon--large
|
|
19380
|
-
pkt-el-icon--large {
|
|
19553
|
+
.pkt-icon--large {
|
|
19381
19554
|
height: 4rem;
|
|
19382
19555
|
width: 4rem;
|
|
19383
19556
|
}
|
|
@@ -19957,6 +20130,10 @@ pkt-el-icon--large {
|
|
|
19957
20130
|
background-color: var(--pkt-color-surface-default-gray) !important;
|
|
19958
20131
|
}
|
|
19959
20132
|
|
|
20133
|
+
.preview-content {
|
|
20134
|
+
display: contents;
|
|
20135
|
+
}
|
|
20136
|
+
|
|
19960
20137
|
.pkt-progressbar {
|
|
19961
20138
|
--pkt-progress-width: 0%;
|
|
19962
20139
|
--pkt-progress-label-width: 5rem;
|
|
@@ -20322,8 +20499,8 @@ pkt-el-icon--large {
|
|
|
20322
20499
|
white-space: nowrap;
|
|
20323
20500
|
}
|
|
20324
20501
|
.pkt-tabs__link .pkt-icon,
|
|
20325
|
-
.pkt-tabs__link pkt-
|
|
20326
|
-
.pkt-tabs__button pkt-
|
|
20502
|
+
.pkt-tabs__link pkt-icon, .pkt-tabs__button .pkt-icon,
|
|
20503
|
+
.pkt-tabs__button pkt-icon {
|
|
20327
20504
|
--fg-color: currentColor;
|
|
20328
20505
|
}
|
|
20329
20506
|
.pkt-tabs__link, .pkt-tabs__link:hover, .pkt-tabs__link:active, .pkt-tabs__button, .pkt-tabs__button:hover, .pkt-tabs__button:active {
|