Update catppuccin.user.css (#177)
This commit is contained in:
1 file changed
+123
-130
+123
-130
@@ -2,7 +2,7 @@
|
||||
@name DeepL Catppuccin
|
||||
@namespace github.com/catppuccin/userstyles/styles/deepl
|
||||
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/deepl
|
||||
@version 0.2.2
|
||||
@version 0.2.3
|
||||
@description Soothing pastel theme for DeepL
|
||||
@author Catppuccin
|
||||
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.css
|
||||
@@ -19,8 +19,7 @@
|
||||
@var checkbox removeAds "Remove DeepL Ads" 0
|
||||
@var checkbox removeGlossaryButton "Remove Glossary Button" 0
|
||||
==/UserStyle== */
|
||||
@-moz-document url-prefix("https://www.deepl.com/translator")
|
||||
{
|
||||
@-moz-document url-prefix("https://www.deepl.com/translator") {
|
||||
:root {
|
||||
#catppuccin(@flavor, @accentColor);
|
||||
}
|
||||
@@ -53,7 +52,8 @@
|
||||
@base: #eff1f5;
|
||||
@mantle: #e6e9ef;
|
||||
@crust: #dce0e8;
|
||||
};
|
||||
}
|
||||
|
||||
@frappe: {
|
||||
@rosewater: #f2d5cf;
|
||||
@flamingo: #eebebe;
|
||||
@@ -81,7 +81,8 @@
|
||||
@base: #303446;
|
||||
@mantle: #292c3c;
|
||||
@crust: #232634;
|
||||
};
|
||||
}
|
||||
|
||||
@macchiato: {
|
||||
@rosewater: #f4dbd6;
|
||||
@flamingo: #f0c6c6;
|
||||
@@ -109,7 +110,8 @@
|
||||
@base: #24273a;
|
||||
@mantle: #1e2030;
|
||||
@crust: #181926;
|
||||
};
|
||||
}
|
||||
|
||||
@mocha: {
|
||||
@rosewater: #f5e0dc;
|
||||
@flamingo: #f2cdcd;
|
||||
@@ -137,8 +139,8 @@
|
||||
@base: #1e1e2e;
|
||||
@mantle: #181825;
|
||||
@crust: #11111b;
|
||||
};
|
||||
};
|
||||
}
|
||||
}
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@@ -172,6 +174,7 @@
|
||||
@accent2: mix(@accent-Color, @text, 60%);
|
||||
|
||||
/* text highlight */
|
||||
|
||||
::selection {
|
||||
background: fadeout(@accent-Color, 80%) !important;
|
||||
color: @text !important;
|
||||
@@ -194,6 +197,7 @@
|
||||
& when (@lookup ="latte") {
|
||||
--inlineLabelColor: #fff !important;
|
||||
}
|
||||
|
||||
--inlineLabelColor: @crust;
|
||||
--outline-color: @accent;
|
||||
--background: @overlay1;
|
||||
@@ -209,6 +213,7 @@
|
||||
& when (@lookup ="latte") {
|
||||
background: #fff;
|
||||
}
|
||||
|
||||
background: @crust;
|
||||
}
|
||||
}
|
||||
@@ -227,7 +232,7 @@
|
||||
--option-icon-color: @accent;
|
||||
background: @surface0;
|
||||
|
||||
[class^="option--"][class*="unavailable--"] {
|
||||
[class^="option--"][class*="unavilable--"] {
|
||||
--option-color: @overlay1;
|
||||
--option-icon-color: @subtext0;
|
||||
}
|
||||
@@ -243,6 +248,7 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: @base;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
background: @accent2;
|
||||
|
||||
@@ -283,13 +289,17 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
[class*="button--"].variant_text--gozza,
|
||||
.dark [class*="button--"].variant_text--gozza {
|
||||
background-color: transparent;
|
||||
} /////
|
||||
}
|
||||
|
||||
/////
|
||||
|
||||
.eSEOtericText {
|
||||
color: @overlay1;
|
||||
}
|
||||
@@ -315,12 +325,14 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
&:hover {
|
||||
background-color: darken(@accent-Color, 30%);
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
@@ -353,6 +365,7 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
@@ -397,6 +410,7 @@
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
.lmt--web .lmt__language_container .lmt__language_container_switch:hover,
|
||||
.lmt--web .lmt__language_container .lmt__language_container_switch:focus {
|
||||
color: @accent-Color;
|
||||
@@ -439,10 +453,7 @@
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.integratedLanguageSelectors
|
||||
.lmt--web
|
||||
.lmt__sides_container
|
||||
.lmt__language_container,
|
||||
.integratedLanguageSelectors .lmt--web .lmt__sides_container .lmt__language_container,
|
||||
.dl_body--redesign .lmt--web .lmt__textarea_container,
|
||||
.lmt__doc .lmt__language_container #doc-trans-source-panel,
|
||||
[class^="docTrans__help_popup--"],
|
||||
@@ -457,17 +468,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* new popup */
|
||||
// new popup
|
||||
|
||||
.root--Frqwa {
|
||||
background-color: @surface0;
|
||||
}
|
||||
|
||||
.selected--bDLH4 {
|
||||
background-color: @surface1;
|
||||
}
|
||||
|
||||
.divider--v710V {
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
|
||||
.dl_body--redesign .lmt--web .lmt__source_textarea__length_marker {
|
||||
color: @subtext0;
|
||||
}
|
||||
@@ -476,10 +491,7 @@
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
.dl_body--redesign
|
||||
.lmt--web
|
||||
.lmt__language_select
|
||||
.lmt__language_select__active {
|
||||
.dl_body--redesign .lmt--web .lmt__language_select .lmt__language_select__active {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
@@ -507,26 +519,17 @@
|
||||
color: @overlay2 !important;
|
||||
}
|
||||
|
||||
.lmt__source_textarea_overlay
|
||||
.lmt__source_textarea_overlay__sentence--active {
|
||||
.lmt__source_textarea_overlay .lmt__source_textarea_overlay__sentence--active {
|
||||
color: @accent2;
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.integratedLanguageSelectors
|
||||
.lmt--web
|
||||
.lmt__sides_container
|
||||
.lmt__side_container.lmt__side_container--source
|
||||
.lmt__textarea_container {
|
||||
.integratedLanguageSelectors .lmt--web .lmt__sides_container .lmt__side_container.lmt__side_container--source .lmt__textarea_container {
|
||||
border-right-color: @surface1;
|
||||
border-top-color: @surface1;
|
||||
}
|
||||
|
||||
.integratedLanguageSelectors
|
||||
.lmt--web
|
||||
.lmt__sides_container
|
||||
.lmt__side_container.lmt__side_container--target
|
||||
.lmt__textarea_container {
|
||||
.integratedLanguageSelectors .lmt--web .lmt__sides_container .lmt__side_container.lmt__side_container--target .lmt__textarea_container {
|
||||
border-top-color: @surface1 !important;
|
||||
}
|
||||
|
||||
@@ -539,19 +542,9 @@
|
||||
color: @overlay1;
|
||||
}
|
||||
|
||||
.dl_body--redesign
|
||||
.lmt--web
|
||||
.lmt__textarea_container.lmt__textarea_container--focus,
|
||||
.integratedLanguageSelectors
|
||||
.lmt--web
|
||||
.lmt__sides_container.lmt__sides_container--focus_source
|
||||
.lmt__side_container.lmt__side_container--source
|
||||
.lmt__textarea_container,
|
||||
.integratedLanguageSelectors
|
||||
.lmt--web
|
||||
.lmt__sides_container.lmt__sides_container--focus_target
|
||||
.lmt__side_container.lmt__side_container--target
|
||||
.lmt__textarea_container {
|
||||
.dl_body--redesign .lmt--web .lmt__textarea_container.lmt__textarea_container--focus,
|
||||
.integratedLanguageSelectors .lmt--web .lmt__sides_container.lmt__sides_container--focus_source .lmt__side_container.lmt__side_container--source .lmt__textarea_container,
|
||||
.integratedLanguageSelectors .lmt--web .lmt__sides_container.lmt__sides_container--focus_target .lmt__side_container.lmt__side_container--target .lmt__textarea_container {
|
||||
border: 1px solid @accent-Color !important;
|
||||
}
|
||||
|
||||
@@ -561,37 +554,36 @@
|
||||
|
||||
@keyframes lmt_textarea__busy_animation_ctp {
|
||||
0% {
|
||||
box-shadow:
|
||||
inset 0 0 0px 0 @base,
|
||||
inset 0 0 0px 0px rgba(14, 43, 70, 0);
|
||||
box-shadow: inset 0 0 0px 0 @base, inset 0 0 0px 0px rgba(14, 43, 70, 0.0);
|
||||
}
|
||||
|
||||
10% {
|
||||
box-shadow:
|
||||
inset 0 0 0px 1px @base,
|
||||
inset 0 0 0px 2px rgba(14, 43, 70, 0.5);
|
||||
box-shadow: inset 0 0 0px 1px @base, inset 0 0 0px 2px rgba(14, 43, 70, 0.5);
|
||||
}
|
||||
|
||||
20% {
|
||||
box-shadow:
|
||||
inset 0 0 1px 3px @base,
|
||||
inset 0 0 1px 4px rgba(14, 43, 70, 0.5);
|
||||
box-shadow: inset 0 0 1px 3px @base, inset 0 0 1px 4px rgba(14, 43, 70, 0.5),
|
||||
}
|
||||
|
||||
40% {
|
||||
box-shadow:
|
||||
inset 0 0 1px 8px @base,
|
||||
inset 0 0 1px 8px rgba(14, 43, 70, 0.3);
|
||||
box-shadow: inset 0 0 1px 8px @base, inset 0 0 1px 8px rgba(14, 43, 70, 0.3),
|
||||
}
|
||||
}
|
||||
|
||||
.lmt--active_translation_request.lmt--active_translation_request--with_target_has_content
|
||||
.lmt__side_container--target
|
||||
.lmt__inner_textarea_container {
|
||||
.lmt--active_translation_request.lmt--active_translation_request--with_target_has_content .lmt__side_container--target .lmt__inner_textarea_container {
|
||||
animation: lmt_textarea__busy_animation_ctp 1.5s 2.5s linear infinite;
|
||||
box-shadow:
|
||||
inset 0 0 1px 14px @base,
|
||||
inset 0 0 0px rgba(0, 0, 0, 0);
|
||||
box-shadow: inset 0 0 1px 14px @base, inset 0 0 0px rgba(0, 0, 0, 0);
|
||||
}
|
||||
// toolbar?
|
||||
|
||||
.local_undo_redo_DF-3361 .lmt__source_toolbar,
|
||||
.local_undo_redo_DF-3361 .lmt__target_toolbar {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
.local_undo_redo_DF-3361 .lmt__toolbar_container.is_sticky .lmt__source_toolbar,
|
||||
.local_undo_redo_DF-3361 .lmt__toolbar_container.is_sticky .lmt__target_toolbar {
|
||||
border-top-color: @surface1;
|
||||
}
|
||||
|
||||
.lmt__toolbar_container,
|
||||
@@ -608,44 +600,33 @@
|
||||
color: @accent-Color;
|
||||
}
|
||||
}
|
||||
} // language selector
|
||||
}
|
||||
|
||||
// language selector
|
||||
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns {
|
||||
&,
|
||||
input {
|
||||
background-color: @base;
|
||||
}
|
||||
|
||||
border-color: @surface1;
|
||||
}
|
||||
|
||||
.lmt__language_select__menu .lmt__dropdown_item_inside_container,
|
||||
.lmt__language_select__menu
|
||||
.lmt__formalitySwitch__menu_items
|
||||
> div
|
||||
> button,
|
||||
.lmt__language_select__menu
|
||||
.lmt__formalitySwitch__menu_items
|
||||
> div
|
||||
> div
|
||||
> button,
|
||||
.lmt__language_select__menu .lmt__formalitySwitch__menu_items > div > button,
|
||||
.lmt__language_select__menu .lmt__formalitySwitch__menu_items > div > div > button,
|
||||
.lmt__language_select__menu > div > button,
|
||||
.lmt__language_select__menu > div > div > button {
|
||||
color: @subtext1;
|
||||
}
|
||||
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns
|
||||
.lmt__language_wrapper
|
||||
.lmt__language_select_column
|
||||
button:hover,
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns
|
||||
.lmt__language_wrapper
|
||||
.lmt__language_select_column
|
||||
button.highlighted {
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button:hover,
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button.highlighted {
|
||||
background-color: fadeout(@yellow, 0.3);
|
||||
}
|
||||
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns
|
||||
.lmt__language_wrapper
|
||||
.lmt__language_select_column {
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column {
|
||||
border-right-color: @surface1;
|
||||
}
|
||||
|
||||
@@ -653,20 +634,19 @@
|
||||
color: @accent-Color;
|
||||
}
|
||||
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns
|
||||
.lmt__language_wrapper
|
||||
.lmt__language_select_column
|
||||
button
|
||||
.tick {
|
||||
.lmt__language_select__menu.lmt__language_select__menu_three_columns .lmt__language_wrapper .lmt__language_select_column button .tick {
|
||||
border-bottom-color: @accent-Color;
|
||||
border-right-color: @accent-Color;
|
||||
} // glossary
|
||||
}
|
||||
|
||||
// glossary
|
||||
|
||||
.lmt__glossary_highlight {
|
||||
color: @accent-Color;
|
||||
}
|
||||
|
||||
.lmt__glossaryButton__desktop {
|
||||
border-color: fadeout(@text, 12%);
|
||||
border-color: fadeout(@text, 12%)
|
||||
}
|
||||
|
||||
.lmt__glossary_button .lmt__glossary_button_label:hover {
|
||||
@@ -678,12 +658,14 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
|
||||
.lmt__glossary_editorClose {
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
@@ -710,9 +692,7 @@
|
||||
}
|
||||
}
|
||||
|
||||
.lmt_firstEntry-content
|
||||
.lmt__glossary_newEntry_langButton
|
||||
.lmt__glossary_arrowDown {
|
||||
.lmt_firstEntry-content .lmt__glossary_newEntry_langButton .lmt__glossary_arrowDown {
|
||||
border-bottom-color: @overlay2;
|
||||
border-right-color: @overlay2;
|
||||
}
|
||||
@@ -737,6 +717,7 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
}
|
||||
|
||||
@@ -759,19 +740,12 @@
|
||||
}
|
||||
}
|
||||
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu
|
||||
button
|
||||
.langName {
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu button .langName {
|
||||
color: @text !important;
|
||||
}
|
||||
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu
|
||||
button
|
||||
.langCodePair,
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu
|
||||
button
|
||||
.langCodePair
|
||||
.langCode {
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu button .langCodePair,
|
||||
.lmt__glossary_newEntry_langDropdown.lmt__language_select__menu button .langCodePair .langCode {
|
||||
color: @subtext0;
|
||||
}
|
||||
|
||||
@@ -783,33 +757,21 @@
|
||||
}
|
||||
}
|
||||
|
||||
.lmt__glossary_editor
|
||||
.lmt__glossary_editor_subBar_top
|
||||
.lmt__glossary_editor_glossarySelect
|
||||
.lmt__glossary_editor_glossaryNameWrapper
|
||||
.lmt__glossary_editor_glossaryName {
|
||||
.lmt__glossary_editor .lmt__glossary_editor_subBar_top .lmt__glossary_editor_glossarySelect .lmt__glossary_editor_glossaryNameWrapper .lmt__glossary_editor_glossaryName {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
.lmt__glossary_editor
|
||||
.lmt__glossary_editor_subBar_top
|
||||
.lmt__glossary_editor_glossarySelect
|
||||
.lmt__glossary_editor_glossaryNameWrapper
|
||||
.lmt__glossary_editor_glossarySelectChevron.lmt__glossary_arrowDown {
|
||||
.lmt__glossary_editor .lmt__glossary_editor_subBar_top .lmt__glossary_editor_glossarySelect .lmt__glossary_editor_glossaryNameWrapper .lmt__glossary_editor_glossarySelectChevron.lmt__glossary_arrowDown {
|
||||
border-bottom-color: @accent2;
|
||||
border-right-color: @accent2;
|
||||
}
|
||||
|
||||
.lmt__glossary_editor .lmt__glossary_editor_subBar_top,
|
||||
.lmt__glossary_editor_subBar_bottom
|
||||
.lmt__glossary_editor
|
||||
[class^="form--"] {
|
||||
.lmt__glossary_editor_subBar_bottom .lmt__glossary_editor [class^="form--"] {
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
.lmt__glossary_editor_subBar_bottom
|
||||
.lmt__glossary_editor_glossaryAddNewWrapper
|
||||
.lmt__glossary_editor_glossaryAddNew {
|
||||
.lmt__glossary_editor_subBar_bottom .lmt__glossary_editor_glossaryAddNewWrapper .lmt__glossary_editor_glossaryAddNew {
|
||||
color: @accent-Color;
|
||||
}
|
||||
|
||||
@@ -833,10 +795,12 @@
|
||||
& when (@lookup ="latte") {
|
||||
border-bottom-color: @base;
|
||||
}
|
||||
|
||||
border-bottom-color: @crust;
|
||||
& when (@lookup ="latte") {
|
||||
border-right-color: @base;
|
||||
}
|
||||
|
||||
border-right-color: @crust;
|
||||
}
|
||||
|
||||
@@ -867,7 +831,10 @@
|
||||
|
||||
.lmt__glossary_editorRow .iconButton {
|
||||
color: @text;
|
||||
} /////
|
||||
}
|
||||
|
||||
/////
|
||||
|
||||
.combined_app_ad_mobile_and_desktop .dl_ad_pro_container,
|
||||
.dl_pro__banner--2021--wrapper,
|
||||
[class^="footerOuterContainer"],
|
||||
@@ -883,7 +850,10 @@
|
||||
|
||||
.lmt_quote__source a {
|
||||
color: @accent-Color;
|
||||
} // popup
|
||||
}
|
||||
|
||||
// popup
|
||||
|
||||
.lmt__edit_text_popup {
|
||||
background-color: @surface1;
|
||||
}
|
||||
@@ -896,13 +866,21 @@
|
||||
|
||||
.lmt__edit_text_popup .lmt__edit_text_popup__entry--active {
|
||||
background-color: fadeout(@yellow, 0.3);
|
||||
} // dictionary
|
||||
}
|
||||
|
||||
// dictionary
|
||||
|
||||
#lmt__dict_container {
|
||||
[class^="content--"] {
|
||||
.tag_lemma a,
|
||||
.isForeignTerm .tag_trans,
|
||||
.isForeignTerm .tag_trans a .isForeignTerm .tag_t,
|
||||
.tag_t a {
|
||||
.tag_t a,
|
||||
.isForeignTerm .tag_trans,
|
||||
.isForeignTerm .tag_trans a,
|
||||
.isForeignTerm .tag_t,
|
||||
.isForeignTerm .tag_t a,
|
||||
.isForeignTerm .tag_trans {
|
||||
color: @accent-Color;
|
||||
}
|
||||
|
||||
@@ -922,7 +900,10 @@
|
||||
span > span > button:hover {
|
||||
color: @accent-Color;
|
||||
}
|
||||
} // quotes
|
||||
}
|
||||
|
||||
// quotes
|
||||
|
||||
.lmt_quotes_nav_entry {
|
||||
color: @overlay1;
|
||||
background-color: @overlay0;
|
||||
@@ -931,7 +912,10 @@
|
||||
.lmt_quotes_nav_entry--active {
|
||||
color: @accent-Color;
|
||||
background-color: @accent-Color;
|
||||
} // footer
|
||||
}
|
||||
|
||||
// footer
|
||||
|
||||
.dl_footerV2_container {
|
||||
[class*="linkList--"] li {
|
||||
&:not(:first-of-type) a {
|
||||
@@ -943,24 +927,33 @@
|
||||
& when (@lookup ="latte") {
|
||||
color: #fff;
|
||||
}
|
||||
|
||||
color: @crust;
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
// fuck it we ball
|
||||
|
||||
[class*="bg-[#E1F0F5]"] {
|
||||
background: fadeout(@accent-Color, 70%);
|
||||
}
|
||||
|
||||
[class*="text-[#25282D]"] {
|
||||
color: @text;
|
||||
}
|
||||
|
||||
& when (@lookup ="latte") {
|
||||
#dl_menu_logo img,
|
||||
#dl_menu_translator_simplified img,
|
||||
.lmt_quote .lmt_quote__logo,
|
||||
.lmt_quote__inner::before,
|
||||
[class^="docTrans__help_popup__container--"]
|
||||
[class^="supportedIcons--"]
|
||||
> div,
|
||||
[class^="docTrans__help_popup__container--"] [class^="supportedIcons--"] > div,
|
||||
.dl_footerV2_container [class^="brandingContainer--"] a > img,
|
||||
[class^="socialMediaContainer--"] a > img {
|
||||
filter: invert(100%) hue-rotate(180deg);
|
||||
}
|
||||
}
|
||||
// options
|
||||
} // options
|
||||
& when (@quotes =1) {
|
||||
#dl_quotes_container {
|
||||
display: none;
|
||||
|
||||
Reference in new issue
Block a user