mirror of
https://github.com/ragestudio/comty.git
synced 2025-06-12 12:04:16 +00:00
improve night mode
This commit is contained in:
parent
5a83e2c11c
commit
bbf51f1f7d
@ -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;
|
||||||
|
@ -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);
|
||||||
|
}
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -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;
|
||||||
|
@ -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 */
|
||||||
}
|
}
|
Loading…
x
Reference in New Issue
Block a user