document-viewer icon indicating copy to clipboard operation
document-viewer copied to clipboard

Brittle and Inefficient CSS Selectors for state changes

Open amclean opened this issue 14 years ago • 0 comments

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.

amclean avatar Jun 03 '10 15:06 amclean