improve night mode

This commit is contained in:
srgooglo 2022-03-02 21:40:23 +01:00
parent 5a83e2c11c
commit bbf51f1f7d
4 changed files with 133 additions and 88 deletions

View File

@ -29,6 +29,10 @@
} }
} }
.ant-input {
color: var(--background-color-contrast);
}
.textArea { .textArea {
border-radius: 8px !important; border-radius: 8px !important;
transition : all 150ms ease-in-out !important; transition : all 150ms ease-in-out !important;

View File

@ -9,6 +9,16 @@
.group { .group {
display : flex; display : flex;
flex-direction: column; flex-direction: column;
color : var(--background-color-contrast);
h1,
h2,
h3,
h4,
h5,
h6 {
color: var(--background-color-contrast);
}
.content { .content {
>div { >div {
@ -27,9 +37,16 @@
.header { .header {
display : flex; display : flex;
align-items: center; align-items: center;
color : var(--background-color-contrast);
h4{ h1,
h2,
h3,
h4,
h5,
h6 {
margin: 0; margin: 0;
color : var(--background-color-contrast);
} }
p { p {
@ -46,6 +63,10 @@
.component { .component {
--ignore-dragger: true; --ignore-dragger: true;
padding : 0 20px; padding : 0 20px;
span {
color: var(--background-color-contrast);
}
} }
} }

View File

@ -19,6 +19,21 @@
} }
} }
.ant-menu-item {
color: var(--background-color-contrast);
h1,
h2,
h3,
h4,
h5,
h6,
span,
p {
color: var(--background-color-contrast);
}
}
.ant-menu, .ant-menu,
.ant-menu ul { .ant-menu ul {
background : transparent !important; background : transparent !important;

View File

@ -167,6 +167,7 @@ body {
opacity : 0; opacity : 0;
transform: translateX(-30px); transform: translateX(-30px);
} }
.fade-transverse-leave { .fade-transverse-leave {
opacity : 0; opacity : 0;
transform: translateX(30px); transform: translateX(30px);
@ -176,10 +177,12 @@ body {
.fade-scale-enter-active { .fade-scale-enter-active {
transition: all 0.3s; transition: all 0.3s;
} }
.fade-scale-enter { .fade-scale-enter {
opacity : 0; opacity : 0;
transform: scale(1.2); transform: scale(1.2);
} }
.fade-scale-leave { .fade-scale-leave {
opacity : 0; opacity : 0;
transform: scale(0.8); transform: scale(0.8);
@ -244,6 +247,8 @@ body {
} }
*:not(input):not(textarea) { *:not(input):not(textarea) {
-webkit-user-select: none; /* disable selection/Copy of UIWebView */ -webkit-user-select : none;
-webkit-touch-callout: none; /* disable the IOS popup when long-press on a link */ /* disable selection/Copy of UIWebView */
-webkit-touch-callout: none;
/* disable the IOS popup when long-press on a link */
} }