style: delete duplicate theme-specific CSS files and update VMTemplates.css to use CSS variables for background colors, enhancing maintainability and consistency across themes

This commit is contained in:
Zack Spear
2025-03-31 19:28:06 -07:00
parent 97535ca200
commit 5d9f36129d
5 changed files with 25 additions and 8 deletions

View File

@@ -1 +0,0 @@
.fileTree{background:#f2f2f2;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}

View File

@@ -1,2 +0,0 @@
.fileTree{background:#1c1c1c;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}

View File

@@ -1,2 +0,0 @@
.fileTree{background:#1c1c1c;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}

View File

@@ -1,2 +0,0 @@
.fileTree{background:#f2f2f2;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}

View File

@@ -1,9 +1,20 @@
.Theme--gray:root,
.Theme--black:root {
--filetree-background: #1c1c1c;
}
.Theme--azure:root,
.Theme--white:root {
--filetree-background: #f2f2f2;
}
.vmheader {
padding: 10px;
font-size: 1.4rem;
text-align: left;
color: var(--gray-500); /* Condensed from: #888 */
}
.vmtemplate {
display: inline-block;
width: 80px;
@@ -13,10 +24,12 @@
text-align: center;
vertical-align: top;
}
.vmtemplate img {
width: 48px;
height: 48px;
}
.vmtemplate p {
text-align: center;
margin-top: 8px;
@@ -26,5 +39,16 @@
div.template,
div#dialogWindow,
input#upload {
display:none;
display: none;
}
.fileTree {
background: var(--filetree-background);
width: 300px;
max-height: 150px;
overflow-y: scroll;
overflow-x: hidden;
position: absolute;
z-index: 100;
display: none;
}