refactor: separated css modules from common style

This commit is contained in:
charlie
2020-12-14 21:13:12 +08:00
parent 2e30872f61
commit 8a440e910a
28 changed files with 933 additions and 1044 deletions

View File

@@ -23,6 +23,8 @@ html:not(.is-mac)[data-theme=dark] {
}
html[data-theme=dark] {
background-color: var(--ls-primary-background-color);
input {
color: var(--ls-secondary-text-color);
}
@@ -38,3 +40,31 @@ html[data-theme=dark] {
border: none;
}
}
html[data-theme=light] {
.form-checkbox:focus {
border-color: var(--ls-page-checkbox-border-color);
}
.cp__header a {
color: var(--ls-primary-text-color);
}
a.right-sidebar-button {
color: var(--ls-primary-text-color);
}
a.right-sidebar-button:hover {
color: var(--ls-link-text-hover-color);
}
}
/* Hide scrollbar for IE, Edge and Firefox */
.hide-scrollbar {
-ms-overflow-style: none; /* IE and Edge */
scrollbar-width: none !important; /* Firefox */
&::-webkit-scrollbar {
display: none;
}
}