client: Use different method to highlight disabled buttons

pull/571/head
Elian Doran 2024-11-09 14:15:03 +07:00
parent 745c9846a6
commit d2008e7e5f
No known key found for this signature in database
1 changed files with 6 additions and 1 deletions

@ -7,13 +7,18 @@ const TPL = `\
<style>
.classic-toolbar-widget {
--ck-color-toolbar-background: transparent;
--ck-color-button-default-background: transparent;
--ck-color-button-default-background: transparent;
--ck-color-button-default-disabled-background: transparent;
min-height: 39px;
}
.classic-toolbar-widget .ck.ck-toolbar {
border: none;
}
.classic-toolbar-widget .ck.ck-button.ck-disabled {
opacity: 0.3;
}
</style>
`;