@pzh-ui/css 0.0.73 → 0.0.74

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/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@pzh-ui/css",
3
- "version": "0.0.73",
3
+ "version": "0.0.74",
4
4
  "description": "Contains default styling for projects whitin Provincie Zuid-Holland.",
5
5
  "license": "ISC",
6
6
  "publishConfig": {
@@ -21,7 +21,7 @@
21
21
  "react-datepicker": "^4.7.0",
22
22
  "react-toastify": "^9.1.2"
23
23
  },
24
- "gitHead": "fb0ef4cadbb900cdce75da185bf203beeac47997",
24
+ "gitHead": "d776c5b243f3ff0b43b83da8795e61996e9350c3",
25
25
  "devDependencies": {
26
26
  "tailwindcss": "^3.3.2"
27
27
  }
package/src/tailwind.css CHANGED
@@ -1314,15 +1314,15 @@ select {
1314
1314
  }
1315
1315
 
1316
1316
  .pzh-form-error,
1317
- .pzh-form-checkbox.pzh-form-error + span:before,
1318
- .pzh-form-radio:checked.pzh-form-error + span:before,
1319
- .pzh-form-radio:not(:checked).pzh-form-error + span:before {
1317
+ .pzh-form-checkbox.pzh-form-error + span:before,
1318
+ .pzh-form-radio:checked.pzh-form-error + span:before,
1319
+ .pzh-form-radio:not(:checked).pzh-form-error + span:before {
1320
1320
  --tw-border-opacity: 1;
1321
1321
  border-color: rgb(209 31 61 / var(--tw-border-opacity));
1322
1322
  }
1323
1323
 
1324
1324
  .pzh-form-radio:checked + span:before,
1325
- .pzh-form-radio:not(:checked) + span:before {
1325
+ .pzh-form-radio:not(:checked) + span:before {
1326
1326
  position: absolute;
1327
1327
  left: 0px;
1328
1328
  top: 0px;
@@ -1334,11 +1334,11 @@ select {
1334
1334
  border-color: rgb(92 92 92 / var(--tw-border-opacity));
1335
1335
  --tw-bg-opacity: 1;
1336
1336
  background-color: rgb(230 230 230 / var(--tw-bg-opacity));
1337
- content: '';
1337
+ content: "";
1338
1338
  }
1339
1339
 
1340
1340
  .pzh-form-radio:checked + span:after,
1341
- .pzh-form-radio:not(:checked) + span:after {
1341
+ .pzh-form-radio:not(:checked) + span:after {
1342
1342
  position: absolute;
1343
1343
  left: 5px;
1344
1344
  top: 5px;
@@ -1352,23 +1352,23 @@ select {
1352
1352
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1353
1353
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1354
1354
  transition-duration: 200ms;
1355
- content: '';
1355
+ content: "";
1356
1356
  }
1357
1357
 
1358
1358
  .pzh-form-radio:not(:checked) + span:after,
1359
- .pzh-form-checkbox:not(:checked) + span:after {
1359
+ .pzh-form-checkbox:not(:checked) + span:after {
1360
1360
  opacity: 0;
1361
1361
  transform: scale(0);
1362
1362
  }
1363
1363
 
1364
1364
  .pzh-form-radio:checked + span:after,
1365
- .pzh-form-checkbox:checked + span:after {
1365
+ .pzh-form-checkbox:checked + span:after {
1366
1366
  opacity: 1;
1367
1367
  transform: scale(1);
1368
1368
  }
1369
1369
 
1370
1370
  .pzh-form-radio:disabled + span:before,
1371
- .pzh-form-checkbox:disabled + span:before {
1371
+ .pzh-form-checkbox:disabled + span:before {
1372
1372
  --tw-border-opacity: 1;
1373
1373
  border-color: rgb(230 230 230 / var(--tw-border-opacity));
1374
1374
  --tw-bg-opacity: 1;
@@ -1392,7 +1392,7 @@ select {
1392
1392
  transition-property: color, background-color, border-color, text-decoration-color, fill, stroke, opacity, box-shadow, transform, filter, backdrop-filter, -webkit-backdrop-filter;
1393
1393
  transition-timing-function: cubic-bezier(0.4, 0, 0.2, 1);
1394
1394
  transition-duration: 200ms;
1395
- content: '';
1395
+ content: "";
1396
1396
  }
1397
1397
 
1398
1398
  .pzh-form-checkbox:checked:not(:disabled) + span:before {
@@ -1401,7 +1401,7 @@ select {
1401
1401
  }
1402
1402
 
1403
1403
  .pzh-form-checkbox:checked + span:after,
1404
- .pzh-form-checkbox:not(:checked) + span:after {
1404
+ .pzh-form-checkbox:not(:checked) + span:after {
1405
1405
  position: absolute;
1406
1406
  left: 5px;
1407
1407
  top: 0.125rem;
@@ -1422,7 +1422,7 @@ select {
1422
1422
  }
1423
1423
 
1424
1424
  .pzh-form-radio:focus + span:before,
1425
- .pzh-form-checkbox:focus + span:before {
1425
+ .pzh-form-checkbox:focus + span:before {
1426
1426
  --tw-border-opacity: 1;
1427
1427
  border-color: rgb(40 31 107 / var(--tw-border-opacity));
1428
1428
  outline: 2px solid transparent;
@@ -1440,12 +1440,12 @@ select {
1440
1440
  */
1441
1441
 
1442
1442
  .react-datepicker.pzh-datepicker {
1443
- font-family: 'Karbon Regular', sans-serif;
1443
+ font-family: "Karbon Regular", sans-serif;
1444
1444
  font-weight: 400;
1445
1445
  font-size: 0.8rem;
1446
1446
  box-shadow: 0px 18px 60px rgba(0, 0, 0, 0.07),
1447
- 0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275),
1448
- 0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
1447
+ 0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275),
1448
+ 0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
1449
1449
  border-style: none;
1450
1450
  --tw-text-opacity: 1;
1451
1451
  color: rgb(22 17 59 / var(--tw-text-opacity));
@@ -1484,16 +1484,16 @@ select {
1484
1484
  }
1485
1485
 
1486
1486
  .pzh-datepicker
1487
- .react-datepicker__day--outside-month:not(
1488
- .react-datepicker__day--selected
1489
- ) {
1487
+ .react-datepicker__day--outside-month:not(
1488
+ .react-datepicker__day--selected
1489
+ ) {
1490
1490
  color: rgb(22 17 59 / var(--tw-text-opacity));
1491
1491
  --tw-text-opacity: 0.35;
1492
1492
  }
1493
1493
 
1494
1494
  .pzh-datepicker .react-datepicker__day-name,
1495
- .pzh-datepicker .react-datepicker__day,
1496
- .pzh-datepicker .react-datepicker__time-name {
1495
+ .pzh-datepicker .react-datepicker__day,
1496
+ .pzh-datepicker .react-datepicker__time-name {
1497
1497
  margin-left: 0.5rem;
1498
1498
  margin-right: 0.5rem;
1499
1499
  margin-top: 0.25rem;
@@ -1512,12 +1512,10 @@ select {
1512
1512
  }
1513
1513
 
1514
1514
  .pzh-datepicker
1515
- .react-datepicker__day--today:not(.react-datepicker__day--selected),
1516
- .pzh-datepicker
1517
- .react-datepicker__day--today:hover:not(
1518
- .react-datepicker__day--selected
1519
- ),
1520
- .pzh-datepicker .react-datepicker__day--keyboard-selected {
1515
+ .react-datepicker__day--today:not(.react-datepicker__day--selected),
1516
+ .pzh-datepicker
1517
+ .react-datepicker__day--today:hover:not(.react-datepicker__day--selected),
1518
+ .pzh-datepicker .react-datepicker__day--keyboard-selected {
1521
1519
  background-color: rgb(22 17 59 / var(--tw-bg-opacity));
1522
1520
  --tw-bg-opacity: 0.1;
1523
1521
  --tw-text-opacity: 1;
@@ -1530,16 +1528,16 @@ select {
1530
1528
  }
1531
1529
 
1532
1530
  .pzh-datepicker .react-datepicker__day--selected,
1533
- .pzh-datepicker .react-datepicker__day--selected:hover {
1531
+ .pzh-datepicker .react-datepicker__day--selected:hover {
1534
1532
  --tw-bg-opacity: 1;
1535
1533
  background-color: rgb(0 128 77 / var(--tw-bg-opacity));
1536
1534
  font-weight: 700;
1537
1535
  }
1538
1536
 
1539
1537
  .pzh-datepicker .react-datepicker__year-read-view--down-arrow,
1540
- .pzh-datepicker .react-datepicker__month-read-view--down-arrow,
1541
- .pzh-datepicker .react-datepicker__month-year-read-view--down-arrow,
1542
- .pzh-datepicker .react-datepicker__navigation-icon::before {
1538
+ .pzh-datepicker .react-datepicker__month-read-view--down-arrow,
1539
+ .pzh-datepicker .react-datepicker__month-year-read-view--down-arrow,
1540
+ .pzh-datepicker .react-datepicker__navigation-icon::before {
1543
1541
  height: 7px;
1544
1542
  width: 7px;
1545
1543
  border-width: 0px;
@@ -1581,7 +1579,9 @@ table {
1581
1579
  line-height: 1.875rem !important;
1582
1580
  }
1583
1581
 
1584
- table, table td, table th {
1582
+ table,
1583
+ table td,
1584
+ table th {
1585
1585
  border-width: 1px;
1586
1586
  --tw-border-opacity: 1;
1587
1587
  border-color: rgb(92 92 92 / var(--tw-border-opacity));
@@ -1591,7 +1591,7 @@ table tr th {
1591
1591
  --tw-bg-opacity: 1;
1592
1592
  background-color: rgb(248 248 248 / var(--tw-bg-opacity));
1593
1593
  font-weight: 700;
1594
- font-family: 'Karbon Medium', sans-serif;
1594
+ font-family: "Karbon Medium", sans-serif;
1595
1595
  }
1596
1596
 
1597
1597
  table tr {
@@ -1600,8 +1600,14 @@ table tr {
1600
1600
  border-color: rgb(92 92 92 / var(--tw-border-opacity));
1601
1601
  }
1602
1602
 
1603
- table td, table th {
1604
- padding: 0.5rem;
1603
+ table td,
1604
+ table th {
1605
+ padding: 0.5rem !important;
1606
+ }
1607
+
1608
+ table p {
1609
+ margin-top: 0px !important;
1610
+ margin-bottom: 0px !important;
1605
1611
  }
1606
1612
 
1607
1613
  .sr-only {
@@ -1851,6 +1857,10 @@ table td, table th {
1851
1857
  display: inline-flex;
1852
1858
  }
1853
1859
 
1860
+ .\!table {
1861
+ display: table !important;
1862
+ }
1863
+
1854
1864
  .table {
1855
1865
  display: table;
1856
1866
  }
@@ -2333,6 +2343,11 @@ table td, table th {
2333
2343
  background-color: rgb(213 213 213 / var(--tw-bg-opacity));
2334
2344
  }
2335
2345
 
2346
+ .bg-pzh-gray-600 {
2347
+ --tw-bg-opacity: 1;
2348
+ background-color: rgb(92 92 92 / var(--tw-bg-opacity));
2349
+ }
2350
+
2336
2351
  .bg-pzh-gray-800\/10 {
2337
2352
  background-color: rgb(34 34 34 / 0.1);
2338
2353
  }
@@ -2449,6 +2464,11 @@ table td, table th {
2449
2464
  padding-bottom: 0.5rem;
2450
2465
  }
2451
2466
 
2467
+ .py-4 {
2468
+ padding-top: 1rem;
2469
+ padding-bottom: 1rem;
2470
+ }
2471
+
2452
2472
  .py-6 {
2453
2473
  padding-top: 1.5rem;
2454
2474
  padding-bottom: 1.5rem;
@@ -2747,6 +2767,12 @@ table td, table th {
2747
2767
  box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2748
2768
  }
2749
2769
 
2770
+ .shadow-\[0_1px_8px_0_rgba\(0\2c 0\2c 0\2c 0\.2\)\] {
2771
+ --tw-shadow: 0 1px 8px 0 rgba(0,0,0,0.2);
2772
+ --tw-shadow-colored: 0 1px 8px 0 var(--tw-shadow-color);
2773
+ box-shadow: var(--tw-ring-offset-shadow, 0 0 #0000), var(--tw-ring-shadow, 0 0 #0000), var(--tw-shadow);
2774
+ }
2775
+
2750
2776
  .shadow-card {
2751
2777
  --tw-shadow: 0px 18px 60px rgba(0, 0, 0, 0.07), 0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275), 0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
2752
2778
  --tw-shadow-colored: 0px 18px 60px var(--tw-shadow-color), 0px 4.02054px 13.4018px var(--tw-shadow-color), 0px 1.19702px 3.99006px var(--tw-shadow-color);
@@ -2855,9 +2881,9 @@ table td, table th {
2855
2881
  }
2856
2882
 
2857
2883
  @font-face {
2858
- font-family: 'Karbon Regular';
2884
+ font-family: "Karbon Regular";
2859
2885
 
2860
- src: url('./../fonts/Karbon-Regular.woff2') format('woff2');
2886
+ src: url("./../fonts/Karbon-Regular.woff2") format("woff2");
2861
2887
 
2862
2888
  font-weight: normal;
2863
2889
 
@@ -2865,9 +2891,9 @@ table td, table th {
2865
2891
  }
2866
2892
 
2867
2893
  @font-face {
2868
- font-family: 'Karbon Medium';
2894
+ font-family: "Karbon Medium";
2869
2895
 
2870
- src: url('./../fonts/Karbon-Medium.woff2') format('woff2');
2896
+ src: url("./../fonts/Karbon-Medium.woff2") format("woff2");
2871
2897
 
2872
2898
  font-weight: bold;
2873
2899
 
@@ -2884,7 +2910,7 @@ body {
2884
2910
  padding: 0;
2885
2911
  font-size: 20px;
2886
2912
  line-height: 1.5em;
2887
- font-family: 'Karbon Regular', sans-serif;
2913
+ font-family: "Karbon Regular", sans-serif;
2888
2914
  font-weight: 400;
2889
2915
  -webkit-font-smoothing: antialiased;
2890
2916
  -moz-osx-font-smoothing: grayscale;
@@ -2899,7 +2925,7 @@ h6,
2899
2925
  .font-bold,
2900
2926
  strong,
2901
2927
  b {
2902
- font-family: 'Karbon Medium', sans-serif;
2928
+ font-family: "Karbon Medium", sans-serif;
2903
2929
  }
2904
2930
 
2905
2931
  ul li ul li {
@@ -2919,7 +2945,7 @@ ol li ol li ol li {
2919
2945
  }
2920
2946
 
2921
2947
  .font-normal {
2922
- font-family: 'Karbon Regular', sans-serif;
2948
+ font-family: "Karbon Regular", sans-serif;
2923
2949
  }
2924
2950
 
2925
2951
  .bold {
@@ -2966,6 +2992,75 @@ ol li ol li ol li {
2966
2992
  --tw-ring-color: rgb(40 31 107 / var(--tw-ring-opacity));
2967
2993
  }
2968
2994
 
2995
+ .after\:absolute::after {
2996
+ content: var(--tw-content);
2997
+ position: absolute;
2998
+ }
2999
+
3000
+ .after\:-top-2::after {
3001
+ content: var(--tw-content);
3002
+ top: -0.5rem;
3003
+ }
3004
+
3005
+ .after\:left-0::after {
3006
+ content: var(--tw-content);
3007
+ left: 0px;
3008
+ }
3009
+
3010
+ .after\:right-0::after {
3011
+ content: var(--tw-content);
3012
+ right: 0px;
3013
+ }
3014
+
3015
+ .after\:mx-auto::after {
3016
+ content: var(--tw-content);
3017
+ margin-left: auto;
3018
+ margin-right: auto;
3019
+ }
3020
+
3021
+ .after\:block::after {
3022
+ content: var(--tw-content);
3023
+ display: block;
3024
+ }
3025
+
3026
+ .after\:h-0::after {
3027
+ content: var(--tw-content);
3028
+ height: 0px;
3029
+ }
3030
+
3031
+ .after\:w-0::after {
3032
+ content: var(--tw-content);
3033
+ width: 0px;
3034
+ }
3035
+
3036
+ .after\:border-x-\[10px\]::after {
3037
+ content: var(--tw-content);
3038
+ border-left-width: 10px;
3039
+ border-right-width: 10px;
3040
+ }
3041
+
3042
+ .after\:border-b-\[10px\]::after {
3043
+ content: var(--tw-content);
3044
+ border-bottom-width: 10px;
3045
+ }
3046
+
3047
+ .after\:border-t-0::after {
3048
+ content: var(--tw-content);
3049
+ border-top-width: 0px;
3050
+ }
3051
+
3052
+ .after\:border-x-\[transparent\]::after {
3053
+ content: var(--tw-content);
3054
+ border-left-color: transparent;
3055
+ border-right-color: transparent;
3056
+ }
3057
+
3058
+ .after\:border-b-pzh-white::after {
3059
+ content: var(--tw-content);
3060
+ --tw-border-opacity: 1;
3061
+ border-bottom-color: rgb(255 255 255 / var(--tw-border-opacity));
3062
+ }
3063
+
2969
3064
  .hover\:translate-y-0:hover {
2970
3065
  --tw-translate-y: 0px;
2971
3066
  transform: translate(var(--tw-translate-x), var(--tw-translate-y)) rotate(var(--tw-rotate)) skewX(var(--tw-skew-x)) skewY(var(--tw-skew-y)) scaleX(var(--tw-scale-x)) scaleY(var(--tw-scale-y));
@@ -1,35 +1,35 @@
1
- @import 'tailwindcss/base';
2
- @import 'tailwindcss/components';
3
- @import 'tailwindcss/utilities';
1
+ @import "tailwindcss/base";
2
+ @import "tailwindcss/components";
3
+ @import "tailwindcss/utilities";
4
4
 
5
5
  @font-face {
6
- font-family: 'Karbon Regular';
7
- src: url('./../fonts/Karbon-Regular.woff2') format('woff2');
8
- font-weight: normal;
9
- font-display: swap;
6
+ font-family: "Karbon Regular";
7
+ src: url("./../fonts/Karbon-Regular.woff2") format("woff2");
8
+ font-weight: normal;
9
+ font-display: swap;
10
10
  }
11
11
 
12
12
  @font-face {
13
- font-family: 'Karbon Medium';
14
- src: url('./../fonts/Karbon-Medium.woff2') format('woff2');
15
- font-weight: bold;
16
- font-display: swap;
13
+ font-family: "Karbon Medium";
14
+ src: url("./../fonts/Karbon-Medium.woff2") format("woff2");
15
+ font-weight: bold;
16
+ font-display: swap;
17
17
  }
18
18
 
19
19
  html {
20
- height: 100%;
21
- overflow: auto;
20
+ height: 100%;
21
+ overflow: auto;
22
22
  }
23
23
 
24
24
  body {
25
- margin: 0;
26
- padding: 0;
27
- font-size: 20px;
28
- line-height: 1.5em;
29
- font-family: 'Karbon Regular', sans-serif;
30
- font-weight: 400;
31
- -webkit-font-smoothing: antialiased;
32
- -moz-osx-font-smoothing: grayscale;
25
+ margin: 0;
26
+ padding: 0;
27
+ font-size: 20px;
28
+ line-height: 1.5em;
29
+ font-family: "Karbon Regular", sans-serif;
30
+ font-weight: 400;
31
+ -webkit-font-smoothing: antialiased;
32
+ -moz-osx-font-smoothing: grayscale;
33
33
  }
34
34
 
35
35
  h1,
@@ -41,250 +41,255 @@ h6,
41
41
  .font-bold,
42
42
  strong,
43
43
  b {
44
- font-family: 'Karbon Medium', sans-serif;
44
+ font-family: "Karbon Medium", sans-serif;
45
45
  }
46
46
 
47
47
  ul li ul li {
48
- list-style-type: circle;
48
+ list-style-type: circle;
49
49
  }
50
50
 
51
51
  ul li ul li ul li {
52
- list-style-type: square;
52
+ list-style-type: square;
53
53
  }
54
54
 
55
55
  ol li ol li {
56
- list-style-type: lower-alpha;
56
+ list-style-type: lower-alpha;
57
57
  }
58
58
 
59
59
  ol li ol li ol li {
60
- list-style-type: lower-roman;
60
+ list-style-type: lower-roman;
61
61
  }
62
62
 
63
63
  .font-normal {
64
- font-family: 'Karbon Regular', sans-serif;
64
+ font-family: "Karbon Regular", sans-serif;
65
65
  }
66
66
 
67
67
  .bold {
68
- font-weight: 700;
68
+ font-weight: 700;
69
69
  }
70
70
 
71
71
  @layer utilities {
72
- .pzh-transition-colors {
73
- @apply transition-colors duration-200 ease-in;
74
- }
72
+ .pzh-transition-colors {
73
+ @apply transition-colors duration-200 ease-in;
74
+ }
75
75
  }
76
76
 
77
77
  @layer components {
78
- /*
78
+ /*
79
79
  * Form elements
80
80
  */
81
81
 
82
- .pzh-button {
83
- @apply focus:ring-pzh-blue-dark disabled:bg-pzh-gray-200 disabled:text-pzh-blue-dark disabled:text-opacity-35 inline-block rounded leading-none ring-offset-2 transition duration-200 ease-in focus:outline-none focus:ring disabled:cursor-not-allowed;
84
- }
85
-
86
- .pzh-form-input {
87
- @apply placeholder-pzh-gray-600 text-pzh-blue-dark border-pzh-gray-600 hover:border-pzh-blue focus:ring-pzh-blue focus:border-pzh-blue disabled:bg-pzh-gray-200 text-m block w-full appearance-none rounded border pb-[6px] pt-[10px] leading-[30px] focus:outline-none focus:outline-none focus:ring focus:ring-2;
88
- }
89
-
90
- .pzh-form-error,
91
- .pzh-form-checkbox.pzh-form-error + span:before,
92
- .pzh-form-radio:checked.pzh-form-error + span:before,
93
- .pzh-form-radio:not(:checked).pzh-form-error + span:before {
94
- @apply border-pzh-red;
95
- }
96
-
97
- .pzh-form-radio:checked + span:before,
98
- .pzh-form-radio:not(:checked) + span:before {
99
- @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-6 w-6 rounded-full border;
100
- content: '';
101
- }
102
- .pzh-form-radio:checked + span:after,
103
- .pzh-form-radio:not(:checked) + span:after {
104
- @apply bg-pzh-green absolute left-[5px] top-[5px] h-[14px] w-[14px] rounded-full transition duration-200;
105
- content: '';
106
- }
107
- .pzh-form-radio:not(:checked) + span:after,
108
- .pzh-form-checkbox:not(:checked) + span:after {
109
- opacity: 0;
110
- transform: scale(0);
111
- }
112
- .pzh-form-radio:checked + span:after,
113
- .pzh-form-checkbox:checked + span:after {
114
- opacity: 1;
115
- transform: scale(1);
116
- }
117
- .pzh-form-radio:disabled + span:before,
118
- .pzh-form-checkbox:disabled + span:before {
119
- @apply border-pzh-gray-200 bg-pzh-gray-200;
120
- }
121
-
122
- .pzh-form-checkbox + span:before {
123
- @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-6 w-6 rounded border transition duration-200;
124
- content: '';
125
- }
126
-
127
- .pzh-form-checkbox:checked:not(:disabled) + span:before {
128
- @apply bg-pzh-green;
129
- }
130
-
131
- .pzh-form-checkbox:checked + span:after,
132
- .pzh-form-checkbox:not(:checked) + span:after {
133
- @apply absolute left-[5px] top-0.5 h-[14px] w-[14px] text-white transition duration-200;
134
- content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z'/></svg>");
135
- }
136
-
137
- .pzh-form-checkbox:checked:disabled + span:after {
138
- content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='rgba(22, 17, 59, 0.35)' d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z'/></svg>");
139
- }
140
-
141
- .pzh-form-radio:focus + span:before,
142
- .pzh-form-checkbox:focus + span:before {
143
- @apply ring-pzh-blue border-pzh-blue outline-none ring ring-2;
144
- }
145
-
146
- .form-field-label {
147
- @apply text-s mb-2 block uppercase tracking-wide text-gray-700;
148
- }
149
-
150
- .form-field-description {
151
- @apply text-s mb-2 text-gray-700;
152
- }
153
-
154
- /*
82
+ .pzh-button {
83
+ @apply focus:ring-pzh-blue-dark disabled:bg-pzh-gray-200 disabled:text-pzh-blue-dark disabled:text-opacity-35 inline-block rounded leading-none ring-offset-2 transition duration-200 ease-in focus:outline-none focus:ring disabled:cursor-not-allowed;
84
+ }
85
+
86
+ .pzh-form-input {
87
+ @apply placeholder-pzh-gray-600 text-pzh-blue-dark border-pzh-gray-600 hover:border-pzh-blue focus:ring-pzh-blue focus:border-pzh-blue disabled:bg-pzh-gray-200 text-m block w-full appearance-none rounded border pb-[6px] pt-[10px] leading-[30px] focus:outline-none focus:outline-none focus:ring focus:ring-2;
88
+ }
89
+
90
+ .pzh-form-error,
91
+ .pzh-form-checkbox.pzh-form-error + span:before,
92
+ .pzh-form-radio:checked.pzh-form-error + span:before,
93
+ .pzh-form-radio:not(:checked).pzh-form-error + span:before {
94
+ @apply border-pzh-red;
95
+ }
96
+
97
+ .pzh-form-radio:checked + span:before,
98
+ .pzh-form-radio:not(:checked) + span:before {
99
+ @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-6 w-6 rounded-full border;
100
+ content: "";
101
+ }
102
+ .pzh-form-radio:checked + span:after,
103
+ .pzh-form-radio:not(:checked) + span:after {
104
+ @apply bg-pzh-green absolute left-[5px] top-[5px] h-[14px] w-[14px] rounded-full transition duration-200;
105
+ content: "";
106
+ }
107
+ .pzh-form-radio:not(:checked) + span:after,
108
+ .pzh-form-checkbox:not(:checked) + span:after {
109
+ opacity: 0;
110
+ transform: scale(0);
111
+ }
112
+ .pzh-form-radio:checked + span:after,
113
+ .pzh-form-checkbox:checked + span:after {
114
+ opacity: 1;
115
+ transform: scale(1);
116
+ }
117
+ .pzh-form-radio:disabled + span:before,
118
+ .pzh-form-checkbox:disabled + span:before {
119
+ @apply border-pzh-gray-200 bg-pzh-gray-200;
120
+ }
121
+
122
+ .pzh-form-checkbox + span:before {
123
+ @apply border-pzh-gray-600 bg-pzh-gray-200 absolute left-0 top-0 h-6 w-6 rounded border transition duration-200;
124
+ content: "";
125
+ }
126
+
127
+ .pzh-form-checkbox:checked:not(:disabled) + span:before {
128
+ @apply bg-pzh-green;
129
+ }
130
+
131
+ .pzh-form-checkbox:checked + span:after,
132
+ .pzh-form-checkbox:not(:checked) + span:after {
133
+ @apply absolute left-[5px] top-0.5 h-[14px] w-[14px] text-white transition duration-200;
134
+ content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='white' d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z'/></svg>");
135
+ }
136
+
137
+ .pzh-form-checkbox:checked:disabled + span:after {
138
+ content: url("data:image/svg+xml; utf8, <svg xmlns='http://www.w3.org/2000/svg' viewBox='0 0 448 512'><path fill='rgba(22, 17, 59, 0.35)' d='M438.6 105.4C451.1 117.9 451.1 138.1 438.6 150.6L182.6 406.6C170.1 419.1 149.9 419.1 137.4 406.6L9.372 278.6C-3.124 266.1-3.124 245.9 9.372 233.4C21.87 220.9 42.13 220.9 54.63 233.4L159.1 338.7L393.4 105.4C405.9 92.88 426.1 92.88 438.6 105.4H438.6z'/></svg>");
139
+ }
140
+
141
+ .pzh-form-radio:focus + span:before,
142
+ .pzh-form-checkbox:focus + span:before {
143
+ @apply ring-pzh-blue border-pzh-blue outline-none ring ring-2;
144
+ }
145
+
146
+ .form-field-label {
147
+ @apply text-s mb-2 block uppercase tracking-wide text-gray-700;
148
+ }
149
+
150
+ .form-field-description {
151
+ @apply text-s mb-2 text-gray-700;
152
+ }
153
+
154
+ /*
155
155
  * React Datepicker
156
156
  */
157
157
 
158
- .react-datepicker.pzh-datepicker {
159
- font-family: 'Karbon Regular', sans-serif;
160
- font-weight: 400;
161
- font-size: 0.8rem;
162
- box-shadow: 0px 18px 60px rgba(0, 0, 0, 0.07),
163
- 0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275),
164
- 0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
165
- @apply text-pzh-blue-dark border-none;
166
- }
167
-
168
- .pzh-datepicker .react-datepicker__triangle {
169
- display: none;
170
- }
171
-
172
- .pzh-datepicker .react-datepicker__header {
173
- @apply border-none bg-white;
174
- }
175
-
176
- .pzh-datepicker .react-datepicker__month {
177
- @apply mx-0.5 mt-0;
178
- }
179
-
180
- .pzh-datepicker .react-datepicker__day-names {
181
- @apply bg-pzh-blue-dark bg-opacity-10;
182
- }
183
-
184
- .pzh-datepicker .react-datepicker__day-name {
185
- @apply bold my-0 leading-[26px];
186
- }
187
-
188
- .pzh-datepicker .react-datepicker__current-month {
189
- @apply mb-2;
190
- }
191
-
192
- .pzh-datepicker
193
- .react-datepicker__day--outside-month:not(
194
- .react-datepicker__day--selected
195
- ) {
196
- @apply text-pzh-blue-dark text-opacity-35;
197
- }
198
-
199
- .pzh-datepicker .react-datepicker__day-name,
200
- .pzh-datepicker .react-datepicker__day,
201
- .pzh-datepicker .react-datepicker__time-name {
202
- @apply mx-2 my-1 h-[26px] w-[26px] leading-7;
203
- }
204
-
205
- .pzh-datepicker .react-datepicker__day {
206
- @apply rounded-full hover:rounded-full;
207
- }
208
-
209
- .pzh-datepicker
210
- .react-datepicker__day--today:not(.react-datepicker__day--selected),
211
- .pzh-datepicker
212
- .react-datepicker__day--today:hover:not(
213
- .react-datepicker__day--selected
214
- ),
215
- .pzh-datepicker .react-datepicker__day--keyboard-selected {
216
- @apply bg-pzh-blue-dark text-pzh-blue-dark bg-opacity-10;
217
- }
218
-
219
- .pzh-datepicker .react-datepicker__day--keyboard-selected:hover {
220
- @apply bg-pzh-blue-dark bg-opacity-10;
221
- }
222
-
223
- .pzh-datepicker .react-datepicker__day--selected,
224
- .pzh-datepicker .react-datepicker__day--selected:hover {
225
- @apply bg-pzh-green bold;
226
- }
227
-
228
- .pzh-datepicker .react-datepicker__year-read-view--down-arrow,
229
- .pzh-datepicker .react-datepicker__month-read-view--down-arrow,
230
- .pzh-datepicker .react-datepicker__month-year-read-view--down-arrow,
231
- .pzh-datepicker .react-datepicker__navigation-icon::before {
232
- @apply h-[7px] w-[7px] border border-0 border-r-[1px] border-t-[1px] border-black;
233
- }
234
-
235
- .pzh-datepicker .react-datepicker__navigation-icon {
236
- @apply leading-[14px];
237
- }
238
-
239
- .pzh-select-input input {
240
- box-shadow: none !important;
241
- }
242
-
243
- .ProseMirror p.is-editor-empty:first-child::before {
244
- @apply text-pzh-blue-dark/55;
245
- content: attr(data-placeholder);
246
- float: left;
247
- pointer-events: none;
248
- height: 0;
249
- }
250
-
251
- .pzh-modal {
252
- &[data-entering] {
253
- animation: fade 150ms;
254
- }
255
-
256
- &[data-exiting] {
257
- animation: fade 150ms reverse ease-in;
258
- }
259
- }
260
-
261
- @keyframes fade {
262
- from {
263
- opacity: 0;
264
- }
265
-
266
- to {
267
- opacity: 1;
268
- }
269
- }
270
-
271
- table {
272
- @apply !text-m;
273
- }
274
-
275
- table, table td, table th {
276
- @apply border border-pzh-gray-600;
277
- }
278
-
279
- table tr th {
280
- @apply bg-pzh-gray-100 font-bold;
281
- }
282
-
283
- table tr {
284
- @apply border-b border-pzh-gray-600;
285
- }
286
-
287
- table td, table th {
288
- @apply p-2;
289
- }
158
+ .react-datepicker.pzh-datepicker {
159
+ font-family: "Karbon Regular", sans-serif;
160
+ font-weight: 400;
161
+ font-size: 0.8rem;
162
+ box-shadow: 0px 18px 60px rgba(0, 0, 0, 0.07),
163
+ 0px 4.02054px 13.4018px rgba(0, 0, 0, 0.0417275),
164
+ 0px 1.19702px 3.99006px rgba(0, 0, 0, 0.0282725);
165
+ @apply text-pzh-blue-dark border-none;
166
+ }
167
+
168
+ .pzh-datepicker .react-datepicker__triangle {
169
+ display: none;
170
+ }
171
+
172
+ .pzh-datepicker .react-datepicker__header {
173
+ @apply border-none bg-white;
174
+ }
175
+
176
+ .pzh-datepicker .react-datepicker__month {
177
+ @apply mx-0.5 mt-0;
178
+ }
179
+
180
+ .pzh-datepicker .react-datepicker__day-names {
181
+ @apply bg-pzh-blue-dark bg-opacity-10;
182
+ }
183
+
184
+ .pzh-datepicker .react-datepicker__day-name {
185
+ @apply bold my-0 leading-[26px];
186
+ }
187
+
188
+ .pzh-datepicker .react-datepicker__current-month {
189
+ @apply mb-2;
190
+ }
191
+
192
+ .pzh-datepicker
193
+ .react-datepicker__day--outside-month:not(
194
+ .react-datepicker__day--selected
195
+ ) {
196
+ @apply text-pzh-blue-dark text-opacity-35;
197
+ }
198
+
199
+ .pzh-datepicker .react-datepicker__day-name,
200
+ .pzh-datepicker .react-datepicker__day,
201
+ .pzh-datepicker .react-datepicker__time-name {
202
+ @apply mx-2 my-1 h-[26px] w-[26px] leading-7;
203
+ }
204
+
205
+ .pzh-datepicker .react-datepicker__day {
206
+ @apply rounded-full hover:rounded-full;
207
+ }
208
+
209
+ .pzh-datepicker
210
+ .react-datepicker__day--today:not(.react-datepicker__day--selected),
211
+ .pzh-datepicker
212
+ .react-datepicker__day--today:hover:not(.react-datepicker__day--selected),
213
+ .pzh-datepicker .react-datepicker__day--keyboard-selected {
214
+ @apply bg-pzh-blue-dark text-pzh-blue-dark bg-opacity-10;
215
+ }
216
+
217
+ .pzh-datepicker .react-datepicker__day--keyboard-selected:hover {
218
+ @apply bg-pzh-blue-dark bg-opacity-10;
219
+ }
220
+
221
+ .pzh-datepicker .react-datepicker__day--selected,
222
+ .pzh-datepicker .react-datepicker__day--selected:hover {
223
+ @apply bg-pzh-green bold;
224
+ }
225
+
226
+ .pzh-datepicker .react-datepicker__year-read-view--down-arrow,
227
+ .pzh-datepicker .react-datepicker__month-read-view--down-arrow,
228
+ .pzh-datepicker .react-datepicker__month-year-read-view--down-arrow,
229
+ .pzh-datepicker .react-datepicker__navigation-icon::before {
230
+ @apply h-[7px] w-[7px] border border-0 border-r-[1px] border-t-[1px] border-black;
231
+ }
232
+
233
+ .pzh-datepicker .react-datepicker__navigation-icon {
234
+ @apply leading-[14px];
235
+ }
236
+
237
+ .pzh-select-input input {
238
+ box-shadow: none !important;
239
+ }
240
+
241
+ .ProseMirror p.is-editor-empty:first-child::before {
242
+ @apply text-pzh-blue-dark/55;
243
+ content: attr(data-placeholder);
244
+ float: left;
245
+ pointer-events: none;
246
+ height: 0;
247
+ }
248
+
249
+ .pzh-modal {
250
+ &[data-entering] {
251
+ animation: fade 150ms;
252
+ }
253
+
254
+ &[data-exiting] {
255
+ animation: fade 150ms reverse ease-in;
256
+ }
257
+ }
258
+
259
+ @keyframes fade {
260
+ from {
261
+ opacity: 0;
262
+ }
263
+
264
+ to {
265
+ opacity: 1;
266
+ }
267
+ }
268
+
269
+ table {
270
+ @apply !text-m;
271
+ }
272
+
273
+ table,
274
+ table td,
275
+ table th {
276
+ @apply border border-pzh-gray-600;
277
+ }
278
+
279
+ table tr th {
280
+ @apply bg-pzh-gray-100 font-bold;
281
+ }
282
+
283
+ table tr {
284
+ @apply border-b border-pzh-gray-600;
285
+ }
286
+
287
+ table td,
288
+ table th {
289
+ @apply !p-2;
290
+ }
291
+
292
+ table p {
293
+ @apply !my-0;
294
+ }
290
295
  }