fix tree view css

This commit is contained in:
Anya Tokugawa committed 2026-06-01 00:27:32 +09:00
1 parent 5a596985e0
commit 97970cf105
8 files changed
+200 -695

No files matched your search

+6 -6
View File
@@ -1,8 +1,8 @@
.dialog { .dialog {
width: min(800px, 90vw); width: min(800px, 90vw);
border: 1px solid #333; border: 1px solid var(--border-soft);
background: #1b1b1b; background: var(--panel);
color: #eee; color: var(--fg);
} }
.dialog-body { .dialog-body {
@@ -12,9 +12,9 @@
.search-input { .search-input {
width: 100%; width: 100%;
padding: 0.75rem; padding: 0.75rem;
background: #111; background: var(--bg);
color: #eee; color: var(--fg);
border: 1px solid #333; border: 1px solid var(--border-soft);
} }
.search-results { .search-results {
+1 -1
View File
@@ -2,7 +2,7 @@
list-style: none; list-style: none;
margin-left: 1rem; margin-left: 1rem;
padding-left: 1rem; padding-left: 1rem;
border-left: 1px solid #333; border-left: 1px solid var(--border-soft);
} }
.tree li { .tree li {
+14 -14
View File
@@ -1,23 +1,24 @@
body { body {
background: #111; background: var(--bg);
color: #eee; color: var(--fg);
font-family: sans-serif; font-family: sans-serif;
margin: 0; margin: 0;
} }
a { a {
color:lime; color: var(--link);
} }
.topbar { .topbar {
display: flex; display: flex;
justify-content: space-between; justify-content: space-between;
padding: 1rem; padding: 1rem;
border-bottom: 1px solid #333; border-bottom: 1px solid var(--border-soft);
background: var(--bg);
} }
.topbar a { .topbar a {
color: #9ecbff; color: var(--link);
text-decoration: none; text-decoration: none;
margin-right: 1rem; margin-right: 1rem;
} }
@@ -27,8 +28,8 @@ a {
} }
.card { .card {
border: 1px solid #333; border: 1px solid var(--border-soft);
background: #1b1b1b; background: var(--panel);
padding: 1rem; padding: 1rem;
margin-bottom: 1rem; margin-bottom: 1rem;
} }
@@ -42,16 +43,15 @@ a {
.editor { .editor {
width: 100%; width: 100%;
min-height: 70vh; min-height: 70vh;
background: #111; background: var(--input-bg);
color: #eee; color: var(--input-fg);
border: 1px solid var(--input-border);
} }
.preview { .preview {
border: 1px solid #333; border: 1px solid var(--border-soft);
padding: 1rem; padding: 1rem;
overflow: auto; overflow: auto;
} background: var(--panel);
color: var(--fg);
.page-html {
line-height: 1.8;
} }
+5 -5
View File
@@ -13,7 +13,7 @@
} }
.diff-same { .diff-same {
color: #888; color: var(--muted);
} }
.diff-add { .diff-add {
@@ -33,9 +33,9 @@
.revision-textarea { .revision-textarea {
width: 100%; width: 100%;
min-height: 50vh; min-height: 50vh;
background: #111; background: var(--bg);
color: #eee; color: var(--fg);
border: 1px solid #333; border: 1px solid var(--border-soft);
padding: 1rem; padding: 1rem;
font-family: monospace; font-family: monospace;
white-space: pre; white-space: pre;
@@ -50,6 +50,6 @@ details summary {
.diff-line-no { .diff-line-no {
display: inline-block; display: inline-block;
width: 4em; width: 4em;
color: #666; color: var(--muted);
user-select: none; user-select: none;
} }
+6 -6
View File
@@ -740,9 +740,9 @@ function moveNavRow(button, direction) {
.config-section input[type="text"] { .config-section input[type="text"] {
width: 100%; width: 100%;
max-width: 42rem; max-width: 42rem;
background: #0b0b0b; background: var(--input-bg);
color: #eee; color: var(--fg);
border: 1px solid #222; border: 1px solid var(--input-border);
padding: 0.6rem; padding: 0.6rem;
font-family: monospace; font-family: monospace;
} }
@@ -755,7 +755,7 @@ function moveNavRow(button, direction) {
.recent-table th { .recent-table th {
text-align: left; text-align: left;
font-weight: normal; font-weight: normal;
color: #888; color: var(--muted);
border-bottom: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
padding: 0.45rem 0.35rem; padding: 0.45rem 0.35rem;
} }
@@ -776,7 +776,7 @@ function moveNavRow(button, direction) {
} }
.muted { .muted {
color: #777; color: var(--muted);
} }
@@ -789,7 +789,7 @@ function moveNavRow(button, direction) {
} }
.sidebar-nav a.active { .sidebar-nav a.active {
color: #fff; color: var(--link-hover);
text-shadow: text-shadow:
0 0 0.45rem rgba(180,120,255,0.35); 0 0 0.45rem rgba(180,120,255,0.35);
} }
+5 -5
View File
@@ -137,7 +137,7 @@ Add
.link-table th { .link-table th {
text-align: left; text-align: left;
font-weight: normal; font-weight: normal;
color: #888; color: var(--muted);
border-bottom: 1px solid rgba(255,255,255,0.08); border-bottom: 1px solid rgba(255,255,255,0.08);
padding: 0.45rem 0.35rem; padding: 0.45rem 0.35rem;
} }
@@ -159,9 +159,9 @@ Add
.add-link-form input[type="text"] { .add-link-form input[type="text"] {
flex: 1; flex: 1;
background: #0b0b0b; background: var(--input-bg);
color: #eee; color: var(--fg);
border: 1px solid #222; border: 1px solid var(--input-border);
padding: 0.6rem; padding: 0.6rem;
font-family: monospace; font-family: monospace;
} }
@@ -173,7 +173,7 @@ Add
} }
.muted { .muted {
color: #777; color: var(--muted);
} }
button { button {
+3 -3
View File
@@ -80,17 +80,17 @@
.breadcrumbs a { .breadcrumbs a {
text-decoration: none; text-decoration: none;
color: #9cc8ff; color: var(--link);
} }
.breadcrumbs a:hover { .breadcrumbs a:hover {
color: #d6e9ff; color: var(--link-hover);
text-shadow: text-shadow:
0 0 0.35rem rgba(120,180,255,0.28); 0 0 0.35rem rgba(120,180,255,0.28);
} }
.breadcrumb-sep { .breadcrumb-sep {
color: #555; color: var(--muted);
} }
.children-list ul { .children-list ul {
File diff suppressed because it is too large. Load diff