View Single Post
Old 11-29-2023, 02:39 PM   #1
noteon
Connoisseur
noteon is on a distinguished road
 
Posts: 55
Karma: 54
Join Date: Apr 2011
Location: NYC
Device: Many
Feature request: Preserve media overlay CSS

"Delete unused stylesheet selectors" deletes things that are not "used" in the .epub, but are still needed by the reading system.

If this appears in the .opf:

<meta property="media:active-class">-epub-media-overlay-active</meta>

It means this book has readaloud highlighting. Deleting the associated selector from .css will defeat that feature:

.-epub-media-overlay-active {
background-color: #FFFF00;
}


The selector can be called anything. "-epub-media-overlay-active" is most common.

Maybe a check box in the "Delete Styles" dialogue that says "Preserve media overlay CSS?"

Last edited by noteon; 11-29-2023 at 03:07 PM.
noteon is offline   Reply With Quote