@transferwise/neptune-css 0.0.0-experimental-7cfec48 → 0.0.0-experimental-1ed1574

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.
Files changed (59) hide show
  1. package/dist/css/accordion.css +21 -6
  2. package/dist/css/alerts.css +159 -14
  3. package/dist/css/background.css +6 -2
  4. package/dist/css/badge.css +11 -1
  5. package/dist/css/breadcrumbs.css +2 -1
  6. package/dist/css/button-groups.css +8 -2
  7. package/dist/css/buttons.css +212 -142
  8. package/dist/css/chevron.css +1 -1
  9. package/dist/css/circles.css +22 -10
  10. package/dist/css/close.css +3 -2
  11. package/dist/css/column-layout.css +4 -0
  12. package/dist/css/currency-flags.css +5 -1
  13. package/dist/css/decision.css +14 -5
  14. package/dist/css/dropdowns.css +28 -8
  15. package/dist/css/droppable.css +18 -11
  16. package/dist/css/flex.css +32 -0
  17. package/dist/css/footer.css +46 -8
  18. package/dist/css/grid.css +6 -0
  19. package/dist/css/input-groups.css +188 -142
  20. package/dist/css/link-callout.css +2 -0
  21. package/dist/css/list-group.css +39 -8
  22. package/dist/css/media.css +6 -0
  23. package/dist/css/modals.css +13 -3
  24. package/dist/css/navbar-base.css +107 -19
  25. package/dist/css/navbar.css +175 -37
  26. package/dist/css/navs.css +33 -8
  27. package/dist/css/neptune-addons.css +466 -4
  28. package/dist/css/neptune-core.css +196 -32
  29. package/dist/css/neptune.css +2204 -655
  30. package/dist/css/panels.css +3 -0
  31. package/dist/css/popovers.css +30 -6
  32. package/dist/css/process.css +8 -8
  33. package/dist/css/progress-bars.css +11 -2
  34. package/dist/css/ring.css +2 -2
  35. package/dist/css/select.css +12 -2
  36. package/dist/css/sequences.css +173 -25
  37. package/dist/css/table.css +65 -18
  38. package/dist/css/tick.css +2 -0
  39. package/dist/css/tooltip.css +7 -1
  40. package/dist/css/wells.css +25 -5
  41. package/dist/less/neptune-tokens.less +264 -153
  42. package/dist/props/neptune-tokens.css +132 -145
  43. package/package.json +2 -2
  44. package/src/less/addons/_background-utilities.less +33 -33
  45. package/src/less/alerts.less +28 -28
  46. package/src/less/background.less +3 -0
  47. package/src/less/buttons.less +19 -19
  48. package/src/less/column-layout.less +1 -1
  49. package/src/less/core/_scaffolding.less +13 -13
  50. package/src/less/core/_typography-utilities.less +18 -18
  51. package/src/less/dropdowns.less +7 -7
  52. package/src/less/footer.less +26 -26
  53. package/src/less/modals.less +1 -1
  54. package/src/less/navbar-base.less +25 -25
  55. package/src/less/navbar.less +3 -3
  56. package/src/less/navs.less +9 -9
  57. package/src/less/sequences.less +13 -13
  58. package/src/less/table.less +31 -31
  59. package/src/variables/neptune-tokens.less +8 -8
@@ -56,18 +56,21 @@
56
56
  unicode-range: U+0102-0103, U+0110-0111, U+0128-0129, U+0168-0169, U+01A0-01A1, U+01AF-01B0, U+1EA0-1EF9, U+20AB;
57
57
  }
58
58
  @font-face {
59
+ font-weight: 400;
59
60
  font-weight: var(--font-weight-regular);
60
61
  font-family: Averta;
61
62
  src: url("../fonts/TW-Averta-Regular.woff2") format("woff2"), url("../fonts/TW-Averta-Regular.woff") format("woff");
62
63
  font-display: swap;
63
64
  }
64
65
  @font-face {
66
+ font-weight: 600;
65
67
  font-weight: var(--font-weight-semi-bold);
66
68
  font-family: Averta;
67
69
  src: url("../fonts/TW-Averta-Semibold.woff2") format("woff2"), url("../fonts/TW-Averta-Semibold.woff") format("woff");
68
70
  font-display: swap;
69
71
  }
