refactor(deepl): cleanup (#785)
Co-authored-by: uncenter <[email protected]> Co-authored-by: Ren <[email protected]>
This commit is contained in:
1 file changed
+35
-32
@@ -100,6 +100,7 @@
|
||||
background-color: @mantle;
|
||||
}
|
||||
|
||||
&,
|
||||
.bg-white,
|
||||
.bg-blue-100 {
|
||||
background-color: @base;
|
||||
@@ -259,10 +260,18 @@
|
||||
}
|
||||
|
||||
// header
|
||||
[class^="BasePageHeader-module--container"] {
|
||||
[class*="BasePageHeader-module--"] {
|
||||
background-color: @crust;
|
||||
}
|
||||
|
||||
.border-\[\#f1f1f1\] {
|
||||
border-color: @surface0;
|
||||
}
|
||||
|
||||
[class*="SourceTranslatorArea-module--focusBorder--"]:has( div[contenteditable="true"]:focus ) {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
[class|="PageHeaderLink-module--pageHeaderLink"],
|
||||
[class|="FlyoutMenuButton-module--flyoutMenuButton"],
|
||||
[class|="LoginButton-module--loginButton"] {
|
||||
@@ -286,8 +295,8 @@
|
||||
}
|
||||
|
||||
[class*="PageHeaderLink-module--pageHeaderLink--"]:not(
|
||||
[class*="PageHeaderLink-module--nohover--"]
|
||||
):hover {
|
||||
[class*="PageHeaderLink-module--nohover--"]
|
||||
):hover {
|
||||
color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
}
|
||||
@@ -302,9 +311,9 @@
|
||||
}
|
||||
|
||||
[class*="StartFreeTrialButton-module--startFreeTrialButton--"] {
|
||||
background-color: @accent-color;
|
||||
border-color: @accent-color;
|
||||
color: @accent-text;
|
||||
background-color: @accent-color !important;
|
||||
border-color: @accent-color !important;
|
||||
color: @accent-text !important;
|
||||
|
||||
&:hover {
|
||||
background-color: darken(@accent-color, 8%);
|
||||
@@ -323,6 +332,7 @@
|
||||
}
|
||||
|
||||
// buttons above translation container
|
||||
.bg-\[\#EDF8FC\],
|
||||
[class|="cardButton"] {
|
||||
background-color: @base;
|
||||
border-color: @surface0;
|
||||
@@ -354,15 +364,11 @@
|
||||
|
||||
// translation container
|
||||
[class*="SourceTranslatorArea-module--focusBorder--"]:has(
|
||||
div[contenteditable="true"]:focus
|
||||
) {
|
||||
div[contenteditable="true"]:focus
|
||||
) {
|
||||
border-color: @accent-color;
|
||||
}
|
||||
|
||||
[class*="focus-within:border-blue-chill"] {
|
||||
// border-color: @accent-color;
|
||||
}
|
||||
|
||||
d-textarea > [data-placeholder],
|
||||
d-textarea > div[data-content="true"]::before {
|
||||
color: @subtext0;
|
||||
@@ -470,9 +476,9 @@
|
||||
border-color: @accent-color;
|
||||
|
||||
form.bg-deprecated-grey
|
||||
[class|="wrapper"][class*="Form-module--inputSource--"],
|
||||
[class|="wrapper"][class*="Form-module--inputSource--"],
|
||||
form.bg-deprecated-grey
|
||||
[class|="wrapper"][class*="Form-module--inputTarget--"] {
|
||||
[class|="wrapper"][class*="Form-module--inputTarget--"] {
|
||||
--input-background: @base;
|
||||
--input-border-color: @surface1;
|
||||
--input-color: @subtext1;
|
||||
@@ -513,18 +519,18 @@
|
||||
}
|
||||
|
||||
.lmt__glossary_editor
|
||||
.lmt__glossary_editor_subBar_top
|
||||
.lmt__glossary_editor_glossarySelect
|
||||
.lmt__glossary_editor_glossaryNameWrapper
|
||||
.lmt__glossary_editor_glossaryName {
|
||||
.lmt__glossary_editor_subBar_top
|
||||
.lmt__glossary_editor_glossarySelect
|
||||
.lmt__glossary_editor_glossaryNameWrapper
|
||||
.lmt__glossary_editor_glossaryName {
|
||||
color: inherit;
|
||||
}
|
||||
|
||||
.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_subBar_top
|
||||
.lmt__glossary_editor_glossarySelect
|
||||
.lmt__glossary_editor_glossaryNameWrapper
|
||||
.lmt__glossary_editor_glossarySelectChevron.lmt__glossary_arrowDown {
|
||||
border-right-color: darken(@accent-color, 8%);
|
||||
border-bottom-color: darken(@accent-color, 8%);
|
||||
}
|
||||
@@ -532,8 +538,8 @@
|
||||
.lmt__glossary_button .lmt__glossary_button_label:hover,
|
||||
.lmt__glossary_highlight,
|
||||
.lmt__glossary_editor_subBar_bottom
|
||||
.lmt__glossary_editor_glossaryAddNewWrapper
|
||||
.lmt__glossary_editor_glossaryAddNew {
|
||||
.lmt__glossary_editor_glossaryAddNewWrapper
|
||||
.lmt__glossary_editor_glossaryAddNew {
|
||||
color: @accent-color;
|
||||
}
|
||||
|
||||
@@ -641,11 +647,11 @@
|
||||
}
|
||||
|
||||
[class|="pageFooterV2-module--footerOuterContainer"]
|
||||
[class|="pageFooterV2-module--footerContainer"]
|
||||
[class|="pageFooterV2-module--footerContentContainer"]
|
||||
[class|="pageFooterV2-module--linksContainer"]
|
||||
[class|="pageFooterV2-module--linkList"]
|
||||
li {
|
||||
[class|="pageFooterV2-module--footerContainer"]
|
||||
[class|="pageFooterV2-module--footerContentContainer"]
|
||||
[class|="pageFooterV2-module--linksContainer"]
|
||||
[class|="pageFooterV2-module--linkList"]
|
||||
li {
|
||||
&:first-of-type {
|
||||
color: @overlay1;
|
||||
}
|
||||
@@ -732,9 +738,6 @@
|
||||
}
|
||||
|
||||
[data-testid="translator"] {
|
||||
// height: 100%;
|
||||
// width: 100vw;
|
||||
// display: flex;
|
||||
place-content: center center;
|
||||
align-items: center;
|
||||
|
||||
|
||||
Reference in new issue
Block a user