document-viewer
document-viewer copied to clipboard
Brittle and Inefficient CSS Selectors for state changes
The selector rules for handling state changes are quite long and fairly brittle should the markup change. Example from view-text.css
.DV-viewText #DV-sidebar #DV-well .DV-chaptersContainer div.DV-hasChildren div.DV-first .DV-trigger{ margin-left:-1px; }
These should be optimized so to ease templating.