fix: deepl (#104)

closes https://github.com/catppuccin/userstyles/issues/88
This commit is contained in:
Isabel 2023-07-22 14:57:08 +01:00 committed by GitHub
parent d8cf06767c
commit f4addca67a
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -2,7 +2,7 @@
@name DeepL Catppuccin @name DeepL Catppuccin
@namespace github.com/catppuccin/userstyles/styles/deepl @namespace github.com/catppuccin/userstyles/styles/deepl
@homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/deepl @homepageURL https://github.com/catppuccin/userstyles/tree/main/styles/deepl
@version 0.2.1 @version 0.2.2
@description Soothing pastel theme for DeepL @description Soothing pastel theme for DeepL
@author Catppuccin @author Catppuccin
@updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.css @updateURL https://github.com/catppuccin/userstyles/raw/main/styles/deepl/catppuccin.user.css
@ -170,6 +170,17 @@
@accent2: mix(@accent-Color, @text, 60%); @accent2: mix(@accent-Color, @text, 60%);
/* text highlight */
::selection {
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
::-moz-selection {
background: fadeout(@accent-Color, 80%) !important;
color: @text !important;
}
.dl_body { .dl_body {
color: @subtext1; color: @subtext1;
} }
@ -442,6 +453,18 @@
} }
} }
/* 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 { .dl_body--redesign .lmt--web .lmt__source_textarea__length_marker {
color: @subtext0; color: @subtext0;
} }
@ -537,7 +560,7 @@
.lmt__toolbar_container, .lmt__toolbar_container,
[data-testid="deepl-ui-tooltip-container"] { [data-testid="deepl-ui-tooltip-container"] {
span > button:hover { span > button:hover {
background-color: fadeout(@text, 15%) !important; background-color: @surface0 !important;
} }
} }
@ -846,7 +869,7 @@
color: @crust; color: @crust;
} }
} }
} ///// }
& when (@lookup ="latte") { & when (@lookup ="latte") {
#dl_menu_logo img, #dl_menu_logo img,
#dl_menu_translator_simplified img, #dl_menu_translator_simplified img,
@ -857,7 +880,7 @@
[class^="socialMediaContainer--"] a > img { [class^="socialMediaContainer--"] a > img {
filter: invert(100%) hue-rotate(180deg); filter: invert(100%) hue-rotate(180deg);
} }
} ///// }
// options // options
& when (@quotes =1) { & when (@quotes =1) {
#dl_quotes_container { #dl_quotes_container {