@cagovweb/state-template 6.6.0-beta4 → 6.6.0-beta6

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.
@@ -1,5 +1,5 @@
1
1
 
2
- /*! State Web Template Version 6.6.0-beta3 */
2
+ /*! State Web Template Version 6.6.0-beta6 */
3
3
  @charset "UTF-8";
4
4
  /*!
5
5
  * Bootstrap v5.3.8 (https://getbootstrap.com/)
@@ -14554,7 +14554,7 @@ p {
14554
14554
 
14555
14555
  h1,
14556
14556
  .h1 {
14557
- span[class^="ca-gov-icon-"]:first-child {
14557
+ & span[class^="ca-gov-icon-"]:first-child {
14558
14558
  display: none;
14559
14559
  }
14560
14560
 
@@ -14714,7 +14714,7 @@ code {
14714
14714
  }
14715
14715
 
14716
14716
  .main-content {
14717
- a:not(.btn) {
14717
+ & a:not(.btn) {
14718
14718
  text-decoration: underline;
14719
14719
  }
14720
14720
  }
@@ -14838,6 +14838,10 @@ a.list-group-item {
14838
14838
 
14839
14839
  /* this is how wide website will go on desktop */
14840
14840
  @media (width >= 1200px) {
14841
+ .container-xl,
14842
+ .container-lg,
14843
+ .container-md,
14844
+ .container-sm,
14841
14845
  .container {
14842
14846
  max-width: var(--breakpoint-lg);
14843
14847
  }
@@ -14851,7 +14855,7 @@ a.list-group-item {
14851
14855
  .socialsharer-container {
14852
14856
  float: left;
14853
14857
 
14854
- a {
14858
+ & a {
14855
14859
  line-height: 1em;
14856
14860
  font-size: 1.375rem;
14857
14861
  cursor: pointer;
@@ -15211,14 +15215,14 @@ a.list-group-item {
15211
15215
  display: block;
15212
15216
  position: relative;
15213
15217
 
15214
- p {
15218
+ & p {
15215
15219
  font-size: 2.9375rem;
15216
15220
  color: #fff;
15217
15221
  font-weight: 200;
15218
15222
  line-height: 3.675rem;
15219
15223
  margin-bottom: 2rem;
15220
15224
 
15221
- span {
15225
+ & span {
15222
15226
  font-weight: 600;
15223
15227
  }
15224
15228
  }
@@ -16122,7 +16126,7 @@ div.search-results-header {
16122
16126
 
16123
16127
  &:hover,
16124
16128
  &:focus {
16125
- color: var(--link-hover-color, #005a7f) !important;
16129
+ color: var(--link-color-hover, #005a7f) !important;
16126
16130
  }
16127
16131
  }
16128
16132
 
@@ -18174,7 +18178,7 @@ header.nav-overlay {
18174
18178
  border: 1px solid var(--color-s3-dark, #507b97);
18175
18179
  }
18176
18180
 
18177
- a:not(.btn) {
18181
+ & a:not(.btn) {
18178
18182
  color: var(--white, #fff);
18179
18183
  text-decoration: underline;
18180
18184
 
@@ -18379,7 +18383,7 @@ header.nav-overlay {
18379
18383
  }
18380
18384
 
18381
18385
  /* stylelint-disable-next-line no-descending-specificity */
18382
- a:not(.btn) {
18386
+ & a:not(.btn) {
18383
18387
  color: var(--white, #fff);
18384
18388
 
18385
18389
  &:hover,
@@ -18623,7 +18627,7 @@ header.nav-overlay {
18623
18627
  }
18624
18628
 
18625
18629
  /* stylelint-disable-next-line no-descending-specificity */
18626
- a:not(.btn) {
18630
+ & a:not(.btn) {
18627
18631
  color: var(--color-s3, #4993b5);
18628
18632
  text-decoration: underline;
18629
18633
 
@@ -18759,7 +18763,7 @@ textarea.sourcecode {
18759
18763
 
18760
18764
  .bg-highlight {
18761
18765
  /* stylelint-disable-next-line no-descending-specificity */
18762
- a:not(.btn) {
18766
+ & a:not(.btn) {
18763
18767
  color: var(--gray-900, #3b3a48);
18764
18768
  text-decoration: underline;
18765
18769
 
@@ -18801,7 +18805,7 @@ textarea.sourcecode {
18801
18805
  color: var(--white, #fff);
18802
18806
 
18803
18807
  /* stylelint-disable-next-line no-descending-specificity */
18804
- a:not(.btn) {
18808
+ & a:not(.btn) {
18805
18809
  color: var(--color-s3, #4993b5);
18806
18810
  text-decoration: underline;
18807
18811
 
@@ -19712,14 +19716,14 @@ html {
19712
19716
  border-bottom: none;
19713
19717
  background: var(--gray-75, #f3f3f4);
19714
19718
 
19715
- li:first-child a,
19716
- li:first-child a:hover,
19717
- li:first-child a:focus,
19718
- li:first-child a:active {
19719
+ & li:first-child a,
19720
+ & li:first-child a:hover,
19721
+ & li:first-child a:focus,
19722
+ & li:first-child a:active {
19719
19723
  border-left: 0 !important;
19720
19724
  }
19721
19725
 
19722
- li {
19726
+ & li {
19723
19727
  &.active {
19724
19728
  border-top: 0;
19725
19729
  }
@@ -19933,7 +19937,7 @@ html {
19933
19937
  padding: 0;
19934
19938
  background: none;
19935
19939
 
19936
- a {
19940
+ & a {
19937
19941
  display: block;
19938
19942
  width: 100%;
19939
19943
  padding: 0.5rem 1rem;
@@ -20841,14 +20845,14 @@ hr.hr-light {
20841
20845
  border-left-color: var(--white, #fff);
20842
20846
  }
20843
20847
 
20844
- p,
20848
+ & p,
20845
20849
  .executive-name,
20846
- a {
20850
+ & a {
20847
20851
  color: var(--white, #fff);
20848
20852
  }
20849
20853
 
20850
- a:hover,
20851
- a:focus {
20854
+ & a:hover,
20855
+ & a:focus {
20852
20856
  color: var(--color-p1, #fdb81e);
20853
20857
  }
20854
20858
  }
@@ -22214,14 +22218,14 @@ table.table {
22214
22218
  ul.list-overstated {
22215
22219
  padding: 0;
22216
22220
 
22217
- a {
22221
+ & a {
22218
22222
  font-weight: bold;
22219
22223
  }
22220
22224
  }
22221
22225
 
22222
22226
  .list-overstated,
22223
22227
  .list-understated {
22224
- li {
22228
+ & li {
22225
22229
  list-style: none;
22226
22230
  position: relative;
22227
22231
  padding: 0 0 14px 18px;
@@ -22255,7 +22259,7 @@ ul.list-overstated {
22255
22259
  padding: 0;
22256
22260
  padding-left: 0.2em;
22257
22261
 
22258
- li {
22262
+ & li {
22259
22263
  padding-left: 1.5em;
22260
22264
 
22261
22265
  &::before {
@@ -22281,7 +22285,7 @@ ul.list-overstated {
22281
22285
  margin: 12px 0 10px;
22282
22286
  line-height: 1.5;
22283
22287
 
22284
- li {
22288
+ & li {
22285
22289
  padding-left: 1.5em;
22286
22290
  margin: 10px 0;
22287
22291
 
@@ -22301,11 +22305,11 @@ ul.list-overstated {
22301
22305
  }
22302
22306
  }
22303
22307
 
22304
- ul li::before {
22308
+ & ul li::before {
22305
22309
  content: none;
22306
22310
  }
22307
22311
 
22308
- ul.list-standout li::before {
22312
+ & ul.list-standout li::before {
22309
22313
  content: "\35";
22310
22314
  }
22311
22315
  }
@@ -22314,7 +22318,7 @@ ul.list-overstated {
22314
22318
  height: 350px;
22315
22319
  overflow-y: auto;
22316
22320
 
22317
- li {
22321
+ & li {
22318
22322
  border-top: 1px solid var(--gray-100, #ededef);
22319
22323
  padding-top: 10px;
22320
22324
  padding-bottom: 10px;
@@ -22345,8 +22349,8 @@ ul.list-overstated {
22345
22349
  .list-overstated,
22346
22350
  .list-understated,
22347
22351
  .list-standout {
22348
- ul li,
22349
- ol li {
22352
+ & ul li,
22353
+ & ol li {
22350
22354
  background: none;
22351
22355
  padding-left: 0;
22352
22356
  }
@@ -22428,7 +22432,7 @@ ul.list-overstated {
22428
22432
  background: var(--color-s3, #4993b5);
22429
22433
  color: var(--gray-900, #3b3a48);
22430
22434
 
22431
- a:not(.btn) {
22435
+ & a:not(.btn) {
22432
22436
  color: var(--gray-900, #3b3a48);
22433
22437
  text-decoration: none;
22434
22438
 
@@ -22444,7 +22448,7 @@ ul.list-overstated {
22444
22448
  }
22445
22449
  }
22446
22450
 
22447
- footer {
22451
+ & footer {
22448
22452
  color: var(--black, #000);
22449
22453
  }
22450
22454
  }
@@ -22454,7 +22458,7 @@ ul.list-overstated {
22454
22458
  color: var(--white, #fff);
22455
22459
 
22456
22460
  /* stylelint-disable-next-line no-descending-specificity */
22457
- a:not(.btn) {
22461
+ & a:not(.btn) {
22458
22462
  color: var(--color-p1, #fdb81e);
22459
22463
  text-decoration: none;
22460
22464
 
@@ -22470,7 +22474,7 @@ ul.list-overstated {
22470
22474
  }
22471
22475
  }
22472
22476
 
22473
- footer {
22477
+ & footer {
22474
22478
  color: var(--white, #fff);
22475
22479
  }
22476
22480
  }
@@ -22480,7 +22484,7 @@ ul.list-overstated {
22480
22484
  color: var(--white, #fff);
22481
22485
 
22482
22486
  /* stylelint-disable-next-line no-descending-specificity */
22483
- a:not(.btn) {
22487
+ & a:not(.btn) {
22484
22488
  color: var(--white, #fff);
22485
22489
  text-decoration: none;
22486
22490
 
@@ -22496,7 +22500,7 @@ ul.list-overstated {
22496
22500
  }
22497
22501
  }
22498
22502
 
22499
- footer {
22503
+ & footer {
22500
22504
  color: var(--white, #fff);
22501
22505
  }
22502
22506
  }
@@ -22506,7 +22510,7 @@ ul.list-overstated {
22506
22510
  color: var(--gray-900, #3b3a48);
22507
22511
 
22508
22512
  /* stylelint-disable-next-line no-descending-specificity */
22509
- a:not(.btn) {
22513
+ & a:not(.btn) {
22510
22514
  color: var(--gray-900, #3b3a48);
22511
22515
  text-decoration: none;
22512
22516
 
@@ -22522,7 +22526,7 @@ ul.list-overstated {
22522
22526
  }
22523
22527
  }
22524
22528
 
22525
- footer {
22529
+ & footer {
22526
22530
  color: var(--gray-900, #3b3a48);
22527
22531
  }
22528
22532
  }
@@ -22532,7 +22536,7 @@ ul.list-overstated {
22532
22536
  color: #fff;
22533
22537
 
22534
22538
  /* stylelint-disable-next-line no-descending-specificity */
22535
- a:not(.btn) {
22539
+ & a:not(.btn) {
22536
22540
  color: var(--color-p1, #fdb81e);
22537
22541
  text-decoration: none;
22538
22542
 
@@ -22548,7 +22552,7 @@ ul.list-overstated {
22548
22552
  }
22549
22553
  }
22550
22554
 
22551
- footer {
22555
+ & footer {
22552
22556
  color: #fff;
22553
22557
  }
22554
22558
  }
@@ -22558,7 +22562,7 @@ ul.list-overstated {
22558
22562
  color: #fff;
22559
22563
 
22560
22564
  /* stylelint-disable-next-line no-descending-specificity */
22561
- a:not(.btn) {
22565
+ & a:not(.btn) {
22562
22566
  color: var(--black, #000);
22563
22567
  text-decoration: none;
22564
22568
 
@@ -22574,7 +22578,7 @@ ul.list-overstated {
22574
22578
  }
22575
22579
  }
22576
22580
 
22577
- footer {
22581
+ &footer {
22578
22582
  color: #fff;
22579
22583
  }
22580
22584
  }
@@ -24485,6 +24489,81 @@ a.cagov-external-link {
24485
24489
  SIDE NAVIGATION - /src/css/cagov/side-navigation.css
24486
24490
  ----------------------------------------- */
24487
24491
 
24492
+ details.side-navigation-toggle {
24493
+ border: 1px solid var(--border-color-default, #d4d4d7);
24494
+ background: var(--color-s1, #eef8fb);
24495
+ margin-bottom: 1rem;
24496
+
24497
+ /* Hide div by default on mobile */
24498
+ + div {
24499
+ display: none;
24500
+ }
24501
+
24502
+ /* CA.gov Menu Button */
24503
+ > summary {
24504
+ margin-left: auto;
24505
+ width: 100%;
24506
+ color: var(--link-color, var(--color-p2, #046b99));
24507
+ font-size: 1.25rem;
24508
+ cursor: pointer;
24509
+ padding: 0.65rem 0;
24510
+ list-style: none;
24511
+ text-decoration: none;
24512
+ display: inline-flex;
24513
+ align-items: center;
24514
+ position: relative;
24515
+ min-height: 1.875rem;
24516
+
24517
+ &:hover,
24518
+ &:focus {
24519
+ color: var(--link-color-hover, var(--color-p2-darker, #034a6f));
24520
+ outline: 2px solid var(--outline-default-color, #0b8ee5);
24521
+ outline-offset: -4px;
24522
+ }
24523
+
24524
+ &::-webkit-details-marker {
24525
+ display: none;
24526
+ }
24527
+
24528
+ > span {
24529
+ &::after {
24530
+ margin-left: 0.5rem;
24531
+ content: "";
24532
+ display: inline-block;
24533
+ text-decoration: none;
24534
+ position: relative;
24535
+ width: 0.65rem;
24536
+ height: 0.65rem;
24537
+ border-top: 2px solid var(--link-color, var(--color-p2, #046b99));
24538
+ border-left: 2px solid var(--link-color, var(--color-p2, #046b99));
24539
+ transform: rotate(225deg);
24540
+ transition: 200ms;
24541
+ vertical-align: middle;
24542
+ top: -0.125rem;
24543
+ }
24544
+ }
24545
+ }
24546
+
24547
+ /* Show div when details is open (mobile) */
24548
+ &[open] + div {
24549
+ display: block;
24550
+ }
24551
+
24552
+ &[open] > summary span::after {
24553
+ transform: rotate(45deg);
24554
+ top: 0.125rem;
24555
+ }
24556
+
24557
+ /* On desktop: hide details toggle, always show div */
24558
+ @media (width >= 992px) {
24559
+ display: none;
24560
+
24561
+ + div {
24562
+ display: block;
24563
+ }
24564
+ }
24565
+ }
24566
+
24488
24567
  ul.list-navigation,
24489
24568
  nav.side-navigation > ul {
24490
24569
  margin-left: 0;
@@ -24515,7 +24594,7 @@ nav.side-navigation > ul {
24515
24594
  &::before {
24516
24595
  content: "";
24517
24596
  border-left: 3px solid;
24518
- border-left-color: var(--color-p1, #fdb81e);
24597
+ border-left-color: var(--link-color, #046b99);
24519
24598
  position: absolute;
24520
24599
  top: 0;
24521
24600
  left: 0;
@@ -24576,126 +24655,6 @@ nav.side-navigation > ul {
24576
24655
  }
24577
24656
  }
24578
24657
 
24579
- .sidenav-mobile-btn {
24580
- display: block;
24581
- padding: 0.5rem 0;
24582
- border-bottom: 1px solid var(--gray-200, #d4d4d7);
24583
- background-color: var(--color-s1, #eef8fb);
24584
-
24585
- .container {
24586
- display: flex;
24587
- justify-content: flex-end;
24588
- }
24589
- }
24590
-
24591
- .sidenav-toggle {
24592
- border: none;
24593
- background: none;
24594
- font-weight: 500;
24595
- position: relative;
24596
- right: 0;
24597
- padding-right: 2.3rem;
24598
- color: var(--link-color, var(--color-p2, #046b99));
24599
-
24600
- &:hover,
24601
- &:focus {
24602
- color: var(--link-color-hover, var(--color-p2-darker, #214a68));
24603
- }
24604
-
24605
- .ca-gov-icon-caret-down {
24606
- font-size: 2rem;
24607
- position: absolute;
24608
- top: 0.3rem;
24609
- right: 0.2rem;
24610
- line-height: 1rem;
24611
- transition: all 0.3s ease;
24612
- }
24613
-
24614
- &[aria-expanded="true"] {
24615
- .ca-gov-icon-caret-down {
24616
- transform: rotate(180deg);
24617
- top: 0.6rem;
24618
- }
24619
- }
24620
- }
24621
-
24622
- @media (width >= 992px) {
24623
- .sidenav-mobile-btn {
24624
- display: none;
24625
- }
24626
- }
24627
-
24628
- @media (width <= 991px) {
24629
- .mobile-sidenav {
24630
- max-height: 0;
24631
- overflow: hidden;
24632
- transition: max-height 0.15s ease-out;
24633
- background-color: var(--mobile-drawer, #214a68);
24634
-
24635
- &.visible {
24636
- max-height: 1600px;
24637
- transition: max-height 0.25s ease-in;
24638
- overflow-y: auto;
24639
- }
24640
-
24641
- .side-navigation {
24642
- display: flex;
24643
- flex-direction: column;
24644
- padding: 1rem 0;
24645
-
24646
- &.sticky-6 {
24647
- top: 0;
24648
- position: relative;
24649
- }
24650
-
24651
- & ul {
24652
- margin-top: 0;
24653
- margin-bottom: 0;
24654
- }
24655
- }
24656
-
24657
- .list-navigation,
24658
- .side-navigation ul {
24659
- & li {
24660
- & a {
24661
- color: var(--white, #fff);
24662
- border-bottom-color: var(--mobile-drawer, #214a68);
24663
-
24664
- &:focus {
24665
- outline: 2px solid var(--outline-dark-mode-color);
24666
- outline-offset: -2px;
24667
- }
24668
-
24669
- &:hover,
24670
- &:focus {
24671
- color: var(--white, #fff);
24672
- background-color: var(--mobile-drawer-active, #046b99);
24673
- }
24674
-
24675
- &.active {
24676
- background-color: var(--mobile-drawer-active, #046b99);
24677
-
24678
- &::before {
24679
- color: var(--white, #fff);
24680
- border-left-color: var(--color-p1, #fdb81e);
24681
- }
24682
-
24683
- &:hover,
24684
- &:focus {
24685
- color: var(--white, #fff);
24686
- background-color: var(--mobile-drawer, #214a68);
24687
- }
24688
- }
24689
-
24690
- & ul li a.active::before {
24691
- border-left-color: var(--color-p1, #fdb81e);
24692
- }
24693
- }
24694
- }
24695
- }
24696
- }
24697
- }
24698
-
24699
24658
  a.sidenav {
24700
24659
  font-size: calc(1rem + var(--ratio));
24701
24660
  margin: 0;
@@ -25038,7 +24997,7 @@ a.sidenav {
25038
24997
  }
25039
24998
 
25040
24999
  /* White Color */
25041
- span.has-black-color,
25000
+ & span.has-black-color,
25042
25001
  .cagov-step-list-content {
25043
25002
  margin-top: 1rem;
25044
25003
  padding-bottom: 1.75rem;