kagi-catppuccin-mocha.css
· 17 KiB · CSS
Ham
:root {
--rosewater: #f5e0dc;
--flamingo: #f2cdcd;
--pink: #f5c2e7;
--mauve: #cba6f7;
--red: #f38ba8;
--maroon: #eba0ac;
--peach: #fab387;
--yellow: #f9e2af;
--green: #a6e3a1;
--teal: #94e2d5;
--sky: #89dceb;
--sapphire: #74c7ec;
--blue: #89b4fa;
--lavender: #b4befe;
--text: #cdd6f4;
--subtext1: #bac2de;
--subtext0: #a6adc8;
--overlay2: #9399b2;
--overlay1: #7f849c;
--overlay0: #6c7086;
--surface2: #585b70;
--surface1: #45475a;
--surface0: #313244;
--base: #1e1e2e;
--mantle: #181825;
--crust: #11111b;
--graphite: var(--base);
--graphite-25: var(--overlay2); /* Changed from --rosewater to --overlay2 */
--graphite-50: var(--flamingo);
--graphite-70: var(--pink);
--graphite-100: var(--mauve);
--graphite-200: var(--red);
--graphite-300: var(--maroon);
--graphite-400: var(--peach);
--graphite-500: var(--yellow);
--graphite-600: var(--green);
--graphite-700: var(--teal);
--graphite-800: var(--sky);
--graphite-850: var(--sapphire);
--graphite-900: var(--blue);
--graphite-950: var(--lavender);
--graphite-1000: var(--text);
--chrome-25: var(--rosewater);
--chrome-50: var(--flamingo);
--chrome-70: var(--pink);
--chrome-100: var(--mauve);
--chrome-200: var(--red);
--chrome-300: var(--maroon);
--chrome-400: var(--peach);
--chrome-500: var(--yellow);
--chrome-600: var(--green);
--chrome-700: var(--teal);
--chrome-800: var(--sky);
--chrome-850: var(--sapphire);
--chrome-900: var(--blue);
--chrome-950: var(--lavender);
--chrome-1000: var(--text);
--purple-300: var(--lavender);
--purple-400: var(--blue);
--purple-500: var(--sapphire);
--purple-600: var(--sky);
--purple-800: var(--teal);
--purple-900: var(--green);
--yellow: var(--yellow);
--warning: var(--peach);
--info: var(--sky);
--danger: var(--red);
--success: var(--green);
--calm: var(--surface0);
--blue: var(--blue);
--color-scheme: dark;
--app-bg: var(--base);
--link: var(--purple-600);
--app-frame-bg: var(--app-bg);
--landing-bg: var(--app-bg);
--app-bg-opac: rgba(30, 30, 46, 0);
--bottom-bar-bg: var(--yellow);
--white: var(--text);
--app-text: var(--text);
--kagi-highlight: var(--yellow);
--beta-tag-bg: var(--yellow);
--beta-tag-text: var(--base);
--beta-tag-inside-corners: var(--maroon);
--kagi-light-cream: var(--rosewater);
--kagi-accent: var(--surface1);
--kagi-sky: var(--sky);
--kagi-sky-b: var(--sapphire);
--kagi-sky-i: var(--sky);
--kagi-orange: var(--maroon);
--resultsummary-highlight: var(--surface2);
--resultsummary-highlight_text: var(--text);
--kagi-graphite: var(--text);
--kagi-graphite-s: var(--overlay2);
--kagi-graphite-text: var(--base);
--kagi-graphite-ia: var(--text);
--kagi-graphite-ia-color: var(--base);
--inner-shadow: rgba(0, 0, 0, .05);
--settings-app-inner-bg: var(--app-bg);
--box-shadow: rgba(0, 0, 0, .09);
--box-shadow-15: rgba(0, 0, 0, .15);
--primary: var(--text);
--primary-25: var(--overlay2); /* Changed from --rosewater to --overlay2 */
--primary-50: var(--flamingo);
--primary-70: var(--pink);
--primary-100: var(--mauve);
--primary-200: var(--red);
--primary-300: var(--maroon);
--primary-400: var(--peach);
--primary-500: var(--yellow);
--primary-600: var(--green);
--primary-700: var(--teal);
--primary-800: var(--sky);
--primary-850: var(--sapphire);
--primary-900: var(--blue);
--primary-950: var(--lavender);
--primary-1000: var(--text);
--primary-g: var(--text);
--primary-g-2: var(--red);
--primary-g-6: var(--green);
--primary-g-8: var(--sky);
--primary-300-solid: var(--maroon);
--secondary: var(--base);
--color-search-input-border: var(--mauve);
--color-search-input: var(--base);
--header-bg: var(--app-bg);
--header-bg-opac: var(--app-bg-opac);
--color-search-input-opac: var(--app-bg-opac);
--color-danger: var(--red);
--primary-hover: var(--purple-600);
--primary-hover-hover: var(--purple-500);
--primary-visited: var(--teal);
--input-bg: var(--app-bg);
--doggo-color-1: var(--text);
--doggo-bg-color: var(--app-bg);
--doggo-stroke-color: var(--maroon);
--landing-page-clouds-opacity: 1;
--quick-search-bg: var(--text);
--quick-search-icon: var(--base);
--app-logo: var(--text);
--app-logo-bg: var(--yellow);
--filters-clear-btn-icon: var(--maroon);
--filter-dd-bg: var(--surface2);
--k-tooltip-bg: rgba(30, 30, 46, .9);
--k-tooltip-text: var(--text);
--dd-hover-bg: var(--mauve);
--dd-hover-color: var(--text);
--dd-list-input-bg: var(--input-bg);
--not-found-bubble-bg: var(--surface1);
--app-sidebar-item-border: rgba(255, 255, 255, .2);
--app-sidebar-link: rgba(255, 255, 255, .6);
--app-sidebar-nav-item-bg_hover: var(--yellow);
--app-sidebar-nav-item-icon_hover: var(--base);
--ranked-box-shadow: rgba(0, 0, 0, .25);
--ranked-box-connection-secure: var(--green);
--ranked-box-connection-insecure: var(--red);
--ranked-box-tracker-desc-danger: var(--red);
--ranked-box-tracker-desc-clear: var(--green);
--site_info_bg: var(--app-bg);
--site_info_bottom_bg: var(--kagi-accent);
--result-item-title-border: var(--peach);
--result-item-title-border_hover: var(--primary-hover);
--result-item-title-visited-border: var(--pink);
--result-rank-icon-stroke_promoted: var(--text);
--result-item-highlight: var(--sky);
--search-result-content-text: var(--text); /* Changed from --teal */
--search-result-url-link: var(--green);
--search-result-title: var(--text);
--search-result-title-hover: var(--primary-hover);
--search-result-date-bg: var(--surface0);
--search-result-date-new-bg: var(--base);
--search-result-date-new: var(--sky);
--domain-rank-icon-color-ban: var(--red);
--domain-rank-icon-color-lower: var(--red);
--domain-rank-icon-color-normal: var(--red);
--domain-rank-icon-color-higher: var(--red);
--domain-rank-icon-color-boosted: var(--red);
--domain-rank-icon-color-trackers: var(--peach);
--domain-rank-icon-color-trackers-hover: var(--maroon);
--domain-rank-icon-color-scam: var(--peach);
--domain-rank-icon-color-scam-hover: var(--maroon);
--inline-header-title: var(--text); /* Changed from --teal */
--inline-widget-bg: var(--surface0);
--inline-widget-hover-bg: var(--surface1);
--inline-header-border: var(--red);
--inline-domain-tag-bg: var(--pink);
--related-item-bg: var(--surface0);
--related-item-hover-bg: var(--surface1);
--video-item-bg: var(--surface0);
--auto-sugg-bg_hover: var(--surface0);
--provider-breakdown_server: var(--sky);
--provider-breakdown_client: var(--peach);
--provider-breakdown_speed1: var(--yellow);
--provider-breakdown_speed2: var(--red);
--provider-breakdown_speed3: var(--red);
--widget-progress_bar: var(--text);
--translate-fc_icon: var(--text);
--rating-star_background: var(--surface1);
--wiki-content-links: var(--text);
--m_sri_gap_color: var(--surface1);
--btn-primary-bg: var(--text);
--btn-primary-text: var(--base);
--btn-primary-color: var(--base);
--btn-group-bg: var(--base);
--image_brightness: 100%;
--nav_n_se_line: var(--yellow);
--nav_n_im_line: var(--blue);
--nav_n_vi_line: var(--red);
--nav_n_ne_line: var(--mauve);
--nav_n_ma_line: var(--green);
--onboarding_theme_options_dark_visibility: flex;
--onboarding_theme_options_light_visibility: none;
--onb_theme_light_preview_box: none;
--onb_theme_calm_blue_preview_box: none;
--onb_theme_royal_blue_preview_box: none;
--onb_theme_moon_dark_preview_box: flex;
--code-bg: var(--base);
--code-border: var(--overlay0);
--code-k: var(--mauve);
--code-s: var(--green);
--code-cm-c1: var(--maroon);
--code-n: var(--mauve);
--code-p: var(--text);
--background-color-sky: var(--sky);
--ai_chat_buble_a_bg: var(--kagi-accent);
--ai_chat_buble_q_bg: var(--app-bg);
--ai_chat_buble_dd_q_bg: var(--kagi-accent);
--ai_chat_buble_dd_a_bg: var(--surface1);
--ai_chat_buble_a_text: var(--app-text);
--ai_chat_buble_q_text: var(--app-text);
--ai_chat_input_text: var(--app-text);
--ai_chat_input_button: var(--teal);
--checkbox-bg: var(--yellow);
--checkbox-check: var(--base);
--as-dd-border: var(--app-bg);
--dd-list-input-bg: var(--base);
--icon-purple: var(--sky);
}
/* Media query for mobile devices */
@media all and (max-device-width: 766px) {
.bg-p-50 {
background-color: var(--surface0); /* Use a darker color on mobile */
}
.landing-category-select .landing_cat_buttons > button.--active {
align-items: center;
border: 1px solid var(--primary-400);
border-radius: 999px;
color: var(--primary-500);
display: flex;
flex-shrink: 0;
gap: 4px;
padding: 8px 16px;
background-color: var(--surface0);
}
.landing-category-select .landing_cat_buttons>button {
border: none;
color:var(--primary);
font-size:.875rem;
height:47px;
margin:0;
min-width:unset!important;
padding:0 8px;
position:relative
}
.landing-category-select .landing_cat_buttons>button.--active {
font-weight:700;
}
.landing-category-select .landing_cat_buttons>button.n_se.--active,
.landing-category-select .landing_cat_buttons>button.n_se:hover {
border-bottom:2px solid var(--nav_n_ma_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_im.--active,
.landing-category-select .landing_cat_buttons>button.n_im:hover {
border-bottom:2px solid var(--nav_n_vi_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_vi.--active,
.landing-category-select .landing_cat_buttons>button.n_vi:hover {
border-bottom:2px solid var(--nav_n_vi_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_ne.--active,
.landing-category-select .landing_cat_buttons>button.n_ne:hover {
border-bottom:2px solid var(--nav_n_ne_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_ma.--active,
.landing-category-select .landing_cat_buttons>button.n_ma:hover {
border-bottom:2px solid var(--nav_n_ma_line) !important;
}
.landing_cat_buttons {
border-bottom:none !important;
display:flex;
justify-content:space-between;
width:100%;
}
.search-result, .sri-group {
border-bottom: unset !important;
}
.inline-content+.search-result, .inline-content+.sri-group {
border-top: unset !important;
}
}
/* Desktop CSS */
.k_ui_dropdown_data_list .list_items > ._0_k_ui_dropdown_li:hover {
background-color: var(--surface2) !important; /* Darker background */
/* Optionally, keep the original text color or slightly lighten it if needed */
/* color: var(--text); */
}
div.sidebar-box {
background-color: var(--mantle) !important; /* Darker background for sidebar-box */
}
.thread-list > li:is(.active, :hover, :focus-within) {
background-color: var(--surface1) !important; /* Darker background for active, hover, and focus-within states */
}
.bg-p-50 {
background-color: var(--primary-50); /* Or whichever color you currently have set */
}
.dropdown .dd-list ._0_list_items li:hover {
color: var(--overlay0) !important; /* Darker font color on hover */
}
.sidebar-filter-nav-form .sidebar-filter-nav > .filter-item .dd-list li:hover {
color: var(--overlay0) !important; /* Darker text color on hover */
}
span.domain {
background-color: var(--surface0) !important; /* Use a darker background color */
color: var(--text) !important; /* Ensure text color is readable against the background */
padding: 2px 4px !important; /* Optional: Add some padding for visual comfort */
border-radius: 3px !important; /* Optional: Add a slight border radius */
}
#chat_box .chat_bubble .sources .domain {
background-color: var(--surface0); /* Darker background color */
color: var(--text); /* Ensure readable text color */
padding: 1px 3px; /* Optional: Adjust padding as needed */
border-radius: 3px; /* Optional: Add a slight border-radius */
}
span.__domain-name, .prompt-options button:hover, .prompt-options label:hover, .promptOptionsSelector .custom-assistants li.option:hover, .promptOptionsSelector .default-assistants li.option.focus, .promptOptionsSelector .default-assistants li.option:hover, .promptOptionsSelector .custom-assistants span a:hover, .promptOptionsSelector .custom-assistants li.option.focus, .widget-simple .__domain-name, .bg-p-50 {
background-color: var(--surface0) !important;
}
.message-info li .value {
background-color: var(--surface0); /* Darker background color */
color: var(--text); /* Ensure readable text color */
padding: 2px 5px; /* Optional: Add some padding */
border-radius: 4px; /* Optional: Add a border-radius */
}
#chat_box .chat_bubble .content sup {
background-color: var(--surface1); /* Darker background color */
color: var(--text); /* Ensure readable text color */
}
#chat_box .chat_bubble .content sup:hover {
background-color: var(--surface2); /* Slightly lighter on hover */
}
.landing-category-select .landing_cat_buttons > button.--active {
align-items: center;
border: 1px solid var(--primary-400);
border-radius: 999px;
color: var(--primary-500);
display: flex;
flex-shrink: 0;
gap: 4px;
padding: 8px 16px;
background-color: var(--surface0);
}
.landing-category-select .landing_cat_buttons>button {
border-bottom:2px solid transparent;
color:var(--primary);
font-size:.875rem;
height:47px;
margin:0;
min-width:unset!important;
padding:0 8px;
position:relative
}
.landing-category-select .landing_cat_buttons>button.--active {
font-weight:700
}
.landing-category-select .landing_cat_buttons>button.n_se.--active,
.landing-category-select .landing_cat_buttons>button.n_se:hover {
border-bottom:2px solid var(--nav_n_ma_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_im.--active,
.landing-category-select .landing_cat_buttons>button.n_im:hover {
border-bottom:2px solid var(--nav_n_vi_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_vi.--active,
.landing-category-select .landing_cat_buttons>button.n_vi:hover {
border-bottom:2px solid var(--nav_n_vi_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_ne.--active,
.landing-category-select .landing_cat_buttons>button.n_ne:hover {
border-bottom:2px solid var(--nav_n_ne_line) !important;
}
.landing-category-select .landing_cat_buttons>button.n_ma.--active,
.landing-category-select .landing_cat_buttons>button.n_ma:hover {
border-bottom:2px solid var(--nav_n_ma_line) !important;
}
.landing_cat_buttons {
border-bottom:1px solid var(--primary-200);
display:flex;
justify-content:space-between;
width:100%
}
._0_filters-clear-btn {
color: var(--crust) !important;
}
._0_filters-clear-btn i svg {
color: var(--base) !important;
}
#adv_search_btn:checked + #mainContent .search-form .landing-category-select {
top: 85px;
}
.landing_cat_buttons {
padding-bottom: 10px;
}
._0_copied_tooltip {
left: -45px;
}
.k_ui_toggle_switch.--enabled .k_ui_toggle_switch_bar {
background: var(--primary-g-6);
}
.k_ui_toggle_switch.--mini .k_ui_toggle_switch_bar {
--border-color: var(--primary-g-6);
}
input[type="date"] {
color: var(--primary-600) !important;
}
.sidebar-filter-nav-form .sidebar-filter-nav > .filter-item .dd-list li:hover {
color: unset !important;
}
.dropdown .dd-list .checked.inner-label:hover {
color: var(--crust) !important;
}
.dropdown .dd-list .inner-label:hover {
color: var(--crust);
}
.k_ui_dropdown_data_list .list_items > div:hover {
background-color: unset !important;
color: unset !important;
outline: none;
text-decoration: none;
}
#uploadedItems .item .type, #uploadedItems .item .icon, #uploadedItems .item .name {
color: var(--crust);
}
#form .uploadLabel:hover {
color: var(--crust);
}
.POI-item-back .text {
color: var(--crust);
}
.k-tooltip {
background-color: var(--primary-100);
}
#adv_search_btn:checked + #mainContent .search-form .landing-category-select {
top: 65px;
}
header {
background: var(--crust) !important;
}
.prompt-options label:hover {
background-color: unset !important;
}
.prompt-options button:hover {
background-color: unset !important;
}
#chat_box .chat_bubble .actions [data-action]:is(a,button):hover {
background: var(--surface1);
}
#dictation-button:hover {
color: var(--crust);
}
.chat_bubble:focus-within:before,.chat_bubble:hover:before {
background-color: unset !important;
}
#popover-privacy > p:nth-child(3) > span > i {
color: var(--crust) !important;
}
.main-center-box>* {
margin-inline: auto;
max-width: 850px;
padding-inline: 16px;
width: 100%;
}
#chat_box > div:nth-child(1), [aria-label="You said:"] {
background-color: var(--surface0) !important;
padding: 20px !important;
border: 2px solid var(--overlay0) !important;
border-radius: 25px !important;
}
.chat_bubble {
padding-block: 32px;
position: relative;
border: 2px solid var(--overlay0);
border-radius: 25px;
margin-top: 25px;
padding: 20px;
background-color: var(--crust);
}
#prompt-box {
border-top: 2px solid var(--peach);
}
:focus-visible {
border-radius: 5px;
outline: 3px solid var(--peach);
}
/* OPTIONAL disable underline on title links in search result */
.__sri-title .__sri_title_link {
border-bottom: none;
}
1 | :root { |
2 | --rosewater: #f5e0dc; |
3 | --flamingo: #f2cdcd; |
4 | --pink: #f5c2e7; |
5 | --mauve: #cba6f7; |
6 | --red: #f38ba8; |
7 | --maroon: #eba0ac; |
8 | --peach: #fab387; |
9 | --yellow: #f9e2af; |
10 | --green: #a6e3a1; |
11 | --teal: #94e2d5; |
12 | --sky: #89dceb; |
13 | --sapphire: #74c7ec; |
14 | --blue: #89b4fa; |
15 | --lavender: #b4befe; |
16 | --text: #cdd6f4; |
17 | --subtext1: #bac2de; |
18 | --subtext0: #a6adc8; |
19 | --overlay2: #9399b2; |
20 | --overlay1: #7f849c; |
21 | --overlay0: #6c7086; |
22 | --surface2: #585b70; |
23 | --surface1: #45475a; |
24 | --surface0: #313244; |
25 | --base: #1e1e2e; |
26 | --mantle: #181825; |
27 | --crust: #11111b; |
28 | |
29 | --graphite: var(--base); |
30 | --graphite-25: var(--overlay2); /* Changed from --rosewater to --overlay2 */ |
31 | --graphite-50: var(--flamingo); |
32 | --graphite-70: var(--pink); |
33 | --graphite-100: var(--mauve); |
34 | --graphite-200: var(--red); |
35 | --graphite-300: var(--maroon); |
36 | --graphite-400: var(--peach); |
37 | --graphite-500: var(--yellow); |
38 | --graphite-600: var(--green); |
39 | --graphite-700: var(--teal); |
40 | --graphite-800: var(--sky); |
41 | --graphite-850: var(--sapphire); |
42 | --graphite-900: var(--blue); |
43 | --graphite-950: var(--lavender); |
44 | --graphite-1000: var(--text); |
45 | --chrome-25: var(--rosewater); |
46 | --chrome-50: var(--flamingo); |
47 | --chrome-70: var(--pink); |
48 | --chrome-100: var(--mauve); |
49 | --chrome-200: var(--red); |
50 | --chrome-300: var(--maroon); |
51 | --chrome-400: var(--peach); |
52 | --chrome-500: var(--yellow); |
53 | --chrome-600: var(--green); |
54 | --chrome-700: var(--teal); |
55 | --chrome-800: var(--sky); |
56 | --chrome-850: var(--sapphire); |
57 | --chrome-900: var(--blue); |
58 | --chrome-950: var(--lavender); |
59 | --chrome-1000: var(--text); |
60 | --purple-300: var(--lavender); |
61 | --purple-400: var(--blue); |
62 | --purple-500: var(--sapphire); |
63 | --purple-600: var(--sky); |
64 | --purple-800: var(--teal); |
65 | --purple-900: var(--green); |
66 | --yellow: var(--yellow); |
67 | --warning: var(--peach); |
68 | --info: var(--sky); |
69 | --danger: var(--red); |
70 | --success: var(--green); |
71 | --calm: var(--surface0); |
72 | --blue: var(--blue); |
73 | --color-scheme: dark; |
74 | --app-bg: var(--base); |
75 | --link: var(--purple-600); |
76 | --app-frame-bg: var(--app-bg); |
77 | --landing-bg: var(--app-bg); |
78 | --app-bg-opac: rgba(30, 30, 46, 0); |
79 | --bottom-bar-bg: var(--yellow); |
80 | --white: var(--text); |
81 | --app-text: var(--text); |
82 | --kagi-highlight: var(--yellow); |
83 | --beta-tag-bg: var(--yellow); |
84 | --beta-tag-text: var(--base); |
85 | --beta-tag-inside-corners: var(--maroon); |
86 | --kagi-light-cream: var(--rosewater); |
87 | --kagi-accent: var(--surface1); |
88 | --kagi-sky: var(--sky); |
89 | --kagi-sky-b: var(--sapphire); |
90 | --kagi-sky-i: var(--sky); |
91 | --kagi-orange: var(--maroon); |
92 | --resultsummary-highlight: var(--surface2); |
93 | --resultsummary-highlight_text: var(--text); |
94 | --kagi-graphite: var(--text); |
95 | --kagi-graphite-s: var(--overlay2); |
96 | --kagi-graphite-text: var(--base); |
97 | --kagi-graphite-ia: var(--text); |
98 | --kagi-graphite-ia-color: var(--base); |
99 | --inner-shadow: rgba(0, 0, 0, .05); |
100 | --settings-app-inner-bg: var(--app-bg); |
101 | --box-shadow: rgba(0, 0, 0, .09); |
102 | --box-shadow-15: rgba(0, 0, 0, .15); |
103 | --primary: var(--text); |
104 | --primary-25: var(--overlay2); /* Changed from --rosewater to --overlay2 */ |
105 | --primary-50: var(--flamingo); |
106 | --primary-70: var(--pink); |
107 | --primary-100: var(--mauve); |
108 | --primary-200: var(--red); |
109 | --primary-300: var(--maroon); |
110 | --primary-400: var(--peach); |
111 | --primary-500: var(--yellow); |
112 | --primary-600: var(--green); |
113 | --primary-700: var(--teal); |
114 | --primary-800: var(--sky); |
115 | --primary-850: var(--sapphire); |
116 | --primary-900: var(--blue); |
117 | --primary-950: var(--lavender); |
118 | --primary-1000: var(--text); |
119 | --primary-g: var(--text); |
120 | --primary-g-2: var(--red); |
121 | --primary-g-6: var(--green); |
122 | --primary-g-8: var(--sky); |
123 | --primary-300-solid: var(--maroon); |
124 | --secondary: var(--base); |
125 | --color-search-input-border: var(--mauve); |
126 | --color-search-input: var(--base); |
127 | --header-bg: var(--app-bg); |
128 | --header-bg-opac: var(--app-bg-opac); |
129 | --color-search-input-opac: var(--app-bg-opac); |
130 | --color-danger: var(--red); |
131 | --primary-hover: var(--purple-600); |
132 | --primary-hover-hover: var(--purple-500); |
133 | --primary-visited: var(--teal); |
134 | --input-bg: var(--app-bg); |
135 | --doggo-color-1: var(--text); |
136 | --doggo-bg-color: var(--app-bg); |
137 | --doggo-stroke-color: var(--maroon); |
138 | --landing-page-clouds-opacity: 1; |
139 | --quick-search-bg: var(--text); |
140 | --quick-search-icon: var(--base); |
141 | --app-logo: var(--text); |
142 | --app-logo-bg: var(--yellow); |
143 | --filters-clear-btn-icon: var(--maroon); |
144 | --filter-dd-bg: var(--surface2); |
145 | --k-tooltip-bg: rgba(30, 30, 46, .9); |
146 | --k-tooltip-text: var(--text); |
147 | --dd-hover-bg: var(--mauve); |
148 | --dd-hover-color: var(--text); |
149 | --dd-list-input-bg: var(--input-bg); |
150 | --not-found-bubble-bg: var(--surface1); |
151 | --app-sidebar-item-border: rgba(255, 255, 255, .2); |
152 | --app-sidebar-link: rgba(255, 255, 255, .6); |
153 | --app-sidebar-nav-item-bg_hover: var(--yellow); |
154 | --app-sidebar-nav-item-icon_hover: var(--base); |
155 | --ranked-box-shadow: rgba(0, 0, 0, .25); |
156 | --ranked-box-connection-secure: var(--green); |
157 | --ranked-box-connection-insecure: var(--red); |
158 | --ranked-box-tracker-desc-danger: var(--red); |
159 | --ranked-box-tracker-desc-clear: var(--green); |
160 | --site_info_bg: var(--app-bg); |
161 | --site_info_bottom_bg: var(--kagi-accent); |
162 | --result-item-title-border: var(--peach); |
163 | --result-item-title-border_hover: var(--primary-hover); |
164 | --result-item-title-visited-border: var(--pink); |
165 | --result-rank-icon-stroke_promoted: var(--text); |
166 | --result-item-highlight: var(--sky); |
167 | --search-result-content-text: var(--text); /* Changed from --teal */ |
168 | --search-result-url-link: var(--green); |
169 | --search-result-title: var(--text); |
170 | --search-result-title-hover: var(--primary-hover); |
171 | --search-result-date-bg: var(--surface0); |
172 | --search-result-date-new-bg: var(--base); |
173 | --search-result-date-new: var(--sky); |
174 | --domain-rank-icon-color-ban: var(--red); |
175 | --domain-rank-icon-color-lower: var(--red); |
176 | --domain-rank-icon-color-normal: var(--red); |
177 | --domain-rank-icon-color-higher: var(--red); |
178 | --domain-rank-icon-color-boosted: var(--red); |
179 | --domain-rank-icon-color-trackers: var(--peach); |
180 | --domain-rank-icon-color-trackers-hover: var(--maroon); |
181 | --domain-rank-icon-color-scam: var(--peach); |
182 | --domain-rank-icon-color-scam-hover: var(--maroon); |
183 | --inline-header-title: var(--text); /* Changed from --teal */ |
184 | --inline-widget-bg: var(--surface0); |
185 | --inline-widget-hover-bg: var(--surface1); |
186 | --inline-header-border: var(--red); |
187 | --inline-domain-tag-bg: var(--pink); |
188 | --related-item-bg: var(--surface0); |
189 | --related-item-hover-bg: var(--surface1); |
190 | --video-item-bg: var(--surface0); |
191 | --auto-sugg-bg_hover: var(--surface0); |
192 | --provider-breakdown_server: var(--sky); |
193 | --provider-breakdown_client: var(--peach); |
194 | --provider-breakdown_speed1: var(--yellow); |
195 | --provider-breakdown_speed2: var(--red); |
196 | --provider-breakdown_speed3: var(--red); |
197 | --widget-progress_bar: var(--text); |
198 | --translate-fc_icon: var(--text); |
199 | --rating-star_background: var(--surface1); |
200 | --wiki-content-links: var(--text); |
201 | --m_sri_gap_color: var(--surface1); |
202 | --btn-primary-bg: var(--text); |
203 | --btn-primary-text: var(--base); |
204 | --btn-primary-color: var(--base); |
205 | --btn-group-bg: var(--base); |
206 | --image_brightness: 100%; |
207 | --nav_n_se_line: var(--yellow); |
208 | --nav_n_im_line: var(--blue); |
209 | --nav_n_vi_line: var(--red); |
210 | --nav_n_ne_line: var(--mauve); |
211 | --nav_n_ma_line: var(--green); |
212 | --onboarding_theme_options_dark_visibility: flex; |
213 | --onboarding_theme_options_light_visibility: none; |
214 | --onb_theme_light_preview_box: none; |
215 | --onb_theme_calm_blue_preview_box: none; |
216 | --onb_theme_royal_blue_preview_box: none; |
217 | --onb_theme_moon_dark_preview_box: flex; |
218 | --code-bg: var(--base); |
219 | --code-border: var(--overlay0); |
220 | --code-k: var(--mauve); |
221 | --code-s: var(--green); |
222 | --code-cm-c1: var(--maroon); |
223 | --code-n: var(--mauve); |
224 | --code-p: var(--text); |
225 | --background-color-sky: var(--sky); |
226 | --ai_chat_buble_a_bg: var(--kagi-accent); |
227 | --ai_chat_buble_q_bg: var(--app-bg); |
228 | --ai_chat_buble_dd_q_bg: var(--kagi-accent); |
229 | --ai_chat_buble_dd_a_bg: var(--surface1); |
230 | --ai_chat_buble_a_text: var(--app-text); |
231 | --ai_chat_buble_q_text: var(--app-text); |
232 | --ai_chat_input_text: var(--app-text); |
233 | --ai_chat_input_button: var(--teal); |
234 | --checkbox-bg: var(--yellow); |
235 | --checkbox-check: var(--base); |
236 | --as-dd-border: var(--app-bg); |
237 | --dd-list-input-bg: var(--base); |
238 | --icon-purple: var(--sky); |
239 | } |
240 | |
241 | /* Media query for mobile devices */ |
242 | |
243 | @media all and (max-device-width: 766px) { |
244 | .bg-p-50 { |
245 | background-color: var(--surface0); /* Use a darker color on mobile */ |
246 | } |
247 | .landing-category-select .landing_cat_buttons > button.--active { |
248 | align-items: center; |
249 | border: 1px solid var(--primary-400); |
250 | border-radius: 999px; |
251 | color: var(--primary-500); |
252 | display: flex; |
253 | flex-shrink: 0; |
254 | gap: 4px; |
255 | padding: 8px 16px; |
256 | background-color: var(--surface0); |
257 | } |
258 | |
259 | .landing-category-select .landing_cat_buttons>button { |
260 | border: none; |
261 | color:var(--primary); |
262 | font-size:.875rem; |
263 | height:47px; |
264 | margin:0; |
265 | min-width:unset!important; |
266 | padding:0 8px; |
267 | position:relative |
268 | } |
269 | .landing-category-select .landing_cat_buttons>button.--active { |
270 | font-weight:700; |
271 | } |
272 | .landing-category-select .landing_cat_buttons>button.n_se.--active, |
273 | .landing-category-select .landing_cat_buttons>button.n_se:hover { |
274 | border-bottom:2px solid var(--nav_n_ma_line) !important; |
275 | } |
276 | .landing-category-select .landing_cat_buttons>button.n_im.--active, |
277 | .landing-category-select .landing_cat_buttons>button.n_im:hover { |
278 | border-bottom:2px solid var(--nav_n_vi_line) !important; |
279 | } |
280 | .landing-category-select .landing_cat_buttons>button.n_vi.--active, |
281 | .landing-category-select .landing_cat_buttons>button.n_vi:hover { |
282 | border-bottom:2px solid var(--nav_n_vi_line) !important; |
283 | } |
284 | .landing-category-select .landing_cat_buttons>button.n_ne.--active, |
285 | .landing-category-select .landing_cat_buttons>button.n_ne:hover { |
286 | border-bottom:2px solid var(--nav_n_ne_line) !important; |
287 | } |
288 | .landing-category-select .landing_cat_buttons>button.n_ma.--active, |
289 | .landing-category-select .landing_cat_buttons>button.n_ma:hover { |
290 | border-bottom:2px solid var(--nav_n_ma_line) !important; |
291 | } |
292 | .landing_cat_buttons { |
293 | border-bottom:none !important; |
294 | display:flex; |
295 | justify-content:space-between; |
296 | width:100%; |
297 | } |
298 | .search-result, .sri-group { |
299 | border-bottom: unset !important; |
300 | } |
301 | .inline-content+.search-result, .inline-content+.sri-group { |
302 | border-top: unset !important; |
303 | } |
304 | } |
305 | |
306 | /* Desktop CSS */ |
307 | |
308 | .k_ui_dropdown_data_list .list_items > ._0_k_ui_dropdown_li:hover { |
309 | background-color: var(--surface2) !important; /* Darker background */ |
310 | /* Optionally, keep the original text color or slightly lighten it if needed */ |
311 | /* color: var(--text); */ |
312 | } |
313 | |
314 | div.sidebar-box { |
315 | background-color: var(--mantle) !important; /* Darker background for sidebar-box */ |
316 | } |
317 | |
318 | .thread-list > li:is(.active, :hover, :focus-within) { |
319 | background-color: var(--surface1) !important; /* Darker background for active, hover, and focus-within states */ |
320 | } |
321 | |
322 | .bg-p-50 { |
323 | background-color: var(--primary-50); /* Or whichever color you currently have set */ |
324 | } |
325 | |
326 | .dropdown .dd-list ._0_list_items li:hover { |
327 | color: var(--overlay0) !important; /* Darker font color on hover */ |
328 | } |
329 | |
330 | .sidebar-filter-nav-form .sidebar-filter-nav > .filter-item .dd-list li:hover { |
331 | color: var(--overlay0) !important; /* Darker text color on hover */ |
332 | } |
333 | |
334 | span.domain { |
335 | background-color: var(--surface0) !important; /* Use a darker background color */ |
336 | color: var(--text) !important; /* Ensure text color is readable against the background */ |
337 | padding: 2px 4px !important; /* Optional: Add some padding for visual comfort */ |
338 | border-radius: 3px !important; /* Optional: Add a slight border radius */ |
339 | } |
340 | |
341 | #chat_box .chat_bubble .sources .domain { |
342 | background-color: var(--surface0); /* Darker background color */ |
343 | color: var(--text); /* Ensure readable text color */ |
344 | padding: 1px 3px; /* Optional: Adjust padding as needed */ |
345 | border-radius: 3px; /* Optional: Add a slight border-radius */ |
346 | } |
347 | |
348 | span.__domain-name, .prompt-options button:hover, .prompt-options label:hover, .promptOptionsSelector .custom-assistants li.option:hover, .promptOptionsSelector .default-assistants li.option.focus, .promptOptionsSelector .default-assistants li.option:hover, .promptOptionsSelector .custom-assistants span a:hover, .promptOptionsSelector .custom-assistants li.option.focus, .widget-simple .__domain-name, .bg-p-50 { |
349 | background-color: var(--surface0) !important; |
350 | } |
351 | |
352 | .message-info li .value { |
353 | background-color: var(--surface0); /* Darker background color */ |
354 | color: var(--text); /* Ensure readable text color */ |
355 | padding: 2px 5px; /* Optional: Add some padding */ |
356 | border-radius: 4px; /* Optional: Add a border-radius */ |
357 | } |
358 | |
359 | #chat_box .chat_bubble .content sup { |
360 | background-color: var(--surface1); /* Darker background color */ |
361 | color: var(--text); /* Ensure readable text color */ |
362 | } |
363 | |
364 | #chat_box .chat_bubble .content sup:hover { |
365 | background-color: var(--surface2); /* Slightly lighter on hover */ |
366 | } |
367 | |
368 | .landing-category-select .landing_cat_buttons > button.--active { |
369 | align-items: center; |
370 | border: 1px solid var(--primary-400); |
371 | border-radius: 999px; |
372 | color: var(--primary-500); |
373 | display: flex; |
374 | flex-shrink: 0; |
375 | gap: 4px; |
376 | padding: 8px 16px; |
377 | background-color: var(--surface0); |
378 | } |
379 | |
380 | .landing-category-select .landing_cat_buttons>button { |
381 | border-bottom:2px solid transparent; |
382 | color:var(--primary); |
383 | font-size:.875rem; |
384 | height:47px; |
385 | margin:0; |
386 | min-width:unset!important; |
387 | padding:0 8px; |
388 | position:relative |
389 | } |
390 | .landing-category-select .landing_cat_buttons>button.--active { |
391 | font-weight:700 |
392 | } |
393 | .landing-category-select .landing_cat_buttons>button.n_se.--active, |
394 | .landing-category-select .landing_cat_buttons>button.n_se:hover { |
395 | border-bottom:2px solid var(--nav_n_ma_line) !important; |
396 | } |
397 | .landing-category-select .landing_cat_buttons>button.n_im.--active, |
398 | .landing-category-select .landing_cat_buttons>button.n_im:hover { |
399 | border-bottom:2px solid var(--nav_n_vi_line) !important; |
400 | } |
401 | .landing-category-select .landing_cat_buttons>button.n_vi.--active, |
402 | .landing-category-select .landing_cat_buttons>button.n_vi:hover { |
403 | border-bottom:2px solid var(--nav_n_vi_line) !important; |
404 | } |
405 | .landing-category-select .landing_cat_buttons>button.n_ne.--active, |
406 | .landing-category-select .landing_cat_buttons>button.n_ne:hover { |
407 | border-bottom:2px solid var(--nav_n_ne_line) !important; |
408 | } |
409 | .landing-category-select .landing_cat_buttons>button.n_ma.--active, |
410 | .landing-category-select .landing_cat_buttons>button.n_ma:hover { |
411 | border-bottom:2px solid var(--nav_n_ma_line) !important; |
412 | } |
413 | .landing_cat_buttons { |
414 | border-bottom:1px solid var(--primary-200); |
415 | display:flex; |
416 | justify-content:space-between; |
417 | width:100% |
418 | } |
419 | |
420 | ._0_filters-clear-btn { |
421 | color: var(--crust) !important; |
422 | } |
423 | |
424 | ._0_filters-clear-btn i svg { |
425 | color: var(--base) !important; |
426 | } |
427 | |
428 | #adv_search_btn:checked + #mainContent .search-form .landing-category-select { |
429 | top: 85px; |
430 | } |
431 | |
432 | .landing_cat_buttons { |
433 | padding-bottom: 10px; |
434 | } |
435 | |
436 | ._0_copied_tooltip { |
437 | left: -45px; |
438 | } |
439 | |
440 | .k_ui_toggle_switch.--enabled .k_ui_toggle_switch_bar { |
441 | background: var(--primary-g-6); |
442 | } |
443 | |
444 | .k_ui_toggle_switch.--mini .k_ui_toggle_switch_bar { |
445 | --border-color: var(--primary-g-6); |
446 | } |
447 | input[type="date"] { |
448 | color: var(--primary-600) !important; |
449 | } |
450 | .sidebar-filter-nav-form .sidebar-filter-nav > .filter-item .dd-list li:hover { |
451 | color: unset !important; |
452 | } |
453 | .dropdown .dd-list .checked.inner-label:hover { |
454 | color: var(--crust) !important; |
455 | } |
456 | .dropdown .dd-list .inner-label:hover { |
457 | color: var(--crust); |
458 | } |
459 | .k_ui_dropdown_data_list .list_items > div:hover { |
460 | background-color: unset !important; |
461 | color: unset !important; |
462 | outline: none; |
463 | text-decoration: none; |
464 | } |
465 | #uploadedItems .item .type, #uploadedItems .item .icon, #uploadedItems .item .name { |
466 | color: var(--crust); |
467 | } |
468 | #form .uploadLabel:hover { |
469 | color: var(--crust); |
470 | } |
471 | .POI-item-back .text { |
472 | color: var(--crust); |
473 | } |
474 | .k-tooltip { |
475 | background-color: var(--primary-100); |
476 | } |
477 | #adv_search_btn:checked + #mainContent .search-form .landing-category-select { |
478 | top: 65px; |
479 | } |
480 | header { |
481 | background: var(--crust) !important; |
482 | } |
483 | .prompt-options label:hover { |
484 | background-color: unset !important; |
485 | } |
486 | .prompt-options button:hover { |
487 | background-color: unset !important; |
488 | } |
489 | #chat_box .chat_bubble .actions [data-action]:is(a,button):hover { |
490 | background: var(--surface1); |
491 | } |
492 | #dictation-button:hover { |
493 | color: var(--crust); |
494 | } |
495 | |
496 | .chat_bubble:focus-within:before,.chat_bubble:hover:before { |
497 | background-color: unset !important; |
498 | } |
499 | |
500 | #popover-privacy > p:nth-child(3) > span > i { |
501 | color: var(--crust) !important; |
502 | } |
503 | .main-center-box>* { |
504 | margin-inline: auto; |
505 | max-width: 850px; |
506 | padding-inline: 16px; |
507 | width: 100%; |
508 | } |
509 | #chat_box > div:nth-child(1), [aria-label="You said:"] { |
510 | background-color: var(--surface0) !important; |
511 | padding: 20px !important; |
512 | border: 2px solid var(--overlay0) !important; |
513 | border-radius: 25px !important; |
514 | } |
515 | .chat_bubble { |
516 | padding-block: 32px; |
517 | position: relative; |
518 | border: 2px solid var(--overlay0); |
519 | border-radius: 25px; |
520 | margin-top: 25px; |
521 | padding: 20px; |
522 | background-color: var(--crust); |
523 | } |
524 | #prompt-box { |
525 | border-top: 2px solid var(--peach); |
526 | } |
527 | :focus-visible { |
528 | border-radius: 5px; |
529 | outline: 3px solid var(--peach); |
530 | } |
531 | |
532 | |
533 | /* OPTIONAL disable underline on title links in search result */ |
534 | .__sri-title .__sri_title_link { |
535 | border-bottom: none; |
536 | } |