mirror of
https://github.com/unraid/webgui.git
synced 2026-01-08 02:29:51 -06:00
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:
@@ -1 +0,0 @@
|
||||
.fileTree{background:#f2f2f2;width:300px;max-height:150px;overflow-y:scroll;overflow-x:hidden;position:absolute;z-index:100;display:none}
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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}
|
||||
|
||||
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user