mirror of
https://github.com/ONLYOFFICE/onlyoffice.github.io.git
synced 2026-04-07 14:04:30 +08:00
.
This commit is contained in:
@ -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;
|
||||
|
||||
@ -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');
|
||||
|
||||
Reference in New Issue
Block a user