- Issue created by @christopherdoherty
- last update
11 months ago 434 pass
The Cygnet theme CSS contains long chained selectors that are confusing and difficult to maintain. Changing the markup to indicate the particular level will enable us to simplify the CSS, make the code more maintainable, and allow us to provide future enhancements more easily.
Go here: patternkit/css/cygnet/cygnet--prefixed-for-drupal.css. Beginning at around line 81, you will see the styles for the nested elements in Cygnet.
Set a class for the "level" of the element so that we can remove some of the chained selectors. There are two files that need to be updated:
- patternkit.jsoneditor.editor.object.es6.js
- patternkit.jsoneditor.editor.array.es6.js
- Update the two JS files for objects and arrays
- simplify the CSS files
N/A
N/A
N/A
Active
9.1
Module Core