1
1
@import " @wordpress/base-styles/breakpoints" ;
2
2
@import " @wordpress/base-styles/mixins" ;
3
3
@import " @wordpress/base-styles/variables" ;
4
+ @import " @wordpress/base-styles/colors.native" ;
4
5
6
+ body {
7
+ .is-section-signup , .is-section-stepper {
8
+ text-rendering : optimizelegibility ;
9
+ -webkit-font-smoothing : antialiased ;
10
+ }
11
+ }
5
12
.domains__step-section-wrapper {
6
13
margin : 0 auto ;
7
14
width : 100% ;
@@ -66,10 +73,6 @@ body.is-section-stepper .domains__step-content,
66
73
border-radius : 0 2px 2px 0 ;
67
74
}
68
75
69
- .search-filters__dropdown-filters.search-filters__dropdown-filters--is-open {
70
- box-shadow : 0 0 0 3px var (--color-accent-light );
71
- }
72
-
73
76
@include breakpoint-deprecated ( " <660px" ) {
74
77
.register-domain-step__search-card ,
75
78
.search-component.is-open.has-focus {
@@ -339,6 +342,7 @@ body.is-section-signup {
339
342
border-color : #646970 ;
340
343
background : var (--color-surface );
341
344
box-shadow : none ;
345
+ border-radius : 4px ;
342
346
343
347
.search-component__input {
344
348
background : var (--color-surface );
@@ -519,27 +523,67 @@ body.is-section-signup {
519
523
.step-route.onboarding.domains :has (.step-container-v2 ) {
520
524
padding : 0 ;
521
525
522
- .register-domain-step__search-card {
523
- margin : 0 ;
526
+ .register-domain-step {
527
+ & __search-card {
528
+ @media (min-width : 600px ) {
529
+ margin : 20px 20px 0 ;
530
+ }
531
+
532
+ @media (min-width : 960px ) {
533
+ margin : 0 ;
534
+ }
535
+ }
536
+
537
+ & __example-prompt {
538
+ margin : 0 ;
539
+
540
+ @media (min-width : 600px ) {
541
+ margin : 0 20px ;
542
+ }
543
+ }
524
544
}
525
545
526
546
.featured-domain-suggestions ,
527
547
.domain-suggestion {
528
548
margin-inline : 0 ;
529
- }
530
549
531
- .register-domain-step__domain-side-content-container-domain-explanation-image {
532
- max-width : 100% ;
533
- margin-bottom : 0 ;
550
+ @media (min-width : 600px ) {
551
+ margin-inline : 20px ;
552
+
553
+ @media (min-width : 960px ) {
554
+ margin : 0 ;
555
+ }
556
+ }
534
557
}
535
558
536
- .register-domain-step__example-prompt {
537
- margin : 0 ;
559
+ .featured-domain-suggestions {
560
+ border-top : none ;
561
+
562
+ @media (min-width : 600px ) {
563
+ margin : 0 20px ;
564
+
565
+ @media (min-width : 960px ) {
566
+ margin : 0 ;
567
+ }
568
+ }
569
+
570
+ .featured-domain-suggestion {
571
+ margin : 0 ;
572
+ margin-bottom : 12px ;
573
+ }
538
574
}
539
575
540
576
.domains__domain-side-content-container {
541
577
display : flex ;
542
- margin-top : 0 ;
578
+ justify-content : center ;
579
+ width : 80% ;
580
+ align-items : center ;
581
+ margin : 20px auto 0 ;
582
+
583
+ @media (min-width : ($break-large )) {
584
+ width : unset ;
585
+ margin-top : 0 ;
586
+ }
543
587
}
544
588
545
589
.domains__domain-side-content {
@@ -550,9 +594,119 @@ body.is-section-signup {
550
594
@include break-large {
551
595
max-width : 290px ;
552
596
}
597
+
598
+ @include break-large {
599
+ margin-left : 40px ;
600
+ }
601
+
602
+ @include break-huge {
603
+ margin-left : 60px ;
604
+ }
605
+
606
+ & .fade-out {
607
+ display : none ;
608
+ }
553
609
}
554
610
555
- .domains__domain-side-content.fade-out {
556
- display : none ;
611
+ .step-container-v2__heading {
612
+ h1 :not (.small ) {
613
+ letter-spacing : -0.4px ;
614
+ /* stylelint-disable-next-line declaration-property-unit-allowed-list */
615
+ line-height : 1.2em ;
616
+ }
617
+
618
+ > p {
619
+ color : $gray-60 ;
620
+ font-size : 1rem ;
621
+ }
622
+ }
623
+ }
624
+
625
+ .step-container-v2 {
626
+ & __content .step-container-v2__content--two-column-layout.domains__step-content.domains__step-content-domain-step {
627
+ gap : 0 ;
628
+ max-width : 1280px ;
629
+ }
630
+
631
+ & __content-wrapper .padding {
632
+ padding : 0 12px ;
633
+ gap : 0 ;
634
+ }
635
+
636
+ & __heading {
637
+ margin-top : 0 ;
638
+ }
639
+ }
640
+
641
+ .domains__step-content-domain-step > div {
642
+ & :nth-child (1 ) {
643
+ flex : 1 !important ;
644
+ }
645
+
646
+ & :nth-child (2 ) {
647
+ display : flex ;
648
+ flex-basis : auto !important ;
649
+ flex-direction : column ;
650
+ flex-grow : 0 !important ;
651
+ flex-shrink : 1 !important ;
652
+ flex-wrap : nowrap ;
653
+ }
654
+ }
655
+
656
+ .domain-product-price {
657
+ & .domain-product-single-price.domain-product-price__domain-step-signup-flow {
658
+ align-self : center ;
659
+ }
660
+
661
+ @include breakpoint-deprecated ( " <660px" ) {
662
+ & .domain-product-price__domain-step-signup-flow {
663
+ flex-direction : column ;
664
+ }
665
+ }
666
+ }
667
+
668
+ .domain-suggestion__content.domain-suggestion__content-domain {
669
+ align-items : unset ;
670
+ }
671
+
672
+ body .is-section-stepper {
673
+ .featured-domain-suggestion.card .domain-product-price {
674
+ align-items : flex-start ;
675
+ margin-top : 12px ;
676
+ }
677
+
678
+ .formatted-header .formatted-header__title {
679
+ @media (min-width : 1080px ) {
680
+ font-size : 2.75rem !important ;
681
+ }
682
+ }
683
+
684
+ .register-domain-step__search.register-domain-step__search-domain-step :not (.is-sticky ) {
685
+ @media (min-width : 661px ) {
686
+ padding-top : 18px ;
687
+ }
688
+ }
689
+
690
+ .onboarding :not (.is-onboarding-2023-pricing-grid ) .step-container-v2__heading {
691
+ margin : calc (48px + 24px - var (--step-container-v2-top-bar-height )) 20px 24px 20px ;
692
+ display : flex ;
693
+ flex-wrap : wrap ;
694
+ justify-content : space-between ;
695
+ width : unset ;
696
+ align-items : center ;
697
+ flex-direction : column ;
698
+
699
+ @media (min-width : 960px ) {
700
+ margin-top : calc (48px + 48px - var (--step-container-v2-top-bar-height ));
701
+ margin-bottom : 36px ;
702
+ }
703
+
704
+ > h1 {
705
+ font-size : 2.25rem ;
706
+
707
+ @media (min-width : 1080px ) {
708
+ font-size : 2.75rem ;
709
+ }
710
+ }
557
711
}
558
712
}
0 commit comments