From 6f639941e283d86a5a2db4ba5edab0b6cdcdd58a Mon Sep 17 00:00:00 2001 From: Gen Date: Fri, 23 Feb 2024 14:23:52 -0800 Subject: [PATCH] fix(duckduckgo): complete rewrite (#541) * fix(duckduckgo): complete rewrite changed some stuff to use vars, and hopefully cleaned up some code, feedback would be greatly appreciated lol * fix(duckduckgo): linting linter is actually helpful sometimes lol * fix(duckduckgo): fixed what bell pointed out i think i got everything idk lol * fix(duckduckgo): lintinggggg~~~ * style(duckduckgo): fix the prettier ignore stuff not being ignored by stylus' beautify button @uncenter was being a big meanie about it, so this commit is for you, enjoy it smh --- styles/duckduckgo/catppuccin.user.css | 1422 +++++++------------------ 1 file changed, 411 insertions(+), 1011 deletions(-) diff --git a/styles/duckduckgo/catppuccin.user.css b/styles/duckduckgo/catppuccin.user.css index 6706d0a3..4cfa782b 100644 --- a/styles/duckduckgo/catppuccin.user.css +++ b/styles/duckduckgo/catppuccin.user.css @@ -2,7 +2,7 @@ @name DuckDuckGo Catppuccin @namespace github.com/catppuccin/userstyles/styles/duckduckgo @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/duckduckgo -@version 0.0.2 +@version 0.0.4 @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/duckduckgo/catppuccin.user.css @supportURL https://github.com/catppuccin/userstyles/issues?q=is%3Aopen+is%3Aissue+label%3Aduckduckgo @description Soothing pastel theme for DuckDuckGo @@ -17,1020 +17,420 @@ /* If you need any help with the information above, please see: https://github.com/openstyles/stylus/wiki/Writing-UserCSS#var */ /* For help with URL rules, please see https://github.com/openstyles/stylus/wiki/Writing-styles#valid--moz-document-rules. */ @-moz-document domain(duckduckgo.com) { - /* prettier-ignore */ + + @media (prefers-color-scheme: light) { + :root { + #catppuccin(@lightFlavor, + @accentColor); + } + } + @media (prefers-color-scheme: dark) { + :root { + #catppuccin(@darkFlavor, + @accentColor); + } + } + + /* prettier-ignore */ @catppuccin: { - @latte: { - @rosewater: #dc8a78; - @flamingo: #dd7878; - @pink: #ea76cb; - @mauve: #8839ef; - @red: #d20f39; - @maroon: #e64553; - @peach: #fe640b; - @yellow: #df8e1d; - @green: #40a02b; - @teal: #179299; - @sky: #04a5e5; - @sapphire: #209fb5; - @blue: #1e66f5; - @lavender: #7287fd; - @text: #4c4f69; - @subtext1: #5c5f77; - @subtext0: #6c6f85; - @overlay2: #7c7f93; - @overlay1: #8c8fa1; - @overlay0: #9ca0b0; - @surface2: #acb0be; - @surface1: #bcc0cc; - @surface0: #ccd0da; - @base: #eff1f5; - @mantle: #e6e9ef; - @crust: #dce0e8; + @latte: { @rosewater: #dc8a78; @flamingo: #dd7878; @pink: #ea76cb; @mauve: #8839ef; @red: #d20f39; @maroon: #e64553; @peach: #fe640b; @yellow: #df8e1d; @green: #40a02b; @teal: #179299; @sky: #04a5e5; @sapphire: #209fb5; @blue: #1e66f5; @lavender: #7287fd; @text: #4c4f69; @subtext1: #5c5f77; @subtext0: #6c6f85; @overlay2: #7c7f93; @overlay1: #8c8fa1; @overlay0: #9ca0b0; @surface2: #acb0be; @surface1: #bcc0cc; @surface0: #ccd0da; @base: #eff1f5; @mantle: #e6e9ef; @crust: #dce0e8; }; + @frappe: { @rosewater: #f2d5cf; @flamingo: #eebebe; @pink: #f4b8e4; @mauve: #ca9ee6; @red: #e78284; @maroon: #ea999c; @peach: #ef9f76; @yellow: #e5c890; @green: #a6d189; @teal: #81c8be; @sky: #99d1db; @sapphire: #85c1dc; @blue: #8caaee; @lavender: #babbf1; @text: #c6d0f5; @subtext1: #b5bfe2; @subtext0: #a5adce; @overlay2: #949cbb; @overlay1: #838ba7; @overlay0: #737994; @surface2: #626880; @surface1: #51576d; @surface0: #414559; @base: #303446; @mantle: #292c3c; @crust: #232634; }; + @macchiato: { @rosewater: #f4dbd6; @flamingo: #f0c6c6; @pink: #f5bde6; @mauve: #c6a0f6; @red: #ed8796; @maroon: #ee99a0; @peach: #f5a97f; @yellow: #eed49f; @green: #a6da95; @teal: #8bd5ca; @sky: #91d7e3; @sapphire: #7dc4e4; @blue: #8aadf4; @lavender: #b7bdf8; @text: #cad3f5; @subtext1: #b8c0e0; @subtext0: #a5adcb; @overlay2: #939ab7; @overlay1: #8087a2; @overlay0: #6e738d; @surface2: #5b6078; @surface1: #494d64; @surface0: #363a4f; @base: #24273a; @mantle: #1e2030; @crust: #181926; }; + @mocha: { @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; }; + } + + #catppuccin(@lookup, @accent) { + @rosewater: @catppuccin[@@lookup][@rosewater]; + @flamingo: @catppuccin[@@lookup][@flamingo]; + @pink: @catppuccin[@@lookup][@pink]; + @mauve: @catppuccin[@@lookup][@mauve]; + @red: @catppuccin[@@lookup][@red]; + @maroon: @catppuccin[@@lookup][@maroon]; + @peach: @catppuccin[@@lookup][@peach]; + @yellow: @catppuccin[@@lookup][@yellow]; + @green: @catppuccin[@@lookup][@green]; + @teal: @catppuccin[@@lookup][@teal]; + @sky: @catppuccin[@@lookup][@sky]; + @sapphire: @catppuccin[@@lookup][@sapphire]; + @blue: @catppuccin[@@lookup][@blue]; + @lavender: @catppuccin[@@lookup][@lavender]; + @text: @catppuccin[@@lookup][@text]; + @subtext1: @catppuccin[@@lookup][@subtext1]; + @subtext0: @catppuccin[@@lookup][@subtext0]; + @overlay2: @catppuccin[@@lookup][@overlay2]; + @overlay1: @catppuccin[@@lookup][@overlay1]; + @overlay0: @catppuccin[@@lookup][@overlay0]; + @surface2: @catppuccin[@@lookup][@surface2]; + @surface1: @catppuccin[@@lookup][@surface1]; + @surface0: @catppuccin[@@lookup][@surface0]; + @base: @catppuccin[@@lookup][@base]; + @mantle: @catppuccin[@@lookup][@mantle]; + @crust: @catppuccin[@@lookup][@crust]; + @accent-color: @catppuccin[@@lookup][@@accent]; + + + --sds-color-text-02: @text !important; + --theme-col-txt-url: @text !important; + --theme-col-txt-title-visited: @mauve !important; + --theme-col-txt-snippet: @text !important; + --theme-col-txt-card-title: @text; + --theme-col-txt-url-domain: @subtext1 !important; + --theme-col-txt-title: @blue !important; + --theme-col-bg-card: @surface0 !important; + --theme-col-about-link: @blue; + --theme-col-border-ui: @surface1 !important; + --theme-col-bg-expandcollapse: @surface0 !important; + --sds-color-palette-gray-60: @accent-color !important; + --theme-col-txt-url-path: @subtext0 !important; + --theme-col-border-expandcollapse: @surface1; + --theme-col-bg-page: @base; + --sds-color-text-04: @subtext1 !important; + --theme-col-txt-card-body: @text; + --sds-color-text-03: @subtext0 !important; + --col-slate-light: @subtext0; + --col-silver-dark: @overlay1; + --theme-col-txt-button-secondary: @accent-color !important; + --theme-bg-legacy-home: @base !important; + --theme-bg-cta-cards: @surface0 !important; + --theme-button-primary-bg: @blue !important; + --theme-button-primary-bg--hover: @blue !important; + --theme-button-primary-bg--active: @blue !important; + --theme-button-primary-text: @crust !important; +--theme-badge-fg--green: @crust !important; +--theme-browser-comparison-table-check-bg: @green !important; +--theme-browser-comparison-table-cross-bg: @red !important; + --theme-searchbox-bg: @surface0 !important; + --theme-searchbox-bg--hover: @surface0 !important; + --theme-searchbox-bg--active: @surface0 !important; + --theme-searchbox-bg--focused: @surface0 !important; +--theme-border-color-legacy-home-searchbox: @surface2 !important; + --theme-button-link-text: @blue !important; + --theme-browser-comparison-table-badge-text: @text !important; + --theme-badge-bg--green: @green !important; + --theme-badge-bg--yellow: @yellow !important; + --theme-atb-button-bg: @blue; + --theme-atb-button-bg--hover: @blue; + --theme-atb-button-bg--active: @blue; + --col-silver-light: @surface1 !important; + --theme-col-card-inner-border: @surface2 !important; + --sds-color-text-link-02: @text !important; + --sds-color-text-link-02--hover: @subtext1 !important; + --theme-text-legacy-home: @text !important; + --theme-browser-comparison-table-row-bg: @surface0 !important; + --theme-browser-comparison-table-row-alt-bg: @surface1 !important; + --theme-bg-home-bottom: @base !important; + --theme-atb-card-back-bg: @surface0 !important; + --theme-atb-card-front-bg: @surface1 !important; + --theme-text-bg: @text !important; + .featureCards_root__brAX3 { + --feature-card-background-color: @surface0 !important; } - ; - @frappe: { - @rosewater: #f2d5cf; - @flamingo: #eebebe; - @pink: #f4b8e4; - @mauve: #ca9ee6; - @red: #e78284; - @maroon: #ea999c; - @peach: #ef9f76; - @yellow: #e5c890; - @green: #a6d189; - @teal: #81c8be; - @sky: #99d1db; - @sapphire: #85c1dc; - @blue: #8caaee; - @lavender: #babbf1; - @text: #c6d0f5; - @subtext1: #b5bfe2; - @subtext0: #a5adce; - @overlay2: #949cbb; - @overlay1: #838ba7; - @overlay0: #737994; - @surface2: #626880; - @surface1: #51576d; - @surface0: #414559; - @base: #303446; - @mantle: #292c3c; - @crust: #232634; + --theme-accordion-background--expanded: @surface0 !important; + --theme-accordion-background: @surface1 !important; + --theme-footer-link-text: @blue !important; + --theme-sidemenu-bg: @surface0 !important; + --theme-col-txt-button-tertiary: @text !important; + --theme-bg-legacy-home-searchbox: @surface0 !important; + --theme-bg-info-snippet: @surface2 !important; + --theme-button-tertiary-txt: @text !important; + --theme-browser-comparison-table-icon-bg: @mantle !important; +--theme-col-bg-ui: @mantle !important; + + .footer, + .switch__knob .modal--dropdown--settings, + .settings-dropdown--section, + .frm__field, + .frm__switch, + .tileview .metabar--fixed, + body, + .frm__switch__label.btn::after, + .zci, html, .body--home, html.displayable-atb-banner .body--home, .site-wrapper, .region__body, .badge-link, .module--carousel__image-wrapper, .result__image, .vertical--map__sidebar, .vertical--map__sidebar__header, .page-chrome_newtab, .zci--type--tiles:not(.is-fallback).is-full-page.is-expanded, .zci--type--tiles:not(.is-fallback).is-full-page.is-expanded .metabar:not(.is-stuck) { + background-color: @base !important; } - ; - @macchiato: { - @rosewater: #f4dbd6; - @flamingo: #f0c6c6; - @pink: #f5bde6; - @mauve: #c6a0f6; - @red: #ed8796; - @maroon: #ee99a0; - @peach: #f5a97f; - @yellow: #eed49f; - @green: #a6da95; - @teal: #8bd5ca; - @sky: #91d7e3; - @sapphire: #7dc4e4; - @blue: #8aadf4; - @lavender: #b7bdf8; - @text: #cad3f5; - @subtext1: #b8c0e0; - @subtext0: #a5adcb; - @overlay2: #939ab7; - @overlay1: #8087a2; - @overlay0: #6e738d; - @surface2: #5b6078; - @surface1: #494d64; - @surface0: #363a4f; - @base: #24273a; - @mantle: #1e2030; - @crust: #181926; + .featureCards_dark__5Xbsn { + background: linear-gradient(180deg, @yellow, @blue) } - ; - @mocha: { - @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; + + + .modal__header__clear, + .sep--before, + .js-region-filter-clear, + .result__a, + .module--carousel__body__title, + .js-carousel-module-more, + .js-no-results-web, + .bing .tile__title--pr a, + .sidebar-filter__show-more, + .module__footer, + .js-settings-dropdown-reset-appearance, + .modal--dropdown--settings .settings-dropdown--button, + .settings-page-wrapper a:not(.btn, .set-tab), + .module__link--blue, + .place-list-item__cta-item__text { + color: @blue !important; } - ; - } - #catppuccin(@lookup, @accent) { - @rosewater: @catppuccin[@@lookup][@rosewater]; - @flamingo: @catppuccin[@@lookup][@flamingo]; - @pink: @catppuccin[@@lookup][@pink]; - @mauve: @catppuccin[@@lookup][@mauve]; - @red: @catppuccin[@@lookup][@red]; - @maroon: @catppuccin[@@lookup][@maroon]; - @peach: @catppuccin[@@lookup][@peach]; - @yellow: @catppuccin[@@lookup][@yellow]; - @green: @catppuccin[@@lookup][@green]; - @teal: @catppuccin[@@lookup][@teal]; - @sky: @catppuccin[@@lookup][@sky]; - @sapphire: @catppuccin[@@lookup][@sapphire]; - @blue: @catppuccin[@@lookup][@blue]; - @lavender: @catppuccin[@@lookup][@lavender]; - @text: @catppuccin[@@lookup][@text]; - @subtext1: @catppuccin[@@lookup][@subtext1]; - @subtext0: @catppuccin[@@lookup][@subtext0]; - @overlay2: @catppuccin[@@lookup][@overlay2]; - @overlay1: @catppuccin[@@lookup][@overlay1]; - @overlay0: @catppuccin[@@lookup][@overlay0]; - @surface2: @catppuccin[@@lookup][@surface2]; - @surface1: @catppuccin[@@lookup][@surface1]; - @surface0: @catppuccin[@@lookup][@surface0]; - @base: @catppuccin[@@lookup][@base]; - @mantle: @catppuccin[@@lookup][@mantle]; - @crust: @catppuccin[@@lookup][@crust]; - @accent-color: @catppuccin[@@lookup][@@accent]; - - .eVNpHGjtxRBq_gLOfGDr, - .LQNqh2U1kzYxREs65IJu { - color: @blue; - } - - .acp-wrap { - background-color: @surface0; - } - .acp { - color: @text; - } - .acp--highlight { - background-color: @overlay0 !important; - } - .search__autocomplete { - border-color: @surface1; - } - - body { - background-color: @base; - } - - .footer { - background-color: @base; - border-top-color: @surface0; - } - - .search--header { - background-color: @surface0; - } - .search__clear { - color: @accent-color; - } - .search__button, - .js-search-button { - background-color: @accent-color !important; - color: @mantle; - } - - .is-vertical-tabs-exp, - .header-wrap { - background-color: @mantle; - } - - .module--carousel__body__title { - color: @blue !important; - } - .js-carousel-module-more, - .module__footer { - color: @blue !important; - border-color: @surface0 !important; - } - .feedback-prompt, - .feedback-prompt__link, - .js-feedback-prompt-yes, - .js-feedback-prompt-no { - color: @text; - } - - .zcm__link, - .js-zci-link { - color: @text; - } - - .js-zci-link--web.is-active { - color: @accent-color !important; - border-color: @accent-color !important; - } - - .OgdwYG6KE2qthn9XQWFC { - color: @text !important; - } - .module--carousel__left, - .module--carousel__right { - background-color: @mantle; - color: @accent-color; - } - .O9Ipab51rBntYb0pwOQn { - background-color: @surface0; - border-color: @surface2; - } - - .footer__card, - .js-footer-card, - .bg-clr--white { - background-color: @base; - border-color: @surface1; - } - - .footer__text { - color: @subtext1; - } - - .tile--img__sub { - color: @text !important; - } - - .metabar__dropdowns-wrap::after, - .metabar__dropdowns-wrap::before { - background-image: linear-gradient(90deg, rgba(255, 255, 255, 0), @base); - } - - .text--primary, - .tx-clr--dk, - .tx-clr--slate { - color: @text; - } // quick info box - .module__title, - .module--definitions__definition, - .ia-module--definitions .module--definitions__synonym { - color: @text; - } - - .module__title .module--definitions__pronunciation, - .module--definitions__part-of-speech, - .module--definitions__usage, - .module--definitions__attribution-text, - .module__attribution, - .module__attribution-link { - color: @subtext0 !important; - } - - .module--definitions__group ol li a.module--definitions__reference, - .module--definitions__collapsed-group - ol - li - a.module--definitions__reference, - .module__toggle__chevron, - .module__toggle__chevron--collapse { - color: @accent-color; - } - //recipes - .star::after { - color: @accent-color; - } - .tile__sub, - .tile__title__sub, - .tile__neighborhood, - .tile__sub--2, - .tile--recipes.highlight { - color: @subtext0; - } - - .tile--recipes, - .tile__source, - .tile--recipes.highlight, - .zci__more-at, - .zci__more-at:focus, - .module--carousel__body__content, - .is-short, - .js-carousel-item-content { - color: @text; - } - - .zci__more-at:hover { - color: @blue; - } - - .metabar__grid-btn { - background-color: @surface0; - color: @text; - border-color: @surface1 !important; - } - - .sep { - border-left-color: @surface1; - } - // - //header - .header__button--menu { - background-color: @surface0; - color: @subtext1; - } //right side info box - .H4K96pMGU5icP7hW3kIy { - color: @text; - } - - // airline info - .zci, - .metabar--fixed { - background-color: @base !important; - } - - .text--airline-flight, - .tile__day, - .text--title, - .flight-details__values { - color: @text !important; - } - - .progress__bar { - background-color: @overlay0; - } - - .text--title svg path { - fill: @accent-color; - } - - .zci--airlines hr { - background-color: @surface1; - } - .scheduled-time { - color: @overlay0 !important; - } - - .bg-clr--green { - background-color: @green; - } - .timing { - color: @text; - } - - .tile__status { - color: @base !important; - } - - .flight-details__labels, - .airlines-footer, - .source-link { - color: @subtext1; - } - - // related searches - .related-searches__title-long { - color: @text; - } - .is-related-search-exp, - .related-searches__item { - border-color: @surface0; - } //result date text - .result__timestamp, - .result__extras__sep, - .OgdwYG6KE2qthn9XQWFC .MILR5XIVy9h75WrLvKiq { - color: @subtext0; - } // dropdown boxes - .dropdown__button:hover, - .dropdown__button:focus, - .dropdown__button:visited, - .dropdown.is-open .dropdown__button, - .modal__list__link, - .tx-clr--slate-light { - color: @text; - } - - .modal--dropdown .modal__list__link.is-selected, - .modal--dropdown .modal__list__link.is-selected:hover, - .modal--dropdown .modal__list__link.is-selected:visited { - color: @accent-color; - } - - .js-custom-date-range, - .modal__header__clear, - .sep--before, - .js-region-filter-clear { - color: @accent-color !important; - } - - .modal__footer, - .modal--dropdown--region.modal--popout .frm__input { - background-color: @surface1 !important; - border-top-color: @surface1 !important; - } - - .modal__list__link:hover, - .js-region-filter-link:hover, - .modal--dropdown--region .modal__list__link.is-highlighted { - background-color: @mantle; - } - - .modal__header, - .modal__footer { - border-color: @surface0; - } - - .frm__text, - .frm__input { - color: @text; - background-color: @surface0; - border-color: @surface1; - } - .is-link-style-exp:not(.dark-header, .dark-bg) - .modal--dropdown.modal--dropdown--license - .modal__footer - .modal__list__link { - color: @blue !important; - } // settings page - .set-head__title { - color: @text; - } - - .set-tab.is-active { - background-color: @mantle !important; - color: @accent-color !important; - } - - .set-tab, - .set-tab:visited { - background-color: @surface0; - color: @text; - } - - .cloudsave { - background-color: @surface0; - } - - .cloudsave__title { - color: @text; - } - - .page-settings { - color: @text !important; - } - - .settings-page-wrapper a:not(.btn, .set-tab) { - color: @blue !important; - } - - .btn, - .button, - .btn--icon, - .btn--top, - .header__button { - background-color: @surface0; - color: @text; - border-color: @surface1; - } - - .frm__select { - background-color: @surface0; - border-color: @surface0 !important; - } - .frm__select::after { - color: @accent-color; - } - - .btn--primary, - .is-checked .frm__switch__label { - color: @mantle; - } - - .frm__switch-off { - color: @mantle; - } - - .set-main, - .frm__desc { - color: @subtext0; - } - - .frm__hr, - .set-head { - border-bottom-color: @surface2; - } - - .js-set-exit { - background-color: @surface2; - } - - .js-set-exit:hover { - background-color: @blue; - } - - .set-reset, - .set-bookmarklet { - border-color: @surface0; - } // - //right side info box for code related things - .module__title__link, - .module__title__link:hover, - .module__title__link:active, - .module__title__link:visited, - .js-about-item-abstr { - color: @text; - } - - .module__title__sub { - color: @subtext1; - } - - .module__more-at-bottom, - .js-about-item-more-at-bottom { - color: @blue !important; - } // - //codeblock - .module__text pre { - background-color: @surface0; - } - .kwd { - color: @mauve; - } - .pun, - .com { - color: @text; - } - - .str { - color: @green; - } // - // spelling - .w498IXAnug_2RwtqCtbA { - color: @text; - } - .rlkiAscg7L8XDVmbOjmb, - .rlkiAscg7L8XDVmbOjmb:hover { - color: @blue; - } - - //map thingy - .user-loc-tile { - background-color: @base; - } - - .module__place-list, - .js-places-multiple-list { - background-color: @surface0; - } - - .place-list-item__title { - color: @text; - } - - .place-list-item:hover, - .js-place-list-item:hover { - background-color: @crust; - } - - .review__count, - .place-list-item__rating__count, - .place-list-item__info__item { - color: @subtext0; - } - - .place-detail__status--on { - color: @accent-color; - } - - .module__places-more__link--more-places, - .js-places-multiple-expand { - color: @blue !important; - } - - .review__rating-stars, - .place-list-item__rating__image { - @svg: escape( - '' - ); - background-image: url("data:image/svg+xml,@{svg}"); - } - - // ddg header logo - .header_headerWrapDesktop__B7AYN.header_hasSearchbox__WU0q5 - .header_headerLeft__gTUAg - .header_logoImg__PFezv { - @svg: escape( - '' - ); - height: 0 !important; - width: 0 !important; - padding-left: 157px !important; - padding-top: 44px !important; - background: url("data:image/svg+xml,@{svg}") no-repeat !important; - } - - .header_logoText__rodFL, - .header_logoText__rodFL a, - .header_logoText__rodFL svg { - color: @text; - } - - // home page - .legacy-homepage_root__Rz_nu, - .browser-comparison-table_table__PW0Eh { - background-color: @base; - border-color: @surface0 !important; - } - - .legacy-homepage-variants_batch11__4DFlQ, - .legacy-homepage-variants_isNarrowTitle__sWwHT, - .heading_heading6__hJig2, - .heading_heading__IiMSV, - .heading_responsive__oZpJJ, - .legacy-homepage-variants_batch9__ee1Lg - .legacy-homepage-variants_ctaCards__N1DiD, - .legacy-homepage-variants_scrollCta__hNjqv, - .legacy-homepage-variants_socialProof__Z9Cdn, - .legacy-homepage-variants_title__p1_T_, - .browser-comparison-table_badge___MMhl.browser-comparison-table_default__g5xw8 - span, - .featureCards_root__brAX3, - .footer_footerHeading__CTbCv, - .flameSection_flameSectionHeading__czcuu { - color: @text; - } - - .legacy-homepage_ctaSection__5siuM .legacy-homepage_socialProof__a_Gvg { - color: @overlay0; - } - - .howItWorksSection_downloadsCard__U3Ph9, - .card_card__afbUo, - .card_elevation50__HbWMO, - .card_radiusMd__NotZS, - .flameSection_bottomCtaBox__juoxn, - .accordion_accordionHeader__C77Sy { - background-color: @surface0; - } - - .accordion_accordionContent__fzXEY { - background-color: @surface1; - color: @text; - } - - .text_text-sm__23qqs, - .text_text__q9rvO, - .text_responsive__9czhp { - color: @text; - } - - .howItWorksDetails_sectionTitle__E9IMg { - color: @subtext0; - } - - .badge_yellow__mD6dA { - background-color: @yellow; - color: @mantle; - } - .heading_heading1__Zrd_9 .heading_responsive__oZpJJ { - color: @mantle !important; - } - - .legacy-homepage-variants_controlVariant__bOUc8 - .legacy-homepage-variants_belowTheFoldWrapper__7_DL2, - .legacy-homepage-variants_controlVariant__bOUc8 - .legacy-homepage-variants_belowTheFold__b5i_x, - .legacy-homepage-variants_controlVariant__bOUc8 - .legacy-homepage-variants_flameSection__EOpfq, - .flameSection_footer__XhC99, - .container_root__Lmrbx, - .container_responsive__IDWnv { - background-color: @base; - } - .button_tertiary__blDIi, - .flameSection_pressQuoteIcon__Hqf6Q { - color: @accent-color; - border-color: @blue; - } - - .learnMoreButton_learnMoreButton__B-10PJu { - color: @blue; - } - - .button_primary__e2_Sy { - background-color: @blue !important; - color: @text; - } - - .accordion_accordionTrigger__WmvuX:hover { - background-color: @mantle; - } - - .downloadBrowserButton_button__nFe_k.downloadBrowserButton_primary__gdn0t - svg { - color: @base; - } - - .cta-cards_green__HCBmC .cta-cards_badge__Axy2u, - .badge_green__1CawN { - background-color: @green; - } - - .cta-cards_badgeCorner__dEhy6, - .browser-comparison-table_checkIcon__AmF8a { - color: @green; - } - - .browser-comparison-table_crossIcon____V5O { - color: @red; - } - - .cta-cards_badgeText__Wtp2T, - .badge_badgeText__5G5RV { - color: @mantle; - } - - .cta-cards_card__CJnue, - .badge_gray__TzSXI, - .browser-comparison-table_table__PW0Eh tbody tr:nth-child(odd) { - background-color: @surface1; - } - - .browser-comparison-table_table__PW0Eh tbody tr:nth-child(even) { - background-color: @surface0; - } - - .footer_footerLink__SlwES, - .footer_footerBottom__4_pB4, - .footer_footerBottom__4_pB4 a, - .footer_footerBottom__4_pB4 a:visited { - color: @blue; - } - .cta-cards_setAsDefaultButton__sd5FF, - .cta-cards_tertiary__jX1qI { - border-color: @blue; - } - - // enable location? - .user-loc-tooltip { - background-color: @base; - border-color: @surface0; - } - - .user-loc-tooltip__triangle-inner { - border-bottom-color: @base; - } - - .user-loc-tooltip__triangle-outer { - border-bottom-color: @surface0; - } - - .user-loc-tooltip__title, - .user-loc-tooltip__subtitle, - .user-loc-tooltip__error-fix { - color: @text; - } - - .user-loc-tooltip__error-fix li::before { - color: @subtext0; - } - - .is-link-style-exp:not(.dark-header, .dark-bg), - .user-loc-link, - .user-loc-tooltip__link, - .accordion_accordionContent__fzXEY a { - color: @blue !important; - } - - .btn--primary:not(.is-disabled) { - background-color: @blue !important; - border-color: @blue !important; - } - - .k0dqcyn_SZAmh1pFFuQ5, - .ds1w04wA2KNmfx2PU4CA { - color: @accent-color; - } - - .ffON2NH02oMAcqyoh2UU, - .Ee2e63EzQ9F3xq9wsGDY, - .aSBdOftk9efiVV8GwLLE, - .MzDWkY1lmg2n9VGThORi { - color: @text; - } - - .rlDhiY437bCQGjsZZ0CL, - .ffON2NH02oMAcqyoh2UU, - .vcOFkrrvuSYp7xsAur2Y, - .sz280YLkLemh3mLtestR { - color: @accent-color; - background-color: @surface0; - } - .Cwg3TAWR68fVkDBMYLUZ, - .EwBVRZ62P2JekkbusBsm { - color: @text; - } - .JhFQAeU7IMxZaS7jCOQm, - .Bl3t3iYRHX9BeMH_V52u { - color: @blue !important; - } - .ighRT8XtMY1IQqf0wCFy { - color: @text; - } - .tV0DEo5a5LUrl8Piw6Ao { - background-color: @surface0 !important; - border-color: @surface1 !important; - } - .ddgsi { - color: @accent-color; - } - - .Rn_JXVtoPVAFyGkcaXyK .Wo6ZAEmESLNUuWBkbMxx, - .Wo6ZAEmESLNUuWBkbMxx:active, - .Wo6ZAEmESLNUuWBkbMxx:focus .Wo6ZAEmESLNUuWBkbMxx:hover, - .Wo6ZAEmESLNUuWBkbMxx:visited { - color: @subtext1; - } - .zci--type--tiles:not(.is-fallback).is-full-page.is-expanded { - background-color: @base; - } - .tile, - .tile--s, - .tile--info { - background-color: @surface0; - border-color: @surface2; - } - .result__snippet, - .result__extras__url, - .result__url { - color: @text !important; - } - .result__snippet b, - .result__snippet strong { - color: @text; - } - .result__a { - color: @blue !important; - } - - .tile__title, - .tile__count { - color: @text; - } - .zci { - color: @text; - } - - .module--carousel__footer, - .has-relative-time { - color: @text !important; - } - - .js-carousel-module-title, - .module__header, - .module__header--link { - color: @text !important; - } - - .dropdown__switch, - .switch, - .js-region-filter-switch.is-on { - background-color: @accent-color !important; - border-color: @accent-color !important; - } - - .dropdown__button { - color: @subtext0; - } - .dropdown--region.has-inactive-region .dropdown__button { - color: @subtext0 !important; - } - - .dropdown.is-active .dropdown__button { - color: @text; - } - - .tile__title a:visited { - color: @mauve; - } - - .dropdown__switch.is-on::before { - color: @base; - } - .switch__knob { - background-color: @surface0; - } - .no-touch, - .zcm__item.is-open, - .zcm__link { - color: @text !important; - } - - .modal__body { - background-color: @surface0; - } - - .settings-dropdown--header--label { - color: @text; - } - - .settings-dropdown--header--link, - .js-settings-dropdown-reset-appearance { - color: @blue !important; - } - - .frm__label { - color: @text; - } - - .frm__select__input, - .js-set-input { - color: @text; - } - .frm__switch__label { - background-color: @accent-color !important; - border-color: @accent-color !important; - } - - .modal--dropdown--settings - .settings-dropdown--section - .frm__field - .frm__switch - .frm__switch__label.btn::after { - background-color: @base !important; - border-bottom-color: @overlay0 !important; - } - - .modal__box { - border-color: @surface1 !important; - } - - .modal--dropdown--settings, - .settings-dropdown--section { - border-bottom-color: @surface2; - } - .set-theme__check, - .dgsi, - .ddgsi-check { - background-color: @accent-color !important; - border-color: @accent-color !important; - } - .set-themes, - .set-theme.is-checked, - .set-theme__check { - color: @base !important; - } - - .settings-dropdown--button { - color: @blue !important; - } - - .is-vertical-tabs-exp, - #duckbar, - .zcm__link:not(.dropdown__button).is-active { - color: @accent-color !important; - border-color: @accent-color !important; - } - - .no-results__link, - .js-no-results-web { - color: @blue !important; - } - - .oaxCunrdbQs3WQDCq3Ls { - color: @text; - } - .KoEJ3YBbjXKVOE1bc2RA { - color: @text !important; - } - .f3uDrYrWF3Exrfp1m3Og { - color: @blue; - } - .f3uDrYrWF3Exrfp1m3Og:visited { - color: @mauve; - } - .feedback-btn__send, - .js-feedback-start { - background-color: @surface0; - color: @text; - } - .search__input, - .search__input--adv { - color: @text; - } - } - - @media (prefers-color-scheme: light) { - :root { - #catppuccin(@lightFlavor, - @accentColor); - } - } - @media (prefers-color-scheme: dark) { - :root { - #catppuccin(@darkFlavor, - @accentColor); - } - } +.tile__title a:visited { +color: @mauve} + + .place-detail__status--off { + color: @red + } + + .place-detail__status--on { + color: @green; + } + + .result__a:visited { + color: @mauve !important; + } + .bg-clr--green { + background-color: @green + } +.tile__status { +color: @mantle !important; } -// vim:ft=less + + .modal__header, + .modal__footer, + .modal__box, + .tile, + .js-carousel-module-more, + .related-searches__item, + .bg-clr--white, + .tile__media__free-shipping-label, + .sidebar-filter__options, + .sidebar-filter__option.is-size, + .module__footer, + .frm__select, + .set-bookmarklet, + .set-reset, + .search__autocomplete, .frm__input, .frm__color__swatch { + border-color: @surface0 !important; + } + + .sep--before::before, + .sep { + border-left-color: @surface2; + } + + .header-wrap, .module--carousel__left, .module--carousel__right, .detail, .btn{ + background-color: @mantle; + } + + .set-header--fixed .tileview--grid .metabar--fixed, + .tileview--grid .metabar--fixed.is-stuck { + background-color: @surface0; + border-top-color: @surface0 + } + + .modal--dropdown--region.modal--popout .frm__input, + .js-region-filter-list, + .tile__body, + .bg-clr--white, + .acp-wrap, + .tile__media__free-shipping-label, + .tile__media--pr, + .modal__box, + .nav-menu__list, + .set-tab.is-active, + .frm__select select, + .cloudsave, + .feedback-btn__send, + .set-bookmarklet__input, + .howItWorksSection_downloadsCard__U3Ph9, + .metabar__grid-btn, + .feedback-btn__icon-wrap, code, .set-bookmarklet__input .btn, .btn:visited, .btn:active, .btn.btn--primary, .btn.btn--secondary, .btn--primary:hover, .btn.is-disabled, .btn.is-disabled:hover, input, textarea, .frm__input, .frm__text, .detail--xd .c-detail__btn, .set-bookmarklet, .set-reset, .zci--json_validator textarea, .colorpicker, .feedback-modal__submit.is-disabled, .feedback-modal__submit.is-disabled:hover, .feedback-modal__submit.is-disabled:active, .feedback-modal__submit.is-disabled:focus, .btn.btn--skeleton:hover, .module__section, .module--carousel__item, .is-related-search-exp.dark-bg, .related-searches__item, .detail--xd .tile-nav--sm, .set-bookmarklet__detail, .set-reset__detail + { + background-color: @surface0 !important + } + +.set-bookmarklet__data { +background-color: @surface2; +color: @text; +} + + .modal__list__link.is-highlighted, + .modal__list li:hover { + background-color: @overlay1; + } + + .metabar__dropdowns-wrap::before, + .metabar__dropdowns-wrap::after { + background-image: linear-gradient(90deg, @surface0, rgba(255, 255, 255, 0)) + } + + .nav-menu__item__badge { + background-color: @yellow; + color: @mantle; + } + + .settings-dropdown--section, + .set-head, + .frm__hr { + border-bottom-color: @surface2; + } + + .footer { + border-top-color: @surface0 + } + + .is-vertical-tabs-exp, + #duckbar, + .zcm__link:not(.dropdown__button).is-active, .set-main-footer { + border-color: @accent-color !important; + } + + + input, + select, + h1, + h2, + h3, + h4, + h5, + h6, + ul, + ol, + blockquote, + p, + body, + .module--carousel__footer, + .set-tab.is-active, + .zcm__link, + .feedback-prompt__link, + .feedback-btn__send, + .tile--img__sub, + .result__snippet, + .result__snippet b, + .modal__list__link, + .acp, + .header_headerButton__cLYU3, + .is-vertical-tabs-exp, + .module.module--images, + .module__header.module__header--link, + .text--title, + .text--airline-flight, + .timing, + .flight-details__values, + .airlines-footer, + .tx-clr--slate, + .nav-menu__heading, + .zci, + .metabar__grid-btn, .module--carousel__left, .module--carousel__right, .c-detail__title__sub, .c-detail__desc, .c-detail__filemeta, .c-detail__more, .btn, .frm__label, .js-cloudsave-new-suggestion + { + color: @text !important; + } + +.zci--airlines .text--title svg path { +fill: @text; +} + +.star { +color: @overlay2 +} + + .set-tab, + .set-tab:visited { + background-color: @mantle; + color: @overlay1; + } + + .js-cloudsave-save-btn, + .js-cloudsave-load-btn { + background-color: @surface2; + border-color: @overlay0; + color: @text; + } + + .video-source, + .tile__count, + .result__url, + .tile__time, + .feedback-prompt, + .footer__text, + .vertical--news .result__url, + .result__timestamp, + .js-metabar-secondary, + .sidebar-filters, + .tile--pr__original-price, + .nav-menu__item a, + .nav-menu__close, + .frm__desc, + .dropdown__button, + .tx-clr--slate-light, + .flight-details__labels, + .scheduled-time, + .source-link, + .tile__source, + .zci__more-at, .cloudsave__close{ + color: @subtext0 !important; + } + + .dropdown--region.has-inactive-region .dropdown__button::after, + .modal--dropdown--region.modal--popout .modal__header::before, + .js-carousel-module-title, + .tile--pr__brand, + .frm__select, + .star::after, + .feedback-btn__icon, .detail--xd .tile-nav--sm, .detail__close{ + color: @accent-color !important; + } + + .search__button:hover, + .search--header.has-text.search--hover .search__button { + background-color: @accent-color !important; + color: @base !important; + } + + .settings-page-wrapper .btn--primary { + border-color: @blue; + background-color: @blue !important; + color: @crust !important; + } + + .js-region-filter-switch, + .frm__switch__label { + background-color: @accent-color !important; + border-color: @accent-color !important; + } + + .dropdown__switch.is-on::before, + .frm__switch__label { + color: @base !important; + } + .search--header { + background-color: @surface0; + border-color: @surface0; + } + + .acp--highlight, .bg-clr--platinum-light { + background-color: @overlay0 + } + + .review__rating-stars, + .place-list-item__rating__image { + @svg: escape(''); + background-image: url("data:image/svg+xml,@{svg}"); + } //ddg icon + .header__logo { + @svg: escape(' '); + background-image: url("data:image/svg+xml,@{svg}"); + } +// search glass icon + .related-searches__item-text::before { + @svg: escape('