@planningcenter/topbar 12.4.1 → 12.5.0-rc.0

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/dist/topbar.css CHANGED
@@ -504,24 +504,72 @@ Caused by products overriding .topbar-wrap’s z-index.
504
504
  max-height: calc(100% - var(--topbar-height) - var(--t-spacing-3));
505
505
  }
506
506
 
507
- /* Placeholder until design lands: just enough to tell which product is selected. */
508
- .tab-dz8ki[aria-selected="true"] {
509
- background-color: var(--t-fill-color-interaction);
510
- color: var(--t-text-color-inverted);
511
- font-weight: var(--t-font-weight-semibold);
507
+ .searchButton-fYa5- {
508
+ display: inline-flex;
509
+ align-items: center;
510
+ justify-content: center;
511
+ flex-shrink: 0;
512
+ width: var(--topbar-nav-link-height);
513
+ height: var(--topbar-nav-link-height);
514
+ padding: 0;
515
+ margin-right: var(--t-spacing-half);
516
+ background-color: var(--topbar-nav-link-background-color-active);
517
+ color: var(--topbar-nav-link-font-color);
518
+ border: var(--t-border-width) solid var(--topbar-nav-link-border-color-active);
519
+ border-radius: var(--topbar-nav-link-border-radius);
520
+ cursor: pointer;
521
+ transition: var(--topbar-nav-link-transition);
512
522
  }
513
523
 
514
- /* Placeholder until design lands: just enough to see which result is highlighted. */
515
- .result-Thq2C {
516
- display: block;
524
+ /*
525
+ * At phone widths, where the small topbar shows, it sits bare in the header,
526
+ * the same target as the avatar's.
527
+ */
528
+ @media (max-width: 599px) {
529
+ .searchButton-fYa5- {
530
+ width: var(--t-container-size-xl);
531
+ height: var(--t-container-size-xl);
532
+ margin-right: 0;
533
+ background-color: transparent;
534
+ color: var(--t-text-color-headline);
535
+ border: 0;
536
+ border-radius: 0;
537
+ }
517
538
  }
518
539
 
519
- .result-Thq2C[aria-selected="true"] {
520
- background-color: var(--t-fill-color-interaction);
521
- color: var(--t-text-color-inverted);
540
+ .modal-NR3TO {
541
+ --product-search-padding-inline: var(--t-spacing-2);
542
+ --product-search-padding-block: var(--t-spacing-2);
543
+ --product-search-tab-padding-inline: var(--t-spacing-2);
544
+ --product-search-heading-inset: calc(
545
+ var(--product-search-tab-padding-inline) + var(--t-border-width)
546
+ );
547
+
548
+ height: 640px;
549
+ max-height: calc(100vh - var(--t-spacing-3) * 2);
550
+ /* Keeps the results panel's background inside the rounded corners. */
551
+ overflow: hidden;
552
+ }
553
+
554
+ /*
555
+ * Tapestry's .tds-modal sets padding and border on the same element with
556
+ * equal weight, and some products load Tapestry after topbar. The modal's ID
557
+ * outranks it whatever the order. Only these two properties use it, so the
558
+ * phone-width .modal rules below still override the rest.
559
+ */
560
+ .modal-NR3TO#product_search_modal {
561
+ padding: 0;
562
+ border: var(--t-border-width) solid var(--t-border-color);
563
+ }
564
+
565
+ /* Fits mobile Safari's visible viewport, between its toolbars. */
566
+ @supports (height: 100dvh) {
567
+ .modal-NR3TO {
568
+ max-height: calc(100dvh - var(--t-spacing-3) * 2);
569
+ }
522
570
  }
523
571
 
524
- .visuallyHidden-S9VG5 {
572
+ .visuallyHidden-C28ju {
525
573
  position: absolute;
526
574
  width: 1px;
527
575
  height: 1px;
@@ -530,6 +578,608 @@ Caused by products overriding .topbar-wrap’s z-index.
530
578
  white-space: nowrap;
531
579
  }
532
580
 
581
+ /* Scrolls the results under the product picker, tabs or dropdown. */
582
+ .panel-HlF7S {
583
+ flex: 1;
584
+ min-height: 0;
585
+ padding: var(--product-search-padding-block)
586
+ var(--product-search-results-inset, var(--product-search-padding-inline));
587
+ /* Lets results lay out by the panel's width rather than the viewport's. */
588
+ container-type: inline-size;
589
+ scroll-padding-block: var(--product-search-padding-block);
590
+ overflow-y: auto;
591
+ overscroll-behavior: contain;
592
+ }
593
+
594
+ /*
595
+ * Phone widths, where the small topbar shows (DisplaySwitch's default "xs"
596
+ * and "sm" breakpoints). The modal fills the screen rather than floating at a
597
+ * desktop height, with tighter padding above and below each section.
598
+ * Result rows and headings pad themselves by --product-search-row-inset,
599
+ * narrower here so the highlight sits closer to the content, and the panel's
600
+ * sides take that off to line their images and text up with the search icon.
601
+ * There are no tabs here, so headings line up with the results instead.
602
+ */
603
+ @media (max-width: 599px) {
604
+ .modal-NR3TO {
605
+ --product-search-padding-block: var(--t-spacing-2);
606
+ --product-search-row-inset: var(--t-spacing-1);
607
+ --product-search-heading-inset: var(--product-search-row-inset);
608
+ --product-search-results-inset: calc(
609
+ var(--product-search-padding-inline) - var(--product-search-row-inset)
610
+ );
611
+
612
+ height: calc(100vh - var(--t-spacing-3) * 2);
613
+ }
614
+
615
+ @supports (height: 100dvh) {
616
+ .modal-NR3TO {
617
+ height: calc(100dvh - var(--t-spacing-3) * 2);
618
+ }
619
+ }
620
+
621
+ /* Section headings pad themselves, so they start just under the select. */
622
+ .panel-HlF7S {
623
+ padding-block-start: 0;
624
+ }
625
+
626
+ /*
627
+ * Tapestry only takes a class for the dialog, so its overlay and frame are
628
+ * reached through it. Top and bottom margins narrow to 8px; the sides keep
629
+ * 16px of backdrop to tap. The frame fills the dynamic viewport, which
630
+ * follows Safari's toolbars as they show and hide. The dialog stretches to
631
+ * fill the frame.
632
+ *
633
+ * Mobile Safari draws the keyboard over the page without shrinking 100dvh,
634
+ * so while it's open the frame sizes to the visible viewport instead. A
635
+ * bottom margin the keyboard's height keeps the overlay's centering above
636
+ * it.
637
+ *
638
+ * Browsers without :has() drop these rules, so the modal keeps its own
639
+ * height there. No @supports selector() guard: consuming apps run this file
640
+ * through libsass, which can't parse it.
641
+ */
642
+ .tds-modal-overlay:has(.modal-NR3TO) {
643
+ --tds-modal-min-margin-block: var(--t-spacing-1);
644
+ }
645
+
646
+ .tds-modal-frame:has(> .modal-NR3TO) {
647
+ --tds-modal-edge-margin-inline: var(--t-spacing-2);
648
+
649
+ height: calc(100vh - var(--t-spacing-1) * 2);
650
+ height: calc(
651
+ var(--visual-viewport-height, 100dvh) - var(--t-spacing-1) * 2
652
+ );
653
+ margin-block-end: calc(100dvh - var(--visual-viewport-height, 100dvh));
654
+ }
655
+
656
+ .tds-modal-frame:has(> .modal-NR3TO) > .modal-NR3TO {
657
+ height: auto;
658
+ max-height: none;
659
+ }
660
+ }
661
+
662
+ .container-YDdM1 {
663
+ display: flex;
664
+ flex-shrink: 0;
665
+ flex-wrap: wrap;
666
+ gap: var(--t-spacing-1);
667
+ /* Each hint pads itself by --t-spacing-1, so its keycaps line up with
668
+ the tabs. */
669
+ padding: var(--t-spacing-half)
670
+ calc(var(--product-search-padding-inline) - var(--t-spacing-1));
671
+ margin: 0;
672
+ list-style: none;
673
+ border-top: var(--t-border-width) solid var(--t-border-color);
674
+ }
675
+
676
+ .hint-017Rd {
677
+ display: flex;
678
+ flex-shrink: 0;
679
+ align-items: center;
680
+ gap: var(--t-spacing-half);
681
+ padding: var(--t-spacing-half) var(--t-spacing-1);
682
+ border-radius: var(--t-border-radius-lg);
683
+ color: var(--t-text-color-placeholder);
684
+ font-size: var(--t-font-size-xs);
685
+ }
686
+
687
+ .keycap-ENJM2 {
688
+ --keycap-size: 20px;
689
+ --keycap-padding: 4px;
690
+
691
+ display: inline-flex;
692
+ align-items: center;
693
+ justify-content: center;
694
+ width: var(--keycap-size);
695
+ height: var(--keycap-size);
696
+ padding: var(--keycap-padding);
697
+ margin-block: var(--t-spacing-fourth);
698
+ background-color: var(--t-fill-color-neutral-070);
699
+ color: var(--t-text-color-placeholder);
700
+ font-family: inherit;
701
+ font-size: calc(var(--keycap-size) - var(--keycap-padding) * 2);
702
+ font-weight: var(--t-font-weight-semibold);
703
+ border-radius: var(--t-border-radius-md);
704
+ }
705
+
706
+ .keycap-ENJM2 svg {
707
+ flex-shrink: 0;
708
+ width: 1.4em;
709
+ width: 2cap;
710
+ height: 1.4em;
711
+ height: 2cap;
712
+ stroke-width: 2;
713
+ }
714
+
715
+ .labels-GHPqL {
716
+ display: grid;
717
+ overflow: clip;
718
+ }
719
+
720
+ .labels-GHPqL > * {
721
+ grid-area: 1 / 1;
722
+ }
723
+
724
+ @property --copied {
725
+ syntax: "<percentage>";
726
+ inherits: true;
727
+ initial-value: 0%;
728
+ }
729
+
730
+ .copied-DUFa1 {
731
+ position: relative;
732
+ background-color: color-mix(
733
+ in srgb,
734
+ var(--t-fill-color-status-success-ghost) calc(var(--copied) * 0.3),
735
+ transparent
736
+ );
737
+ animation:
738
+ copied-enter-k4P4y var(--copied-enter) var(--t-ease-out) forwards,
739
+ copied-exit-oCDAu var(--copied-exit) var(--t-ease-out)
740
+ calc(var(--copied-enter) + var(--copied-active)) forwards;
741
+ }
742
+
743
+ .copied-DUFa1 .keycap-ENJM2 {
744
+ animation: copied-keypress-znahZ 350ms cubic-bezier(0.34, 1.56, 0.64, 1);
745
+ }
746
+
747
+ .copied-DUFa1 .labels-GHPqL > :first-child {
748
+ translate: 0 calc(var(--copied) * -1);
749
+ }
750
+
751
+ .copied-DUFa1 .labels-GHPqL > :last-child {
752
+ translate: 0 calc(100% - var(--copied));
753
+ }
754
+
755
+ .copied-DUFa1::after {
756
+ content: "";
757
+ position: absolute;
758
+ inset: 0;
759
+ border-radius: inherit;
760
+ pointer-events: none;
761
+ border: 2px solid var(--t-border-color-status-success);
762
+ opacity: var(--copied);
763
+ }
764
+
765
+ @keyframes copied-enter-k4P4y {
766
+ to { --copied: 100% }
767
+ }
768
+
769
+ @keyframes copied-exit-oCDAu {
770
+ from { --copied: 100% }
771
+ to { --copied: 0% }
772
+ }
773
+
774
+ @keyframes copied-keypress-znahZ {
775
+ 20%,
776
+ 26% {
777
+ translate: 0 1px;
778
+ scale: 0.88;
779
+ }
780
+ }
781
+
782
+ @media (prefers-reduced-motion: reduce) {
783
+ .copied-DUFa1 {
784
+ --copied: 100%;
785
+ animation: none;
786
+ }
787
+
788
+ .copied-DUFa1 .keycap-ENJM2 {
789
+ animation: none;
790
+ }
791
+ }
792
+
793
+ .icon-XKLvN {
794
+ position: relative;
795
+ display: block;
796
+ flex-shrink: 0;
797
+ }
798
+
799
+ .icon-XKLvN::before {
800
+ content: "";
801
+ position: absolute;
802
+ inset: 12.5%;
803
+ background-color: hsl(0, 0%, 100%);
804
+ border-radius: 20%;
805
+ }
806
+
807
+ .squircle-JCHr6 {
808
+ position: absolute;
809
+ inset: 0;
810
+ mask-size: 100%;
811
+ }
812
+
813
+ .picker-iuzzj {
814
+ flex-shrink: 0;
815
+ padding: 0 var(--product-search-padding-inline) var(--t-spacing-1);
816
+ }
817
+
818
+ .option--7LXg {
819
+ display: inline-flex;
820
+ align-items: center;
821
+ gap: var(--t-spacing-1);
822
+ }
823
+
824
+ .tablist-7ASvc {
825
+ display: flex;
826
+ flex-shrink: 0;
827
+ gap: var(--t-spacing-half);
828
+ padding-inline: var(--product-search-padding-inline);
829
+ padding-top: var(--t-spacing-half);
830
+ border-bottom: var(--t-border-width) solid var(--t-border-color);
831
+ }
832
+
833
+ .tab-dz8ki {
834
+ position: relative;
835
+ display: inline-flex;
836
+ align-items: center;
837
+ justify-content: center;
838
+ gap: var(--t-spacing-1);
839
+ min-width: 48px;
840
+ height: 40px;
841
+ padding: 0 var(--product-search-tab-padding-inline);
842
+ margin-bottom: calc(var(--t-border-width) * -1);
843
+ background-color: var(--t-fill-color-neutral-070);
844
+ color: var(--t-text-color-secondary);
845
+ font-size: var(--t-font-size-md);
846
+ border: var(--t-border-width) solid transparent;
847
+ border-bottom-color: var(--t-border-color);
848
+ border-radius: var(--t-border-radius-md) var(--t-border-radius-md) 0 0;
849
+ cursor: pointer;
850
+ }
851
+
852
+ .tab-dz8ki:hover {
853
+ background-color: var(--t-fill-color-neutral-060);
854
+ }
855
+
856
+ .tab-dz8ki:focus-visible {
857
+ outline: none;
858
+ }
859
+
860
+ /* Set by useKeyboardFocus: Safari leaves :focus-visible off focus the modal's
861
+ focus scope moves here by script, as it does when Tab is pressed. */
862
+ .tab-dz8ki[data-focus-visible] {
863
+ z-index: 1;
864
+ }
865
+
866
+ .tab-dz8ki[data-focus-visible]::after {
867
+ content: "";
868
+ position: absolute;
869
+ /* Measured from inside the tab's border, so step out past it too. */
870
+ inset: calc((var(--t-focus-ring-offset) + var(--t-border-width)) * -1);
871
+ border-radius: calc(var(--t-border-radius-md) + var(--t-focus-ring-offset));
872
+ box-shadow: 0 0 0 var(--t-focus-ring-width) var(--t-focus-ring-color);
873
+ pointer-events: none;
874
+ }
875
+
876
+ .tab-dz8ki[aria-selected="true"] {
877
+ background-color: var(--t-surface-color-card);
878
+ border-color: var(--t-border-color);
879
+ border-bottom-color: var(--t-surface-color-card);
880
+ cursor: default;
881
+ }
882
+
883
+ .blank_state-wMOWN {
884
+ max-width: 300px;
885
+ margin-inline: auto;
886
+ padding-block: var(--t-spacing-2);
887
+ text-align: center;
888
+ }
889
+ @media screen and (min-width: 600px) {
890
+ .blank_state-wMOWN {
891
+ padding-block: var(--t-spacing-5);
892
+ }
893
+ }
894
+ .blank_state-wMOWN h2 {
895
+ color: var(--t-text-color-headline);
896
+ font-size: var(--t-font-size-xl);
897
+ font-weight: var(--t-font-weight-semibold);
898
+ margin: 0;
899
+ }
900
+ .blank_state-wMOWN p {
901
+ color: var(--t-text-color-secondary);
902
+ font-size: var(--t-font-size-md);
903
+ margin: 0;
904
+ }
905
+
906
+ .image-uy0Fd {
907
+ color: var(--t-fill-color-status-info-ghost);
908
+ }
909
+ .image-uy0Fd svg {
910
+ width: 30vw;
911
+ max-width: 240px;
912
+ height: auto;
913
+ }
914
+ @media screen and (min-width: 600px) {
915
+ .image-uy0Fd svg {
916
+ width: 18vw;
917
+ }
918
+ }
919
+ :root[data-color-mode="dark"] .image-uy0Fd {
920
+ color: var(--t-fill-color-status-neutral-ghost);
921
+ }
922
+ @media (prefers-color-scheme: dark) {
923
+ :root[data-color-mode="system"] .image-uy0Fd {
924
+ color: var(--t-fill-color-status-neutral-ghost);
925
+ }
926
+ }
927
+ .result-Thq2C {
928
+ display: flex;
929
+ align-items: center;
930
+ gap: 12px;
931
+ min-height: 56px;
932
+ padding: var(--t-spacing-1) var(--product-search-row-inset, 12px);
933
+ color: var(--t-text-color);
934
+ text-decoration: none;
935
+ border-radius: var(--t-border-radius-md);
936
+ /* Taps get the highlight below instead of the browser's grey flash. */
937
+ -webkit-tap-highlight-color: transparent;
938
+ }
939
+
940
+ .result-Thq2C:hover,
941
+ .result-Thq2C:focus,
942
+ .result-Thq2C:active,
943
+ .result-Thq2C:visited {
944
+ color: var(--t-text-color);
945
+ text-decoration: none;
946
+ }
947
+
948
+ .result-Thq2C[aria-selected="true"],
949
+ .result-Thq2C:active {
950
+ background-color: var(--t-fill-color-button-interaction-ghost-hover);
951
+ }
952
+
953
+ .title-KYUEn {
954
+ flex-shrink: 0;
955
+ max-width: 60%;
956
+ overflow: hidden;
957
+ font-size: var(--t-font-size-lg);
958
+ text-overflow: ellipsis;
959
+ white-space: nowrap;
960
+ }
961
+
962
+ .subtitle-R2haq {
963
+ min-width: 0;
964
+ overflow: hidden;
965
+ color: var(--t-text-color-secondary);
966
+ font-size: var(--t-font-size-sm);
967
+ text-overflow: ellipsis;
968
+ white-space: nowrap;
969
+ }
970
+
971
+ .image-KVDor {
972
+ --result-image-size: 32px;
973
+
974
+ position: relative;
975
+ flex-shrink: 0;
976
+ width: var(--result-image-size);
977
+ height: var(--result-image-size);
978
+ }
979
+
980
+ .avatar-6Gh62,
981
+ .photo-FZR3Q {
982
+ display: block;
983
+ width: 100%;
984
+ height: 100%;
985
+ object-fit: cover;
986
+ }
987
+
988
+ .avatar-6Gh62 {
989
+ border-radius: 50%;
990
+ }
991
+
992
+ .photo-FZR3Q {
993
+ border-radius: var(--t-border-radius-md);
994
+ }
995
+
996
+ .badge-trUKt {
997
+ position: absolute;
998
+ right: -4px;
999
+ bottom: -4px;
1000
+ filter: drop-shadow(0 1px 1px var(--t-fill-color-transparency-dark-static-010));
1001
+ }
1002
+
1003
+ /*
1004
+ * Too narrow for the title and meta to share a line, as on a phone, so they
1005
+ * stack beside a smaller image.
1006
+ */
1007
+ @container (max-width: 480px) {
1008
+ .result-Thq2C {
1009
+ display: grid;
1010
+ grid-template-columns: auto minmax(0, 1fr);
1011
+ align-content: center;
1012
+ gap: 0 12px;
1013
+ }
1014
+
1015
+ .image-KVDor {
1016
+ --result-image-size: 28px;
1017
+
1018
+ grid-row: span 2;
1019
+ align-self: center;
1020
+ }
1021
+
1022
+ .title-KYUEn {
1023
+ max-width: none;
1024
+ }
1025
+ }
1026
+
1027
+ .heading-LioUF {
1028
+ padding: var(--t-spacing-half)
1029
+ var(--product-search-heading-inset, var(--product-search-row-inset, 12px));
1030
+ color: var(--t-text-color-secondary);
1031
+ font-size: var(--t-font-size-sm);
1032
+ }
1033
+
1034
+ .group-cKChg:not(:first-child) > .heading-LioUF {
1035
+ margin-top: var(--t-spacing-2);
1036
+ }
1037
+
1038
+ /*
1039
+ * The field is a box of its own, so keyboard focus can ring it like an input.
1040
+ * Padding all around gives the ring room, and the row's padding is that much
1041
+ * less than the section padding, so the icon lines up with the tabs.
1042
+ */
1043
+ .row-5P7UQ {
1044
+ --header-inset-block: var(--t-spacing-1);
1045
+ --header-inset-inline: var(--t-spacing-half);
1046
+
1047
+ display: flex;
1048
+ flex-shrink: 0;
1049
+ align-items: center;
1050
+ gap: var(--t-spacing-1);
1051
+ padding-top: calc(
1052
+ var(--product-search-padding-block) - var(--header-inset-block)
1053
+ );
1054
+ padding-inline: calc(
1055
+ var(--product-search-padding-inline) - var(--header-inset-inline)
1056
+ );
1057
+ padding-bottom: calc(var(--t-spacing-1-half) - var(--header-inset-block));
1058
+ }
1059
+
1060
+ .header-sXEyG {
1061
+ display: flex;
1062
+ flex: 1;
1063
+ align-items: center;
1064
+ gap: var(--t-spacing-1);
1065
+ min-width: 0;
1066
+ padding: var(--header-inset-block) var(--header-inset-inline);
1067
+ border-radius: var(--t-border-radius-lg);
1068
+ outline: var(--t-focus-ring-width) solid transparent;
1069
+ cursor: text;
1070
+ transition: outline-color var(--t-duration-200) var(--t-ease-in-out);
1071
+ }
1072
+
1073
+ /* Only from the keyboard, since a click or tap already shows where it is. */
1074
+ .header-sXEyG:has([data-focus-visible]) {
1075
+ outline-color: var(--t-focus-ring-color);
1076
+ }
1077
+
1078
+ /* A 48px tap target around the 32px button, like the small topbar's. */
1079
+ .closeButton-rPJJV {
1080
+ position: relative;
1081
+ flex-shrink: 0;
1082
+ }
1083
+
1084
+ .closeButton-rPJJV::before {
1085
+ position: absolute;
1086
+ inset: calc((var(--t-container-size-xl) - var(--t-container-size-md)) / -2);
1087
+ content: "";
1088
+ }
1089
+
1090
+ /*
1091
+ * Products style their own inputs, often by element and type with states
1092
+ * like :focus. There's only ever one product search field, so these rules
1093
+ * add its ID, set as a plain string in SearchInput, which outranks any
1094
+ * product rule without one.
1095
+ */
1096
+ .input-YQkTC#product_search {
1097
+ position: static;
1098
+ flex: 1;
1099
+ min-width: 0;
1100
+ height: auto;
1101
+ margin: 0;
1102
+ padding: 0;
1103
+ background: none;
1104
+ color: var(--t-text-color);
1105
+ font: inherit;
1106
+ font-size: var(--t-font-size-xl);
1107
+ border: 0 solid transparent;
1108
+ border-radius: 0;
1109
+ box-shadow: none;
1110
+ outline: none;
1111
+ }
1112
+
1113
+ .input-YQkTC#product_search::placeholder {
1114
+ color: var(--t-text-color-placeholder);
1115
+ }
1116
+
1117
+ .input-YQkTC#product_search::-webkit-search-cancel-button {
1118
+ appearance: none;
1119
+ }
1120
+
1121
+ .clearButton-9Yh9w {
1122
+ --clear-button-size: 20px;
1123
+ --clear-button-background: var(--t-fill-color-neutral-030);
1124
+ --clear-button-background-hover: var(--t-fill-color-neutral-025);
1125
+
1126
+ display: inline-flex;
1127
+ align-items: center;
1128
+ justify-content: center;
1129
+ flex-shrink: 0;
1130
+ width: var(--clear-button-size);
1131
+ height: var(--clear-button-size);
1132
+ padding: 0;
1133
+ background: var(--clear-button-background);
1134
+ color: #fff;
1135
+ border: 0;
1136
+ border-radius: var(--t-border-radius-round);
1137
+ cursor: pointer;
1138
+ transition: var(--topbar-slight-transition-background);
1139
+ }
1140
+
1141
+ .clearButton-9Yh9w:hover {
1142
+ background-color: var(--clear-button-background-hover);
1143
+ }
1144
+
1145
+ :root[data-color-mode="dark"] .clearButton-9Yh9w {
1146
+ --clear-button-background: var(--t-fill-color-neutral-040);
1147
+ --clear-button-background-hover: var(--t-fill-color-neutral-050);
1148
+ }
1149
+
1150
+ @media (prefers-color-scheme: dark) {
1151
+ :root[data-color-mode="system"] .clearButton-9Yh9w {
1152
+ --clear-button-background: var(--t-fill-color-neutral-040);
1153
+ --clear-button-background-hover: var(--t-fill-color-neutral-050);
1154
+ }
1155
+ }
1156
+
1157
+ .clearButton-9Yh9w svg {
1158
+ height: calc(var(--clear-button-size) * 0.65);
1159
+ width: calc(var(--clear-button-size) * 0.65);
1160
+ }
1161
+
1162
+ .spinner-b5tlz {
1163
+ --spinner-size: 54px;
1164
+ --spinner-track-width: 6px;
1165
+ --spinner-track-color: var(--t-border-color-dim);
1166
+ --spinner-color: var(--t-border-color-status-info);
1167
+
1168
+ display: inline-block;
1169
+ box-sizing: border-box;
1170
+ width: var(--spinner-size);
1171
+ height: var(--spinner-size);
1172
+ border: var(--spinner-track-width) solid var(--spinner-track-color);
1173
+ border-bottom-color: var(--spinner-color);
1174
+ border-radius: 50%;
1175
+ animation: rotation-q2xiP .75s linear infinite;
1176
+ }
1177
+
1178
+ @keyframes rotation-q2xiP {
1179
+ to {
1180
+ transform: rotate(1turn);
1181
+ }
1182
+ }
533
1183
  .route--8BWe {
534
1184
  font-size: var(--topbar-nav-link-font-size);
535
1185
  font-family: inherit;
@@ -576,6 +1226,9 @@ Caused by products overriding .topbar-wrap’s z-index.
576
1226
  }