70
72
  @font-face {
73
+ font-weight: 700;
71
74
  font-weight: var(--font-weight-bold);
72
75
  font-family: Averta;
73
76
  src: url("../fonts/TW-Averta-Bold.woff2") format("woff2"), url("../fonts/TW-Averta-Bold.woff") format("woff");
@@ -332,6 +335,7 @@ summary {
332
335
  --font-family-regular: averta, avenir w02, avenir, helvetica, arial, sans-serif !important;
333
336
  font-family: averta, avenir w02, avenir, helvetica, arial, sans-serif;
334
337
  font-family: var(--font-family-regular);
338
+ line-height: 1.5;
335
339
  line-height: var(--line-height-body);
336
340
  }
337
341
  .np-theme-personal {
@@ -360,7 +364,7 @@ summary {
360
364
  --btn-radius-base: 9999px;
361
365
  --btn-sm-radius-base: var(--btn-radius-base);
362
366
  --btn-lg-radius-base: var(--btn-radius-base);
363
- color: #454745;
367
+ color: #5d7079;
364
368
  color: var(--color-content-secondary);
365
369
  background-color: #ffffff;
366
370
  background-color: var(--color-background-screen);
@@ -368,9 +372,9 @@ summary {
368
372
  html {
369
373
  font-size: 16px;
370
374
  font-size: var(--base-font-size);
371
- font-family: "Inter", Helvetica, Arial, sans-serif;
375
+ font-family: 'Inter', Helvetica, Arial, sans-serif;
372
376
  font-family: var(--font-family-regular);
373
- color: #454745;
377
+ color: #5d7079;
374
378
  color: var(--color-content-secondary);
375
379
  background-color: #ffffff;
376
380
  background-color: var(--color-background-screen);
@@ -387,15 +391,13 @@ pre {
387
391
  margin: 0;
388
392
  }
389
393
  .np-theme-personal::-moz-selection {
390
- background-color: rgba(22,51,0,0.18039);
391
394
  background-color: var(--color-background-neutral-active);
392
- color: #0e0f0c;
395
+ color: #37517e;
393
396
  color: var(--color-content-primary);
394
397
  }
395
398
  .np-theme-personal::selection {
396
- background-color: rgba(22,51,0,0.18039);
397
399
  background-color: var(--color-background-neutral-active);
398
- color: #0e0f0c;
400
+ color: #37517e;
399
401
  color: var(--color-content-primary);
400
402
  }
401
403
  /* DEPRECATED: use `a` tag or .np-text-link-* instead */
@@ -404,9 +406,30 @@ pre {
404
406
  a,
405
407
  .np-text-link-default,
406
408
  .np-text-link-large {
407
- color: #163300;
408
409
  color: var(--color-content-link);
409
410
  }
411
+ .bg-primary .anchor,
412
+ .bg-primary a,
413
+ .bg-primary .np-text-link-default,
414
+ .bg-primary .np-text-link-large {
415
+ color: #00b9ff;
416
+ }
417
+ .bg-primary .anchor:hover,
418
+ .bg-primary a:hover,
419
+ .bg-primary .np-text-link-default:hover,
420
+ .bg-primary .np-text-link-large:hover,
421
+ .bg-primary .anchor:focus,
422
+ .bg-primary a:focus,
423
+ .bg-primary .np-text-link-default:focus,
424
+ .bg-primary .np-text-link-large:focus {
425
+ color: #00a6ea;
426
+ }
427
+ .bg-primary .anchor:active,
428
+ .bg-primary a:active,
429
+ .bg-primary .np-text-link-default:active,
430
+ .bg-primary .np-text-link-large:active {
431
+ color: #0097db;
432
+ }
410
433
  .anchor:hover,
411
434
  a:hover,
412
435
  .np-text-link-default:hover,
@@ -415,7 +438,6 @@ a:hover,
415
438
  a:focus,
416
439
  .np-text-link-default:focus,
417
440
  .np-text-link-large:focus {
418
- color: #0d1f00;
419
441
  color: var(--color-content-link-hover);
420
442
  -webkit-text-decoration: underline;
421
443
  text-decoration: underline;
@@ -424,14 +446,13 @@ a:focus,
424
446
  a:active,
425
447
  .np-text-link-default:active,
426
448
  .np-text-link-large:active {
427
- color: #0e0f0c;
428
449
  color: var(--color-content-link-active);
429
450
  }
430
451
  .anchor.secondary,
431
452
  a.secondary,
432
453
  .np-text-link-default.secondary,
433
454
  .np-text-link-large.secondary {
434
- color: #454745;
455
+ color: #5d7079;
435
456
  color: var(--color-content-secondary);
436
457
  }
437
458
  .anchor.secondary:hover,
@@ -442,12 +463,14 @@ a.secondary:hover,
442
463
  a.secondary:focus,
443
464
  .np-text-link-default.secondary:focus,
444
465
  .np-text-link-large.secondary:focus {
466
+ color: #0084b3;
445
467
  color: var(--color-content-accent-hover);
446
468
  }
447
469
  .anchor.secondary:active,
448
470
  a.secondary:active,
449
471
  .np-text-link-default.secondary:active,
450
472
  .np-text-link-large.secondary:active {
473
+ color: #0077a5;
451
474
  color: var(--color-content-accent-active);
452
475
  }
453
476
  html.ios-click {
@@ -480,23 +503,26 @@ textarea {
480
503
  resize: vertical;
481
504
  }
482
505
  input::-moz-placeholder, textarea::-moz-placeholder {
483
- color: #6a6c6a;
506
+ color: #768e9c;
484
507
  color: var(--color-content-tertiary);
485
508
  }
486
509
  input:input-placeholder,
487
510
  textarea:input-placeholder,
488
511
  input::placeholder,
489
512
  textarea::placeholder {
490
- color: #6a6c6a;
513
+ color: #768e9c;
491
514
  color: var(--color-content-tertiary);
492
515
  }
493
516
  ol,
494
517
  ul {
518
+ margin: 0 0 24px;
495
519
  margin: 0 0 var(--size-24);
520
+ padding: 0 0 0 calc(48px - 10px);
496
521
  padding: 0 0 0 calc(var(--size-48) - var(--size-10));
497
522
  }
498
523
  [dir="rtl"] ol,
499
524
  [dir="rtl"] ul {
525
+ padding: 0 calc(48px - 10px) 0 0;
500
526
  padding: 0 calc(var(--size-48) - var(--size-10)) 0 0;
501
527
  }
502
528
  ol ol,
@@ -515,11 +541,13 @@ ul ul {
515
541
  padding-left: initial;
516
542
  }
517
543
  .list-inline {
544
+ margin-left: calc(4px * -1);
518
545
  margin-left: calc(var(--size-4) * -1);
519
546
  padding-left: 0;
520
547
  list-style: none;
521
548
  }
522
549
  [dir="rtl"] .list-inline {
550
+ margin-right: calc(4px * -1);
523
551
  margin-right: calc(var(--size-4) * -1);
524
552
  margin-left: 0;
525
553
  margin-left: initial;
@@ -531,25 +559,29 @@ ul ul {
531
559
  }
532
560
  .list-inline > li {
533
561
  display: inline-block;
562
+ padding-right: 8px;
534
563
  padding-right: var(--size-8);
564
+ padding-left: 4px;
535
565
  padding-left: var(--size-4);
536
566
  }
537
567
  [dir="rtl"] .list-inline > li {
568
+ padding-left: 8px;
538
569
  padding-left: var(--size-8);
539
570
  padding-right: 0;
540
571
  padding-right: initial;
541
572
  }
542
573
  [dir="rtl"] .list-inline > li {
574
+ padding-right: 4px;
543
575
  padding-right: var(--size-4);
544
576
  padding-left: 0;
545
577
  padding-left: initial;
546
578
  }
547
579
  [dir="rtl"] .list-inline > li {
548
- border-left: 1px solid rgba(14,15,12,0.12157);
580
+ border-left: 1px solid rgba(0,0,0,0.10196);
549
581
  border-left: 1px solid var(--color-border-neutral);
550
582
  }
551
583
  html:not([dir="rtl"]) .list-inline > li {
552
- border-right: 1px solid rgba(14,15,12,0.12157);
584
+ border-right: 1px solid rgba(0,0,0,0.10196);
553
585
  border-right: 1px solid var(--color-border-neutral);
554
586
  }
555
587
  [dir="rtl"] .list-inline > li:last-child {
@@ -560,18 +592,22 @@ html:not([dir="rtl"]) .list-inline > li:last-child {
560
592
  }
561
593
  dt,
562
594
  dd {
595
+ line-height: 1.5;
563
596
  line-height: var(--line-height-body);
564
597
  }
565
598
  dt {
599
+ font-size: 0.875rem;
566
600
  font-size: var(--font-size-14);
567
601
  }
568
602
  dd {
603
+ margin-bottom: 16px;
569
604
  margin-bottom: var(--size-16);
570
- color: #0e0f0c;
605
+ color: #37517e;
571
606
  color: var(--color-content-primary);
572
607
  }
573
608
  @media (min-width: 576px) {
574
609
  dd {
610
+ margin-bottom: 24px;
575
611
  margin-bottom: var(--size-24);
576
612
  }
577
613
  }
@@ -604,6 +640,7 @@ dd {
604
640
  text-align: right;
605
641
  }
606
642
  .dl-horizontal dd {
643
+ margin-bottom: 8px;
607
644
  margin-bottom: var(--size-8);
608
645
  margin-left: 180px;
609
646
  }
@@ -630,18 +667,24 @@ dd {
630
667
  text-align: left;
631
668
  }
632
669
  hr {
670
+ margin: 16px auto;
633
671
  margin: var(--size-16) auto;
634
672
  border: 0;
635
- border-top: 1px solid rgba(14,15,12,0.12157);
673
+ border-top: 1px solid rgba(0,0,0,0.10196);
636
674
  border-top: 1px solid var(--color-border-neutral);
637
675
  }
676
+ .bg-primary hr {
677
+ border-top: 1px solid rgba(255,255,255,0.10196);
678
+ }
638
679
  @media (min-width: 576px) {
639
680
  hr {
681
+ margin: 24px auto;
640
682
  margin: var(--size-24) auto;
641
683
  }
642
684
  }
643
685
  @media (min-width: 992px) {
644
686
  hr {
687
+ margin: 32px auto;
645
688
  margin: var(--size-32) auto;
646
689
  }
647
690
  }
@@ -664,6 +707,7 @@ video {
664
707
  vertical-align: middle;
665
708
  }
666
709
  .img-rounded {
710
+ border-radius: 10px;
667
711
  border-radius: var(--radius-small);
668
712
  }
669
713
  .img-circle {
@@ -720,8 +764,9 @@ h6,
720
764
  .np-text-title-body,
721
765
  .np-text-title-group {
722
766
  margin: 0;
723
- color: #0e0f0c;
767
+ color: #37517e;
724
768
  color: var(--color-content-primary);
769
+ line-height: 1.2;
725
770
  line-height: var(--line-height-title);
726
771
  letter-spacing: 0;
727
772
  }
@@ -791,6 +836,7 @@ h6 + ol:not(.list-unstyled),
791
836
  .np-text-title-subsection + ol:not(.list-unstyled),
792
837
  .np-text-title-body + ol:not(.list-unstyled),
793
838
  .np-text-title-group + ol:not(.list-unstyled) {
839
+ margin-top: 8px;
794
840
  margin-top: var(--size-8);
795
841
  }
796
842
  /* DEPRECATED: use .np-text-title-screen instead */
@@ -801,7 +847,9 @@ h1,
801
847
  .np-text-title-screen {
802
848
  margin-bottom: 0;
803
849
  margin-bottom: initial;
850
+ font-size: 1.875rem;
804
851
  font-size: var(--font-size-30);
852
+ font-weight: 600;
805
853
  font-weight: var(--font-weight-semi-bold);
806
854
  letter-spacing: -0.021em;
807
855
  line-height: 115%;
@@ -814,7 +862,9 @@ h2,
814
862
  .np-text-title-section {
815
863
  margin-bottom: 0;
816
864
  margin-bottom: initial;
865
+ font-weight: 600;
817
866
  font-weight: var(--font-weight-semi-bold);
867
+ font-size: 1.625rem;
818
868
  font-size: var(--font-size-26);
819
869
  letter-spacing: -0.02em;
820
870
  line-height: 122%;
@@ -827,7 +877,9 @@ h3,
827
877
  .np-text-title-subsection {
828
878
  margin-bottom: 0;
829
879
  margin-bottom: initial;
880
+ font-size: 1.375rem;
830
881
  font-size: var(--font-size-22);
882
+ font-weight: 600;
831
883
  font-weight: var(--font-weight-semi-bold);
832
884
  letter-spacing: -0.018em;
833
885
  line-height: 125%;
@@ -838,7 +890,9 @@ h3,
838
890
  .title-4,
839
891
  h4,
840
892
  .np-text-title-body {
893
+ font-size: 1.125rem;
841
894
  font-size: var(--font-size-18);
895
+ font-weight: 600;
842
896
  font-weight: var(--font-weight-semi-bold);
843
897
  letter-spacing: -0.014em;
844
898
  line-height: 135%;
@@ -851,19 +905,24 @@ h4,
851
905
  h5,
852
906
  h6,
853
907
  .np-text-title-group {
908
+ font-weight: 500;
854
909
  font-weight: var(--font-weight-medium);
910
+ font-size: 0.875rem;
855
911
  font-size: var(--font-size-14);
856
912
  letter-spacing: -0.006em;
857
913
  line-height: 140%;
858
914
  }
859
915
  /* DEPRECATED: use .np-text-title-body instead */
860
916
  .lead {
917
+ margin-bottom: 24px;
861
918
  margin-bottom: var(--size-24);
919
+ font-size: 1.25rem;
862
920
  font-size: var(--font-size-20);
921
+ line-height: 1.2;
863
922
  line-height: var(--line-height-title);
864
923
  }
865
924
  .tiny {
866
- color: #454745;
925
+ color: #5d7079;
867
926
  color: var(--color-content-secondary);
868
927
  }
869
928
  /* DEPRECATED: use .np-text-body-default instead */
@@ -877,18 +936,22 @@ h6,
877
936
  body,
878
937
  small,
879
938
  .np-text-body-default {
939
+ font-size: 0.875rem;
880
940
  font-size: var(--font-size-14);
881
941
  line-height: 155%;
882
942
  letter-spacing: -0.006em;
943
+ font-weight: 400;
883
944
  font-weight: var(--font-weight-regular);
884
945
  }
885
946
  /* DEPRECATED: use .np-text-body-default-bold instead */
886
947
  /* stylelint-disable-next-line selector-list-comma-newline-after */
887
948
  .control-2,
888
949
  .np-text-body-default-bold {
950
+ font-size: 0.875rem;
889
951
  font-size: var(--font-size-14);
890
952
  line-height: 155%;
891
953
  letter-spacing: -0.006em;
954
+ font-weight: 600;
892
955
  font-weight: var(--font-weight-semi-bold);
893
956
  }
894
957
  /* DEPRECATED: use .np-text-body-large instead */
@@ -896,7 +959,9 @@ small,
896
959
  .body-1,
897
960
  .value,
898
961
  .np-text-body-large {
962
+ font-weight: 400;
899
963
  font-weight: var(--font-weight-regular);
964
+ font-size: 1rem;
900
965
  font-size: var(--font-size-16);
901
966
  line-height: 150%;
902
967
  letter-spacing: -0.011em;
@@ -905,7 +970,9 @@ small,
905
970
  /* stylelint-disable-next-line selector-list-comma-newline-after */
906
971
  .control-1,
907
972
  .np-text-body-large-bold {
973
+ font-weight: 600;
908
974
  font-weight: var(--font-weight-semi-bold);
975
+ font-size: 1rem;
909
976
  font-size: var(--font-size-16);
910
977
  line-height: 150%;
911
978
  letter-spacing: -0.011em;
@@ -913,22 +980,26 @@ small,
913
980
  a,
914
981
  .np-text-link-default,
915
982
  .np-text-link-large {
983
+ font-weight: 600;
916
984
  font-weight: var(--font-weight-semi-bold);
917
985
  -webkit-text-decoration: underline;
918
986
  text-decoration: underline;
919
987
  text-underline-offset: 0.3em;
920
988
  }
921
989
  .np-text-link-large {
990
+ font-size: 1rem;
922
991
  font-size: var(--font-size-16);
923
992
  letter-spacing: -0.011em;
924
993
  line-height: 150%;
925
994
  }
926
995
  .np-text-link-default {
996
+ font-size: 0.875rem;
927
997
  font-size: var(--font-size-14);
928
998
  letter-spacing: -0.006em;
929
999
  line-height: 155%;
930
1000
  }
931
1001
  .np-text-display-number {
1002
+ font-weight: 600;
932
1003
  font-weight: var(--font-weight-semi-bold);
933
1004
  font-size: 40px;
934
1005
  line-height: 110%;
@@ -999,34 +1070,46 @@ a,
999
1070
  }
1000
1071
  .np-text-display-extra-large,
1001
1072
  .np-text-display-large {
1073
+ font-size: 64px;
1002
1074
  font-size: var(--size-64);
1003
1075
  line-height: normal;
1076
+ font-weight: 700;
1004
1077
  font-weight: var(--font-weight-bold);
1005
1078
  }
1006
1079
  .np-text-display-medium {
1080
+ font-size: 52px;
1007
1081
  font-size: var(--size-52);
1008
1082
  line-height: normal;
1083
+ font-weight: 700;
1009
1084
  font-weight: var(--font-weight-bold);
1010
1085
  }
1011
1086
  .np-text-display-small {
1087
+ font-size: 40px;
1012
1088
  font-size: var(--size-40);
1013
1089
  line-height: normal;
1090
+ font-weight: 700;
1014
1091
  font-weight: var(--font-weight-bold);
1015
1092
  }
1016
1093
  :lang(en) > .np-text-display-extra-large,
1017
1094
  :lang(en) > .np-text-display-large {
1095
+ font-size: 64px;
1018
1096
  font-size: var(--size-64);
1019
1097
  line-height: 0.85;
1098
+ font-weight: 400;
1020
1099
  font-weight: var(--font-weight-regular);
1021
1100
  }
1022
1101
  :lang(en) > .np-text-display-medium {
1102
+ font-size: 52px;
1023
1103
  font-size: var(--size-52);
1024
1104
  line-height: 0.85;
1105
+ font-weight: 400;
1025
1106
  font-weight: var(--font-weight-regular);
1026
1107
  }
1027
1108
  :lang(en) > .np-text-display-small {
1109
+ font-size: 40px;
1028
1110
  font-size: var(--size-40);
1029
1111
  line-height: 0.85;
1112
+ font-weight: 400;
1030
1113
  font-weight: var(--font-weight-regular);
1031
1114
  }
1032
1115
  :lang(af) .np-text-display-extra-large,
@@ -1157,8 +1240,10 @@ a,
1157
1240
  :lang(gsw) .np-text-display-large,
1158
1241
  :lang(dsb) .np-text-display-large,
1159
1242
  :lang(fil) .np-text-display-large {
1243
+ font-size: 64px;
1160
1244
  font-size: var(--size-64);
1161
1245
  line-height: 1.05;
1246
+ font-weight: 400;
1162
1247
  font-weight: var(--font-weight-regular);
1163
1248
  }
1164
1249
  :lang(af) .np-text-display-medium,
@@ -1225,8 +1310,10 @@ a,
1225
1310
  :lang(gsw) .np-text-display-medium,
1226
1311
  :lang(dsb) .np-text-display-medium,
1227
1312
  :lang(fil) .np-text-display-medium {
1313
+ font-size: 52px;
1228
1314
  font-size: var(--size-52);
1229
1315
  line-height: 1.05;
1316
+ font-weight: 400;
1230
1317
  font-weight: var(--font-weight-regular);
1231
1318
  }
1232
1319
  :lang(af) .np-text-display-small,
@@ -1293,8 +1380,10 @@ a,
1293
1380
  :lang(gsw) .np-text-display-small,
1294
1381
  :lang(dsb) .np-text-display-small,
1295
1382
  :lang(fil) .np-text-display-small {
1383
+ font-size: 40px;
1296
1384
  font-size: var(--size-40);
1297
1385
  line-height: 1.05;
1386
+ font-weight: 400;
1298
1387
  font-weight: var(--font-weight-regular);
1299
1388
  }
1300
1389
  :lang(el) .np-text-display-extra-large,
@@ -1323,8 +1412,10 @@ a,
1323
1412
  :lang(uk) .np-text-display-large,
1324
1413
  :lang(uz) .np-text-display-large,
1325
1414
  :lang(sah) .np-text-display-large {
1415
+ font-size: 60px;
1326
1416
  font-size: var(--size-60);
1327
1417
  line-height: 120%;
1418
+ font-weight: 600;
1328
1419
  font-weight: var(--font-weight-semi-bold);
1329
1420
  }
1330
1421
  :lang(el) .np-text-display-medium,
@@ -1340,8 +1431,10 @@ a,
1340
1431
  :lang(uk) .np-text-display-medium,
1341
1432
  :lang(uz) .np-text-display-medium,
1342
1433
  :lang(sah) .np-text-display-medium {
1434
+ font-size: 48px;
1343
1435
  font-size: var(--size-48);
1344
1436
  line-height: 120%;
1437
+ font-weight: 600;
1345
1438
  font-weight: var(--font-weight-semi-bold);
1346
1439
  }
1347
1440
  :lang(el) .np-text-display-small,
@@ -1357,70 +1450,83 @@ a,
1357
1450
  :lang(uk) .np-text-display-small,
1358
1451
  :lang(uz) .np-text-display-small,
1359
1452
  :lang(sah) .np-text-display-small {
1453
+ font-size: 40px;
1360
1454
  font-size: var(--size-40);
1361
1455
  line-height: 120%;
1456
+ font-weight: 600;
1362
1457
  font-weight: var(--font-weight-semi-bold);
1363
1458
  }
1364
1459
  /* DEPRECATED: use `.np-text-display-*` instead */
1365
1460
  .display-1 {
1461
+ margin-bottom: 24px;
1366
1462
  margin-bottom: var(--size-24);
1367
1463
  /* stylelint-disable-next-line number-max-precision */
1368
1464
  font-size: 3.73333333rem;
1369
1465
  }
1370
1466
  @media (min-width: 768px) {
1371
1467
  .display-1 {
1468
+ margin-bottom: 8px;
1372
1469
  margin-bottom: var(--size-8);
1373
1470
  font-size: 6.5rem;
1374
1471
  }
1375
1472
  }
1376
1473
  /* DEPRECATED: use `.np-text-display-*` instead */
1377
1474
  .display-2 {
1475
+ margin-bottom: 24px;
1378
1476
  margin-bottom: var(--size-24);
1379
1477
  /* stylelint-disable-next-line number-max-precision */
1380
1478
  font-size: 3.73333333rem;
1381
1479
  }
1382
1480
  @media (min-width: 768px) {
1383
1481
  .display-2 {
1482
+ margin-bottom: 16px;
1384
1483
  margin-bottom: var(--size-16);
1385
1484
  font-size: 5.5rem;
1386
1485
  }
1387
1486
  }
1388
1487
  /* DEPRECATED: use `.np-text-display-*` instead */
1389
1488
  .display-3 {
1489
+ margin-bottom: 8px;
1390
1490
  margin-bottom: var(--size-8);
1391
1491
  font-size: 2.8rem;
1392
1492
  }
1393
1493
  @media (min-width: 768px) {
1394
1494
  .display-3 {
1495
+ margin-bottom: 24px;
1395
1496
  margin-bottom: var(--size-24);
1396
1497
  font-size: 4.5rem;
1397
1498
  }
1398
1499
  }
1399
1500
  /* DEPRECATED: use `.np-text-display-*` instead */
1400
1501
  .display-4 {
1502
+ margin-bottom: 4px;
1401
1503
  margin-bottom: var(--size-4);
1402
1504
  /* stylelint-disable-next-line number-max-precision */
1403
1505
  font-size: 1.86666667rem;
1404
1506
  }
1405
1507
  @media (min-width: 768px) {
1406
1508
  .display-4 {
1509
+ margin-bottom: 24px;
1407
1510
  margin-bottom: var(--size-24);
1408
1511
  font-size: 3.5rem;
1409
1512
  }
1410
1513
  }
1411
1514
  /* DEPRECATED: use `.np-text-display-*` instead */
1412
1515
  .display-5 {
1516
+ margin-bottom: 4px;
1413
1517
  margin-bottom: var(--size-4);
1414
1518
  /* stylelint-disable-next-line number-max-precision */
1415
1519
  font-size: 1.86666667rem;
1416
1520
  }
1417
1521
  @media (min-width: 768px) {
1418
1522
  .display-5 {
1523
+ margin-bottom: 8px;
1419
1524
  margin-bottom: var(--size-8);
1420
1525
  font-size: 2.625rem;
1421
1526
  }
1422
1527
  }
1423
1528
  p {
1529
+ margin: 0 0 16px;
1424
1530
  margin: 0 0 var(--size-16);
1425
1531
  }
1426
1532
  p + h1,
@@ -1446,39 +1552,51 @@ p + .np-text-title-subsection,
1446
1552
  p + .np-text-title-body,
1447
1553
  p + .np-text-title-group {
1448
1554
  margin-top: 0;
1555
+ margin-bottom: 8px;
1449
1556
  margin-bottom: var(--size-8);
1450
1557
  }
1451
1558
  .control-1,
1452
1559
  .control-2 {
1560
+ color: #0097c7;
1453
1561
  color: var(--color-content-accent);
1454
1562
  }
1455
1563
  strong,
1456
1564
  b {
1565
+ font-weight: 600;
1457
1566
  font-weight: var(--font-weight-semi-bold);
1458
- color: #0e0f0c;
1567
+ color: #37517e;
1459
1568
  color: var(--color-content-primary);
1460
1569
  }
1461
1570
  mark,
1462
1571
  .mark {
1572
+ padding: 4px;
1463
1573
  padding: var(--size-4);
1574
+ background-color: rgba(255,172,0,0.10196);
1464
1575
  background-color: var(--color-background-warning);
1465
1576
  }
1466
1577
  address {
1578
+ margin-bottom: 24px;
1467
1579
  margin-bottom: var(--size-24);
1468
1580
  font-style: normal;
1469
1581
  }
1470
1582
  blockquote {
1583
+ margin: 16px 0;
1471
1584
  margin: var(--size-16) 0;
1585
+ padding: 0 16px 0 calc(16px - 2px);
1472
1586
  padding: 0 var(--size-16) 0 calc(var(--size-16) - 2px);
1587
+ font-size: 1rem;
1473
1588
  font-size: var(--font-size-16);
1474
1589
  }
1475
1590
  [dir="rtl"] blockquote {
1591
+ border-right: 2px solid #0097c7;
1476
1592
  border-right: 2px solid var(--color-content-accent);
1477
1593
  }
1478
1594
  html:not([dir="rtl"]) blockquote {
1595
+ border-left: 2px solid #0097c7;
1479
1596
  border-left: 2px solid var(--color-content-accent);
1480
1597
  }
1481
1598
  blockquote p {
1599
+ margin-bottom: 8px;
1482
1600
  margin-bottom: var(--size-8);
1483
1601
  }
1484
1602
  blockquote p:last-child,
@@ -1488,9 +1606,11 @@ blockquote ul:last-child {
1488
1606
  }
1489
1607
  blockquote footer {
1490
1608
  display: block;
1491
- color: #454745;
1609
+ color: #5d7079;
1492
1610
  color: var(--color-content-secondary);
1611
+ font-size: 0.875rem;
1493
1612
  font-size: var(--font-size-14);
1613
+ line-height: 1.5;
1494
1614
  line-height: var(--line-height-body);
1495
1615
  }
1496
1616
  blockquote footer::before {
@@ -1498,12 +1618,15 @@ blockquote footer::before {
1498
1618
  }
1499
1619
  @media (min-width: 576px) {
1500
1620
  blockquote {
1621
+ margin: 24px;
1501
1622
  margin: var(--size-24);
1502
1623
  }
1503
1624
  }
1504
1625
  @media (min-width: 992px) {
1505
1626
  blockquote {
1627
+ margin: 32px;
1506
1628
  margin: var(--size-32);
1629
+ font-size: 1rem;
1507
1630
  font-size: var(--font-size-16);
1508
1631
  }
1509
1632
  }
@@ -1526,9 +1649,11 @@ blockquote footer::before {
1526
1649
  text-align: left;
1527
1650
  }
1528
1651
  [dir="rtl"] .blockquote-reverse {
1652
+ border-left: 2px solid #0097c7;
1529
1653
  border-left: 2px solid var(--color-content-accent);
1530
1654
  }
1531
1655
  html:not([dir="rtl"]) .blockquote-reverse {
1656
+ border-right: 2px solid #0097c7;
1532
1657
  border-right: 2px solid var(--color-content-accent);
1533
1658
  }
1534
1659
  [dir="rtl"] .blockquote-reverse {
@@ -1546,19 +1671,24 @@ html:not([dir="rtl"]) .blockquote-reverse {
1546
1671
  pre,
1547
1672
  code,
1548
1673
  kbd {
1674
+ border-radius: 10px;
1549
1675
  border-radius: var(--radius-small);
1550
1676
  }
1551
1677
  pre {
1678
+ margin: 0 0 24px;
1552
1679
  margin: 0 0 var(--size-24);
1680
+ padding: 16px;
1553
1681
  padding: var(--size-16);
1554
1682
  overflow: auto;
1555
- color: #454745;
1683
+ color: #5d7079;
1556
1684
  color: var(--color-content-secondary);
1685
+ font-size: 0.875rem;
1557
1686
  font-size: var(--font-size-14);
1687
+ line-height: 1.5;
1558
1688
  line-height: var(--line-height-body);
1559
1689
  word-wrap: break-word;
1560
1690
  word-break: break-all;
1561
- background-color: rgba(22,51,0,0.07843);
1691
+ background-color: rgba(134,167,189,0.10196);
1562
1692
  background-color: var(--color-background-neutral);
1563
1693
  }
1564
1694
  pre code {
@@ -1569,14 +1699,16 @@ pre code {
1569
1699
  border-radius: 0;
1570
1700
  }
1571
1701
  code {
1702
+ padding: 2px 4px;
1572
1703
  padding: 2px var(--size-4);
1573
1704
  font-size: 90%;
1574
- color: #454745;
1705
+ color: #5d7079;
1575
1706
  color: var(--color-content-secondary);
1576
- background-color: rgba(22,51,0,0.07843);
1707
+ background-color: rgba(134,167,189,0.10196);
1577
1708
  background-color: var(--color-background-neutral);
1578
1709
  }
1579
1710
  kbd {
1711
+ padding: 2px 4px;
1580
1712
  padding: 2px var(--size-4);
1581
1713
  font-size: 90%;
1582
1714
  color: #fff;
@@ -1584,6 +1716,7 @@ kbd {
1584
1716
  }
1585
1717
  kbd kbd {
1586
1718
  padding: 0;
1719
+ font-weight: 700;
1587
1720
  font-weight: var(--font-weight-bold);
1588
1721
  font-size: 100%;
1589
1722
  }
@@ -1733,73 +1866,104 @@ kbd kbd {
1733
1866
  word-break: break-all;
1734
1867
  }
1735
1868
  .font-weight-bold {
1869
+ font-weight: 700 !important;
1736
1870
  font-weight: var(--font-weight-bold) !important;
1737
1871
  }
1738
1872
  .font-weight-semi-bold {
1873
+ font-weight: 600 !important;
1739
1874
  font-weight: var(--font-weight-semi-bold) !important;
1740
1875
  }
1741
1876
  .font-weight-normal {
1877
+ font-weight: 400 !important;
1742
1878
  font-weight: var(--font-weight-regular) !important;
1743
1879
  }
1744
1880
  .font-italic {
1745
1881
  font-style: italic !important;
1746
1882
  }
1747
1883
  .text-primary {
1748
- color: #0e0f0c !important;
1884
+ color: #37517e !important;
1749
1885
  color: var(--color-content-primary) !important;
1750
1886
  }
1751
1887
  a.text-primary:hover,
1752
1888
  a.text-primary:focus {
1753
- color: #0e0f0c !important;
1889
+ color: #37517e !important;
1754
1890
  color: var(--color-content-primary) !important;
1755
1891
  }
1892
+ .bg-primary .text-primary {
1893
+ color: #ffffff !important;
1894
+ }
1756
1895
  .text-secondary {
1757
- color: #454745 !important;
1896
+ color: #5d7079 !important;
1758
1897
  color: var(--color-content-secondary) !important;
1759
1898
  }
1760
1899
  .text-positive,
1761
1900
  .text-success {
1901
+ color: #008026 !important;
1762
1902
  color: var(--color-content-positive) !important;
1763
1903
  }
1764
1904
  a.text-positive:hover,
1765
1905
  a.text-success:hover,
1766
1906
  a.text-positive:focus,
1767
1907
  a.text-success:focus {
1908
+ color: #006d13 !important;
1768
1909
  color: var(--color-content-positive-hover) !important;
1769
1910
  }
1911
+ .bg-primary .text-positive,
1912
+ .bg-primary .text-success {
1913
+ color: #6fd698 !important;
1914
+ }
1770
1915
  .text-accent,
1771
1916
  .text-info {
1917
+ color: #0097c7 !important;
1772
1918
  color: var(--color-content-accent) !important;
1773
- color: #163300 !important;
1774
1919
  color: var(--color-interactive-primary) !important;
1775
1920
  }
1776
1921
  a.text-accent:hover,
1777
1922
  a.text-info:hover,
1778
1923
  a.text-accent:focus,
1779
1924
  a.text-info:focus {
1925
+ color: #0084b3 !important;
1780
1926
  color: var(--color-content-accent-hover) !important;
1781
1927
  }
1928
+ .bg-primary .text-accent,
1929
+ .bg-primary .text-info {
1930
+ color: #00b9ff !important;
1931
+ }
1782
1932
  .text-warning {
1933
+ color: #9a6500 !important;
1783
1934
  color: var(--color-content-warning) !important;
1784
1935
  }
1785
1936
  a.text-warning:hover,
1786
1937
  a.text-warning:focus {
1938
+ color: #855400 !important;
1787
1939
  color: var(--color-content-warning-hover) !important;
1788
1940
  }
1941
+ .bg-primary .text-warning {
1942
+ color: #ffd184 !important;
1943
+ }
1789
1944
  .text-negative,
1790
1945
  .text-danger {
1791
- color: #a8200d !important;
1792
1946
  color: var(--color-sentiment-negative) !important;
1793
1947
  }
1794
1948
  a.text-negative:hover,
1795
1949
  a.text-danger:hover,
1796
1950
  a.text-negative:focus,
1797
1951
  a.text-danger:focus {
1798
- color: #8e1b0b !important;
1799
1952
  color: var(--color-sentiment-negative-hover) !important;
1800
1953
  }
1954
+ .bg-primary .text-negative,
1955
+ .bg-primary .text-danger {
1956
+ color: #ffa6a9 !important;
1957
+ }
1958
+ .text-inverse {
1959
+ color: #ffffff !important;
1960
+ }
1961
+ a.text-inverse:hover,
1962
+ a.text-inverse:focus {
1963
+ color: #c9cbce !important;
1964
+ }
1801
1965
  .text-muted {
1802
- color: #6a6c6a !important;
1966
+ color: #768e9c !important;
1803
1967
  color: var(--color-content-tertiary) !important;
1804
1968
  }
1805
1969
  .colored-dot::after {