@@ -1068,80 +1068,3 @@ kbd {
10681068 }
10691069}
10701070
1071- <<<<<<< Updated upstream
1072- = = = = = = =
1073- /* ==========================================================================
1074- 18. Algolia DocSearch Overrides
1075- ========================================================================== */
1076-
1077- /* Light Theme (Default) */
1078- : root {
1079- - - docsearch- primary- color : var(- - jooby- blue);
1080- - - docsearch- highlight- color : var(- - jooby- blue);
1081- - - docsearch- text- color : var(- - text- main);
1082- - - docsearch- muted- color : var(- - text- muted);
1083- - - docsearch- searchbox- shadow: inset 0 0 0 2px var(- - jooby- blue);
1084- - - docsearch- searchbox- focus- background: var(- - bg- main);
1085- }
1086-
1087- /* Dark Theme Overrides */
1088- html[data-theme = "dark" ] {
1089- --docsearch-text-color : var (--text-main );
1090- --docsearch-container-background : rgba (15 , 23 , 42 , 0.85 ); /* Slightly darker backdrop */
1091- --docsearch-modal-background : var (--bg-surface );
1092- --docsearch-modal-shadow : inset 1px 1px 0 0 # 334155, 0 8px 24px 0 rgba (0 , 0 , 0 , 0.5 );
1093- --docsearch-searchbox-background : var (--bg-main );
1094- --docsearch-searchbox-focus-background : var (--bg-main );
1095- --docsearch-hit-color : var (--text-muted );
1096- --docsearch-hit-active-color : var (--bg-main );
1097- --docsearch-hit-background : var (--bg-main );
1098- }
1099-
1100- /* --- Seamless Button Integration --- */
1101-
1102- /* Force the button to fit your sidebar perfectly */
1103- .DocSearch-Button {
1104- border-radius : var (--border-radius ) !important ;
1105- background : var (--bg-main ) !important ;
1106- border : 1px solid var (--border-color ) !important ;
1107- box-shadow : none !important ;
1108- color : var (--text-muted ) !important ;
1109- transition : all 0.2s ease;
1110- width : 100% !important ; /* Stretch to fill sidebar */
1111- margin : 0 0 1.5rem 0 !important ; /* Space below the button */
1112- padding : 0 10px !important ;
1113- justify-content : flex-start !important ; /* Align "Search" to the left */
1114- }
1115-
1116- /* Push the keyboard shortcut to the right edge */
1117- .DocSearch-Button-Keys {
1118- margin-left : auto !important ;
1119- min-width : auto !important ;
1120- }
1121-
1122- .DocSearch-Button : hover {
1123- border-color : var (--jooby-blue ) !important ;
1124- color : var (--jooby-blue ) !important ;
1125- box-shadow : 0 2px 4px rgba (0 , 0 , 0 , 0.05 ) !important ;
1126- }
1127-
1128- /* --- Keyboard Shortcut Keys (kbd) --- */
1129- .DocSearch-Button-Keys kbd {
1130- font-family : var (--font-code );
1131- background : var (--bg-surface ) !important ;
1132- border : 1px solid var (--border-color ) !important ;
1133- color : var (--text-muted ) !important ;
1134- box-shadow : 0 1px 0 rgba (0 , 0 , 0 , 0.2 ), inset 0 0 0 2px var (--bg-main ) !important ;
1135- border-radius : 4px !important ;
1136- padding : 0.1rem 0.3rem !important ;
1137- width : auto !important ;
1138- height : auto !important ;
1139- }
1140-
1141- /* Brighten the keys explicitly in Dark Mode */
1142- html [data-theme = "dark" ] .DocSearch-Button-Keys kbd {
1143- color : # e2e8f0 !important ;
1144- background : # 334155 !important ;
1145- }
1146-
1147- > > > > > > > Stashed changes
0 commit comments