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 {
background-size: 'cover';
background-size: cover;
}

View File

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

View File

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

View File

@ -32,35 +32,6 @@
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,
#themeEngineAsDefault {
background: var(--base-container);

View File

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