577
1227
 
578
1228
  .trigger-wrap-Jd-KR {
1229
+ /* Lets the trigger shrink, truncating the org name, when the nav runs out
1230
+ of room */
1231
+ min-width: 0;
579
1232
  margin-left: var(--t-spacing-1);
580
1233
  position: relative;
581
1234
  white-space: nowrap;
@@ -591,6 +1244,7 @@ Caused by products overriding .topbar-wrap’s z-index.
591
1244
  border: var(--t-border-width) solid var(--topbar-nav-link-border-color-active);
592
1245
  border-radius: var(--topbar-nav-link-border-radius);
593
1246
  min-width: var(--t-container-size-md);
1247
+ max-width: 100%;
594
1248
  transition: var(--topbar-nav-link-transition);
595
1249
  display: flex;
596
1250
  align-items: center;
@@ -601,6 +1255,7 @@ Caused by products overriding .topbar-wrap’s z-index.
601
1255
  }
602
1256
 
603
1257
  .trigger-WgRT5 svg {
1258
+ flex-shrink: 0;
604
1259
  transition: transform var(--topbar-slight-transition);
605
1260
  /* Negative margin ensures button is a circle when orgname isn’t visible */
606
1261
  margin-left: calc(var(--t-spacing-1) * -1);
@@ -915,13 +1570,35 @@ Caused by products overriding .topbar-wrap’s z-index.
915
1570
  background-color: var(--t-fill-color-button-interaction-outline-active);
916
1571
  }
917
1572
 
1573
+ /*
1574
+ * Spaces the header's buttons on the right. Each is the same touch target;
1575
+ * the padding keeps the avatar, and the title's width, where they were
1576
+ * before search joined it.
1577
+ */
1578
+ .actions-INQ7- {
1579
+ display: flex;
1580
+ flex-shrink: 0;
1581
+ align-items: center;
1582
+ padding-inline: var(--t-spacing-1-half) var(--t-spacing-1);
1583
+ }
1584
+
918
1585
  .profile-button-a2WO2 {
1586
+ display: flex;
1587
+ align-items: center;
1588
+ justify-content: center;
1589
+ width: var(--t-container-size-xl);
1590
+ height: var(--t-container-size-xl);
1591
+ padding: 0;
919
1592
  background-color: transparent;
920
1593
  border-width: 0;
921
- padding: var(--t-spacing-2);
922
1594
  appearance: none;
923
1595
  }
924
1596
 
1597
+ /* Centers the avatar in its target, without its own leading margin. */
1598
+ .profile-button-a2WO2 > div {
1599
+ margin-left: 0;
1600
+ }
1601
+
925
1602
  .debug-pco-resource-sLteM {
926
1603
  display: flex;
927
1604
  flex-direction: column;