14 Simple heirarchy of elements
21 song#GreatBigGod.actions.music
22 text#songname.smallprint
23 text#copyright.smallprint
31 set of css stylesheets (like a css file local to the scope of the item)
32 each definition can have multiple triggers (ref counted)
33 scope type and name are implied
34 therefore only needed when applying to children
35 e.g. song style may be stored in song db and copied to song object
36 song_instance styles get stored in file and override song object
37 hardcoded style lists (the content of {} in css)
39 recalculateStyles(scope)
40 get parent styles (recursive)
41 get parent style definitions
42 fast lookup in definitions for this->type#this->name as next type#name
43 check matching classes
47 add local stylesheets to list
48 apply local style lists
69 background-image: "sunset.jpg";
70 background-aspect: stretch;
72 font-outline: 8% solid black;
73 font-shadow: solid gray;
74 font-shadow-offset: 20%;
77 .background_sunset #overlay
80 overlay-fill: solid grey;
90 .chorus : .tag_wonderous;