client: Use different method to highlight disabled buttons

This commit is contained in:
Elian Doran 2024-11-09 14:15:03 +02:00
parent 745c9846a6
commit d2008e7e5f
No known key found for this signature in database

View File

@ -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>
`;