@ongov/ontario-design-system-complete-styles 6.0.0-alpha.1 → 6.0.0-alpha.2

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.
@@ -3288,7 +3288,7 @@ ontario-page-alert[type=error] a:active {
3288
3288
  /* -------------------------------
3289
3289
  Focus placeholder
3290
3290
  --------------------------------- */
3291
- .ontario-accordion__button--expand-all:focus, .ontario-accordion__button:focus, .ontario-navigation a:focus, .ontario-navigation a:active, .ontario-header-button:focus, .ontario-application-navigation a:focus, .ontario-application-navigation a:active, .ontario-hint-expander__button:focus, .ontario-hint-expander__button:active, .ontario-input:focus, .ontario-input:active, .ontario-language-toggler:focus, .ontario-radios__input:focus + .ontario-radios__label:before, .ontario-search__input.ontario-input:focus, .ontario-task__link:focus .ontario-task__label, .ontario-button:focus, .ontario-button:active, .ontario-textarea:focus, .ontario-textarea:active {
3291
+ .ontario-accordion__button--expand-all:focus, .ontario-accordion__button:focus, .ontario-navigation a:focus, .ontario-navigation a:active, .ontario-header-button:focus, .ontario-application-navigation a:focus, .ontario-application-navigation a:active, .ontario-hint-expander__button:focus, .ontario-hint-expander__button:active, .ontario-input:focus, .ontario-input:active, .ontario-language-toggler:focus, .ontario-radios__input:focus + .ontario-radios__label:before, .ontario-search__input.ontario-input:focus, .ontario-button:focus, .ontario-button:active, .ontario-task__link:focus .ontario-task__label, .ontario-textarea:focus, .ontario-textarea:active {
3292
3292
  box-shadow: 0 0 0 4px #009ADB;
3293
3293
  outline: 4px solid transparent;
3294
3294
  transition: box-shadow 0.1s ease-in-out;
@@ -4015,6 +4015,87 @@ h1 > .ontario-label--heading {
4015
4015
  list-style-type: none;
4016
4016
  }
4017
4017
 
4018
+ .ontario-task {
4019
+ border-bottom: 0.125rem solid #cccccc;
4020
+ padding: 1.1875rem 0;
4021
+ list-style: none;
4022
+ }
4023
+ .ontario-task__content {
4024
+ display: flex;
4025
+ justify-content: space-between;
4026
+ align-items: center;
4027
+ }
4028
+ @media screen and (max-width: 40em) {
4029
+ .ontario-task__content {
4030
+ display: flex;
4031
+ flex-direction: column;
4032
+ align-items: flex-start;
4033
+ }
4034
+ }
4035
+ .ontario-task__label {
4036
+ text-align: left;
4037
+ margin: 0;
4038
+ font-size: 1.1875rem;
4039
+ font-weight: 600;
4040
+ display: inline-block;
4041
+ }
4042
+ @media screen and (max-width: 40em) {
4043
+ .ontario-task__label {
4044
+ margin-bottom: 0.5rem;
4045
+ }
4046
+ }
4047
+ .ontario-task__label a {
4048
+ text-decoration: none;
4049
+ color: inherit;
4050
+ }
4051
+ .ontario-task__label a:hover {
4052
+ text-decoration: underline;
4053
+ }
4054
+ .ontario-task__link {
4055
+ display: block;
4056
+ text-decoration: underline;
4057
+ color: #0066CC;
4058
+ font-weight: normal;
4059
+ }
4060
+ .ontario-task__hint-text--true {
4061
+ margin-bottom: 0.5rem;
4062
+ }
4063
+
4064
+ .ontario-task__link:focus {
4065
+ outline: none;
4066
+ box-shadow: none;
4067
+ }
4068
+ .ontario-task__link:focus .ontario-task__label {
4069
+ box-shadow: 0 0 0 4px #009ADB inset;
4070
+ }
4071
+
4072
+ .ontario-task:has(.ontario-task__link):hover {
4073
+ background-color: rgb(242.25, 242.25, 242.25);
4074
+ }
4075
+
4076
+ .ontario-task--status-completed .ontario-task__link .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link .ontario-task__label, .ontario-task--status-optional .ontario-task__link .ontario-task__label, .ontario-task--status-error .ontario-task__link .ontario-task__label {
4077
+ color: #0066CC;
4078
+ text-decoration: underline;
4079
+ }
4080
+ .ontario-task--status-completed .ontario-task__link:visited .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link:visited .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link:visited .ontario-task__label, .ontario-task--status-optional .ontario-task__link:visited .ontario-task__label, .ontario-task--status-error .ontario-task__link:visited .ontario-task__label {
4081
+ color: #551A8B;
4082
+ }
4083
+ .ontario-task--status-completed .ontario-task__link:hover .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link:hover .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link:hover .ontario-task__label, .ontario-task--status-optional .ontario-task__link:hover .ontario-task__label, .ontario-task--status-error .ontario-task__link:hover .ontario-task__label {
4084
+ color: #00478F;
4085
+ }
4086
+ .ontario-task--status-completed .ontario-task__link:active .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link:active .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link:active .ontario-task__label, .ontario-task--status-optional .ontario-task__link:active .ontario-task__label, .ontario-task--status-error .ontario-task__link:active .ontario-task__label {
4087
+ color: #002142;
4088
+ }
4089
+
4090
+ ontario-hint-text::part(hint-text) {
4091
+ margin: 0;
4092
+ }
4093
+ @media screen and (max-width: 40em) {
4094
+ ontario-hint-text::part(hint-text) {
4095
+ margin-top: 0.5rem;
4096
+ }
4097
+ }
4098
+
4018
4099
  .ontario-table-container {
4019
4100
  position: relative;
4020
4101
  margin: 0.5rem 0 2.5rem;
@@ -4491,87 +4572,6 @@ h1 > .ontario-label--heading {
4491
4572
  margin: 0;
4492
4573
  }
4493
4574
 
4494
- .ontario-task {
4495
- border-bottom: 0.125rem solid #cccccc;
4496
- padding: 1.1875rem 0;
4497
- list-style: none;
4498
- }
4499
- .ontario-task__content {
4500
- display: flex;
4501
- justify-content: space-between;
4502
- align-items: center;
4503
- }
4504
- @media screen and (max-width: 40em) {
4505
- .ontario-task__content {
4506
- display: flex;
4507
- flex-direction: column;
4508
- align-items: flex-start;
4509
- }
4510
- }
4511
- .ontario-task__label {
4512
- text-align: left;
4513
- margin: 0;
4514
- font-size: 1.1875rem;
4515
- font-weight: 600;
4516
- display: inline-block;
4517
- }
4518
- @media screen and (max-width: 40em) {
4519
- .ontario-task__label {
4520
- margin-bottom: 0.5rem;
4521
- }
4522
- }
4523
- .ontario-task__label a {
4524
- text-decoration: none;
4525
- color: inherit;
4526
- }
4527
- .ontario-task__label a:hover {
4528
- text-decoration: underline;
4529
- }
4530
- .ontario-task__link {
4531
- display: block;
4532
- text-decoration: underline;
4533
- color: #0066CC;
4534
- font-weight: normal;
4535
- }
4536
- .ontario-task__hint-text--true {
4537
- margin-bottom: 0.5rem;
4538
- }
4539
-
4540
- .ontario-task__link:focus {
4541
- outline: none;
4542
- box-shadow: none;
4543
- }
4544
- .ontario-task__link:focus .ontario-task__label {
4545
- box-shadow: 0 0 0 4px #009ADB inset;
4546
- }
4547
-
4548
- .ontario-task:has(.ontario-task__link):hover {
4549
- background-color: rgb(242.25, 242.25, 242.25);
4550
- }
4551
-
4552
- .ontario-task--status-completed .ontario-task__link .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link .ontario-task__label, .ontario-task--status-optional .ontario-task__link .ontario-task__label, .ontario-task--status-error .ontario-task__link .ontario-task__label {
4553
- color: #0066CC;
4554
- text-decoration: underline;
4555
- }
4556
- .ontario-task--status-completed .ontario-task__link:visited .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link:visited .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link:visited .ontario-task__label, .ontario-task--status-optional .ontario-task__link:visited .ontario-task__label, .ontario-task--status-error .ontario-task__link:visited .ontario-task__label {
4557
- color: #551A8B;
4558
- }
4559
- .ontario-task--status-completed .ontario-task__link:hover .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link:hover .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link:hover .ontario-task__label, .ontario-task--status-optional .ontario-task__link:hover .ontario-task__label, .ontario-task--status-error .ontario-task__link:hover .ontario-task__label {
4560
- color: #00478F;
4561
- }
4562
- .ontario-task--status-completed .ontario-task__link:active .ontario-task__label, .ontario-task--status-inprogress .ontario-task__link:active .ontario-task__label, .ontario-task--status-notstarted .ontario-task__link:active .ontario-task__label, .ontario-task--status-optional .ontario-task__link:active .ontario-task__label, .ontario-task--status-error .ontario-task__link:active .ontario-task__label {
4563
- color: #002142;
4564
- }
4565
-
4566
- ontario-hint-text::part(hint-text) {
4567
- margin: 0;
4568
- }
4569
- @media screen and (max-width: 40em) {
4570
- ontario-hint-text::part(hint-text) {
4571
- margin-top: 0.5rem;
4572
- }
4573
- }
4574
-
4575
4575
  .ontario-search__container {
4576
4576
  max-width: 34rem;
4577
4577
  margin-bottom: 2.5rem;
@@ -9380,6 +9380,59 @@ input[type=reset].ontario-header__search-reset:focus {
9380
9380
  }
9381
9381
  }
9382
9382
 
9383
+ .ontario-callout {
9384
+ border-left: 0.25rem solid #367A76;
9385
+ padding: 1.5rem;
9386
+ margin: 2rem 0 2.5rem 0;
9387
+ background-color: rgb(242.25, 242.25, 242.25);
9388
+ }
9389
+ .ontario-callout * {
9390
+ max-width: 48rem;
9391
+ }
9392
+ .ontario-callout *:last-child {
9393
+ margin-bottom: 0.5rem;
9394
+ }
9395
+
9396
+ .ontario-callout__title {
9397
+ margin: 0 0 1rem;
9398
+ }
9399
+
9400
+ .ontario-border-highlight--teal {
9401
+ border-color: #367A76 !important;
9402
+ }
9403
+
9404
+ .ontario-border-highlight--gold {
9405
+ border-color: #86743D !important;
9406
+ }
9407
+
9408
+ .ontario-border-highlight--yellow {
9409
+ border-color: #8A600D !important;
9410
+ }
9411
+
9412
+ .ontario-border-highlight--taupe {
9413
+ border-color: #7B725C !important;
9414
+ }
9415
+
9416
+ .ontario-border-highlight--green {
9417
+ border-color: #2B8737 !important;
9418
+ }
9419
+
9420
+ .ontario-border-highlight--lime {
9421
+ border-color: #5F8129 !important;
9422
+ }
9423
+
9424
+ .ontario-border-highlight--sky {
9425
+ border-color: #1080A6 !important;
9426
+ }
9427
+
9428
+ .ontario-border-highlight--blue {
9429
+ border-color: #0369ac !important;
9430
+ }
9431
+
9432
+ .ontario-border-highlight--purple {
9433
+ border-color: #92278F !important;
9434
+ }
9435
+
9383
9436
  .ontario-card {
9384
9437
  box-shadow: 0rem 0.1875rem 0.5rem 0.0625rem rgba(0, 0, 0, 0.4);
9385
9438
  border-radius: 4px;
@@ -9803,130 +9856,6 @@ input[type=reset].ontario-header__search-reset:focus {
9803
9856
  border-bottom-left-radius: 4px;
9804
9857
  }
9805
9858
 
9806
- .ontario-callout {
9807
- border-left: 0.25rem solid #367A76;
9808
- padding: 1.5rem;
9809
- margin: 2rem 0 2.5rem 0;
9810
- background-color: rgb(242.25, 242.25, 242.25);
9811
- }
9812
- .ontario-callout * {
9813
- max-width: 48rem;
9814
- }
9815
- .ontario-callout *:last-child {
9816
- margin-bottom: 0.5rem;
9817
- }
9818
-
9819
- .ontario-callout__title {
9820
- margin: 0 0 1rem;
9821
- }
9822
-
9823
- .ontario-border-highlight--teal {
9824
- border-color: #367A76 !important;
9825
- }
9826
-
9827
- .ontario-border-highlight--gold {
9828
- border-color: #86743D !important;
9829
- }
9830
-
9831
- .ontario-border-highlight--yellow {
9832
- border-color: #8A600D !important;
9833
- }
9834
-
9835
- .ontario-border-highlight--taupe {
9836
- border-color: #7B725C !important;
9837
- }
9838
-
9839
- .ontario-border-highlight--green {
9840
- border-color: #2B8737 !important;
9841
- }
9842
-
9843
- .ontario-border-highlight--lime {
9844
- border-color: #5F8129 !important;
9845
- }
9846
-
9847
- .ontario-border-highlight--sky {
9848
- border-color: #1080A6 !important;
9849
- }
9850
-
9851
- .ontario-border-highlight--blue {
9852
- border-color: #0369ac !important;
9853
- }
9854
-
9855
- .ontario-border-highlight--purple {
9856
- border-color: #92278F !important;
9857
- }
9858
-
9859
- .ontario-blockquote {
9860
- border-left: 4px solid rgb(76.5, 76.5, 76.5);
9861
- font-family: "Raleway Modified", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
9862
- font-size: 1.1875rem;
9863
- font-weight: 400;
9864
- letter-spacing: 0.025rem;
9865
- line-height: 1.56;
9866
- max-width: 48rem;
9867
- margin: 2rem;
9868
- padding: 1.5rem 0 1.5rem 1.5rem;
9869
- quotes: "“" "”";
9870
- }
9871
- @media screen and (max-width: 40em) {
9872
- .ontario-blockquote {
9873
- font-size: 1.125rem;
9874
- letter-spacing: 0.03rem;
9875
- line-height: 1.5;
9876
- margin: 1.5rem 0 2rem 0;
9877
- }
9878
- }
9879
-
9880
- .ontario-blockquote p {
9881
- margin: 0 0 1.5rem 0;
9882
- }
9883
- .ontario-blockquote p::before {
9884
- content: open-quote;
9885
- }
9886
- .ontario-blockquote p::after {
9887
- content: close-quote;
9888
- }
9889
-
9890
- .ontario-blockquote--short {
9891
- font-size: 1.75rem;
9892
- letter-spacing: 0.02rem;
9893
- line-height: 1.5;
9894
- }
9895
- @media screen and (max-width: 40em) {
9896
- .ontario-blockquote--short {
9897
- font-size: 1.4375rem;
9898
- line-height: 1.43;
9899
- }
9900
- }
9901
-
9902
- .ontario-blockquote__attribution,
9903
- .ontario-blockquote__byline {
9904
- display: block;
9905
- font-size: 1rem;
9906
- letter-spacing: 0.025rem;
9907
- line-height: 1.56;
9908
- text-align: right;
9909
- }
9910
- @media screen and (max-width: 40em) {
9911
- .ontario-blockquote__attribution,
9912
- .ontario-blockquote__byline {
9913
- letter-spacing: 0.03rem;
9914
- line-height: 1.5;
9915
- }
9916
- }
9917
-
9918
- .ontario-blockquote__attribution {
9919
- font-style: normal;
9920
- font-weight: 700;
9921
- }
9922
- .ontario-blockquote__attribution::before {
9923
- content: "— ";
9924
- }
9925
-
9926
- html[lang=fr] blockquote {
9927
- quotes: "« " " »";
9928
- }
9929
-
9930
9859
  .ontario-badge__container {
9931
9860
  display: flex;
9932
9861
  flex-direction: column;
@@ -10277,6 +10206,77 @@ html[lang=fr] blockquote {
10277
10206
  margin: 0;
10278
10207
  }
10279
10208
 
10209
+ .ontario-blockquote {
10210
+ border-left: 4px solid rgb(76.5, 76.5, 76.5);
10211
+ font-family: "Raleway Modified", "Open Sans", "Helvetica Neue", Helvetica, Arial, sans-serif;
10212
+ font-size: 1.1875rem;
10213
+ font-weight: 400;
10214
+ letter-spacing: 0.025rem;
10215
+ line-height: 1.56;
10216
+ max-width: 48rem;
10217
+ margin: 2rem;
10218
+ padding: 1.5rem 0 1.5rem 1.5rem;
10219
+ quotes: "“" "”";
10220
+ }
10221
+ @media screen and (max-width: 40em) {
10222
+ .ontario-blockquote {
10223
+ font-size: 1.125rem;
10224
+ letter-spacing: 0.03rem;
10225
+ line-height: 1.5;
10226
+ margin: 1.5rem 0 2rem 0;
10227
+ }
10228
+ }
10229
+
10230
+ .ontario-blockquote p {
10231
+ margin: 0 0 1.5rem 0;
10232
+ }
10233
+ .ontario-blockquote p::before {
10234
+ content: open-quote;
10235
+ }
10236
+ .ontario-blockquote p::after {
10237
+ content: close-quote;
10238
+ }
10239
+
10240
+ .ontario-blockquote--short {
10241
+ font-size: 1.75rem;
10242
+ letter-spacing: 0.02rem;
10243
+ line-height: 1.5;
10244
+ }
10245
+ @media screen and (max-width: 40em) {
10246
+ .ontario-blockquote--short {
10247
+ font-size: 1.4375rem;
10248
+ line-height: 1.43;
10249
+ }
10250
+ }
10251
+
10252
+ .ontario-blockquote__attribution,
10253
+ .ontario-blockquote__byline {
10254
+ display: block;
10255
+ font-size: 1rem;
10256
+ letter-spacing: 0.025rem;
10257
+ line-height: 1.56;
10258
+ text-align: right;
10259
+ }
10260
+ @media screen and (max-width: 40em) {
10261
+ .ontario-blockquote__attribution,
10262
+ .ontario-blockquote__byline {
10263
+ letter-spacing: 0.03rem;
10264
+ line-height: 1.5;
10265
+ }
10266
+ }
10267
+
10268
+ .ontario-blockquote__attribution {
10269
+ font-style: normal;
10270
+ font-weight: 700;
10271
+ }
10272
+ .ontario-blockquote__attribution::before {
10273
+ content: "— ";
10274
+ }
10275
+
10276
+ html[lang=fr] blockquote {
10277
+ quotes: "« " " »";
10278
+ }
10279
+
10280
10280
  /**
10281
10281
  These styles are to fix issues with the missing assets/conflicting issues from the web component styles.
10282
10282
  **/