style: format code with prettier
This commit is contained in:
1 parent
2e6fbb10cd
commit
2baba93a9d
33 files changed
+5856
-5396
No files matched your search
@@ -19,7 +19,8 @@
|
||||
@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);
|
||||
}
|
||||
@@ -52,7 +53,7 @@
|
||||
@base: #eff1f5;
|
||||
@mantle: #e6e9ef;
|
||||
@crust: #dce0e8;
|
||||
}
|
||||
};
|
||||
@frappe: {
|
||||
@rosewater: #f2d5cf;
|
||||
@flamingo: #eebebe;
|
||||
@@ -80,7 +81,7 @@
|
||||
@base: #303446;
|
||||
@mantle: #292c3c;
|
||||
@crust: #232634;
|
||||
}
|
||||
};
|
||||
@macchiato: {
|
||||
@rosewater: #f4dbd6;
|
||||
@flamingo: #f0c6c6;
|
||||
@@ -108,7 +109,7 @@
|
||||
@base: #24273a;
|
||||
@mantle: #1e2030;
|
||||
@crust: #181926;
|
||||
}
|
||||
};
|
||||
@mocha: {
|
||||
@rosewater: #f5e0dc;
|
||||
@flamingo: #f2cdcd;
|
||||
@@ -136,8 +137,8 @@
|
||||
@base: #1e1e2e;
|
||||
@mantle: #181825;
|
||||
@crust: #11111b;
|
||||
}
|
||||
}
|
||||
};
|
||||
};
|
||||
|
||||
#catppuccin(@lookup, @accent) {
|
||||
@rosewater: @catppuccin[@@lookup][@rosewater];
|
||||
@@ -438,7 +439,10 @@
|
||||
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--"],
|
||||
@@ -464,7 +468,6 @@
|
||||
color: @surface2;
|
||||
}
|
||||
|
||||
|
||||
.dl_body--redesign .lmt--web .lmt__source_textarea__length_marker {
|
||||
color: @subtext0;
|
||||
}
|
||||
@@ -473,7 +476,10 @@
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -501,17 +507,26 @@
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -524,9 +539,19 @@
|
||||
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;
|
||||
}
|
||||
|
||||
@@ -536,25 +561,37 @@
|
||||
|
||||
@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.0);
|
||||
box-shadow:
|
||||
inset 0 0 0px 0 @base,
|
||||
inset 0 0 0px 0px rgba(14, 43, 70, 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);
|
||||
}
|
||||
|
||||
.lmt__toolbar_container,
|
||||
@@ -581,19 +618,34 @@
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
@@ -601,7 +653,11 @@
|
||||
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
|
||||
@@ -610,7 +666,7 @@
|
||||
}
|
||||
|
||||
.lmt__glossaryButton__desktop {
|
||||
border-color: fadeout(@text, 12%)
|
||||
border-color: fadeout(@text, 12%);
|
||||
}
|
||||
|
||||
.lmt__glossary_button .lmt__glossary_button_label:hover {
|
||||
@@ -654,7 +710,9 @@
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
@@ -701,12 +759,19 @@
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
@@ -718,21 +783,33 @@
|
||||
}
|
||||
}
|
||||
|
||||
.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;
|
||||
}
|
||||
|
||||
@@ -875,7 +952,9 @@
|
||||
#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);
|
||||
|
||||
Reference in new issue
Block a user