mirror of
https://github.com/logseq/logseq.git
synced 2026-04-29 08:26:40 +00:00
refactor: separated css modules from common style
This commit is contained in:
@@ -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;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user