This can be improved to handle CSS pre/post-processing?
El jue, 10-03-2016 a las 14:44 +0100, Tavmjong Bah escribió:
One of the proposed GSOC projects is better CSS style sheet support.
There are a number of simple things that can be done to improve
Inkscape's use of style sheets and there is one big thing... adding a
Style editing dialog. I've made a first stab at designing such a
The dialog presents a list of CSS selectors.
* Clicking on selector
Selects all matching objects in the SVG document.
* Double clicking on selector
Selects all matching objects in the SVG document and opens CSS
* Dragging selector
Allows reordering selectors.
* Click on object
Selects all matching selectors.
* Modifying property
If "Sheet" enabled: modifies CSS of highlighted selector if only
selector highlighted otherwise produces error message. If "Attribute"
selected: modifies inline style attribute.
* Clicking on '+' in front of selector
Adds selected objects to selector.
* Clicking on 'x' in front of object
Removes object from selector.
* Clicking on '+' at bottom
Opens up text dialog to add new selector. If the selector is a
selector, adds the class attribute to the selected objects with the
value of the selector name. If the class attribute already exists,
appends the selector name to the class attribute value (the class
attribute can include more than one class name).
* Clicking on 'x' at bottom
Removes selected selectors unless selector is a Class selector. If
is a Class selector: if the selector was selected by clicking on it,
remove the selector; if the selector was selected by selecting
removes the selector name from all selected objects class attribute.
This dialog could replace the "Selection Sets" dialog, using CSS
attributes to define sets.
Please comment on the dialog here or at:
Transform Data into Opportunity.
Accelerate data analysis in your applications with
Intel Data Analytics Acceleration Library.
Click to learn more.
Inkscape-devel mailing list