Hi Tav,
I'm adding back in my old css ui ideas:
https://inkscape.org/en/~doctormo/%E2%98%85inkscape-css-editing
My thinking is that the less you can show, the better. The one thing that needs adding to the above is adding a css class to a set of objects.
Martin,
On Thu, 2016-03-10 at 14:44 +0100, Tavmjong Bah wrote:
Hi,
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 dialog.
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
dialog.
Dragging selector
Allows reordering selectors.
Click on object
Selects all matching selectors.
Modifying property
If "Sheet" enabled: modifies CSS of highlighted selector if only one
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 Class
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 it
is a Class selector: if the selector was selected by clicking on it, remove the selector; if the selector was selected by selecting objects, removes the selector name from all selected objects class attribute.
This dialog could replace the "Selection Sets" dialog, using CSS class attributes to define sets.
Please comment on the dialog here or at:
http://wiki.inkscape.org/wiki/index.php/Style_Editor
Tav
Transform Data into Opportunity. Accelerate data analysis in your applications with Intel Data Analytics Acceleration Library. Click to learn more. http://pubads.g.doubleclick.net/gampad/clk?id=278785111&iu=/4140 _______________________________________________ Inkscape-devel mailing list Inkscape-devel@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/inkscape-devel