frontend: more dark mode fixes

This commit is contained in:
Johannes Zellner
2024-06-13 12:19:03 +02:00
parent 7affc6e987
commit c3f9d688f1
5 changed files with 12 additions and 21 deletions
+2 -2
View File
@@ -194,7 +194,7 @@ export default {
this.busyRestart = false;
},
async connect(retry = false) {
document.getElementsByClassName('cloudron-layout-body')[0].innerHTML = '';
document.getElementsByClassName('pankow-main-layout-body')[0].innerHTML = '';
let execId;
try {
@@ -206,7 +206,7 @@ export default {
}
this.terminal = new Terminal();
this.terminal.open(document.getElementsByClassName('cloudron-layout-body')[0]);
this.terminal.open(document.getElementsByClassName('pankow-main-layout-body')[0]);
if (retry) this.terminal.writeln('Reconnecting...');
else this.terminal.writeln('Connecting...');
+1 -1
View File
@@ -6,6 +6,7 @@ html, body {
padding: 0;
margin: 0;
background-color: #e5e5e5;
color: var(--pankow-text-color);
}
h1 {
@@ -33,6 +34,5 @@ a:hover, a:focus {
@media (prefers-color-scheme: dark) {
body {
background-color: black;
color: var(--pankow-color-light-dark);
}
}
+4 -13
View File
@@ -47,6 +47,7 @@
<div class="main-view">
<div class="main-view-col">
<DirectoryView
class="directory-view"
:show-owner="true"
:show-size="true"
:show-modified="true"
@@ -73,7 +74,7 @@
/>
</div>
<div class="main-view-col" style="max-width: 300px;">
<div class="title-bar">
<div class="side-bar-title">
<a v-show="appLink" :href="appLink" target="_blank">{{ title }}</a>
<span v-show="!appLink">{{ title }}</span>
</div>
@@ -590,23 +591,13 @@ export default {
overflow: hidden;
height: 100%;
display: flex;
padding: 0 10px
padding: 0 10px;
}
.title-bar {
.side-bar-title {
text-align: center;
font-size: 20px;
margin-bottom: 20px;
color: #607d8b;
}
.title-bar > a {
color: #607d8b;
}
.title-bar > a:hover {
color: black;
text-decoration: none;
}
.main-view-col {