This commit is contained in:
AlexeyMatveev686
2023-02-17 15:28:41 +03:00
parent bc3f52bb39
commit 00ad7b2d66
2 changed files with 3 additions and 16 deletions

View File

@ -204,22 +204,6 @@ label.header {
height: 24px !important;
}
.btn_item[disabled]:hover,
.btn_item.disabled:hover,
.btn_item[disabled]:active,
.btn_item[disabled].active,
.btn_item.disabled:active,
.btn_item.disabled.active {
background-color: #f00 !important;
color: #0f0 !important;
cursor: default !important;
}
.btn_item[disabled],
.btn_item.disabled {
opacity: 0.65;
}
.btn_preview {
margin: 10px 0px 10px 10px;
width: fit-content;

View File

@ -327,12 +327,15 @@ window.addEventListener('message', function(message) {
rule += '.btn_install:active{background-color: #446995 !important;}\n';
rule += '.btn_remove:active{background-color: #293f59 !important; color: #fff !important}\n';
rule += '.div_offered{color: rgba(0,0,0,0.45); !important;}\n';
rule += '.btn_install[disabled]:hover,.btn_install.disabled:hover,.btn_install[disabled]:active,.btn_install[disabled].active,.btn_install.disabled:active,.btn_install.disabled.active{background-color: #444 !important; color: #fff !important}\n';
// rule += '.btn_item[disabled],.btn_item.disabled{opacity: 0.65;}\n';
} else {
rule += '.btn_install{background-color: #e0e0e0 !important; color: #333 !important}\n';
rule += '.btn_install:hover{background-color: #fcfcfc !important;}\n';
rule += '.btn_install:active{background-color: #fcfcfc !important;}\n';
rule += '.btn_remove:active{background-color: #555 !important; color: rgb(255,255,255,0.8) !important}\n';
rule += '.div_offered{color: rgba(255,255,255,0.8); !important;}\n';
rule += '.btn_install[disabled]:hover,.btn_install.disabled:hover,.btn_install[disabled]:active,.btn_install[disabled].active,.btn_install.disabled:active,.btn_install.disabled.active{background-color: #e0e0e0 !important; color: #333 !important}\n';
}
let styleTheme = document.createElement('style');