|
134 | 134 | @apply ml-12;
|
135 | 135 | }
|
136 | 136 |
|
137 |
| -.DocSearch-Hit--Result.DocSearch-Hit--Child::before { |
138 |
| - content: ""; |
139 |
| - position: absolute; |
140 |
| - top: -0.25rem; |
141 |
| - bottom: -0.25rem; |
142 |
| - left: -1rem; |
143 |
| - width: 1px; |
144 |
| - background: var(--color-gray-200); |
| 137 | +.DocSearch-Hit--Result.DocSearch-Hit--Child { |
| 138 | + &::before { |
| 139 | + content: ""; |
| 140 | + position: absolute; |
| 141 | + top: -0.25rem; |
| 142 | + bottom: -0.25rem; |
| 143 | + left: -1rem; |
| 144 | + width: 1px; |
| 145 | + background: var(--color-gray-200); |
| 146 | + } |
145 | 147 |
|
146 |
| - .dark & { |
| 148 | + .dark &::before { |
147 | 149 | background: color-mix(in oklab, var(--color-gray-200) 20%, transparent);
|
148 | 150 | }
|
149 | 151 | @media (prefers-color-scheme: dark) {
|
150 |
| - .system & { |
| 152 | + .system &::before { |
151 | 153 | background: color-mix(in oklab, var(--color-gray-200) 20%, transparent);
|
152 | 154 | }
|
153 | 155 | }
|
|
672 | 674 | }
|
673 | 675 | }
|
674 | 676 |
|
675 |
| -.DocSearch-Hit-action [title="Remove this search from favorites"]::before { |
676 |
| - pointer-events: none; |
677 |
| - position: absolute; |
678 |
| - inset: calc(var(--spacing) * 0); |
679 |
| - background-color: var(--color-sky-50); |
680 |
| - content: ""; |
681 |
| - .dark & { |
| 677 | +.DocSearch-Hit-action [title="Remove this search from favorites"] { |
| 678 | + &::before { |
| 679 | + pointer-events: none; |
| 680 | + position: absolute; |
| 681 | + inset: calc(var(--spacing) * 0); |
| 682 | + background-color: var(--color-sky-50); |
| 683 | + content: ""; |
| 684 | + } |
| 685 | + .dark &::before { |
682 | 686 | background-color: color-mix(in oklab, var(--color-gray-700) 30%, transparent);
|
683 | 687 | }
|
684 | 688 | @media (prefers-color-scheme: dark) {
|
685 |
| - .system & { |
| 689 | + .system &::before { |
686 | 690 | background-color: color-mix(in oklab, var(--color-gray-700) 30%, transparent);
|
687 | 691 | }
|
688 | 692 | }
|
|
692 | 696 | @apply bg-sky-100 dark:bg-gray-700/40;
|
693 | 697 | }
|
694 | 698 |
|
695 |
| -.DocSearch-Hit-action [title="Remove this search from favorites"]::after { |
696 |
| - content: ""; |
697 |
| - position: absolute; |
698 |
| - pointer-events: none; |
699 |
| - width: calc(4.5rem + 1px); |
700 |
| - height: 1.5rem; |
701 |
| - margin-left: calc(-3rem - 1px); |
702 |
| - background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), |
703 |
| - url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"), |
704 |
| - url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); |
705 |
| - background-repeat: no-repeat, repeat-y, no-repeat; |
706 |
| - background-position: left, center, right; |
| 699 | +.DocSearch-Hit-action [title="Remove this search from favorites"] { |
| 700 | + &::after { |
| 701 | + content: ""; |
| 702 | + position: absolute; |
| 703 | + pointer-events: none; |
| 704 | + width: calc(4.5rem + 1px); |
| 705 | + height: 1.5rem; |
| 706 | + margin-left: calc(-3rem - 1px); |
| 707 | + background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), |
| 708 | + url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"), |
| 709 | + url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%2394A3B8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); |
| 710 | + background-repeat: no-repeat, repeat-y, no-repeat; |
| 711 | + background-position: left, center, right; |
| 712 | + } |
707 | 713 |
|
708 |
| - .dark & { |
| 714 | + .dark &::after { |
709 | 715 | background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
|
710 | 716 | url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' opacity='0.05' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"),
|
711 | 717 | url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
712 | 718 | }
|
713 | 719 | @media (prefers-color-scheme: dark) {
|
714 |
| - .system & { |
| 720 | + .system &::after { |
715 | 721 | background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
|
716 | 722 | url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' opacity='0.05' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"),
|
717 | 723 | url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%2364748b' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
718 | 724 | }
|
719 | 725 | }
|
720 | 726 | }
|
721 | 727 |
|
722 |
| -.DocSearch-Hit-action [title="Remove this search from favorites"]:hover::after { |
723 |
| - background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), |
724 |
| - url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"), |
725 |
| - url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); |
| 728 | +.DocSearch-Hit-action [title="Remove this search from favorites"]:hover { |
| 729 | + &::after { |
| 730 | + background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"), |
| 731 | + url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"), |
| 732 | + url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%23475569' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"); |
| 733 | + } |
726 | 734 |
|
727 |
| - .dark & { |
| 735 | + .dark &::after { |
728 | 736 | background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
|
729 | 737 | url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' opacity='0.05' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"),
|
730 | 738 | url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
731 | 739 | }
|
732 | 740 | @media (prefers-color-scheme: dark) {
|
733 |
| - .system & { |
| 741 | + .system &::after { |
734 | 742 | background-image: url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='m12 5 2 5h5l-4 4 2 5-5-3-5 3 2-5-4-4h5l2-5Z' fill='%230EA5E9' stroke='%230EA5E9' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E"),
|
735 | 743 | url("data:image/svg+xml,%3Csvg width='1' height='1' fill='%23e2e8f0' opacity='0.05' xmlns='http://www.w3.org/2000/svg'%3E%3Crect width='1' height='1'/%3E%3C/svg%3E"),
|
736 | 744 | url("data:image/svg+xml,%3Csvg width='24' height='24' fill='none' xmlns='http://www.w3.org/2000/svg'%3E%3Cpath d='M17 7 7 17M7 7l10 10' stroke='%2394a3b8' stroke-width='2' stroke-linecap='round' stroke-linejoin='round'/%3E%3C/svg%3E");
|
|
0 commit comments