css cleanup

This commit is contained in:
Gerome Matilla 2020-06-16 14:52:24 +08:00
parent 11eab040f8
commit f484e86e09
5 changed files with 7 additions and 33 deletions

View File

@ -64,5 +64,5 @@
} }
.dockButtonImage { .dockButtonImage {
background-size: 'cover'; background-size: cover;
} }

View File

@ -86,6 +86,10 @@ select:focus{
outline: none; outline: none;
} }
select::-ms-expand {
display: none;
}
/*Select*/ /*Select*/
select { select {
text-align: center; text-align: center;

View File

@ -46,7 +46,7 @@
/*Overlay*/ /*Overlay*/
.dashboardOverlay { .dashboardOverlay {
position: absolute; position: absolute;
visibility: none; visibility: hidden;
top: 0; top: 0;
left: 0; left: 0;

View File

@ -32,35 +32,6 @@
margin-top: 5px; margin-top: 5px;
} }
#themeEngineSelect {
width: 100%;
height: 32px;
background: var(--base-container);
color: var(--base-color);
font-weight: normal;
font-style: 14pt;
border: none;
border-radius: 6px;
padding: 5px;
-webkit-appearance: none;
-moz-appearance: none;
appearance: none;
}
#themeEngineSelect:hover {
cursor: pointer;
}
#themeEngineSelect option {
color: initial;
border: none;
}
select::-ms-expand {
display: none;
}
#themeEngineReset, #themeEngineReset,
#themeEngineAsDefault { #themeEngineAsDefault {
background: var(--base-container); background: var(--base-container);

View File

@ -25,8 +25,7 @@ class DockButtons {
const buttonImage = document.createElement('div'); const buttonImage = document.createElement('div');
buttonImage.id = id; buttonImage.id = id;
buttonImage.className = className; buttonImage.className = className;
buttonImage.style.background = background; buttonImage.style.backgroundImage = background;
buttonImage.style.backgroundSize = 'cover';
return buttonImage; return buttonImage;
} }